@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

body {
    font-family: "Wittgenstein", serif;
    margin: 0;
    padding: 0;
    background-image: url(../imgs/back5.jpg);
    width: 100%;
    height: 100%;
   background-size: cover;
}
.txt{
    font-family: "Wittgenstein", serif;
    font-size: 50px;
    font-weight: bold;
}
:root{
    --main-color: black
}

a{
    text-decoration: none;
    color: white;
}

/* Header */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* padding: 10px 0; to this image*/
    background-color: black;
    height: 87px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    font-family: "Rubik", sans-serif;
}
.txt-color{
    color: #f7af06;
}
.txt-color{
    font-size: 45px;
    font-weight: bold;
}
header {
    display: block;
    unicode-bidi: isolate;
    
}

.orange-things{
    color: #e58232;
}
.white-things{
    color: white;
}
.gray-things {
    color: #3b3b3b;
}
.backgrd{
    background-color: black;
}
.left-icons, .right-icons {
    display: flex;
    gap: 15px;
}

.left-icons{
    margin-left: 25px;
    flex: 1;
    justify-content: left;
}

.right-icons{
    height: 100%;
    margin-right: 25px;
    flex: 1;
    justify-content: right;
    align-items: center;
}

.icons {
    cursor: pointer;
}

.list-icon{
    margin-top: 30px;
    
}

.logo img {
    max-height: 80px;
}

.login{
    text-decoration: none;
    font-size: 20px;
    
}


.first-section{
    background-color: black;
    position: relative;
}

.about-section{
    max-width: 800px;
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 100px 150px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 150px;
    margin-bottom: 150px;
    font-family: "Rubik", sans-serif;
}

.about-section .aboutContainer {
    text-align: center;
}

.aboutContainer h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    /* color: #f7af06; */
    text-transform: uppercase;
    background: linear-gradient(75deg, #000000a1, #ffb406);
    -webkit-background-clip: text;
    color: transparent;
}

.aboutContainer p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #ddd;
}

.aboutContainer p:last-child {
    margin-bottom: 0;
}
.wave {
    --size: 70px;
    --R: calc(var(--size)*1.28);
  
    mask:
      radial-gradient(var(--R) at 50% calc(1.8*var(--size)),#000 99%,#0000 101%) 
        calc(50% - 2*var(--size)) 0/calc(4*var(--size)) 100%,
      radial-gradient(var(--R) at 50% calc(-.8*var(--size)),#0000 99%,#000 101%) 
        50% var(--size)/calc(4*var(--size)) 100% repeat-x;
    background: linear-gradient(90deg,rgb(15, 15, 15),rgb(146, 112, 2));
    height: 300px;
    /* maring: 15px; */
    position: absolute;
    bottom: 0px;
    left: 0;
    z-index: 200;
    width: 100%;
  }




/* Get Products */
.productContineer{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    gap: 80px;
    background-color: black;
    width: 80%;
    border-radius: 9px;
    margin-top: 3rem;
   
}
.productContineer h3 {
    color: #e2a924;
}


.productBox{
    cursor: pointer;
    padding: 40px 60px;
    background-color: #3c3c3c;
    border-radius: 9px;
    width: 300px;
    height: 470px;
    box-shadow: 0 4px 8px 0 rgba(145, 145, 145, 0.2), 0 6px 20px 0 rgba(206, 135, 2, 0.19);

}
/* .productBox img {
    height: 200px;
    max-height: 120px;
    width: 150px;
} */

.products .allProducts,.product #addCart{
    padding: 15px;
    border-radius: 10px;
    border-color: #f7af06;
    border-width: 2px;
    border-style: solid;
    /* border: 2px solid #e58232; */
    min-width: 150px;
    margin-top: 35px;
    margin-bottom: 35px;
    display: block;
    color: white;
    background-color: #f7cb65;
    font-size: 17px;
    transition: all 0.3s;
}

.products .allProducts:hover,.product #addCart:hover{
    border: 2px solid #f7cb65;
    background-color: #f7af06;
}

.products .allProducts a,.product #addCart{
    color: white;
    font-family:"Wittgenstein" ;
    font-weight: bold;
    text-decoration: none;
}

.hide{
    display: none;
}

/* pop up */
.popUpElementContainerStyle {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.73);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; 
}
.popUpElementContainerStyle .popElementStyle {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    box-shadow: 8px 8px 20px #483d3d;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    align-items: center;
    display: flex;
   justify-content: space-between;
   background-color: #808080d9;
  

}
.popElementStyle h1 {
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 20px;
    line-height: 1.4rem;
}
.close-icon {
  position: absolute;
  right: 17px;
  top: 10px;
  font-size: 18px;
  transition: transform 0.3s ease; 
}
.close-icon:hover {
    transform: rotate(180deg);
}
/* .single-product-container {
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;

} */

.single-product-container {
    width: 288px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}
.single-product-container img {
    max-width: 65%;
    border-radius: 50%;

   
}
.detailscontainer {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.detailscontainer h1 {
    font-family: system-ui;
}
.price{
    font-weight: 300;
    font-size: 19px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-bottom: 0;
}
.Popuprating {
    color: #e2a924;
    font-size: 18px;
    line-height: 1.5rem;
    font-weight: 700;
}
.seeMore {
    color: #fffefe;
    background-color: black;
    margin-top: 0;
    cursor: pointer;
    transition: all 0.3s;
    padding: 20px;
    text-align: center;
    border-radius: 8pc;
    margin-top: 10px;
}
.rightArrow{
    color: #e58232;
    margin-left: 25px;
}
.seeMore:hover{
    margin-left: -5px;
}
.seeMore:hover .rightArrow{
    margin-left: -5px;
}


/* singleProduct */
.productContineer {
    padding: 5rem 0 !important;
}
.product {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 200px;
    border: 1px solid white;
    border-radius: 10px;
}

/* .product img {
    width: ;
} */
.product #singleProduct{
    display: flex;
    gap: 10px;
    /* flex-direction: column; */
    align-items: center;
    justify-content: space-evenly;
    width: 90%;
    background-color: #3b3b3bdf;
    padding-top: 120px;
    padding-bottom: 30px;
    border-radius: 15px;
    

}

.singleContent{
    margin: 7px 13px;
    display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 48%;
  position: relative;
}
/* .containerOfTrash {
    position: absolute;
    bottom: 15px;
    right: 15px;
} */

#singleProduct #description{
    line-height: 1.3;
    color: #808080;
    font-size: 18px;
}


#rating {
    color: #e2a924;
    font-size: 18px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    line-height: 1.5rem;
    font-weight: 700;
}
.product-imgs {
    display: flex;
    gap: 5px;
}
.product-imgs img:nth-child(1),.product-imgs img:nth-child(3),.product-imgs img:nth-child(2)  {
    /* Styles for the first img */
    border: 1px solid rgb(219, 216, 216);
    width: 200px;
    height: 150px;
}
.singleContent .icons{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -10px;
}

.singleContent .btn-icon{
    background-color: #e58232;
    width: 15px;
    padding: 7px;
    color: white;
    border-radius: 5px;
}

.icons .count{
    margin: 0 12px;
    font-size: 22px;
    color: #4d4d4d;
}

/* Review */

.reviews{
    background-color: #f5f7f9;
    margin-top: 20px;
    padding: 20px 30px;
}

.reviews .reviewsBody{
    margin: 4% 15%;
}

.reviews .reviewsBody .testimonial{
    text-transform: uppercase;
    font-size: 15px;
    margin: 0;
    letter-spacing: 1.3px;
    color: #808080;
    font-weight: 300;
}
.reviews .reviewsBody .testimonial{
    margin: 10px 0;
    font-size: 16px;
    color: #4b4848;
}
.reviews .reviewsBody .customerSay{
    margin-top: 10px;
    font-size: 30px;
    color: #484747;
}

.reviews #boxes{
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 30px;
    position: relative;
}

.reviews #box{
    background-color: white;
    padding: 20px 31px 35px 45px;
    width: 50%;
    transition: 0.4s all;
    border-radius: 16px;
}

.reviewBox #info{
    display: flex;
    align-items: center;
}
.reviewBox #info img{
    width: 12%;
    margin-right: 15px;
}
.reviewBox #comment{
    margin: 0;
    font-weight: bold;
    width: 100%;
    font-size: 20px;
}
.reviewBox #date{
    margin: 15px 0;
    font-weight: 200;
    font-size: 15px;
    letter-spacing: 1px;
}
.reviewBox #name{
    color: #e58232;
    margin: 0;
}
.reviewBox #email{
    margin: 2px 0;
    font-weight: 300;
    color: #484747;
}

.main-Container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.CartsofCartPage {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid #ddd;
    width: 75%;
}
#singlediv-cartpage{
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.productCarTpage {
    border: 1px solid #ddd;
    padding: 10px;
    width: 200px;
    text-align: center;
    background-color: #c4c1c149;
   
}

.productCarTpage img {
    max-width: 100%;
    height: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 15px;
    text-align: left;
}


th,td {
    background-color: #333;
    color: #f7af06;
    text-transform: capitalize;
   
}

td {
    background-color: #fff;
    color: #333;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.productsTable .img {
    max-width: 50px;
    height: auto;
}

.rating-stars {
    color: #f7af06;
}

.quantity-cell {
    text-align: center;
    font-weight: bold;
}
.flex-row {
    display: flex;
    width: 100%;
}

.flex-row td {
    flex: 0 1 auto;
    white-space: nowrap;
}

.takeremaining-width {
    flex: 1;
}


/* Responsive Design */
@media (max-width: 768px) {
    table, th, td {
        font-size: 14px;
    }

    img {
        max-width: 30px;
    }
}

.totalSum{
    font-size: 40px;
    color: #cacaca;
}
.clearandSum {
    padding: 20px 15px;
}
.clear button {
    padding: 14px 8px;
    background-color: #e58232;
    color: white;
    font-size: 20px;
    border: 2px solid #e58232;
    cursor: pointer;
    border-radius: 5px;
    width: 150px;
    transition: hover 0.3s ease;
}

.sum button {
    padding: 14px 12px;
    background-color: #ebbc3b;
    color: white;
    font-size: 18px;
    border: 2px solid white;
    cursor: pointer;
} 
.sum button:hover {
    background-color: white;
    color: gray;
    border: 3px solid gray;
}
.clear button:hover {
    background-color: white;
    color: gray;
    border: 3px solid rgb(224, 178, 51);

} 



/* Responsive Styles */
@media (max-width: 1024px) {
    
    .singleContent #description {
        width: 80%; 
    }

    .reviews #boxes {
        flex-direction: column;
        align-items: center;
    }

    .reviews #box {
        width: 80%; 
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .product #addCart {
        width: 30%; 
    }

    .singleContent #description, .reviewBox #comment {
        width: 90%;
    }

    .reviews #boxes {
        flex-direction: column; 
        align-items: center;
    }

    .reviews #box {
        width: 100%; 
        margin-bottom: 20px; 
    }

    .footer-section {
        height: fit-content;
    }

    .footer-section .contents {
        flex-direction: column;
            gap: 20px;
        padding: 20px;
    }

    .footer-section .contents .content-footer {
        text-align: center;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .singleContent #title {
        font-size: 20px;
    }

    .product #addCart {
       
        width: 50px;
    }

    .singleContent #rating {
        font-size: 20px;
    }

    .icons .count {
        font-size: 18px;
    }

    .footer-section {
        height: fit-content;
    }

    .footer-section .contents {
        flex-direction: column; 
        align-items: center;
    }

    .footer-section .contents .content-footer {
        text-align: center; 
        margin: 10px 0;
    }
}


/* add to cart single product */
.cart {

    width: 25%;
    height: 100vh;
    background-color: #3b3b3ba1;
    position: fixed;
    right: 0;
    top: 0;
    overflow-y: auto; /* Make the cart scrollable */
    display: none;
    padding: 10px; 
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 1000; 
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    flex-direction: column;


}
.image {
    display: none;
}
.image.show {
    display: block !important;
}
.addtocartButton {
    padding: 15px;
    border-radius: 10px;
    border-color: #e58232;
    border-width: 2px;
    border-style: solid;
    margin: 35px auto;
    display: block;
    width: auto;
    color: white;
    background-color: #da7f09e1;
    font-size: 17px;
    transition: all 0.3s;
    cursor: pointer;
}
.addtocartButton:hover {
    background-color: transparent;
    color:#da7f09e1 ;
    border: 1px solid #da7f09e1;
    transform: translateY(10deg);
}

.img-content-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}
.cart-item {
    position: relative;
    cursor: pointer;
}
.containerOfTrash {
    transition:transform 0.3s ease ;
}
.containerOfTrash i {
    position: absolute;
    bottom: 10px;
    right: 5px;
}
.containerOfTrash i:hover {
    transform: rotate(80deg);
}
.trash i {
    font-size: 25px;
    cursor: pointer;
    margin-left: 8px;
}
/* footer */
.footer-section{
    background-color: black;
    height: 250px;
    color: white;
    margin-top: 0;
}

.footer-section .contents{
    padding-top: 50px;
    display: flex;
    justify-content: center;
    gap: 90px;
}

.footer-section .contents .content-footer p{
    color: #e6d9d9;
    line-height: 1.5;
    font-size: 15px;
}

.footer-section .contents .content-footer span{
    display: block;
}