/* productos.css */
body {
    background: var(--c-bg) !important;
    color: var(--c-text) !important;
}

/* Acordeón */
.how-it-works-section {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    margin-bottom: 20px;
}

.accordion-header {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 14px 0;
    box-shadow: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
    transition: opacity var(--t);
}

.accordion-header:hover {
    opacity: .8;
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-title i.text-blue {
    color: var(--c-text3);
    font-size: 15px;
}

.title-text h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
}

.title-text p {
    font-size: 11px;
    color: var(--c-text3);
    margin-top: 1px;
}

.accordion-icon {
    color: var(--c-text3);
    font-size: 11px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    background: var(--c-bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--c-border);
}

.step-card {
    padding: 20px;
    border-right: 1px solid var(--c-border);
    background: transparent;
}

.step-card:last-child {
    border-right: none;
}

.step-card:hover {
    transform: none;
    box-shadow: none;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.step-number {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--c-accent);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-header h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
}

.step-body p {
    font-size: 12px;
    line-height: 1.6;
    color: var(--c-text2);
}

/* Productos */
.latest-products-section {
    padding: 0 0 48px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text2);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

/* Info card */
.info-card {
    background: var(--c-surface) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--r-lg) !important;
    color: var(--c-text) !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    text-align: left !important;
    cursor: default !important;
    min-height: 200px;
}

.info-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.info-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 8px;
    line-height: 1.35;
}

.info-card p {
    font-size: 12px;
    color: var(--c-text2);
    line-height: 1.5;
    margin-bottom: 16px;
}

.btn-green {
    background: var(--c-accent);
    color: #fff;
    border: none;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: var(--r);
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background var(--t);
}

.btn-green:hover {
    background: var(--c-accent2);
}

/* Tarjeta producto */
.product-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 0;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    transition: border-color var(--t), transform var(--t);
}

.product-card:hover {
    border-color: var(--c-border2);
    transform: translateY(-2px);
}

.product-image {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--c-surface2);
    overflow: hidden;
}

.product-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform .25s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--c-surface2);
    color: var(--c-border2);
    font-size: 28px;
}

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

.product-name {
    font-size: 12px;
    font-weight: 400;
    color: var(--c-text2);
    line-height: 1.4;
    margin-bottom: 8px;
    flex-grow: 1;
    overflow: hidden;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid var(--c-border);
    padding-top: 8px;
}

.status-text {
    font-size: 10px;
    color: var(--c-text3);
}

.price-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text);
}

/* Ver más */
.load-more-container {
    text-align: center;
    margin-top: 24px;
}

.btn-load-more {
    background: var(--c-surface);
    color: var(--c-text2);
    border: 1px solid var(--c-border2);
    border-radius: var(--r);
    padding: 9px 36px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--t);
    font-family: var(--font);
}

.btn-load-more:hover {
    background: var(--c-surface2);
    color: var(--c-text);
    border-color: var(--c-border2);
}

@media (max-width:1400px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width:1100px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width:800px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:500px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
}