@font-face {
  font-family: 'TheYearofHandicrafts';
  src: url('/fonts/alfont_com_TheYearofHandicrafts-Regular.otf') format('opentype');
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TheYearofHandicrafts';
  src: url('/fonts/alfont_com_TheYearofHandicrafts-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TheYearofHandicrafts';
  src: url('/fonts/alfont_com_TheYearofHandicrafts-SemiBold.otf') format('opentype');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TheYearofHandicrafts';
  src: url('/fonts/alfont_com_TheYearofHandicrafts-Black.otf') format('opentype');
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --site-orange: #FF7A00;
  --site-orange-hover: #e06d00;
  --site-ink: #0B0B0B;
  --site-muted: #F7F7F7;
  --site-font: 'TheYearofHandicrafts', 'Cairo', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--site-font);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: #fff;
  color: var(--site-ink);
  overflow-x: hidden;
}

button, input, select, textarea {
  font-family: inherit;
}

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

/* CMS pages from admin CKEditor */
.site-cms {
  color: #4b5563;
  font-size: .95rem;
  line-height: 1.85;
}
.site-cms h1,
.site-cms h2,
.site-cms h3,
.site-cms h4 {
  color: #0B0B0B;
  font-weight: 800;
  margin: 1.25rem 0 .65rem;
  line-height: 1.35;
}
.site-cms h1 { font-size: 1.5rem; }
.site-cms h2 { font-size: 1.25rem; }
.site-cms h3 { font-size: 1.1rem; }
.site-cms p { margin: 0 0 .85rem; }
.site-cms ul,
.site-cms ol {
  margin: 0 0 1rem;
  padding-inline-start: 1.35rem;
}
.site-cms li { margin-bottom: .4rem; }
.site-cms a {
  color: var(--site-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-cms img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: .75rem 0;
}
.site-cms table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.site-cms th,
.site-cms td {
  border: 1px solid #e5e7eb;
  padding: .55rem .75rem;
  text-align: start;
}
.site-cms blockquote {
  border-inline-start: 3px solid var(--site-orange);
  padding-inline-start: 1rem;
  margin: 1rem 0;
  color: #6b7280;
}

/* About page: vision / mission cards from CKEditor */
.site-cms--about {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .site-cms--about {
    grid-template-columns: 1fr;
  }
}
.site-cms--about > .about-card,
.site-cms--about > article {
  background: #fff;
  border: 1px solid rgba(243, 244, 246, .9);
  border-radius: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  padding: 2rem;
  margin: 0;
}
.site-cms--about > .about-card > h2,
.site-cms--about > article > h2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  font-size: 1.25rem;
  margin: 0 0 .75rem;
}
.site-cms--about > .about-card > h2 > i,
.site-cms--about > article > h2 > i {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  font-size: 1.25rem;
  font-style: normal;
}
.site-cms--about > .about-card--vision > h2 > i,
.site-cms--about > article.about-card--vision > h2 > i {
  background: rgba(255, 122, 0, .1);
  color: #FF7A00;
}
.site-cms--about > .about-card--mission > h2 > i,
.site-cms--about > article.about-card--mission > h2 > i {
  background: rgba(11, 11, 11, .05);
  color: #0B0B0B;
}
.site-cms--about > .about-card > p,
.site-cms--about > article > p {
  margin: 0;
  color: #9ca3af;
  font-size: .875rem;
  line-height: 1.9;
}

/* Privacy page: card grid from CKEditor articles */
.site-cms--privacy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 768px) {
  .site-cms--privacy {
    grid-template-columns: 1fr;
  }
}
.site-cms--privacy > .privacy-card,
.site-cms--privacy > article {
  background: #fff;
  border: 1px solid rgba(243, 244, 246, .9);
  border-radius: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  padding: 1.75rem;
  margin: 0;
}
.site-cms--privacy > .privacy-card > h2,
.site-cms--privacy > article > h2 {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1rem;
  margin: 0 0 1.25rem;
}
.site-cms--privacy > .privacy-card > h2 > i,
.site-cms--privacy > article > h2 > i {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  background: rgba(255, 122, 0, .1);
  color: #FF7A00;
  font-size: 1rem;
  font-style: normal;
}
.site-cms--privacy > .privacy-card > ul,
.site-cms--privacy > article > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-cms--privacy > .privacy-card > ul > li,
.site-cms--privacy > article > ul > li {
  position: relative;
  padding-inline-start: 1.1rem;
  margin-bottom: .65rem;
  color: #6b7280;
  font-size: .875rem;
  line-height: 1.6;
}
.site-cms--privacy > .privacy-card > ul > li::before,
.site-cms--privacy > article > ul > li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .55rem;
  width: .375rem;
  height: .375rem;
  border-radius: 999px;
  background: #FF7A00;
}

/* Terms page: numbered sections from CKEditor h2/p */
.site-cms--terms {
  counter-reset: term-section;
}
.site-cms--terms > h2 {
  counter-increment: term-section;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1rem;
  margin: 0;
  padding: 1.75rem 2rem .75rem;
  border-top: 1px solid #f9fafb;
}
.site-cms--terms > h2:first-child {
  border-top: 0;
}
.site-cms--terms > h2::before {
  content: counter(term-section);
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  background: rgba(255, 122, 0, .1);
  color: #FF7A00;
  font-size: .75rem;
  font-weight: 900;
}
.site-cms--terms > h2 + p {
  margin: 0;
  padding: 0 2rem 1.75rem;
  padding-inline-start: calc(2rem + 2rem + .75rem);
  color: #6b7280;
  font-size: .875rem;
  line-height: 1.9;
}
.site-cms--terms > p:last-child {
  padding-bottom: 1.75rem;
}

/* Search map — Figma price pins + warm basemap */
[data-map-view] [data-leaflet-map] .leaflet-tile-pane {
  filter: sepia(.16) saturate(.88) brightness(1.03) contrast(.98);
}
.leaflet-div-icon.site-map-pin {
  background: transparent;
  border: 0;
}
.site-map-pin__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .18s ease;
  cursor: pointer;
}
.site-map-pin__label {
  padding: .4rem .75rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: .75rem;
  line-height: 1.1;
  white-space: nowrap;
  font-family: var(--site-font);
}
.site-map-pin__tip {
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  margin-top: -.15rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
}
.site-map-pin.is-active {
  z-index: 600 !important;
}
