:root {
  --category-blue: #404972;
  --category-cream: #efe4da;
  --category-paper: #f7f1ec;
  --category-border: #ddc3af;
  --category-copper: #a85a38;
  --category-maroon: #580c10;
  --category-indigo: #2b174c;
  --category-gold: #c49a6c;
}

html {
  overflow-x: hidden;
}

body {
  background: var(--category-cream);
  color: var(--category-maroon);
  font-family: "Helvetica Neue LT Arabic", "HelveticaNeueW23", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.category-hero {
  min-height: 332px;
  background: radial-gradient(38.86% 102.06% at 100% 0%, #FE643C 0%, #00008A 100%);
}



.category-navbar {
  min-height: 121px;
  padding-top: 20px;
}

.category-navbar-grid {
  position: relative;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  direction: ltr;
}

.category-brand {
  width: 210px;
  height: 100px;
  object-fit: contain;
}

.navbar-brand {
  grid-column: 2;
  grid-row: 1;
}

.category-nav-links {
  grid-row: 1;
  grid-column: 3;
  justify-self: end;
  padding-top: 35px;
  direction: rtl;
}

.category-nav-links .nav-link {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.category-nav-links .nav-link:hover,
.category-nav-links .nav-link.active {
  color: #fff;
}

.category-language-link {
  grid-row: 1;
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 35px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.category-language-link:hover {
  color: var(--category-border);
}

.category-navbar .navbar-toggler {
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.68);
  border-radius: 0;
  background: var(--category-cream);
}

.category-navbar .navbar-toggler-icon {
  width: 1.35em;
  height: 1.35em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2888, 12, 16, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.25' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.category-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.18);
}

.category-hero-title {
  margin-top: 50px;
}

.category-hero-title h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 2.2vw, 42px);
  font-weight: 800;
  line-height: 1.2;
}

.crafts-listing {
  padding: 72px 0 72px;
  background: #fff;
}

.listing-toolbar {
  margin-bottom: 48px;
  direction: ltr;
}

.listing-toolbar > * {
  direction: rtl;
}

.listing-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #00008A;
  font-size: 16px;
  font-weight: 800;
  position: relative;
}
.listing-count span{
 font-size: 14px;
  font-family: "Helvetica Neue LT Arabic bold", "HelveticaNeueW23", "Helvetica Neue", Arial, sans-serif;
  margin-right: 30px;
}
.listing-count::after {
   background: url(/assets/crafts/svg/filter-blue.svg);
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0px;
  width: 24px;
  height: 24px;
  content: "";
}


.governorate-filter {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 140px;
  min-height: 41px;
  border: 0;
  border-radius: 0;
  background: #fff !important;
  color: #00008A !important;
  font-weight: 800;
  background-color: #f4f5f6 !important;
  font-size: 14px;
    font-family: "Helvetica Neue LT Arabic bold", "HelveticaNeueW23", "Helvetica Neue", Arial, sans-serif;
}

.governorate-filter:hover,
.governorate-filter:focus-visible {
   background-color: #f4f5f6;
  color:  #00008A;
}

.governorate-filter::after {
  margin-right: auto;
  margin-left: 0;
}

.governorate-menu {
  border: 0;
  border-radius: 0;
  box-shadow: 0 12px 26px rgba(88, 12, 16, 0.12);
}

.governorate-menu .dropdown-item {
  color:  #00008A;
  font-weight: 700;
  text-align: right;
}

.governorate-menu .dropdown-item:hover,
.governorate-menu .dropdown-item:focus {
  background: #FE643C;
}

.crafts-grid {
  direction: ltr;
  row-gap: 48px;
}

.craft-card {
  width: 220px;
  min-height: 342px;
  margin-inline: auto;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: rgba(247, 241, 236, 0.42);
   color:  #00008A;
  direction: rtl;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.craft-profile {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--category-maroon);
}

.craft-profile:focus-visible {
  outline: 3px solid rgba(64, 73, 114, 0.3);
  outline-offset: 5px;
}

.craft-photo {
  position: relative;
  display: block;
  height: 211px;
  overflow: hidden;
  background: url('/assets/crafts/svg/11.svg') no-repeat 100% 100% ;
  background-color: #fff;
}

.craft-photo::before {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 78%;
  content: "";
  
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.craft-photo img {
  position: relative;
  display: block;
  width: 100%;
  height: 211px;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(0) scale(1);
  transform-origin: center bottom;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.craft-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 131px;
  padding: 16px;
  background: #F4F5F6;
     border: 1px solid #F4F5F6;
}

.craft-body h2 {
  position: relative;
  height: 50px;
  margin: 0 0 8px;
  color: #00008A;
  font-size: 14px;
  font-weight: 800;
  line-height: 25px;
  overflow: hidden;
  text-align: right;
  transition:
    color 180ms ease,
    transform 180ms ease;
      font-family: "Helvetica Neue LT Arabic bold", "HelveticaNeueW23", "Helvetica Neue", Arial, sans-serif;

}

/* .craft-body h2::after {
  position: absolute;
  right: 50%;
  bottom: -8px;
  width: 0;
  height: 3px;
  content: "";
  background: var(--category-copper);
  transform: translateX(50%);
  transition: width 180ms ease;
} */

.craft-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  color:  #FE643C;
  font-size: 12px;
  line-height: 24px;
  margin-bottom: 4px;

}


.craft-meta + .craft-meta {
  margin-top: 5px;
}

.craft-card:hover,
.craft-card:focus-within {
  border-color: rgba(168, 90, 56, 0.34);

  transform: translateY(-6px);
}

.craft-card:hover .craft-photo::before,
.craft-card:focus-within .craft-photo::before {
  opacity: 1;
  transform: translateY(0);
}

.craft-card:hover img,
.craft-card:focus-within img {
  filter: drop-shadow(0 18px 18px rgba(88, 12, 16, 0.18));
  transform: translateY(-8px) scale(1.04);
}

.craft-card:hover h2,
.craft-card:focus-within h2 {
  color: #00008A;
  transform: translateY(-2px);
}

.craft-card:hover h2::after,
.craft-card:focus-within h2::after {
  width: 50px;
}

.load-more-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 114px;
  height: 48px;
  margin-top: 48px;
  padding: 0 28px;
  background: #FE643C;
  color: #fff;
  font-size: 14px;
  border-radius: 0;
}

.load-more-button:hover,
.load-more-button:focus-visible {
  background: #4b080c;
  color: #fff;
}

.load-more-button::before,
.load-more-button::after {
  position: absolute;
  top: 12px;
  width: 24px;
  height: 18px;
  content: "";
  background: var(--category-maroon);
}

.load-more-button:hover::before,
.load-more-button:hover::after,
.load-more-button:focus-visible::before,
.load-more-button:focus-visible::after {
  background: #4b080c;
}

.load-more-button::before {
  right: -16px;
}

.load-more-button::after {
  left: -16px;
}

.related-categories {
  padding: 10px 0 196px;
  background: var(--category-cream);
}

.related-title {
  margin: 0 0 45px;
  color: var(--category-maroon);
  font-size: clamp(26px, 2vw, 34px);
  font-weight: 800;
  line-height: 1.25;
}

.related-grid {
  direction: ltr;
}

.related-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--category-copper);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  direction: rtl;
}

.related-category img {
  display: block;
  width: 148px;
  height: 154px;
  object-fit: cover;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.related-category span {
  display: block;
  width: 180px;
  min-height: 52px;
  margin-top: 21px;
}

.related-category:hover img,
.related-category:focus-visible img {
  filter: drop-shadow(0 12px 14px rgba(88, 12, 16, 0.16));
  transform: translateY(-5px);
}

.tone-copper {
  color: var(--category-copper);
}

.tone-indigo {
  color: var(--category-indigo);
}

.tone-maroon {
  color: var(--category-maroon);
}

.category-footer {
  background: var(--category-copper);
}

.category-footer .row {
  direction: ltr;
}

.category-footer p {
  direction: rtl;
}

.category-social a {
  color: #fff;
  font-size: 20px;
}

.category-footer-center {
  display: inline-block;
  width: min(430px, 100%);
  height: 72px;
  object-fit: contain;
}

@media (min-width: 1200px) {
  .container-xl {
    max-width: 1320px;
  }
}

@media (max-width: 1199.98px) {
  .craft-card {
    width: min(100%, 236px);
  }
}

@media (max-width: 767.98px) {
  .category-hero {
    min-height: 420px;
  }

  .category-navbar {
    min-height: 98px;
    padding-top: 18px;
  }

  .category-navbar-grid {
    grid-template-columns: minmax(76px, 1fr) auto minmax(76px, 1fr);
    align-items: center;
    gap: 0 10px;
  }

  .navbar-brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .navbar-toggler {
    grid-column: 1 / -1;
    grid-row: 1;
    position: absolute;
    top: 18px;
    right: auto;
    left: calc(100vw - 78px);
    display: inline-flex !important;
    z-index: 2;
  }

  .category-language-link {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    padding-top: 0;
    font-size: 13px;
    z-index: 2;
  }

  .category-brand {
    width: 164px;
    height: 78px;
  }

  .category-nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    margin-top: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
  }

  .category-nav-links.collapse:not(.show) {
    display: none;
  }

  .category-nav-links.collapsing,
  .category-nav-links.show {
    display: block;
  }

  .category-nav-links .navbar-nav {
    align-items: center;
    gap: 4px;
  }

  .category-nav-links .nav-link {
    padding: 8px 12px;
  }

  .category-hero-title {
    margin-top: 62px;
  }

  .listing-toolbar {
    align-items: center;
    margin-bottom: 36px;
  }

  .governorate-filter {
    width: min(100%, 220px);
  }

  .crafts-listing {
    padding-top: 36px;
  }

  .related-categories {
    padding-bottom: 56px;
  }
}
.category-title-container{
  position: relative;
  padding: 0px 10px 20px 0px;

}
.category-title-container h1{
  font-size: 32px;
  font-family: "Helvetica Neue LT Arabic bold", "HelveticaNeueW23", "Helvetica Neue", Arial, sans-serif;
}
.category-title-container::before {
    content: "";
    position: absolute;
    inset: 0;
     background:
        url('/assets/crafts/svg/category_title_icon.svg') left center / contain no-repeat,
        url('/assets/crafts/svg/category_title_icon.svg') right center / contain no-repeat;
    opacity: 0.1;
    z-index: 1;
}

 
.category-hero::after {
  position: absolute;
  right: 0;
  bottom: -45px;
  left: 0;
  height: 95px;
  content: "";
  background-image: url("/assets/crafts/svg/site-pattern.svg");
  background-repeat: repeat-x;
  background-position: center bottom;
 
  pointer-events: none;
}

.tag-icon,
.pin-icon {

  display: inline-block;
  width: 16px;
  height: 16px;
  color: #FE643C;
  
}

.tag-icon {
  border-radius: 2px;
 background: url(/assets/crafts/svg/tag-icon.svg);
}
.pin-icon{
  background: url(/assets/crafts/svg/location.svg);
  
}
.tag-icon::before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  
}

.pin-icon::before {
  position: absolute;
  inset: 1px 3px 4px;
  content: "";
  border-radius: 50% 50% 50% 0;
 width: 16px;
 height: 16px;
  transform: rotate(-45deg);
}

.pin-icon::after {
  position: absolute;
  top: 4px;
  left: 5px;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: var(--cream);
}

.category-section{
  background-color: #F4F5F6;
}
.search-band{
	    margin: 0px auto 0;
}