@font-face {
  font-family: Arabic;
  src: url(../fonts/Questv1-Bold.otf);
}

/* Desktop */
:root {
  --yellow-color: #F8D80B;
  --small-font-size: 20px !important;
  --medium-font-size: 25px !important;
  --big-font-size: 37px !important;
}



/* Mobile */
@media (max-width: 890px) {
  :root {
    --small-font-size: 16px !important;
    --medium-font-size: 18px !important;
    --big-font-size: 30px !important;
  }
}



* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  font-family: Arabic;
}


.product-old-price-new-price {
  width: 40%;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 30px;
  align-items: center;
}

.old-price {
  margin-left: 20px;
  text-decoration: line-through;
  color: #888; /* Grey color to indicate it's old */
  font-size: 1.5em; /* Slightly smaller than main price */
}


.new-price {
  color: #e60023; /* Bright red to highlight discount */
  font-weight: bold;
  font-size: 1.5em;
}


body {
  background-color: #FAF8FF;
}
.container {
  /* background: lightblue; */
  max-width: 1200px;
  margin: auto;
}



.logo img {
  width: 100px;
}

.fa, .fas {
  color: #000;
  cursor: pointer;
}

nav ul {
  font-size: var(--small-font-size);
  float: right;
  margin-right: 20px;
}

nav ul li {
  display: inline-block;
  line-height: 80px;
  margin: 0 5px;
}

nav ul li a {
  color: #000;
  padding: 7px 13px;
  border-radius: 3px;
  text-transform: uppercase;
}
a:hover {
  transition: .5s;
}
.checkbtn {
  color: white;
  float: right;
  line-height: 80px;
  margin-right: 30px;
  cursor: pointer;
  display: none;
}
#check {
  display: none;
}


/* Banner section */
.img-banner {
  width: 100%;
}










/* Weeks Section */


/* PRODUCTS */
.product {
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.deals-of-the-week {
  text-align: center;
  font-size: var(--big-font-size);
  padding: 0 10vw;
  font-weight: 500;
  margin-bottom: 40px;
  text-transform: capitalize;
}

.product-container {
  padding: 0 0vw;
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.product-container::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 auto;
  width: 320px;
  margin-right: 40px;
}

.product-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pre-btn,
.nxt-btn {
  border: none;
  width: 10vw;
  height: 100%;
  position: absolute;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
  cursor: pointer;
  z-index: 8;
}

.pre-btn {
  left: 0;
  transform: rotate(180deg);
}

.nxt-btn {
  right: 0;
}

.pre-btn img,
.nxt-btn img {
  opacity: 0.2;
}

.pre-btn:hover img,
.nxt-btn:hover img {
  opacity: 1;
}



/* CATEGOREIS SECTION */
.category-container {
  background: var(--yellow-color);
  margin-right: 20px;
  margin-bottom: 30px;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: var(--medium-font-size);
}

.categoreis-web-view {
  display: none;
}


/* Show room Products */
#showroom-products {
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: space-between;
  gap: 10px;
  row-gap: 55px;
}

.showroom-product-card {
  display: inline-block;
  /* background-color: lightgreen; */
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;  
}

.showroom-product-card p {
  font-size: var(--medium-font-size);
}

.product-showroom-header {
  text-align: center;
  margin-bottom: 20px;
}

.product-showroom-image img {
  width: 450px;
}


.product-showroom-info {
  font-size: var(--small-font-size);
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.product-showroom-info a {
  color: #000;
}

.product-showroom-info p {
  margin: 0 !important;
}

.product-showroom-info .old-product-price {
  text-decoration: line-through;
  color: #ff000099;
}

.more-info-button a {
  background-color: var(--yellow-color);
  padding: 5px 20px;
  border-radius: 8px;
}




/* Add Order Page Desktop Design */


.product-order-container {
  margin-top: 40px;
  text-align: center;  
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-order-container img {
  margin-bottom: 30px;
  width: 40%;
}

.product-order-product-form {
  font-size: 22px;
  border: 3px solid var(--yellow-color);
  border-radius: 10px;
  padding: 20px 30px;
  margin-top: 30px;
}

.product-order-product-form input {
  width: 100%;
  padding: 5px 10px;
  outline: none;
  border: solid 1px black;
  border-radius: 10px;

}

.product-order-product-form-submit {
  background-color: var(--yellow-color);
  padding: 5px 20px;
  border-radius: 8px;
  border: none;
}


.add-order-details-image-container {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.add-order-details-image {
  width: 50%;
  margin: auto;
}



/* DAIRA WILAYA STYLE */



.dropdown { 
  position: relative; 
  margin-bottom: 30px;
}
.dropdown[aria-disabled="true"] { opacity: .6; pointer-events: none; }
.dropdown-toggle {
  border: 1px solid #ccc; border-radius: 8px; background: #fff;
  padding: 10px 12px; cursor: pointer; min-height: 42px;
  display: flex; align-items: center; justify-content: space-between;
}



.dropdown-toggle span.value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.caret { margin-inline-start: 8px; }

.dropdown-panel {
  position: absolute; inset-inline: 0; top: calc(100% + 4px);
  border: 1px solid #ddd; border-radius: 10px; background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  display: none; z-index: 1000;
}
.dropdown.open .dropdown-panel { display: block; }
.dropdown-search {
  width: 100%; border: none; border-bottom: 1px solid #eee;
  padding: 10px 12px; outline: none; box-sizing: border-box;
}
.options { max-height: 260px; overflow: auto; }
.option {
  padding: 10px 12px; cursor: pointer;
  border-bottom: 1px solid #f6f6f6;
}
.option:hover, .option[aria-selected="true"] { background: #f4f7ff; }
.muted { color: #666; font-size: .9rem; margin-top: 6px; }
label { display:block; font-weight: 700; margin-bottom: 6px; }
  





@media (max-width: 1050px) {
  label.logo {
    padding-left: 30px;
  }
}




/* Responsive media query code for small screen */
@media (max-width: 890px) {
  .checkbtn {
    display: block;
  }

  ul {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    background: #fff;
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all .5s;
  }
  nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }
  
  
  #check:checked~ul {
    left: 0;
  }

  .product-card {
    width: 200px;
  }

  .product-image {
    height: 120px;
  }



  /* showroom products mobiel view */
  #showroom-products {
    row-gap: 20px;
  }

  .product-showroom-image img {
    width: 150px;
  }

  .product-showroom-info {
    align-items: flex-start;
    flex-direction: column;
  }

  
  .product-old-price-new-price {
    width: 40% !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }












  /* Product Order Section */
  .product-order-container {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .product-order-product-name  {
    background-color: var(--yellow-color);
    padding: 15px 30px;
    color: white;
    border-radius: 50px;
    font-size: 20px;
  }

  .product-order-product-price {
    font-size: 30px;
  }

  .product-order-product-image {
    width: 100% !important;
  }

  .product-order-product-form {
    font-size: 22px;
    width: 80%;
    border: 3px solid var(--yellow-color);
    border-radius: 10px;
    padding: 20px 30px;
    margin-top: 30px;
  }

  .product-order-product-form input {
    width: 100%;
    padding: 5px 10px;
    outline: none;
  }

  #carouselExampleIndicators {
    width: 90% !important;
  }

  .product-order-product-form-submit {
    background-color: var(--yellow-color);
    padding: 5px 20px;
    border-radius: 8px;
    border: none;
  }

  .add-order-details-image {
    width: 80% !important;
  }




  footer {
    text-align: center;
    font-size: 17px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .right-footer-social-images i {
    font-size: 90px;
  }

  img.order-added-mobile-view {
    display: block !important;
    width: 95%;
    margin: 0 auto;
  }

  img.order-added-web-view {
    display: none !important;
  }
  
}




@media (min-width: 890px) {
  .categories {
    display: none;
  }

  .categoreis-web-view {
    padding: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .categoreis-web-view p {
    font-size: var(--medium-font-size);
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
  }


}





footer {
  border-top-left-radius: 19px;
  border-top-right-radius: 19px;

  box-shadow: 0px -1px 10px -3px var(--yellow-color);

  font-size: 20px;
  display: flex !important;
  /* background: lightblue; */
  justify-content: space-around;
  align-items: center;
  margin-top: 60px;
  padding: 20px 0 20px 0;
}

.right-footer-social-images {
  display: flex;
}

.right-footer-social-images i {
  font-size: 25px;
  margin-left: 20px;
}






.single-product-viewer-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.single-product-viewer-container img {
  width: 25%;
}



.add-product-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

.add-product-container input {
  padding: 10px 20px;
  margin-top: 20px;
}

.add-product-container button {
  padding: 20px;
}



.hidden-input {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}




/* Order Added successful */
img.order-added-mobile-view {
  display: none;
}

img.order-added-web-view {
  display: block;
  width: 60%;
  margin: 0 auto;
}


.carousel.slide {
  width: 50%;
  margin: auto;
}
