@import url(global.css);
@import url(home.css);

.producto {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5em 1.5em 5em;
}

.producto__back {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2em;
}

.producto__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3em;
    align-items: start;
}

.producto__gallery {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(20, 30, 60, 0.15);
    aspect-ratio: 4 / 3;
}

.producto__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.producto__slide.active {
    opacity: 1;
}

.producto__info h1 {
    font-size: 2.4em;
    color: #1c2536;
    margin-bottom: 0.3em;
}

.producto__specs {
    color: #6b7385;
    font-size: 1em;
    margin-bottom: 1em;
}

.producto__price {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.2em;
}

.producto__price span {
    font-size: 0.5em;
    font-weight: 500;
    color: #6b7385;
}

.producto__description {
    color: #4a5364;
    line-height: 1.7em;
    margin-bottom: 2em;
}

.producto__attributes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.2em;
    margin-bottom: 2em;
}

.producto__attributes span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75em;
    color: #9aa2b3;
    margin-bottom: 0.3em;
}

.producto__attributes strong {
    color: #14181f;
    font-size: 1em;
}

/* Misma forma que el botón del hero en Inicio (rectangular, no pill). */
.producto__quote-btn {
    border-radius: 14px;
}

@media (max-width: 768px) {
    .producto__layout {
        grid-template-columns: 1fr;
        gap: 2em;
    }

    .producto__info h1 {
        font-size: 1.9em;
    }
}
