/**
 * Home Slider Products - Frontend Styles
 */

 .home-slider-products-layout {
    width: 100%;
    padding: 15px 0;
    background: #f4f4f4;
}

.hsp-container {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

/* Coluna do Slider - 66% */
.hsp-slider-column {
    width: 66%;
    position: relative;
}

/* Imagem Única (sem slider) */
.hsp-single-image {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: #f5f5f5;
    width: 100%;
    padding-bottom: 50%; /* Aspect ratio 2:1 (altura = 50% da largura) */
    height: 0;
}

.hsp-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* Coluna dos Produtos - 34% */
.hsp-products-column {
    width: 34%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-self: stretch;
}

.hsp-product-item {
    flex: 1;
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hsp-product-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hsp-product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hsp-product-image-wrapper {
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Gradient overlay para melhorar legibilidade */
.hsp-product-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
    z-index: 2;
}

.hsp-product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hsp-product-item:hover .hsp-product-image {
    transform: scale(1.05);
}

/* Badge de Desconto */
.hsp-discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 8px 12px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.hsp-product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    z-index: 3;
    color: white;
}

.hsp-product-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.hsp-product-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: white;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hsp-product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hsp-product-price {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hsp-product-regular-price {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: line-through;
}

/* Placeholder */
.hsp-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 0;
    padding: 40px;
    text-align: center;
    color: #999;
    min-height: 300px;
}

/* Responsive */
@media (max-width: 991px) {
    .hsp-container {
        flex-direction: column;
        max-height: none;
    }
    
    .hsp-slider-column {
        width: 100%;
        max-height: none;
    }
    
    .hsp-slider {
        height: 400px;
    }
    
    .hsp-slide-img {
        height: 400px;
        object-fit: cover;
    }
    
    .hsp-products-column {
        width: 100%;
        flex-direction: row;
        max-height: none;
    }
    
    .hsp-product-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .hsp-slider-column {
        max-height: none;
    }
    
    .hsp-slider {
        height: 300px;
    }
    
    .hsp-slide-img {
        height: 300px;
        object-fit: cover;
    }
    
    .hsp-products-column {
        flex-direction: row;
        height: 300px;
    }
    
    .hsp-product-item {
        flex: 1;
    }
    
    .hsp-discount-badge {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .hsp-product-info {
        padding: 12px;
    }
    
    .hsp-product-category {
        font-size: 9px;
        margin-bottom: 6px;
    }
    
    .hsp-product-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .hsp-product-price {
        font-size: 18px;
    }
    
    .hsp-product-regular-price {
        font-size: 13px;
    }
    
    .hsp-slider-nav button {
        width: 40px;
        height: 40px;
    }
    
    .hsp-prev {
        left: 10px;
    }
    
    .hsp-next {
        right: 10px;
    }
    
    .hsp-slider-nav i {
        font-size: 24px;
    }
}

/* Nova SecÃ§Ã£o Customizada - Containers Horizontais */
.hsp-custom-section {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.hsp-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-top: 15px;
    background: #ff6a13;
    z-index: 0;
    clip-path: polygon(0 0, 150% 0, 0% 100%, 0% 100%);
}

.hsp-section-title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 20px 0;
    color: white;
    position: relative;
    z-index: 1;
}

.hsp-section-subtitle {
    font-size: 24px;
    text-align: center;
    margin: 0 0 60px 0;
    color: white;
    position: relative;
    z-index: 1;
}

.hsp-section-containers {
    width: 65%;
    display: flex;
    flex-direction: row;
    gap: 5px;
    height: 600px;
    max-width: 1400px;
    position: relative;
    z-index: 1;
}

.hsp-section-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: #f5f5f5;
    height: 600px;
}

.hsp-container-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.hsp-container-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 30px;
    transition: background 0.3s ease;
}

.hsp-container-name {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.hsp-container-btn {
    background: #ff6a13;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hsp-container-btn:hover {
    background: #e85d0f;
    transform: translateY(-3px);
}

.hsp-container-placeholder {
    font-size: 18px;
    color: #999;
    text-align: center;
    padding: 20px;
}

.hsp-section-container:hover .hsp-container-image {
    transform: scale(1.1);
}

.hsp-section-container:hover .hsp-container-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.85) 100%);
}

.hsp-section-container:hover .hsp-container-name {
    transform: translateY(-5px);
}

.hsp-section-container:hover .hsp-container-btn {
    background: #ff7d2e;
}

/* Responsividade para nova secÃ§Ã£o */
@media (max-width: 1200px) {
    .hsp-section-containers {
        width: 85%;
    }
}

@media (max-width: 991px) {
    .hsp-custom-section {
        padding: 40px 15px;
    }
    
    .hsp-section-title {
        font-size: 36px;
    }
    
    .hsp-section-subtitle {
        font-size: 20px;
        margin-bottom: 40px;
    }
    
    .hsp-section-bg {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
    
    .hsp-section-containers {
        width: 90%;
        flex-direction: row;
        flex-wrap: wrap;
        height: auto;
    }
    
    .hsp-section-container {
        width: calc(50% - 2.5px);
        margin-bottom: 5px;
        height: 400px;
    }
    
    .hsp-container-name {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .hsp-container-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .hsp-custom-section {
        padding: 30px 10px;
        margin-top: 0px;
    }
    
    .hsp-section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .hsp-section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hsp-section-bg {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        margin-top: 15px;
    }
    
    .hsp-section-containers {
        width: 95%;
        gap: 10px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hsp-section-container {
        width: calc(100% - 5px);
        height: 350px;
        margin-bottom: 5px;
    }
    
    .hsp-container-name {
        font-size: 18px;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }
    
    .hsp-container-btn {
        padding: 8px 20px;
        font-size: 12px;
    }
    
    .hsp-container-overlay {
        padding: 15px;
    }
    
    .hsp-container-placeholder {
        font-size: 14px;
    }
}

