/* Estilo para catalogo */
:root {
    --bgtext: rgba(255, 255, 255, 0.95);
    --accent: #FF6600;
    --text-color: #e6e6e6;
    --muted: #dad7d7;
    --border: rgba(44, 42, 40, 0.08);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(240, 123, 36, 0.12), transparent 22%),
        radial-gradient(circle at bottom right, rgba(44, 42, 40, 0.08), transparent 20%);
    pointer-events: none;
    z-index: -1;
}

.text-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.brand {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 3.4rem);
    line-height: 1.05;
    max-width: 960px;
}

.hero-subtitle {
    margin: 16px 0 0;
    max-width: 720px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
}

.search-bar {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 500px;
    gap: 0;
    margin-bottom: 40px;
}

.search-bar input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-right: none;
    border-radius: 999px 0 0 999px;
    outline: none;
    font-size: 1rem;
}

.search-bar button {
    padding: 0 20px;
    background-color: var(--text-color);
    color: #fff;
    border: 1px solid var(--text-color);
    border-radius: 0 999px 999px 0;
    cursor: pointer;
}

.catalogo {
    display: grid;
    gap: 40px;
}

.producto {
    position: relative;
}

.producto-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
}

.producto--reverse .producto-card {
    grid-template-columns: 1fr 1fr;
}

.producto--reverse .producto-image {
    grid-column: 2;
    grid-row: 1;
}

.producto--reverse .producto-content {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.producto-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-card-main, #0f0f0f);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.05));
    border-radius: var(--radius-md, 16px);
    box-shadow: var(--shadow-soft, 0 10px 30px rgba(0, 0, 0, 0.5));
    width: 260px;
    height: 260px;
    margin: 0 auto;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.producto-card:hover .producto-image {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow, 0 0 20px rgba(255, 102, 0, 0.4));
    transform: translateY(-5px);
}

.producto-image::before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--rgba-orange-015, rgba(255, 102, 0, 0.15)) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.producto-image a {
    width: 100%;
    height: 100%;
    display: flex;
}

.producto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.producto-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 2;
}

.producto-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.producto-info h2 {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.2;
    color: var(--text-color);
    font-weight: 500;
}

.producto-info p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 380px;
}

.price-container {
    display: flex;
    align-items: center;
    margin-left: -130px;
}

.producto--reverse .price-container {
    margin-left: 0;
    margin-right: -130px;
    justify-content: flex-end;
}

.price-line {
    height: 1px;
    background-color: var(--accent);
    width: 130px;
    position: relative;
}

.producto:not(.producto--reverse) .price-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
}

.producto--reverse .price-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    z-index: 2;
}

@media (max-width: 960px) {
    .hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .producto-card,
    .producto--reverse .producto-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .producto--reverse .producto-image {
        grid-column: 1;
        grid-row: auto;
    }

    .producto--reverse .producto-content {
        grid-column: 1;
        grid-row: auto;
        align-items: center;
        text-align: center;
    }

    .producto-content {
        align-items: center;
        text-align: center;
    }

    .producto-image::before {
        width: 300px;
        height: 300px;
        top: 50%;
        left: 50%;
    }

    .price-container,
    .producto--reverse .price-container {
        margin: 0;
        justify-content: center;
    }

    .price-line {
        display: none;
    }
}

@media (max-width: 640px) {
    .page {
        padding: 0;
    }

    .search-bar {
        flex-direction: column;
        max-width: 100%;
    }

    .search-bar input,
    .search-bar button {
        width: 100%;
        border-radius: 999px;
    }

    .search-bar button {
        margin-top: 10px;
        border-left: 1px solid var(--border);
    }

    .producto-card {
        padding: 26px;
    }

    .producto-image img {
        max-width: 100%;
    }
}