/* Layout styles for Imprenta Brian Home Page */

/* FULL WIDTH LAYOUT OVERRIDES */
body.lux-body {
    background: #f8f9fa;
}

.container-v2 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Hero Banner */
.hero-banner-v2 {
    width: 100%;
    height: 450px;
    background-image: url('../img/hero_banner_print.png');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 40px;
}

/* Benefits Row */
.benefits-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-top: -60px; /* Overlap hero */
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

@media(max-width: 900px) {
    .benefits-row {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 20px;
    }
}

@media(max-width: 500px) {
    .benefits-row {
        grid-template-columns: 1fr;
    }
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-right: 1px solid #eee;
}

.benefit-item:last-child {
    border-right: none;
}

.benefit-item i {
    font-size: 2rem;
    color: var(--brand-orange, #f59e0b);
}

.benefit-text h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main, #333);
}

.benefit-text p {
    margin: 0;
    font-size: 0.75rem;
    color: #888;
}

/* Section Titles */
.section-header-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.section-header-v2 h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    position: relative;
}

.section-header-v2 h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--brand-orange, #f59e0b);
}

/* Middle Banner */
.mid-banner-v2 {
    width: 100%;
    height: 250px;
    background-image: url('../img/mid_banner_print.png');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    margin: 50px 0;
}

/* Desktop specific layout overrides */
@media (min-width: 901px) {
    .client-layout-container {
        display: flex;
        gap: 30px;
        margin-top: 30px;
    }
    .client-sidebar-v2 {
        position: sticky !important;
        top: 150px !important;
        height: calc(100vh - 160px) !important;
        transform: none !important;
        width: 260px !important;
        border-radius: 12px !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
        display: flex !important;
        flex-direction: column !important;
        flex-shrink: 0 !important;
        z-index: 900 !important;
        background: white !important;
        overflow: hidden !important;
    }
}

@media (max-width: 900px) {
    .client-layout-container {
        display: block;
        margin-top: 20px;
    }
}

/* Marketplace Adjustments */
.lux-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    gap: 14px !important;
    padding: 0 !important;
}

@media(max-width: 768px) {
    .lux-grid {
        grid-template-columns: repeat(auto-fill, minmax(115px, 1fr)) !important;
        gap: 8px !important;
    }
}

.product-card {
    border-radius: 10px !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.3s ease;
    background: white;
    overflow: hidden;
    border: 1px solid #f1f3f6;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.product-card .img-box {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
    border-radius: 10px 10px 0 0 !important;
    background: #f8f9fa;
}

.product-card .img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.product-card .info {
    padding: 10px !important;
    flex-grow: 1 !important;
    display: flex;
    flex-direction: column;
}

.product-card .title {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
    height: 2.6em !important;
    overflow: hidden !important;
    margin-bottom: 6px !important;
    font-weight: 600 !important;
    color: #333;
}

.product-card .price {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: var(--primary, #6f42c1) !important;
}

.product-card .lux-tag {
    font-size: 0.55rem !important;
    padding: 2px 5px !important;
}
