.detail-product {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
    height: 470px;
    margin-bottom: 50px;
}



.detail-product .present-detail-product {
    display: flex;
    gap: 10px;
}

.detail-product .present-detail-product .small-detail-product {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 200px;
}

.detail-product .present-detail-product .small-detail-product img {
    height: 110px;
    width: 100%;
    min-width: 0;
    object-fit: cover;
    border-radius: 8px;
}

.detail-product .present-detail-product .large-product {
    flex: 1;
    width: 100%;
}

.detail-product .present-detail-product .large-product img {
    height: 470px;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.detail-product .info-detail-product {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 100%;
    padding: 10px;
    border-radius: 10px;
}

.detail-product .info-detail-product h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
}

.detail-product .info-detail-product h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
}

.detail-product .info-detail-product .info-tech {
    overflow-y: auto;
}

.detail-product .info-detail-product .info-tech p {
    margin-bottom: 6px;
}

.detail-product .info-detail-product .btn-detail-contact {
    display: flex;
    width: 100%;
    gap: 10px;
}

.detail-product .info-detail-product .btn-detail-contact a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 25px;
    color: white;
}

.detail-product .info-detail-product .btn-detail-contact a span {
    margin-left: 25px;
}

.detail-product .info-detail-product .btn-detail-contact a img {
    height: 20px;
    width: 20px;
    filter: brightness(0) invert(1);
    transition: opacity 0.5s;
    opacity: 0;
    visibility: hidden;
}

.detail-product .info-detail-product .btn-detail-contact a:hover span {
    opacity: 0;
    display: none;
}

.detail-product .info-detail-product .btn-detail-contact a:hover img {
    opacity: 1;
    visibility: visible;
}

.detail-product .info-detail-product .btn-detail-contact a:first-child {
    background: linear-gradient(135deg, #ff5722, #e53935);
    box-shadow: 0 3px 8px rgba(229, 57, 53, 0.4);
}

.detail-product .info-detail-product .btn-detail-contact a:first-child:hover {
    background: linear-gradient(135deg, #e53935, #c62828);
}

.detail-product .info-detail-product .btn-detail-contact a:last-child {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    box-shadow: 0 3px 8px rgba(25, 118, 210, 0.4);
}

.detail-product .info-detail-product .btn-detail-contact a:last-child:hover {
    background: linear-gradient(135deg, #1976d2, #0d47a1);
}

@media (max-width: 876px) {
    .detail-product {
        grid-template-columns: 1fr;
        margin-bottom: 470px;
    }
    .detail-product .info-detail-product {
        height: max-content;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }
}

@media (min-width: 0) and (max-width: 1500px) {
    .detail-product .info-detail-product .btn-detail-contact a span {
        font-size: 11px;
    }
    .detail-product .present-detail-product {
        display: flex;
        flex-direction: column;
    }

    .detail-product .present-detail-product .small-detail-product {
        display: flex;
        flex-direction: row;
        width: 100%;
        flex-shrink: 1;
    }

    .detail-product {
        height: 550px;
    }
    .detail-product .info-detail-product {
        height: max-content;
    }
}

@media (min-width: 1500px) and (max-width: 1900px) {
    .detail-product .present-detail-product {
        display: flex;
        flex-direction: column;
    }

    .detail-product .present-detail-product .small-detail-product {
        display: flex;
        flex-direction: row;
        width: 100%;
        flex-shrink: 1;
    }

    .detail-product {
        height: 550px;
    }
}
