/*
Theme Name: FoodMart
Theme URI: https://templatesjungle.com/
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: FoodMart is specially designed product packaged for eCommerce store websites.
Version: 1.1
*/

/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/

/*------------------------------------*\
    Table of contents
\*------------------------------------*/

/*------------------------------------------------

CSS STRUCTURE:

1. VARIABLES

2. GENERAL TYPOGRAPHY
  2.1 General Styles
  2.2 Floating & Alignment
  2.3 Forms
  2.4 Lists
  2.5 Code
  2.6 Tables
  2.7 Spacing
  2.8 Utilities
  2.9 Misc
    - Row Border
    - Zoom Effect
  2.10 Buttons
    - Button Sizes
    - Button Shapes
    - Button Color Scheme
    - Button Aligns
  2.11 Section
    - Hero Section
    - Section Title
    - Section Paddings
    - Section Margins
    - Section Bg Colors
    - Content Colors
    - Content Borders

3. EXTENDED TYPOGRAPHY
  3.1 Blockquote / Pullquote
  3.2 Text Highlights

4. CONTENT ELEMENTS
  4.1 Tabs
  4.2 Accordions
  4.3 Brand Carousel
  4.4 Category Carousel

5. BLOG STYLES
  5.1 Blog Single Post
  5.2 About Author
  5.3 Comments List
  5.4 Comments Form3

6. SITE STRUCTURE
  6.1 Header
    - Header Menu
    - Nav Sidebar
  6.2 Billboard
  6.3 About Us Section
  6.4 Video Section
  6.5 Selling Products Section
  6.6 Quotation Section
  6.7 Latest Blogs Section
  6.8 Newsletter Section
  6.9 Instagram Section
  6.10 Footer
    - Footer Top
    - Footer Bottom

7. OTHER PAGES
  7.1 Product detail
  7.2 Shop page


/*--------------------------------------------------------------
/** 1. VARIABLES
--------------------------------------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600&family=Roboto&display=swap");

body {
  font-family: "Roboto", sans-serif;
}


:root {
  /* widths for rows and containers
     */
  --header-height: 160px;
  --header-height-min: 80px;
  --mouse: url("/images/green-mouse.png");
  --mouse: url("/images/green-mouse.png");
}

/* on mobile devices below 600px
 */
@media screen and (max-width: 600px) {
  :root {
    --header-height: 100px;
    --header-height-min: 80px;
  }
}

/* Theme Colors */
:root {
  --accent-color: #99c842;
  --light-accent-color: #a6f90c;
  --dark-color: #222222;
  --light-dark-color: #727272;
  --light-color: #fff;
  --grey-color: #dbdbdb;
  --light-grey-color: #fafafa;
  --primary-color: #0c4d41;
  --half-primary-color: #3c9662;
  --light-primary-color: #8ac1b8;
  --lighter-primary-color: hsl(126, 43%, 90%);
}

/* Fonts */
:root {
  --body-font: "Open Sans", sans-serif;
  --heading-font: "Nunito", sans-serif;
  --cursive-font: "Playfair Display", sans-serif;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  margin-block: 1rem;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 9999px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

body {
  --bs-link-color: #333;
  --bs-link-hover-color: #333;
  --bs-link-color-rgb: 40, 40, 40;
  --bs-link-hover-color-rgb: 0, 0, 0;

  /* --bs-link-color: #FFC43F;
  --bs-link-hover-color: #FFC43F; */

  --bs-light-rgb: 248, 248, 248;

  --bs-font-sans-serif: "Robot", sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 2;
  --bs-body-color: #747474;

  --bs-primary: #ffc43f;
  --bs-primary-rgb: 255, 196, 63;

  --bs-success: #a3be4c;
  --bs-success-rgb: 163, 190, 76;

  --bs-primary-bg-subtle: #fff9eb;
  --bs-success-bg-subtle: #eef5e5;

  --bs-border-color: #f7f7f7;

  --bs-secondary-rgb: 230, 243, 251;
  /* --bs-success-rgb: 238, 245, 228; */
  --bs-danger-rgb: 249, 235, 231;
  --bs-warning-rgb: 255, 249, 235;
  --bs-info-rgb: 230, 243, 250;
  overflow-x: hidden;
  background-color: whitesmoke;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #ffc43f;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #f7a422;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ffc43f;
  --bs-btn-active-border-color: transparent;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #d3d7dd;
  --bs-btn-disabled-border-color: transparent;
}

.btn-outline-primary {
  --bs-btn-color: #ffc43f;
  --bs-btn-border-color: #ffc43f;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ffc107;
  --bs-btn-hover-border-color: #ffc107;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ffc107;
  --bs-btn-active-border-color: #ffc107;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff3cd;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #fff3cd;
  --bs-gradient: none;
}

.btn-outline-light {
  --bs-btn-color: #747474;
  --bs-btn-border-color: #efefef;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #efefef;
  --bs-btn-hover-border-color: #efefef;
  --bs-btn-focus-shadow-rgb: 248, 249, 250;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #efefef;
  --bs-btn-active-border-color: #efefef;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #efefef;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #efefef;
  --bs-gradient: none;
}

.btn-warning {
  --bs-btn-color: #747474;
  --bs-btn-bg: #fcf7eb;
  --bs-btn-border-color: #fcf7eb;
  --bs-btn-hover-color: #747474;
  --bs-btn-hover-bg: #ffecbe;
  --bs-btn-hover-border-color: #ffecbe;
  --bs-btn-focus-shadow-rgb: 217, 164, 6;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #ffecbe;
  --bs-btn-active-border-color: #ffecbe;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #fcf7eb;
  --bs-btn-disabled-border-color: #fcf7eb;
}

.btn-success {
  --bs-btn-color: #222;
  --bs-btn-bg: #eef5e4;
  --bs-btn-border-color: #eef5e4;
  --bs-btn-hover-color: #222;
  --bs-btn-hover-bg: #9de3c2;
  --bs-btn-hover-border-color: #9de3c2;
  --bs-btn-focus-shadow-rgb: 60, 153, 110;
  --bs-btn-active-color: #222;
  --bs-btn-active-bg: #9de3c2;
  --bs-btn-active-border-color: #9de3c2;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #222;
  --bs-btn-disabled-bg: #eef5e4;
  --bs-btn-disabled-border-color: #eef5e4;
}

.btn-danger {
  --bs-btn-color: #222;
  --bs-btn-bg: #ffeada;
  --bs-btn-border-color: #ffeada;
  --bs-btn-hover-color: #222;
  --bs-btn-hover-bg: #ecc9af;
  --bs-btn-hover-border-color: #ecc9af;
  --bs-btn-focus-shadow-rgb: 60, 153, 110;
  --bs-btn-active-color: #222;
  --bs-btn-active-bg: #ecc9af;
  --bs-btn-active-border-color: #ecc9af;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #222;
  --bs-btn-disabled-bg: #ffeada;
  --bs-btn-disabled-border-color: #ffeada;
}

/* .bebas-font {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
} */

body {
  letter-spacing: 0.03em;
  /* cursor: var(--mouse) ,auto; */
}

h1,
h2,
h3,
h4,
h5,
h6 {

  color: var(--dark-color);
  font-weight: 700;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-weight: 700;
}

.breadcrumb.text-white {
  --bs-breadcrumb-divider-color: #fff;
  --bs-breadcrumb-item-active-color: var(--bs-primary);
}

.dropdown-menu {
  --bs-dropdown-link-active-bg: var(--bs-primary);
}

.nav-pills .nav-link {
  --bs-nav-pills-link-active-color: #111;
  --bs-nav-pills-link-active-bg: #f1f1f1;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 3rem;
}

/*----------------------------------------------*/
/* 6. SITE STRUCTURE */
/*----------------------------------------------*/
/* 6.1 Header
--------------------------------------------------------------*/
/* Preloader */
.preloader-wrapper {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 111;
  background: #fff;
}

.preloader-wrapper .preloader {
  margin: 20% auto 0;
  transform: translateZ(0);
}

.preloader:before,
.preloader:after {
  content: "";
  position: absolute;
  top: 0;
}

.preloader:before,
.preloader:after,
.preloader {
  border-radius: 50%;
  width: 2em;
  height: 2em;
  animation: animation 1.2s infinite ease-in-out;
}

.preloader {
  animation-delay: -0.16s;
}

.preloader:before {
  left: -3.5em;
  animation-delay: -0.32s;
}

.preloader:after {
  left: 3.5em;
}

@keyframes animation {
  0%,
  80%,
  100% {
    box-shadow: 0 2em 0 -1em var(--accent-color);
  }

  40% {
    box-shadow: 0 2em 0 0 var(--accent-color);
  }
}

/* *** Start editing below this line *** */
.container-fluid {
  max-width: 1600px;
}

.banner-blocks {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 2rem;
}

.block-1 {
  grid-area: 1 / 1 / 3 / 8;
}

.block-2 {
  grid-area: 1 / 8 / 2 / 13;
}

.block-3 {
  grid-area: 2 / 8 / 3 / 13;
}

@media screen and (max-width: 1140px) {
  .banner-blocks {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }

  .block-1 {
    grid-area: 1 / 1 / 3 / 2;
  }

  .block-2 {
    grid-area: 3 / 1 / 4 / 2;
  }

  .block-3 {
    grid-area: 4 / 1 / 5 / 2;
  }
}

/* BANNER SECTION */

header {
  min-height: calc(100vh - 90px);
  min-height: calc(100dvh - 90px);
  display: flex;
  align-items: center;
  overflow-x: clip;
  padding: 3rem 0;
  position: relative;
  justify-content: center;
}

.header-overlay {
   position: absolute;
  z-index: -10;
  width: 550px;
  max-width: 550px;


}
.header-overlay:first-child {
    top: -9%;
    right: -0.5%;
}
.header-overlay:nth-child(2) {
    bottom: -17px;
    left: -0.5%;
}
.header-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper,
.swiper-wrapper {
  padding: 0 !important;
  margin: 0 !important;
}

header .swiper-slide {
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.swiper-pagination-bullet {
  background-color: var(--accent-color);
  scale: 150%;
}

.banner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0rem 2rem;
  gap: 2rem;
  position: relative;
  isolation: isolate;
  border-radius: 1rem;
  overflow: hidden;
  backdrop-filter: blur(8px);
  background-color: #99c84228;
  align-items: center;
}

.banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  z-index: -10;
  width: 100%;
  pointer-events: none;
  height: 100%;
  background-size: 10% !important;
  opacity: 0.03;
  background: url("/svg/endless-clouds.svg");
  background-repeat: repeat;
}

.banner article {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.banner article:has(img) {
  min-height: 550px;
  position: relative;
  isolation: isolate;
  align-items: center;
}

.banner article > img {
    /* -webkit-box-reflect: below -40px linear-gradient(transparent, #0009); */
    width: 100%;
    height: 100%;
    max-width: 460px;
    max-height: 460px;
    object-fit: contain;
}
.banner article:has(img)::after {
 position: absolute;
  content: "";
    height: 473px;
    width: 473px;
  z-index: -10;
  inset: auto;
  opacity: 0.75;
  margin: auto;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    var(--accent-color),
    var(--light-primary-color)
  );

}

.banner-info {
  flex-direction: column;
  gap: 1rem;
}

.banner-info h2 {
  font-size: 3.5rem;
  padding-top: 1.5rem;

  color: black;
}
.banner-info h2 i {
  color: var(--accent-color);
  margin-inline: 0.5rem;
}

@media (width <= 768px) {
  .banner-info h2 {
    font-size: 2.5rem;
  }
  .banner article > img {
    max-height: 350px;
  }

  .banner article:has(img) {
    min-height: 300px;
    max-height: 300px;
  }
  .banner article:has(img)::after {
    bottom: -50%;
  }
}

.banner-info button {
  max-width: fit-content;
  padding: 0.35rem 1.5rem;
  color: white;
  background-color: var(--accent-color);
  border-radius: 3rem;
  border: 0;
  transition: all 0.3s ease;
  box-shadow: 0px 4px 10px var(--accent-color);
  i {
    translate: 2px;
    transition: 0.3s all ease;
  }
  &:hover {
    box-shadow: 0px 6px 10px var(--accent-color);
    i {
      translate: 8px;
    }
  }

  &:active {
    scale: 0.9;
  }
}

body[dir="rtl"] .banner-info button {
  i {
    translate: -2px;
  }
  &:hover {
    i {
      translate: -8px;
    }
  }
}

/* banner ad */
.banner-ad {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.banner-ad.blue {
  background: #e6f3fb;
}

.banner-ad .swiper-pagination {
  bottom: 10px;
  scale: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  left: 0;
  right: 0;
}

.banner-ad .swiper-pagination .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  margin: 4px;
  background: #fff;
  opacity: 1;
  transition: background 0.3s ease-out;
}

.banner-ad
  .swiper-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #ffc43f;
}

.banner-ad .swiper-slide {
  min-height: 630px;
  display: flex;
}

/* .banner-ad .banner-content {
  padding: 52px;
}
.banner-ad.large .banner-content {
  padding: 90px;
} */
.banner-ad .banner-content .categories {
  font-family: "Garamond";
  font-size: 37px;
  text-transform: capitalize;
  color: var(--light-primary-color) !important;
}

.banner-ad .banner-content .sale {
  position: relative;
  display: inline-block;
}

.banner-ad .banner-content .sale:before {
  content: "";
  width: 80px;
  border-bottom: 1px solid #111;
  position: absolute;
  bottom: 6px;
}

.banner-ad .banner-content .sale:after {
  content: "SALE";
  font-family: var(--body-font);
  position: absolute;
  font-size: 11px;
  line-height: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #252525;
  bottom: 0;
  right: 0;
}

.banner-ad .banner-content .banner-title {
  letter-spacing: 0.02em;
  font-size: 33px;
}

.banner-ad.large .banner-content .categories {
  color: var(--accent-color);
}

.banner-ad.large .banner-content .banner-title {
  font-size: 54px;
}

/* Swiper carousel */
.swiper-prev,
.swiper-next {
  width: 38px;
  height: 38px;
  line-height: 38px;
  background: #f1f1f1;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #222222;
  padding: 0;
  text-align: center;
  border-radius: 10px;
  --bs-btn-border-color: transparent;
  --bs-btn-active-bg: #ec9b22;
  --bs-btn-active-border-color: transparent;
  --bs-btn-hover-bg: #ffc43f;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-disabled-color: #ccc;
  --bs-btn-disabled-bg: #eaeaea;
  --bs-btn-disabled-border-color: #eaeaea;
}

.swiper-prev:hover,
.swiper-next:hover {
  background: #ffc43f;
}

.btn-link {
  margin-right: 30px;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  text-align: right;
  text-transform: capitalize;
  color: #787878;
}

.category-carousel .category-item .category-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 27px;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  white-space: nowrap;
  color: #222222;
  margin-top: 20px;
}

/* brand carousel */
.brand-carousel .brand-item {
  background: #ffffff;
  border: 1px solid #fbfbfb;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 16px;
}

.brand-carousel .brand-item img {
  width: 100%;
  border-radius: 12px;
}

.brand-carousel .brand-item .brand-details {
  margin-left: 15px;
}

.brand-carousel .brand-item .brand-title {
  margin: 0;
}

/* product tabs */
.product-tabs .nav-tabs {
  justify-content: flex-end;
  border: none;
  flex-wrap: wrap;
  white-space: nowrap;

  --bs-nav-link-hover-color: #111;
  --bs-nav-link-color: #555;
  --bs-nav-tabs-link-border-color: #fff;
  --bs-nav-tabs-link-hover-border-color: transparent;
  --bs-nav-tabs-link-active-border-color: #fff;
}

.product-tabs .nav-tabs .nav-link.active,
.product-tabs .nav-tabs .nav-item.show .nav-link {
  /* border: none; */
  border-bottom: 3px solid var(--light-primary-color);
}

/* product-grid */
/* .product-grid {
  gap: 25px;
} */
.product-item {
  position: relative;
  padding: 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid var(--light-primary-color);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  background-color: white;
  margin-bottom: 30px;
  transition: box-shadow 0.3s ease-out;
}

.product-item:hover {
  box-shadow: 0px 4px 10px var(--light-primary-color);
}

.product-item h3 {
  display: block;
  width: 100%;
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  text-transform: capitalize;
  color: #333333;
  margin: 0;
}

.product-item figure {
  border-radius: 12px;
  text-align: center;
  /* background: linear-gradient(180deg,var(--accent-color) ,var(--light-primary-color)); */
  background-color: rgba(0, 0, 0, 0.05);
}

.product-item .btn-wishlist {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #d8d8d8;
  transition: all 0.3s ease-out;
}

.product-item .btn-wishlist:hover {
  background: rgb(240, 56, 56);
  color: #fff;
}

.product-item .qty {
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #9d9d9d;
}

.product-item .rating {
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  text-transform: capitalize;
  color: #222222;
}

.product-item .rating iconify-icon {
  color: #ffc43f;
}

.product-item .price {
  display: block;
  width: 100%;
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
  text-transform: capitalize;
  color: #222222;
}

.product-item .product-qty {
  width: 85px;
}

.product-item .btn-link {
  text-decoration: none;
}

.product-item #quantity {
  height: auto;
  width: 28px;
  text-align: center;
  border: none;
  margin: 0;
  padding: 0;
}

.product-item .btn-number {
  width: 26px;
  height: 26px;
  line-height: 1;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  color: #222;
  padding: 0;
}

/* cart */
.cart .product-qty {
  min-width: 130px;
}

/* floating image */
.image-float {
  margin-top: -140px;
  margin-bottom: -140px;
}

@media screen and (max-width: 991px) {
  .image-float {
    margin: 0;
  }
}

/* post item */
.post-item .post-meta {
  font-size: 0.8rem;
  line-height: 1;
}

.post-item .post-meta svg {
  margin-right: 5px;
}

@media screen and (max-width: 991px) {
  /* offcanvas menu */
  .offcanvas-body .nav-item {
    font-weight: 700;
    border-bottom: 1px solid #d1d1d1;
  }

  .offcanvas-body .filter-categories {
    width: 100%;
    margin-bottom: 20px !important;
    border: 1px solid #d1d1d1 !important;
    padding: 14px;
    border-radius: 8px;
  }

  /* dropdown-menu */
  .dropdown-menu {
    padding: 0;
    border: none;
    line-height: 1.4;
    font-size: 0.9em;
  }

  .dropdown-menu a {
    padding-left: 0;
  }

  /* .dropdown-toggle::after {
    position: absolute;
    right: 0;
    top: 21px;
  } */
}

/* single product */
/* product-thumbnail-slider */
.product-thumbnail-slider {
  height: 740px;
}

@media screen and (max-width: 992px) {
  .product-thumbnail-slider {
    margin-top: 20px;
    height: auto;
  }
}

@media screen and (min-width: 992px) {
  .product-thumbnail-slider {
    height: 520px;
  }
}

@media screen and (min-width: 1200px) {
  .product-thumbnail-slider {
    height: 740px;
  }
}

.logo {
  width: 170px;
  object-fit: contain;
}

.footer-menu .logo {
  /* width: 300px; */
  /* height: 120px; */
  object-fit: contain;
}

#nav-tab .nav-link.active {
  color: var(--light-primary-color) !important;
}

@media (max-width: 500px) {
  .footer-menu .logo {
    width: 80%;
    height: auto;
    margin: 0 auto;
    padding-bottom: 20px;
  }
}

.copyright {
  width: 100%;
  text-align: center;
  padding-bottom: 30px;
  padding-top: 30px;
}

.btn:hover {
  background-color: var(--light-primary-color);
  color: #fff;
  border-color: var(--light-primary-color);
}

.img-wrapper {
  align-content: center;
}

/* .category-items .category-item:hover {
  scale: 1.1;
  border: 1px solid var(--half-primary-color);
  box-shadow: 0px 4px 10px var(--light-primary-color);
}

.category-title {
  font-size: 1.2rem;
}

.category-items .category-item .category-title {
  font-size: 1.2rem;
  padding-top: 20px;
} */

@media (max-width: 500px) {
  .category-items .category-item {
    width: 100%;
  }

  .category-items .category-item:hover {
    scale: 1.05;
  }
}

.navbar-nav .nav-link:hover {
  color: var(--light-primary-color);
}

.navbar-nav .nav-link.active {
  color: var(--light-primary-color);
}

.navb {
  position: sticky;
  top: 0;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  transition: 0.2s;
  background-color: var(--primary-color);
  z-index: 5;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.251);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.goTop {
  display: none;
  position: fixed;
  bottom: 5%;
  right: 20px;
  z-index: 5;
}

.goTop span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #1c1e22;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.251);
  cursor: pointer;
  transition: 0.2s;
}

.goTop span:hover {
  background-color: #162135;
}

.goTop span:hover i {
  color: #fff;
}

.goTop span i {
  color: #fff;
  font-size: 1.5em;
}

.f-s {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 130px;
  -o-object-fit: contain;
  object-fit: contain;
}

.links {
  display: flex;
  align-items: center;
}

.mainLinks {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
  margin: 0;
}

.link {
  width: -moz-fit-content;
  width: fit-content;
  font-size: 1em;
  color: #fff;
  font-weight: 500;
  text-transform: capitalize;
}

.navdl {
  color: #fff;
}

.link img {
  width: 7px;
}

.link {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  height: 90px;
  gap: 5px;
  transition: 0.3s all ease;
  white-space: nowrap;
  text-decoration: none;
}

.link.active {
  color: var(--accent-color);
}

.link.active::after {
  left: calc(50% - 7px);
}

.menu {
  display: none;
  flex-direction: column;
  position: relative;
  height: 80px;
  width: 35px;
  border: none;
  outline: none;
  background-color: transparent;
}

.menu span {
  height: 2px;
  width: 30px;
  border-radius: 2px;
  background-color: #fff;
  position: absolute;
  transition: 0.3s;
}

.menu span:nth-child(1) {
  top: 28px;
}

.menu span:nth-child(2) {
  top: 40px;
}

.menu span:nth-child(3) {
  top: 52px;
}

.activeMenu .box .menu span:nth-child(1) {
  transform: rotate(45deg);
  top: 40px;
  background-color: red;
}

.activeMenu .box .menu span:nth-child(2) {
  width: 0;
  opacity: 0;
}

.activeMenu .box .menu span:nth-child(3) {
  transform: rotate(-45deg);
  background-color: red;
  top: 40px;
}

.ls {
  display: flex;
  gap: 20px;
}

.ls .mLinks {
  display: none;
}

@media (max-width: 901px) {
  .menu {
    display: flex;
  }

  .last .mLinks {
    display: none;
  }

  .ls {
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 100%;
    height: calc(100vh - 90px);
    overflow-y: scroll;
    top: 90px;
    left: -100%;
    gap: 0;
    transition: 0.4s;
    background-color: var(--primary-color);
    padding: 0 0 70px 0;
  }

  .ls .mLinks {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 5%;
  }

  .ls::-webkit-scrollbar {
    width: 0px;
  }

  .mainLinks {
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
  }

  .link {
    margin-left: 5%;
  }

  .link {
    height: 40px;
  }

  .link::after {
    display: none;
  }

  .activeMenu .f-s .links .ls {
    left: 0;
  }

  .layer {
    display: none;
  }
}

footer,
.copyright {
  background-color: var(--primary-color);
}

footer .nav-link {
  color: #fff;
}

footer .nav-link:hover {
  color: var(--light-primary-color);
}

.widget-title {
  color: var(--accent-color);
}

.copyright p {
  color: #fff;
}

.social-links svg path {
  fill: #fff;
}

.catergoryItms {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.catergoryItms .product-item {
  margin: 0;
}

@media (max-width: 700px) {
  .tabs-header {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  header .container {
    max-width: 90%;
  }

  .catergoryItms .product-item {
    width: 100%;
  }
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  height: 350px;
  width: 100%;
  margin-bottom: 4rem;
  position: relative;
  background-image: url(./logos/p2.png);
  background-size: cover;
  background-position: center;
}

.header2 {
  background-image: url(./logos/p3.png);
}

.header h1 {
  color: var(--primary-color);
  font-size: 3rem;
}

.aboutbox p {
  display: flex;
  flex-shrink: 1;
  flex-grow: 1;
  line-height: 1.5;
  font-size: 1rem;
}

.fx .aboutbox:nth-child(even) {
  flex-direction: row-reverse;
}

@media (max-width: 1200px) {
  .aboutbox p {
    font-size: 1.2rem;
    line-height: 1.5;
  }
}

@media (max-width: 700px) {
  .dont {
    padding: 0 20px !important;
  }

  .header {
    height: 250px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .aboutbox img {
    width: 100%;
    height: auto;
  }
}

body[dir="rtl"] {
  font-family: "Cairo", sans-serif;
  letter-spacing: 0;
}

body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] h4,
body[dir="rtl"] h5,
body[dir="rtl"] h6 {
  font-family: "Cairo", sans-serif;
}

body[dir="rtl"] .menu-list {
  padding: 0;
}

body[dir="rtl"] .social-links ul {
  padding: 0;
}

body[dir="rtl"] .banner-ad .banner-content .sale:after {
  right: auto;
  left: 20px;
  content: "تخفيض";
  font-family: "Cairo", sans-serif;
  letter-spacing: 0;
}

body[dir="rtl"] .banner-ad .banner-content .categories {
  font-family: "Cairo", sans-serif !important;
}

body[dir="rtl"] .display-4 {
  font-size: 2rem !important;
}

body[dir="rtl"] .banner-title {
  font-size: 2rem !important;
}

@media (max-width: 900px) {
  body[dir="rtl"] .ls {
    left: auto;
    right: -100%;
  }
}

body[dir="rtl"] .navb.activeMenu .ls {
  right: 0;
}

@media (max-width: 700px) {
  .banner-ad .banner-content .nav-link {
    color: var(--primary-color) !important;
    text-shadow: 0px 0px 5px #00000040;
  }
}

.thumbnail-img {
  height: 60px;
  cursor: pointer;
}

.product-main-img {
  max-height: 400px;
  object-fit: cover;
  width: 100%;
  border-radius: 10px;
}

.color-circle {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  border: 1px solid #ddd;
  cursor: pointer;
}

.text-success {
  color: var(--light-primary-color) !important;
}

.product-item figure img {
  margin: 0 auto !important;
}

@media screen and (max-width: 991px) {
  .dropdown-menu {
    padding: 0 20px;
    line-height: 3;
    text-align: right;
  }

  .dropdown-item {
    padding: 0;
  }
}

@media screen and (max-width: 800px) {
  footer .container-fluid .row {
    display: flex;
    flex-direction: column;
  }

  footer .container-fluid .row .col-sm-6,
  .col-lg-6 {
    width: 100% !important;
  }

  footer .logo {
    margin: 0 auto;
  }
}

/* NEW STYLES */

.product-item figure img {
  max-height: 350px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  aspect-ratio: 1/1;
  object-fit: contain;
  transition: 0.3s all ease;
}

.product-item h3 {
  min-height: 50px;
  max-height: 50px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* category carousel */
.swiper:not(header .swiper) {
  padding: 1rem !important;
}
.category-item {
  background-color: var(--lighter-primary-color);
  border: 1px solid #fbfbfb;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(0, 0, 0, 0.1);
  min-height: 330px;
  max-height: 330px;
  transition: all 0.3s ease-out;
}

.category-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}
.category-item::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50%;
  height: 50%;
  z-index: -10;
  opacity: 0.85;
  background-color: white;
  filter: blur(60px);
}

.category-name {
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  min-height: 70px;
}
.category-name h3,
.category-name i {
  color: var(--primary-color);
  transition: all ease 0.3s;
}

.category-item:hover {
  transform: translateY(-10px);
  box-shadow: 0px 4px 10px var(--light-primary-color);
  border-color: var(--light-primary-color);
  i {
    translate: 8px;
    scale: 1.5;
  }
}

body[dir="rtl"] .category-item:hover i {
  translate: -8px;
  scale: 1.5;
}
.category-items {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}


@media (width <=768px) {
  .category-items {
    grid-template-columns: repeat(1, 1fr);
  }
}

.aboutbox {
  min-height: 90vh;
  min-height: 90dvh;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 4rem;
  overflow: hidden;
  isolation: isolate;
  justify-content: end;
  align-items: center;
  gap: 2rem;
}
.aboutbox:nth-child(2){
  justify-content: start;
}
.aboutbox:nth-child(2)::after{
  left: -5rem;
  right: auto;
}
.aboutbox::after{
  content: '';
  height: 180%;
  width: 50%;
  right: -5rem;
  top: -5rem;
  position: absolute;
  z-index: -1;
  background-color: whitesmoke;
  filter: blur(60px);

}

.aboutbox article {
  flex: 1 1 300px;
}

.txt{
  max-width: 500px;
  padding: 0 3rem;
}

.txt i{
  margin-right: 0.5rem;
  color: var(--half-primary-color);
}

.txt p,.txt li {
  color:#000;
}
@media (width <= 1024px){

  .txt:not(.goals){
    max-width: 600;
  }
}

@media (width <= 768px){
  .aboutbox{
    min-height: 100vh;
        align-items: start;
    justify-content: center;
  }
  .aboutbox:nth-child(2){
    justify-content: center;
  }
  .aboutbox::after{
    margin: auto;
    width: 180%;
    height: 65%;
  }
  .ourvision::after{
    height: 50%;
  }
  .txt{
    padding: 2rem;
  }
}
.txt ul {
  list-style: decimal;
}

.txt ul li::marker {
  color: var(--half-primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.about-overlay {
  position: absolute;
  z-index: -10;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  isolation: isolate;
  overflow: clip;
}

.about-overlay:hover::after{
  right: 100%;
}

.about-overlay:first-child{
  border-bottom-right-radius: 50%;
}

.about-overlay:nth-child(2){
  border-bottom-left-radius: 50%;
}

.about-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aboutbox:nth-child(3) .about-overlay  img{
  object-position: left;
}

/* ? product animation remove if disliked */
.product-item figure {
  overflow: hidden;
}
.product-item:hover img{
  scale: 1.25;
  filter: brightness(1.1);
}

body[dir="rtl"] .aboutbox {
justify-content: flex-start;
}

