.page-navigation {
display: flex;
height: 20px;
width: 100%;
align-items: center;
justify-content: center;
margin: 45px 0 10px 0;
border-bottom: 1px solid #ddd;
padding-bottom: 10px;
/* background-color: red; */
}

.page-navigation-link {
    list-style: none;
    text-decoration: none;
    color: black;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin: 0 5px;
}




.product-detail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    text-align: center;
}


.product-detail-left {
    flex: 1;
    max-width: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.product-detail-image {
    max-width: 100%; /* Ensures images don’t overflow */
    height: auto; /* Keeps aspect ratio */
    display: block;
}


.product-detail-right {
    flex: 1.2; 
    max-width: 55%;
    width: 500px;
    text-align: left;
    padding: 20px;
}

.product-detail-name {
    font-size: 26px;
    font-weight: bold;
    margin: 10px 0;
    padding: 0 25px;
}

.product-detail-price {
   
    font-size: 30px;
    color: green;
    font-weight: bold;
    padding: 0 15px;
}

.free-delivery {
 font-size: 14px;
    color: green;
}
.product-detail-description {
    font-size: 16px;
    margin: 20px 0;
    padding: 0 15px;
}


.product-seller-container {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #fafafa;
    padding: 10px 15px;
    border-radius: 12px;
    max-width: 100%;
}

.product-seller-container > p {
    opacity: 0.7;
}

.product-seller-image {
    max-width: 140px;
    height: 30px;
    object-fit: cover;
}

.product-detail-in-stock {
    font-size: 0.9rem;
    color: green;
    margin-top: 10px;
    padding: 0 15px;
    text-align: left;
}


.product-detail-right-bottom {
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    min-width: 400px;
}


.product-detail-purchase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.button-primary {
    background-color: rgb(255, 216, 20);
    color: rgb(33, 33, 33);
    border: 1px solid rgb(252, 210, 0);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(213, 217, 217, 0.5);
    transition: all 0.2s ease-in-out;
}

.button-primary:hover {
    background-color: rgb(245, 205, 0);
}

.add-to-cart-button {
    width: 40%;
    max-width: 250px;
    height: 40px;
    padding: 8px;
    margin-left: 20px;
    border-radius: 50px;
}

/* Favorite Icon */
.favourites-style {
    height: 30px;
    width: 30px;
    stroke: #ffa900;
    transition: transform 0.2s;
}

.favourite-active {
    stroke: #ffa900;
    fill: #ffa900;
}

.favourites-style:hover {
    transform: scale(1.1);
}

/* Product Rating */
.product-rating-container {
    display: flex;
    align-items: center;
    padding: 5px 25px;
    margin-bottom: 10px;
}

.product-rating-stars {
    width: 100px;
    margin-right: 6px;
}

.product-rating-count {
    color: rgb(1, 124, 182);
    cursor: pointer;
    margin-top: 3px;
}

/* Financing Section */
.financing {
    padding: 10px;
    margin: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
  /* background-color: white; */
  }

  .financing-image {
    position: relative;
    top: 6px; 
    
}

/* Store Benefits */
.store-benefits {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    margin: 30px 0 15px 0;
    background-color: #f9f9f9;
    flex-wrap: wrap;
    border-radius: 10px;
}

.store-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.store-benefits img {
    height: 40px;
    width: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .product-detail {
        flex-direction: column;
        text-align: center;
        margin: 0;
    }

    .product-detail-left {
        max-width: 90%;
    }

   

    .product-detail-right {
        width: 100%;
        text-align: center;
        margin-top: 130px;
    }

    .product-detail-right-bottom {
        min-width: 100%;
    }

    /* .product-detail-purchase {
        flex-direction: column;
    } */

    .add-to-cart-button {
        width: 80%;
        margin: 10px 0;
    }

    .store-benefits {
        flex-direction: column;
        align-items: flex-start;
    }

    .financing {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-container {
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .product-detail {
        flex-direction: column;
    }

    .product-detail-left {
        max-width: 100%;
    }

   
  .product-detail-purchase {
    flex-direction: column;
  }

    .product-detail-right {
        max-width: 70%;
        /* width: 100%; */
        text-align: center;
   
    }

    /* .add-to-cart-button {
        width: 90%;
    } */

    .financing {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 545px) {
    .product-detail {
        flex-direction: column;
        padding: 15px; 
    }

    .product-detail-right {
      max-width: 70%;
    }

    .product-detail-left {
        max-width: 90%; 
        padding-bottom: 15px;
    }

    .product-detail-right {
        max-width: 80%;
        text-align: center;
        padding: 20px; 
    }
     
.page-navigation {
    height: 45px;
}
.page-navigation-link  {
    padding: 0;
}
    .product-detail-name {
        font-size: 24px; 
    }

    .product-detail-price {
        font-size: 28px; 
    }

    .product-detail-description {
        font-size: 16px;
        padding: 10px;
    }

    .product-detail-right-bottom {
        width: 100%;
        padding: 15px;
    }

    .add-to-cart-button {
        width: 95%;
        height: 50px; 
        font-size: 16px;
    }

    .store-benefits {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .store-benefit {
        min-width: unset;
        margin-bottom: 10px;
    }

    .financing {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }
}



.limited-special-offers {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.limited-special-offers-img {
    width: 101%;
    height: 150px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .limited-special-offers {
        padding: 10px;
    }

    .limited-special-offers-img {
        max-width: 80%;
        max-height: 150px;
    }
}

@media (max-width: 480px) {
    .limited-special-offers-img {
        max-width: 100%;
        max-height: 120px;
    }
}









.product-detail-bottom {
    background-color: rgb(243, 243, 243);
    width: 100%;
    max-width: 1400px;
    height: 650px;
    display: flex;
    color: rgb(22, 22, 22);
    align-items: flex-start;
    padding: 20px;
    box-sizing: border-box;
    justify-content: center;
    gap: 34px;
    margin: 0 auto;

    border: 1px solid rgb(218, 218, 218);
    border-radius: 10px;
}

.product-detail-bottom-menu {
    width: 40%;
    max-width: 301px;
    background-color: rgb(237, 237, 237);
    padding: 6px;
    border-radius: 8px;
    overflow-y: auto;
}




.product-detail-bottom-menu ul {
    padding: 0;
    margin: 0;
}

.product-detail-bottom-menu li {
    list-style: none;
    padding: 10px 15px;
    margin: 5px 0;
    background: rgb(254, 189, 105);
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    transition: background 0.3s ease-in-out;
}
.product-detail-bottom-menu li:hover {
   opacity: 0.7;

}

.product-detail-bottom-submenu {
    width: 100%;

    height: 95%;
    background-color: rgb(237, 237, 237);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}








/* Responsive Design */
@media (max-width: 768px) {
    .product-detail-bottom {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .product-detail-bottom-menu {
        width: 80%;
        max-width: none;
        height: auto;
    }

    .product-detail-bottom-menu li {
        text-align: center;
    }
}

  .product-detail-left {
    position: relative; 
    display: flex;
    align-items: center;
}

.slider-container {
    width: 361px;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
  
    transition: transform 0.5s ease-in-out;
}

.slider-btn {
    position: absolute;
    height: 50px;
    width: 50px;
    background: rgba(134, 134, 134, 0.5);
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-size: 30px;
    z-index: 10;
}

/* Position buttons outside but aligned */
.prev-btn {
    left: -3%; 
    top: 50%;
    transform: translateY(-50%);
}

.next-btn {
    left: 92%; 
    top: 50%;
    transform: translateY(-50%);
}




.thumbnails {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 5px;
}

.thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.3s;
}

.thumbnail.active {
    border-color: #000;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 0.8;
}



@media (max-width:1024px) {
.prev-btn {
    left: -30%; 
    top: 50%;
    transform: translateY(-50%);
}

.next-btn {
    left: 120%; 
    top: 50%;
    transform: translateY(-50%);
}

.thumbnails {
    top: 80%;
    left: 45%;
}
}


@media (max-width:620px) {
.prev-btn {
    left: 35%; 
    top: 105%;
    transform: translateY(-50%);
}

.next-btn {
    left: 65%; 
    top: 105%;
    transform: translateY(-50%);
}
}


.cart-popup {
    display: none; 
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(254, 189, 105);
    color: black;
    padding: 15px;
    border-radius: 5px;
    z-index: 1000;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }
  
  .cart-popup.show {
    display: block;
    width: 60%;
    display: flex;
    justify-content: center;
    color: rgb(104, 85, 0); 
  
  }








  /* Why us section */

  .why-us {
    background-color: #ffffff;
    padding: 50px 20px;
}

.why-us h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;  
    justify-content: center; 
    text-align: center;

    background: #fff;
    padding: 20px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;

}

.feature:hover {
    transform: translateY(-5px);
}

.feature img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.5rem;
    color: #444;
}

.feature p {
    color: #666;
    font-size: 1rem;
}




.review-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90%;
    gap: 50px;
    margin: 80px auto;
    background-color: #dfdfdf;
    /* padding: 80px 40px; */
    border: 1px solid rgb(226, 226, 226);
    border-radius: 10px;

   
}

/* Review Form */
.review-form {
    flex: 1;
    max-width: 350px;
    padding: 20px;
    text-align: center;
    margin: 0 auto;
    padding: 100px 15px;
}

.review-form h2 {
    margin-bottom: 15px;
    color: #333;
}

.review-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.review-form textarea {
    height: 120px;
    resize: none;
}

.review-form button {
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    width: 100%;
    width: 378px;
}

.review-form button:hover {
    opacity: 0.8;
}

/* Reviews Section */
.reviews-container {
    flex: 2;
    background-color: #f8f9fa;
    padding: 25px;
    /* border-radius: 10px; */
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 100%;
    padding: 0 50px;
    padding: 100px 20px;
}

.reviews-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

/* User Reviews */
.user-reviews {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
   
}

/* Individual Review */
.review {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    gap: 15px;
}

.review-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ccc;
}

.review-content {
    flex: 1;
}

.review-author {
    font-weight: bold;
    color: #333;
}

.review-text {
    color: #555;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .review-container {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }

    /* .review-form,
    .reviews-container {
        margin: 0 auto;
    } */

    .review {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .review-img {
        width: 70px;
        height: 70px;
    }
    .button-primary {
        margin: 0 auto;
    }
}