/* ==================== ESTILOS GLOBAIS ==================== */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: <?php echo esc_attr($fonte_global); ?>;
        <?php echo $background_style; ?>
        background-attachment: fixed;
        color: <?php echo esc_attr($cor_descricao); ?>;
        line-height: 1.6;
    }
    
    .container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    /* ==================== SLIDER PRINCIPAL CORRIGIDO ==================== */
    .ws-slider-container {
        position: relative;
        width: 100%;
        overflow: hidden;
        margin-bottom: 60px;
        border-radius: 0;
    }
    
    .ws-slider {
        display: flex;
        transition: transform 0.5s ease-in-out;
        will-change: transform;
    }
    
    .ws-slide {
        flex: 0 0 100%;
        position: relative;
    }
    
    .ws-slide img {
        width: 100%;
        height: auto;
        min-height: 400px;
        max-height: 70vh;
        object-fit: cover;
        display: block;
    }
    
    .ws-slide-content {
        position: absolute;
        bottom: 15%;
        left: 10%;
        right: 10%;
        background: rgba(0,0,0,0.6);
        color: white;
        padding: 30px;
        border-radius: 12px;
        text-align: center;
        backdrop-filter: blur(5px);
        max-width: 600px;
        margin: 0 auto;
    }
    
    .ws-slide-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
        color: white;
    }
    
    .ws-slide-content p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .ws-slide-content .btn {
        display: inline-block;
        background: <?php echo esc_attr($cor_botoes); ?>;
        color: white;
        padding: 12px 30px;
        border-radius: 50px;
        text-decoration: none;
        transition: all 0.3s;
    }
    
    .ws-slide-content .btn:hover {
        background: <?php echo esc_attr($cor_botoes_hover); ?>;
        transform: translateY(-2px);
    }
    
    .ws-slider-prev,
    .ws-slider-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0,0,0,0.5);
        color: white;
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 20px;
        transition: all 0.3s;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .ws-slider-prev:hover,
    .ws-slider-next:hover {
        background: rgba(0,0,0,0.8);
        transform: translateY(-50%) scale(1.1);
    }
    
    .ws-slider-prev { left: 20px; }
    .ws-slider-next { right: 20px; }
    
    .ws-slider-dots {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        gap: 10px;
        z-index: 10;
    }
    
    .ws-slider-dot {
        width: 12px;
        height: 12px;
        background: rgba(255,255,255,0.5);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .ws-slider-dot.active {
        background: <?php echo esc_attr($cor_botoes); ?>;
        transform: scale(1.2);
    }
    
    /* ==================== SEÇÃO PRINCIPAL ==================== */
    .secao-principal {
        padding: 0px 0;
        text-align: center;
		margin: 0 0 -50px;
    }
    
    .secao-principal h1 {
        font-size: 3rem;
        margin-bottom: 20px;
        color: <?php echo esc_attr($cor_titulos); ?>;
        font-family: <?php echo esc_attr($fonte_titulos); ?>;
    }
    
    .secao-principal h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        color: <?php echo esc_attr($cor_titulos); ?>;
        font-weight: 400;
    }
    
    .secao-principal .secao-descricao {
        max-width: 800px;
        margin: 0 auto 30px;
        font-size: 1.1rem;
    }
    
    .secao-principal .btn {
        display: inline-block;
        background: <?php echo esc_attr($cor_botoes); ?>;
        color: white;
        padding: 14px 40px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s;
    }
    
    .secao-principal .btn:hover {
        background: <?php echo esc_attr($cor_botoes_hover); ?>;
        transform: translateY(-2px);
    }
    
    /* ==================== SEÇÕES COM PRODUTOS ==================== */
    .secao-com-produtos {
        padding: 60px 0;
        border-bottom: 1px solid #eee;
    }
    
    .secao-com-produtos:last-child {
        border-bottom: none;
    }
    
    .secao-com-produtos .row {
        display: flex;
        gap: 40px;
        align-items: center;
        margin-bottom: 40px;
        flex-wrap: wrap;
    }
    
    .secao-com-produtos .row.flex-row-reverse {
        flex-direction: row-reverse;
    }
    
    .secao-com-produtos .col {
        flex: 1;
        min-width: 250px;
    }
    
    .secao-com-produtos .col-full {
        flex: 1;
        text-align: center;
    }
    
    .secao-com-produtos h2 {
        font-size: 2rem;
        margin-bottom: 20px;
        color: <?php echo esc_attr($cor_titulos); ?>;
        font-family: <?php echo esc_attr($fonte_titulos); ?>;
    }
    
    .secao-com-produtos .secao-descricao-html {
        color: <?php echo esc_attr($cor_descricao); ?>;
        line-height: 1.8;
    }
    
    .secao-imagem {
        width: 100%;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    /* ==================== GRID DE PRODUTOS ==================== */
    .secao-produtos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }
    
    /* ==================== SLIDER DE PRODUTOS CORRIGIDO PARA MOBILE ==================== */
.secao-produtos-slider-container {
    position: relative;
    margin-top: 40px;
    width: 100%;
    overflow: hidden;
    padding: 0 10px;
}

.secao-produtos-slider-wrapper {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}

.secao-produtos-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.secao-produtos-slide {
    flex: 0 0 100%;
    flex-shrink: 0;
    width: 100%;
    min-width: 0;
    padding: 0 8px;
}

/* Botões do slider de produtos */
.secao-slider-prev,
.secao-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: <?php echo esc_attr($cor_botoes); ?>;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.secao-slider-prev {
    left: -5px;
}

.secao-slider-next {
    right: -5px;
}

.secao-slider-prev:hover,
.secao-slider-next:hover {
    background: <?php echo esc_attr($cor_botoes_hover); ?>;
    transform: translateY(-50%) scale(1.1);
}

/* Dots do slider de produtos */
.secao-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.secao-slider-dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.secao-slider-dot.active {
    background: <?php echo esc_attr($cor_botoes); ?>;
    transform: scale(1.2);
}

/* Desktop - mais de 768px */
@media (min-width: 769px) {
    .secao-produtos-slider-container {
        padding: 0 35px;
    }
    
    .secao-produtos-slide {
        flex: 0 0 calc((100% - 75px) / 4);
        padding: 0 5px;
    }
    
    .secao-slider-prev,
    .secao-slider-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .secao-slider-prev {
        left: -5px;
    }
    
    .secao-slider-next {
        right: -5px;
    }
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .secao-produtos-slide {
        flex: 0 0 calc((100% - 50px) / 3);
    }
}

/* Tablet pequeno (769px - 900px) - 2 slides */
@media (min-width: 769px) and (max-width: 900px) {
    .secao-produtos-slide {
        flex: 0 0 calc((100% - 25px) / 2);
    }
}

/* Mobile (até 768px) - 1 slide por vez */
@media (max-width: 768px) {
    .secao-produtos-slider-container {
        padding: 0 10px;
    }
    
    .secao-produtos-slide {
        flex: 0 0 100%;
        padding: 0 5px;
    }
    
    .secao-slider-prev {
        left: 0;
    }
    
    .secao-slider-next {
        right: 0;
    }
}

/* Mobile pequeno (até 480px) */
@media (max-width: 480px) {
    .secao-produtos-slider-container {
        padding: 0 5px;
    }
    
    .secao-slider-prev,
    .secao-slider-next {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}
    /* ==================== CARD DE PRODUTO ==================== */
    .secao-produto-card {
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        cursor: pointer;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .secao-produto-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }
    
    .secao-produto-card-image {
        position: relative;
        padding-top: 100%;
        overflow: hidden;
        background: #f5f5f5;
    }
    
    .secao-produto-card-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }
    
    .secao-produto-card:hover .secao-produto-card-image img {
        transform: scale(1.05);
    }
    
    .secao-produto-destaque {
        position: absolute;
        top: 10px;
        left: 10px;
        background: #e74c3c;
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: bold;
        z-index: 2;
    }
    
    .no-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 48px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }
    
    .secao-produto-card-content {
        padding: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .secao-produto-card-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 10px;
        color: <?php echo esc_attr($cor_titulos); ?>;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .secao-produto-card-price {
        font-size: 1.3rem;
        font-weight: bold;
        color: <?php echo esc_attr($cor_botoes); ?>;
        margin-bottom: 10px;
    }
    
    .secao-produto-card-price-old {
        font-size: 0.8rem;
        color: #999;
        text-decoration: line-through;
        font-weight: normal;
        margin-left: 8px;
    }
    
    .secao-produto-pix {
        background: #e8f5e9;
        padding: 8px 12px;
        border-radius: 8px;
        margin: 10px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .pix-icon {
        background: #32b728;
        color: white;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 11px;
        font-weight: bold;
    }
    
    .pix-price {
        font-weight: bold;
        color: #2e7d32;
    }
    
    .pix-info {
        font-size: 11px;
        color: #666;
    }
    
    .secao-produto-card-stats {
        display: flex;
        gap: 15px;
        margin: 10px 0;
        font-size: 12px;
        color: #666;
    }
    
    .secao-produto-card-stats .stat {
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    /* ==================== RESPONSIVIDADE ==================== */
	/* Melhorias para o card no mobile */
@media (max-width: 768px) {
    .secao-produto-card-content {
        padding: 15px;
    }
      .secao-principal {
        margin: 0 0 -80px;
    }
    
    .secao-produto-card-title {
        font-size: 1rem;
        -webkit-line-clamp: 2;
    }
    
    .secao-produto-card-price {
        font-size: 1.2rem;
    }
    
    .secao-produto-pix {
        padding: 6px 10px;
    }
    
    .pix-icon {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .pix-price {
        font-size: 0.9rem;
    }
    
    .secao-produto-card-stats {
        gap: 10px;
        font-size: 10px;
    }
    
    .secao-produto-card-stats .stat {
        gap: 2px;
    }
}

/* Ajuste para garantir que o card não quebre */
.secao-produto-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Garantir que as imagens não fiquem distorcidas */
.secao-produto-card-image {
    background-size: cover;
    background-position: center;
}
    @media (max-width: 991px) {
        .secao-com-produtos .row {
            flex-direction: column;
            text-align: center;
        }
        
        .secao-com-produtos .row.flex-row-reverse {
            flex-direction: column;
        }
        
        .secao-principal h1 {
            font-size: 2rem;
        }
        
        .secao-principal h2 {
            font-size: 1.3rem;
        }
        
        .ws-slide-content h2 {
            font-size: 1.3rem;
        }
        
        .ws-slide-content p {
            font-size: 0.9rem;
        }
        
        .ws-slide-content {
            padding: 20px;
            bottom: 10%;
        }
    }
    
    @media (max-width: 768px) {
        .container {
            padding: 0 15px;
        }
        
        .secao-produtos-grid {
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 20px;
        }
        
        .ws-slide img {
            min-height: 250px;
            height: auto;
        }
        
        .ws-slide-content {
            padding: 15px;
            bottom: 5%;
            left: 5%;
            right: 5%;
        }
        
        .ws-slider-prev,
        .ws-slider-next {
            width: 35px;
            height: 35px;
            font-size: 16px;
        }
    }
    
    @media (max-width: 480px) {
        .secao-produtos-grid {
            grid-template-columns: 1fr;
        }
        
        .secao-produto-card-title {
            font-size: 1rem;
        }
        
        .secao-produto-card-price {
            font-size: 1.1rem;
        }
    }
	