@import url('../style/main.css');


.product-details * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} 

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.product {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Images Section */
.product-images {
    flex: 1;
    min-width: 300px;
}

.big-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 2px solid #ddd;
    margin-bottom: 10px;
}

.small-images {
    display: flex;
    gap: 10px;
}

.small-images img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #ddd;
    transition: border 0.3s ease;
}

.small-images img:hover {
    border-color: #000;
}

/* Details Section */
.product-details {
    flex: 1;
    min-width: 300px;
}

.product-details h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.product-details .price {
    font-size: 24px;
    color: #56AF2C;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-details .rating-container .rating {
    color: #f4b400;
    margin-bottom: 15px;
    margin-right: 10px;
}
.product-details .rating-container .rating + div {
    margin-top: 4px;
    color: #6c757d;
}

.rating-container {
    display: flex;
}

.product-details .description {
    margin-bottom: 20px;
    color: #6c757d;
}

.product-details .description span {
    cursor: pointer;
    text-decoration: underline;
}

.product-details .info {
    font-size: 14px;
    margin-bottom: 15px;
    padding: 20px;
    border-top: 1px solid #6c757d;
    border-bottom: 1px solid #6c757d;
}

.product-details .info span {
    display: flex;
}
.infosapn  {
    color: #6c757d;
    margin-left:10px;
}

.info span {
    display: block;
    margin-bottom: 5px;
}

.product-details .quantity {
    margin-bottom: 15px;
}

.quantity input {
    width: 50px;
    text-align: center;
}

.product-details .shipping {
    margin-block: 30px;
}

.shipping h6 {
    color: #8E96A4;
}

.shipping select {
    padding: 10px 30px;
    margin: 10px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.shipping select option {

}

.colorgraay {
    color: #8E96A4;
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.actions div .btn { 
    padding: 10px 40px;
    border: 1px solid #001C30;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    transition: background-color 0.3s ease;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}
.btns {
    margin-top: 10px;
}

.btn-primary {
    background-color: #001C30;
    color: #fff;
}


.btn-secondary {
    background-color: white;
    color: #000;
}



.icons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.icons i {
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.icons i:hover {
    color: #007bff;
}

.product-info {
    display: flex;
    margin-top: 50px;
    text-align: center;
}

.product-info div {
    flex: 1;
    border-bottom: 1px solid #ddd;
    width: calc(33%);
    padding: 8px 30px;
    cursor: pointer;
}

.first-element {
    background-color: #F4CE14;
}

.custom-list {
    margin-top: 20px;
    list-style: none;
    padding: 12px;
    border-bottom: 2px solid #ddd;
    text-decoration: none;
}

.custom-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.custom-list li::before {
    content: "✔";
    color: #007bff;
    font-size: 18px;
    margin-right: 10px;
}

a {
    text-decoration: none;
}

.quantity-controls {
    margin-top: 15px;
}

.minus {
    background-color: #8E96A4;
    padding: 10px 14px;
    color: white;
    border-radius: 50%;
    cursor: pointer;
}
.plus {
    background-color: #001C30;
    padding: 10px 14px;
    color: white;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    cursor: pointer;
}

.number {
    margin: 0 10px;
    border: 1px solid #8E96A4;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 10px 20px;
    text-align: center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}


.icons {
    display: flex;
    margin-inline-end: 20px;
    gap: 10px;

}

.icons div {
    border-radius: 50%;
    background-color: white;
    padding: 5px;
}
.icons img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin-inline: 5px;
}

@media screen and (max-width: 640px) {
    .product-info{
        flex-direction: column;
    }
    .product-info div {
        width: 100%;
    }
}