/* DESIGN APROVADO - INTEGRALMENTE PRESERVADO */
.rutilo-row-bottom {
    background-color: #b81d1d;
    padding: 30px 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    box-sizing: border-box;
    border-radius: 12px;
    margin-bottom: 25px;
}

.rutilo-carousel-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #ffffff;
}

.rutilo-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
}

.rutilo-nav-arrow {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    padding: 0 10px;
    user-select: none;
    z-index: 2;
}

.rutilo-products-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding: 10px 0;
}

.rutilo-products-slider::-webkit-scrollbar {
    display: none;
}

.rutilo-product-card {
    background: #ffffff;
    color: #333333;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 140px 1fr;
    flex: 0 0 calc(33.333% - 14px);
    min-width: 330px;
    height: 170px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    box-sizing: border-box;
}

.rutilo-product-cover {
    height: 100%;
}

.rutilo-product-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rutilo-product-details {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rutilo-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5px;
}

.rutilo-item-title {
    font-size: 12px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    color: #111111;
}

.rutilo-badge-discount {
    background-color: #d1fae5;
    color: #10b981;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
}

.rutilo-item-excerpt {
    font-size: 9px;
    color: #666666;
    margin: 4px 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rutilo-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.rutilo-price-old {
    font-size: 9px;
    color: #999999;
    text-decoration: line-through;
    display: block;
}

.rutilo-price-current {
    font-weight: 800;
    color: #111111;
    line-height: 1;
}

.rutilo-price-current .symbol,
.rutilo-price-current .decimals {
    font-size: 10px;
}

.rutilo-price-current .integer {
    font-size: 16px;
}

.rutilo-installments {
    font-size: 8px;
    color: #777777;
    display: block;
}

.rutilo-btn-buy {
    background-color: #00c853;
    color: #ffffff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 10px;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

/* OVERLAY ÍCONE DE PLAY NOS VÍDEOS */
.rutilo-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    pointer-events: none;
}

/* ESTILOS DO MODAL / POPUP */
.rutilo-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
}

.rutilo-modal-content {
    position: relative;
    background-color: #000;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.rutilo-modal-close {
    position: absolute;
    top: 8px;
    right: 15px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.rutilo-modal-body {
    position: relative;
    padding-bottom: 56.25%; /* Aspect Ratio 16:9 */
    height: 0;
}

.rutilo-modal-body iframe,
.rutilo-modal-body video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 992px) {
    .rutilo-product-card { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 600px) {
    .rutilo-product-card { flex: 0 0 100%; }
}