.page-title {
    font-size: 40px;
    text-align: center;
    margin: 30px;
    color: #091a2a;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.product-image-container {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 20px;
}

.product-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 8px;
}

.product-details {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 1px solid #eee;
}

.product-info {
    margin-top: 10px;
}

.product-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #091a2a;
}

.product-price,
.product-brand,
.product-size,
.product-description {
    font-size: 18px;
    margin-bottom: 10px;
}

.tod {
    font-weight: bold;
    color: #555;
}

.card-content {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-to-cart-button {
    padding: 13px 20px;
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    border: none;
    color: white;
    font-weight: bold;
    font-size: 1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.add-to-cart-button:hover {
    background: linear-gradient(135deg, #388E3C, #2C6B2F);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.delet-to-cart-button {
    padding: 12px 20px;
    background: linear-gradient(135deg, #F44336, #D32F2F);
    border: none;
    color: white;
    font-weight: bold;
    font-size: 1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.delet-to-cart-button:hover {
    background: linear-gradient(135deg, #D32F2F, #C62828);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-buy {
    padding: 12px 24px;
    background: linear-gradient(135deg, #091a2a, #21476c);
    border-radius: 5px;
    border: none;
    color: white;
    font-weight: bold;
    font-size: 1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: inline-block;
    text-align: center;
    width: 230px;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-buy:hover {
    background: linear-gradient(135deg, #1b3d5d, #1b3d5d);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.back_btn {
    padding: 12px 22px;
    background-color: transparent;
    border-radius: 7px;
    border: 1.5px solid black;
    color: black;
    width: 296px;
    margin-top: 20px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.back_btn:hover {
    transform: scale(1.03);
}

.form-container {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
}

.form-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #091a2a;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.submit-button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    background: linear-gradient(45deg, #091a2a, #21476c);
    transition: background 0.3s ease-in-out;
}

.submit-button:hover {
    background: linear-gradient(45deg, #1b3d5d, #1b3d5d);
}

.close-button {
    width: 150px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    background: linear-gradient(45deg, #091a2a, #21476c);
    transition: background 0.3s ease-in-out;
}

.close-button:hover {
    color: white;
}

.alert-success {
    padding: 8px !important;
}

@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
        align-items: center;
    }

    .product-image-container,
    .product-details {
        border: none;
        padding: 20px;
    }

    .product-details {
        background-color: #fff;
    }
}