.detail-container {
    width: 90%;
    margin: auto;
    margin-top: 100px;
    padding-bottom: 60px;
}

.detail-container .alert {
    font-size: 16px;
    padding: 30px 30px;
    border: 1px solid orange;
    color: orangered;
    margin-bottom: 30px;
    background: rgba(255, 166, 0, 0.1);
}

.detail-container .alert a {
    color: blue;
    text-decoration: underline;
}

.detail-bracket {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgb(0, 0, 0, 0.1);
    border-bottom: 1px solid rgb(0, 0, 0, 0.1);
    padding-bottom: 40px;
}

.detail-image {
    width: 400px;
    height: 500px;
    background: var(--bg-dull);
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.detail-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 40%;
}

.detail-subtitle {
    font-size: 24px;
    color: var(--text-faded);
    margin-bottom: 10px;
    font-family: var(--head-font);
}

.detail-title {
    font-size: 30px;
    margin-bottom: 30px;
    font-family: var(--head-font);
    border-bottom: 1px solid rgb(0, 0, 0, 0.1);
    padding-bottom: 20px;
}

.detail-price {
    font-size: 30px;
    font-family: var(--head-font);
    color: rgb(0, 141, 0);
    margin-bottom: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.detail-price span {
    font-size: 17px;
    font-style: italic;
    color: var(--text-faded);
    font-weight: 400;
}

.action-buttons {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 30px;
    width: 300px;
    font-family: var(--head-font);
}

.buy-now-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.buy-now-form input {
    width: 100px;
    font-family: var(--text-font);
    padding: 8px 10px;
    border-radius: 0;
    border: none;
    border: 1px solid var(--border);
}

.buy-now-form button {
    width: 100%;
    padding: 8px 10px;
    font-family: var(--head-font);
    font-weight: 700;
    border: none;
    background: black;
    color: white;
    cursor: pointer;
}

.buy-now-form button:hover {
    opacity: 0.6;
}

.addToCartForm {
    width: 100%;
}
.addToCartForm button {
    width: 100%;
    padding: 12px 10px;
    font-family: var(--head-font);
    font-weight: 700;
    border: none;
    background: var(--primary);
    color: white;
    cursor: pointer;
}

.addToCartForm button:hover {
    opacity: 0.6;
}

.detail-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 30%;
    padding: 15px;
}

.detail-text p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(0, 0, 0, 0.1);
    font-size: 18px;
}

.detail-text p {
    font-weight: 700;
}

.detail-text p strong {
    color: var(--text-faded);
    font-weight: 500;
}

@media (max-width: 1100px) {
    .detail-bracket {
        flex-direction: column;
    }
    .detail-image {
        width: 80%;
        max-width: 400px;
        height: 85vw;
        max-height: 500px;
    }

    .detail-content {
        width: 100%;
    }
    .detail-text {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .detail-container {
        width: 93%;
    }
    .detail-image {
        width: 100%;
        height: 400px;
        max-height: none;
        max-width: none;
    }
    .detail-bracket {
        gap: 30px;
        border-bottom: none;
    }
    .detail-title {
        font-size: 24px;
    }
    .detail-subtitle {
        font-size: 17px;
    }
    .detail-price {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .action-buttons {
        width: 100%;
    }

    .detail-text {
        padding: 0;
    }
    .detail-text p {
        font-size: 15px;
    }
}
