/* =========================
   PRODUCT SHOW PAGE
========================= */
.product-show-page {
    background: #fdf7f2;
}

/* =========================
   PRODUCT DETAIL
========================= */
.product-show-page .product-detail {
    padding: 70px 20px;
}

.product-show-page .detail-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 60px;
    align-items: center;
}

/* IMAGE */
.product-show-page .detail-image {
    background: #fff;
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.product-show-page .detail-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* INFO */
.product-show-page .detail-info h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #111;
}

.product-show-page .detail-price {
    font-size: 30px;
    font-weight: 900;
    color: #7b2cbf;
    margin-bottom: 20px;
}

.product-show-page .detail-description {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 35px;
}

/* BUTTON */
.product-show-page .detail-add-cart {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #7b2cbf;
    color: #fff;
    border: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;

    transition: 0.3s;
}

.product-show-page .detail-add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(211, 47, 197, 0.55);
}

/* =========================
   RELATED PRODUCTS
========================= */
.product-show-page .related-products {
    padding: 70px 20px 90px;
    background: #fff;
}

.product-show-page .related-products h2 {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 45px;
}

/* GRID */
.product-show-page .products-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

/* CARD */
.product-show-page .product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    position: static; /* 🔥 evita conflictos */
}

.product-show-page .product-card:hover {
    transform: translateY(-6px);
}

/* LINK */
.product-show-page .product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* IMAGE */
.product-show-page .product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 15px;
    background: #f6f6f6;
}

/* INFO */
.product-show-page .product-card h4 {
    font-size: 14px;
    font-weight: 600;
    padding: 12px 14px 5px;
    min-height: 40px;
}

.product-show-page .product-card span {
    display: block;
    padding: 0 14px 14px;
    font-weight: 800;
    color: #7b2cbf;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
    .product-show-page .detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-show-page .detail-image {
        max-width: 380px;
        margin: auto;
    }

    .product-show-page .detail-info {
        text-align: center;
    }

    .product-show-page .detail-add-cart {
        width: 100%;
        justify-content: center;
    }
}
