.produto-container {
    padding: 220px 20px 80px;
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

/* Galeria */
.galeria {
    display: flex;
    gap: 20px;
}

.thumbs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.thumbs img,
.thumbs .placeholder {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    object-fit: cover;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.thumbs img:hover,
.thumbs .placeholder:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.thumbs img.active {
    border: 2px solid var(--primary-color);
}

/* Imagem principal */
.principal img {
    width: 320px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* Detalhes */
.detalhes {
    max-width: 380px;
}

.detalhes h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.preco {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Inputs */
.detalhes select,
.detalhes input {
    width: 100%;
    padding: 12px 14px;
    margin: 8px 0 22px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: var(--bg-secondary);
    transition: border-color 0.3s ease;
}

.detalhes select:focus,
.detalhes input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Compra */
.compra {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
}

.quantidade {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.quantidade button {
    padding: 10px 14px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.quantidade button:hover {
    background: var(--bg-primary);
}

.quantidade span {
    padding: 0 16px;
    font-weight: 600;
}

/* Botão comprar */
.btn-comprar {
    background: var(--gradient-primary);
    color: #fff;
    padding: 14px 36px;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-comprar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(234, 102, 102, 0.4);
}

/* Frete */
.frete {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.frete p {
    width: 100%;
    font-weight: 600;
}

.frete input {
    flex: 1;
}

.frete button {
    background: var(--text-primary);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background 0.3s ease;
}

.frete button:hover {
    background: #000;
}

/* Info */
.info {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.info h4 {
    margin-bottom: 6px;
    color: var(--text-primary);
}

/* ================= RESPONSIVO ================= */

/* Mobile */
@media (max-width: 550px) {
    .produto-container {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        padding: 220px 16px 60px;
    }

    .galeria {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .thumbs {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        order: 2;
    }

    .thumbs img,
    .thumbs .placeholder {
        width: 60px;
        height: 60px;
    }

    .principal {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .principal img {
        width: 100%;
        max-width: 340px;
    }

    .detalhes {
        width: 100%;
        max-width: 400px;
        text-align: left;
    }

    .compra {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .btn-comprar {
        width: 100%;
        text-align: center;
    }
}

/* Tablet */
@media (min-width: 551px) and (max-width: 1100px) {
    .produto-container {
        flex-direction: column;
        align-items: center;
        gap: 48px;
        padding: 220px 24px 70px;
    }

    .galeria {
        gap: 30px;
    }

    .principal img {
        width: 100%;
        max-width: 420px;
    }

    .detalhes {
        max-width: 500px;
        width: 100%;
    }

    .compra {
        gap: 20px;
    }
}