/*detail page detail section*/

.back-detail {
    width: 100%;
    min-height: 75vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('/static/base/images/cat-back.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.new-content{
   color: white;
   font-family: Unbounded;
    font-size: 15px;
    font-weight: 300;
    line-height: 26px;
    /* text-align: left; */
    text-indent: 20px;
}

.new-content h1{
    color: var(--color-primary);
    text-align: center;
    font-size: 20px !important;
    line-height: 30px;
    padding-bottom: 15px;
 }


.detail {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.detail-content {
    /* display: flex; */
    column-gap: 30px;
    margin-bottom: 30px;
}

.new-content img {
    max-width: 450px;
    height: 450px;
    
}

.main-text-detail {
    margin: 20px 0 40px 0;
}

.main-text-detail a {
    color: var(--color-primary);
    font-family: Unbounded;
    font-size: 14px;
    font-weight: 400;
    line-height: 17.36px;
    text-align: center;
    margin: 0 10px;

}

.details-full h1{
    /* width: 55%; */
    color: white;
    
}

.details-full h1 {
    margin-bottom: 10px;
    color: var(--color-primary);
    text-align: center;
    font-size: 20px;
    line-height: 30px;
}

.details-full p {
    color: #ffffff;
    font-family: Unbounded;
    font-size: 13px;
    font-weight: 300;
    line-height: 26px;
    /* text-align: left; */
    text-indent: 20px;
}


.quantity {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quantity p {
    font-family: Unbounded;
    font-size: 14px;
    font-weight: 300;
    line-height: 17.36px;
    text-align: left;
    color: #ffffff;
}

.quantity p span {
    font-family: Unbounded;
    font-size: 14px;
    font-weight: 300;
    line-height: 17.36px;
    text-align: left;
    color: var(--color-primary);
}

@media (max-width: 1278px) {
    .new-content div:first-child{
        display: flex;
        justify-content: center;
    }

    .new-content img {
        max-width: 430px;
        max-height: 430px;
      
    }

    .detail {
        width: 90%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
    }

    .detail-content {
        flex-direction: column;
    }

    .detail-content div img {
        width: 95%;
        height: 70%;
        margin: 0 auto;
    }

    .new-content h1{
      padding-top: 20px;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal_form {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.modal_input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; 
    font-size: 16px;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 500px;
    text-align: center;
    position: relative;
    overflow-y: auto;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.modal-image {
    width: 50%;
    max-height: 200px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.modal-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.modal-description {
    font-size: 16px;
}

.news_btn {
    padding: 10px 15px;
    border-radius: 10px;
    background: var(--color-primary);
    border: none;
    cursor: pointer;
    color: black;
    align-self: center;
}

.success-alert {
    display: none;
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-primary);
    color: black;
    padding: 20px;
    border-radius: 10px;
    z-index: 1001; 
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.success-alert button {
    background-color: black;
    color: var(--color-primary);
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}


/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-description {
        font-size: 14px;
    }
}



@media (max-width: 700px) {
    .new-content img {
        max-width: 350px;
        max-height: 350px;
      
    }

}



@media (max-width: 500px) {
    .new-content img {
        max-width: 250px;
        max-height: 250px;
      
    }

}

