:root {
  --main-yellow: #ffcc00;
  --main-orange: #f79400;
  --main-gray: #f0f0f0;
  --full-black: #000;
  --gray-black: #202020;
}
@font-face {
  font-family: 'bukra';
  src: url(../fonts/29ltbukraregular.ttf);
}
body {
  font-family: 'bukra';
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  text-decoration: none;
  color: var(--main-orange);
}
img {
  max-width: 100%;
}
.section-title {
  text-align: center;
  margin: 60px 20px;
}
/* Bootstrap Card */
.card {
  transition: transform 0.2s;
  border: none;
  height: 100%;
  justify-content: space-between;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 3px 13px 3px rgb(0, 0, 0, 0.1);
  color: inherit;
}
.card:hover .card-title {
  color: var(--main-orange);
}
.card-title {
  font-size: 1.1rem;
}
.card-title .cat {
  font-size: 0.875rem;
  color: var(--gray);
}
.card .price {
  font-weight: bold;
  position: relative;
}
.card .price s {
  font-weight: normal;
  color: var(--gray);
}
/* Discount Label */
.card .price[data-discount]::before {
  content: 'خصم ' attr(data-discount) ' %';
  position: absolute;
  bottom: 0;
  inset-inline-start: -35px;
  font-size: 12px;
  background: linear-gradient(90deg, var(--main-yellow), var(--main-orange));
  padding: 2px 5px;
}
.card-body {
  padding: 1.25rem 5px;
  flex: initial;
}
@media screen and (min-width: 992px) {
  .card-body .price {
    text-align: end;
  }
}
@media screen and (min-width: 576px) and (max-width: 768px) {
  .card-body .price {
    text-align: end;
  }
}
/* Top Header */
.header-top {
  background-color: var(--full-black);
  color: #fff;
}
.currency > span {
  display: inline-block;
  padding-inline-end: 15px;
}
.media-links {
  display: flex;
  justify-content: end;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.media-links .faqs {
  padding-inline-start: 15px;
}
.currency > span, .faqs {
  padding-top: 5px;
  padding-bottom: 5px; 
}
.header-bottom {
  border-bottom: 2px solid #b8b8b8;
}
.header-bottom .login {
  display: flex;
  gap: 8px;
  align-items: center;
}
.header-bottom .login > img {
  width: 15px;
}
.logout-btn {
  border: none;
  background-color: transparent;
}
.header-bottom .logo {
  width: 100px;
  display: block;
  margin: auto;
}
.header-bottom .cart {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}
.header-bottom .cart > a {
  position: relative;
}
.basket-item-count {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(10px, -10px);
  background: var(--main-yellow);
  color: #fff;
  font-weight: 900;
  width: 20px;
  height: 20px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.basket-item-count .badge-pill {
  padding: 0;
}
.header-bottom .cart img {
  height: 20px;
}
@media screen and (min-width: 576px) {
  .currency > span {
    border-inline-end: 1px solid var(--main-gray);
  }
  .media-links .faqs {
    border-inline-start: 1px solid var(--main-gray);
  }
}
@media screen and (max-width: 576px) {
  .media-links {
    justify-content: center;
  }
  .currency {
    text-align: center;
  }
}
@media screen and (max-width: 768px) {
  .header-bottom .login {
    justify-content: center;
  }
  .header-bottom .logo {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .header-bottom .cart {
    justify-content: center;
    padding-bottom: 10px;
    flex-wrap: wrap;
  }
  .search {
    position: relative;
    margin: 0;
  }
  .search-submit {
    left: -1px !important;
  }
  .search-input {
    width: 244px !important;
    opacity: 1 !important;
  }
}
.search {
  margin: 0;
}
/* Nav Menu */
.dropdown-menu {
  min-width: 100%;
  background-color: #fff;
  margin: 0;
}
.dropdown-item {
  width: auto;
  padding: .25rem;
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}
.dropdown-item.d-flex {
  gap: 5px;
}
.dropdown-item:hover {
  background-color: var(--full-black);
  color: #fff;
}
.navbar-light .navbar-nav .nav-link {
  color: #000;
}
.navbar-light .navbar-nav .nav-link.active {
  color: var(--main-orange);
}
@media screen and (min-width: 992px) {
  .mega-menu {
    width: 800px;
  }
}
/* Home Page Categories  */
.home-page-cat {
  position: relative;
}
.home-page-cat .cover {
  height: 350px;
}
.home-page-cat .cover > img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.home-page-cat .text {
  position: absolute;
  bottom: 20px;
  inset-inline-start: 20px;
  text-align: center;
}
.home-page-cat .name {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  background: #fff;
  color: var(--full-black);
  padding: 5px 20px;
  margin-bottom: 5px;
}
.home-page-cat .shop-now {
  font-size: 1.125rem;
  font-weight: bold;
  text-decoration: underline;
  /* text-shadow: 0 0px 4px rgb(255 255 255 / 52%); */
}
.home-page-cat.men-cat .name {
  font-size: 1.7rem;
}
.home-page-cat.men-cat .shop-now {
  font-size: 1.25rem;
}
/* cta */
.cta {
  border: none;
  padding: 8px 18px;
  background: var(--full-black);
  color: #fff;
}
.cta:hover {
  background: #222;
  text-decoration: none;
  color: #fff;
}

/* read about us */
.read-about-us {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.read-about-us::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  background: url(../img/background_logo.png) center no-repeat;
  background-size: cover;
  width: 59%;
  height: 100%;
}
.read-about-us img {
  max-height: 270px;
}
.read-about-us .text {
  font-size: 1.25rem;
  margin-top: 10px;
}
.read-about-us .cta {
  display: block;
  width: 150px;
  text-align: center;
  margin-inline-start: auto;
}

/* Main cats */
.main-cats .cover {
  margin-bottom: 10px;
}
.main-cats .name {
  font-weight: bold;
  text-align: center;
  margin: 0;
}
.main-cats .col > a{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Special Cats */
.special-cats {
  text-align: center;
}
.special-cats .cta {
  display: inline-block;
  font-size: 1.25rem;
  margin-top: 20px;
}


/* Footer */
.site-footer {
  /* background: var(--full-black);
  color: #fff; */
  font-size: 0.875rem;
  padding: 20px 0;
}
.site-footer .logo {
  display: inline-block;
}
.site-footer .logo img {
  max-width: 100px;
}
.site-footer .icon {
  display: flex;
  align-items: center;
  gap: 7px;
}
.site-footer .icon svg {
  display: block;
  width: 20px;
  fill: currentColor;
}
.site-footer .icon:not(:last-of-type) {
  margin-bottom: 8px;
}
.site-footer .icon img {
  width: 20px;
}
.site-footer .links > a {
  display: block;
  margin-bottom: 8px;
}
.site-footer .news-letter .title {
  font-size: 1.3rem;
}
.site-footer .news-letter .text {
  max-width: 50ch;
}
.site-footer .news-letter form {
  position: relative;
  width: 100%;
}
.site-footer .news-letter input {
  padding: 0;
  border: 1px solid #afafaf;
  height: 40px;
  width: 100%;
  border-radius: 20px;
  text-indent: 10px;
}
.site-footer .news-letter .send {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  height: 40px;
  border: none;
  border-radius: 20px;
  padding: 0 20px;
  background: var(--full-black);
  color: #fff;
}
.site-footer hr {
  border-top: 1px solid #afafaf
}
.site-footer .copyrights {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.site-footer .tagerly img {
  width: 50px;
}

/* About Page */
.visually-hidden {
  clip-path: inset(50%);
  overflow: hidden;
  position: absolute;
}
.page-title {
  background: #f7f7f7;
  padding: 20px 0;
  margin: 40px 0 100px;
  position: relative;
}
.page-title .bg {
  position: absolute;
  inset-inline-end: 0;
  top: -50px;
  height: 180%;
}
@media screen and (min-width: 768px) {
  .page-title .bg {
    height: 250%;
  }
}
@media screen and (min-width: 992px) {
  .page-title .bg {
    /* height: 300%; */
  }
}
@media screen and (max-width: 480px) {
  .page-title .bg {
    height: 180px;
  }
}
@media screen and (max-width: 350px) {
  .page-title .bg {
    display: none;
  }
}
.page-title .title {
  font-size: 3rem;
  margin-bottom: 25px;
  color: var(--full-black);
}
.page-title .title .logo {
  width: 70px;
}
.page-title .path {
  color: #878787;
}
.page-title .path .current {
  text-decoration: underline;
  color: var(--full-black);
}
.page-title .path .logo {
  width: 30px;
}

.our-story {
  max-width: 1000px;
  margin: 169px auto;
  position: relative;
}
.our-story .text {
  margin: 1rem 0;
  font-size: 1.125rem;
  line-height: 2;
}
.our-story .story-title {
  font-size: 3rem;
  margin-top: 80px;
}
.our-story .logo-bg {
  position: absolute;
  top: 61px;
  inset-inline-end: 0;
  z-index: -1;
  transform: translateX(-40%) rotate(-90deg);
}

/* Most Ordered in Home Page */
.most-ordered .card .card-title {
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
}
.most-ordered .card .card-title > span {
  font-weight: 600;
}
.most-ordered .card .card-body {
  font-size: 0.875rem;
}

/* Drop down on hover */
.nav-item.dropdown:hover > .dropdown-menu{
  display: block;
}
/* Pagination */
.pagination {
  gap: 10px;
}
.page-item.active .page-link {
  background: #000;
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  text-align: center;
}
.pagination .page-link {
    background: #fff;
    color: #000;
    border: none;
    font-weight: bold;
}

/* Logged user menu */
.logged-user {
  cursor: pointer;
  display: inline-block;
  position: relative;
}
.logged-user:hover .logged-user-menu{
  opacity: 1;
  transform: translate(-50%, 0px);
  pointer-events: unset;
}
.logged-user-menu {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 20px);
  top: 100%;
  z-index: 101;
  font-size: 14px;
  background-color: #fafafa;
  width: 120px;
  padding: 10px;
  border: 1px solid #e7e7e7;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.2s;
}
.logged-user-menu .logged-user-menuitem {
  padding: 3px;
  display: block;
}
.logged-user-menu .logged-user-menuitem:hover {
  color: #fff;
  background-color: #333;
}
.logout-btn {
  padding: 0;
  color: inherit;
  font-size: 14px;
  font-family: inherit;
}