@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Vazirmatn:wght@100..900&display=swap");
:root {
  --transition-duration: 0.5s;
  --font-family: "Vazirmatn", "DM Sans";
  --color-primary: #f9f6f7;
  --color-balck: #000000d7;
  --color-text: #8e8999;
}
::-webkit-scrollbar {
  width: 5px; /* thin scrollbar */
}

::-webkit-scrollbar-track {
  background: #f9f6f7; /* very light track */
}

::-webkit-scrollbar-thumb {
  background: #d6d4d6; /* light gray thumb */
  border-radius: 8px; /* rounded edges */
}

::-webkit-scrollbar-thumb:hover {
  background: #bfbdbf; /* slightly darker on hover */
}
.w-100 {
  width: 100% !important;
}
.d-none {
  display: none !important;
}
.d-block {
  display: block !important;
}
.descrip-container {
  font-weight: bold !important;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.description-text {
  font-weight: normal !important;
  font-size: 1rem;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}
.foggy::after {
  z-index: 10;
  top: 0;
  left: 0;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: #00000048;
}
body {
  padding: 0 1.5rem;
  background-color: #fdfbfc;
  font-family: var(--font-family);
  width: 100%;
  height: 100%;
  position: relative;
  box-sizing: border-box !important;
}
/* filter style in mobile width */
.filter-section-mob {
  display: none;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: start !important;

  background-color: #fff !important;
  z-index: 100 !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0;
  width: 100vw !important;
  height: 50vh !important;
  max-height: 50vh !important;
  overflow-y: auto !important;
  border-radius: 5px !important;
  .clear-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    background: transparent;
    border: none;
    padding: 0.5rem;
  }
  .filter-buttons {
    width: 100% !important;
  }
  .filter-btn {
    flex-grow: 1 !important;
  }
  .filter-btn,
  .filter-btn-style {
    font-size: 1rem !important;
  }
}
/* end filter style in mobile width */
/* home page style */
/* navbar style */
.navbar-container {
  position: relative;
  padding-bottom: 0.6rem;
  margin: 1.5rem 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: start;
  border-bottom: 2px solid #928f8f2f;
  gap: 1rem;
  .logo-container {
    width: 8%;
    img {
      width: 100%;
    }
  }
  form {
    height: 100%;
  }
  .search-container {
    height: 100%;
    position: relative;
    width: 100%;
    form {
      display: flex;
      align-items: center;
      justify-content: center;
      img {
        position: absolute;
        width: 20px;
        left: 3%;
        top: 50%;
        transform: translate(-50%, -50%);
      }
    }
    input[type="text"],
    input[type="search"] {
      width: 100%;
      height: 70%;
      outline: none;
      border: none;
      border-radius: 3rem;
      background-color: var(--color-primary);
      font-size: 0.9rem;
      font-weight: 400;
      color: #000000de;
      padding-left: 6%;
      padding-right: 48px;
    }
    input[type="text"],
    input[type="search"]::placeholder {
      color: #8e8999;
    }

    input[type="search"]::-webkit-search-cancel-button {
      display: none;
    }

    input[type="search"]::-ms-clear {
      display: none;
    }

    input[type="search"]::-webkit-search-decimal-button,
    input[type="search"]::-webkit-search-results-button,
    input[type="search"]::-webkit-search-results-decoration {
      display: none;
    }

    .search-clear {
      position: absolute;
      right: 1%;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      align-items: center;
      justify-content: center;
      width: 25px;
      height: 25px;
      border-radius: 50%;
      border: none;
      background-color: #111111;
      cursor: pointer;
      padding: 0;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: background-color 0.2s ease, transform 0.2s ease,
        opacity 0.2s ease;
    }

    .search-clear.is-visible {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .search-clear svg {
      width: 18px;
      height: 18px;
      fill: #ffffff;
    }

    .search-clear:hover,
    .search-clear:focus-visible {
      background-color: #000000;
      transform: translateY(-50%) scale(1.05);
      outline: none;
    }

    .search-clear:active {
      transform: translateY(-50%) scale(0.98);
    }

    .live-search {
      position: absolute;
      top: calc(100% + 0.75rem);
      left: 0;
      right: 0;
      z-index: 30;
      background-color: var(--color-white, #ffffff);
      border: 1px solid rgba(15, 23, 42, 0.1);
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
      padding: 0.75rem 0;
      max-height: 22rem;
      overflow-y: auto;
      transition: opacity 0.15s ease;
    }
    .live-search__empty {
      text-align: center;
      color: var(--color-slate-500, #64748b);
      font-size: 0.95rem;
      padding: 1rem 1.25rem;
    }
    .live-search__list {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .live-search__item:not(:last-child) {
      border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }
    .live-search__link {
      width: 100%;
      position: relative;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.85rem 1.2rem;
      text-decoration: none;
      color: inherit;
      transition: background-color 0.2s ease;
      .live-search__thumb {
        width: 56px;
        height: 56px;
        top: 50% !important;
        right: 0 !important;
        position: absolute;
        transform: translate(-50%, -50%);
        object-fit: cover;
        border-radius: 8px;
        flex-shrink: 0;
      }
    }
    .live-search__link:focus,
    .live-search__link:hover {
      background-color: rgba(15, 23, 42, 0.04);
    }

    .live-search__content {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }
    .live-search__title {
      font-size: 1rem;
      margin: 0;
      color: var(--color-slate-900, #0f172a);
      font-weight: 600;
    }
    .live-search__excerpt {
      font-size: 0.85rem;
      color: var(--color-slate-500, #64748b);
      margin: 0;
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .live-search__meta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 0.5rem;
    }
    .live-search__meta-item {
      font-size: 0.75rem;
      background-color: rgba(15, 23, 42, 0.06);
      color: var(--color-slate-600, #475569);
      padding: 0.25rem 0.5rem;
      border-radius: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  .nav-link {
    display: none;
    text-transform: capitalize;
    text-decoration: none;
    color: var(--color-balck);
    font-size: 1rem;
  }
  .custom-type-face-btn {
    display: none;
    cursor: pointer;
    padding: 0.6rem 1rem;
    background-color: var(--color-balck);
    color: #ffffff;
    text-transform: capitalize;
    font-size: 0.8rem;
    font-weight: 300;
    border-radius: 0.5rem;
  }
  .mobile-menu-container {
    margin-left: auto;
    display: none;
  }
  .mobile-menu-toggle {
    border: none;
    background: transparent;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .mobile-menu-toggle img {
    width: 24px;
    height: 16px;
  }
}
body.mobile-menu-open {
  overflow: hidden;
}
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-duration) ease;
  z-index: 140;
}
.mobile-menu-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(280px, 80vw);
  background: #ffffff;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform var(--transition-duration) ease;
  z-index: 150;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.mobile-menu-drawer.is-active {
  transform: translateX(0);
}
.mobile-menu-close {
  border: none;
  background: transparent;
  align-self: flex-end;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-menu-close img {
  width: 20px;
  height: 20px;
}
#close-filters-btn-mob {
  svg {
    width: 30px !important;
    height: 30px !important;
  }
}
.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.mobile-menu-links a {
  text-decoration: none;
  color: var(--color-balck);
  font-size: 1rem;
  text-transform: capitalize;
}
.ul-link {
  list-style: none;
  display: flex;
  flex-grow: 1;
  justify-content: start;
  gap: 2rem;
}
/* filter section style */
.filter-section-main {
  position: sticky !important;
  top: 0 !important;
  display: flex;
}
.filter-section-main,
.filter-section-mob {
  flex-direction: column;
  padding: 0.5rem 0.8rem;
  border-radius: 0.5rem;
  height: 100vh;
  background-color: #f9f6f7;
  overflow-y: scroll !important;
}
/* filter buttons container style */
.filter-type-container {
  width: 100%;
  padding: 0.9rem 0;
  display: flex;
  gap: 15px;
  flex-direction: column;
  align-items: start;
  justify-content: space-evenly;
  border-bottom: 1px solid #29292933;
  /* title style */
  p {
    color: var(--color-text);
    font-size: 0.8rem;
    text-transform: capitalize;
  }
  /* buttons style */
  .filter-buttons {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
    gap: 0.9rem;
    .filter-btn {
      flex-grow: 1;
    }
    .filter-btn,
    .filter-btn-style {
      font-family: "DM Sans" !important;
      cursor: pointer;
      padding: 0.4rem 0.6rem;
      color: var(--color-balck);
      font-size: 14px;
      background-color: #fdfbfc;
      border-radius: 6px;
      border: none;
      border: 1px solid #dddbdc;
      transition: 0.2s;
    }
    .filter-btn:hover,
    .filter-btn-style:hover {
      background-color: #ecebeb;
      transition: 0.2s;
    }
    .filter-btn-active {
      background-color: #292929;
      color: #ffffff;
    }
  }
}
/* target only the last .filter-type-container */
.filter-type-container:last-child {
  border-bottom: none;
  margin-bottom: 10px;
}
/* end filter section style */

/* container that hold main content */
.content-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 20% auto;
  grid-gap: 1rem;
}
.new-badge {
  margin-right: 1rem;
  background-color: #09af69;
  border-radius: 1rem;
  padding: 0.2rem 0.8rem;
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  margin-left: auto;
}
.content-container--search .filter-section-main {
  display: none;
}
/* view bar container */
.view-bar-container {
  display: flex;
  align-items: center;
  padding: 15px;
  padding-left: 20px;
  width: 100%;
  height: 7%;
  background-color: var(--color-primary);
  border-radius: 0.7rem;
  gap: 8px;
  p {
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 400;
    margin-right: 5px;
  }
  .view-btn {
    cursor: pointer;
    background-color: #fff;
    box-shadow: 0 0 1px #000000c4;
    border-radius: 5px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem;
    color: #c7c1c170;
    svg {
      height: 24px;
      width: 24px;
    }
    svg path {
      stroke: #7c7878;
    }
  }
  .view-active {
    background-color: var(--color-balck);
    svg path {
      stroke: #fff;
    }
  }
  .clear-btn {
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    gap: 5px;
    p {
      text-transform: uppercase;
      font-size: 13px;
    }
  }
  .clear-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    svg {
      width: 15px;
    }
  }
  .selected-filters-icon-container {
    justify-self: flex-end;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
  }
  .selected-filters-container {
    width: fit-content;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;

    .selected-filter {
      width: 20%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      background-color: #ecebeb;
      border-radius: 0.6rem;
      width: fit-content;
      padding: 0.3rem 0.6rem;
      color: var(--color-balck);
      p {
        color: var(--color-text);
        font-size: 13px;
      }
    }
  }
}
/* button to active filters section mobile width */
.active-filters-button-mobile {
  display: none;
  align-items: center;
  justify-content: space-around;
  gap: 5px;
  letter-spacing: 0.5px;
  background-color: #292929;
  text-transform: capitalize;
  color: #f9f6f7;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 9px;
  border: none;
  outline: none;
  svg {
    fill: #fff;
  }
}
/* products section style */
.products-section {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 15px;

  /* products container */
  .products-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    align-content: start;
    justify-content: start;
    gap: 15px;
  }

  .products-container.is-loading::after {
    content: "";
    grid-column: 1 / -1;
    justify-self: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid #e0e0e0;
    border-top-color: #292929;
    animation: fonts-spinner 0.75s linear infinite;
  }

  .products-container.is-empty::before {
    content: attr(data-empty-text);
    grid-column: 1 / -1;
    justify-self: center;
    padding: 24px 32px;
    border-radius: 12px;
    background: #ffffff;
    color: #555;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 10px 40px rgba(15, 20, 34, 0.08);
  }

  .products-container.is-loading > * {
    opacity: 0.4;
    pointer-events: none;
  }

  .products-container.is-empty > * {
    display: none;
  }
  /* product slider style */
  .product-slider {
    width: auto;
    background-color: #f4f1f2;
    height: fit-content;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-sizing: border-box;
  }

  .slider-window {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: fit-content;
  }

  .slider-track {
    display: flex;
    transition: transform 0.6s ease;
  }

  .slider-card {
    min-width: 100%;
    flex-shrink: 0;
    display: grid;
    gap: 1rem;
    text-align: left;
    opacity: 0;
    transform: translateX(8%);
    transition: opacity 0.5s ease, transform 0.6s ease;
  }

  .slider-card-active {
    opacity: 1;
    transform: translateX(0);
  }

  .slider-card:not(:first-child) .slider-caption {
    display: none;
  }

  .slider-image-wrapper {
    width: 100%;
    background-color: #f0f0f0;
    border-radius: 7px;
    overflow: hidden;
    border: 1px solid rgba(13, 12, 34, 0.08);
  }

  .slider-image-wrapper img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
  }

  .slider-caption h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0d0c22;
  }

  .slider-caption p {
    font-size: 0.85rem;
    color: #5b5a68;
  }

  .slider-caption a {
    color: #136bff;
    text-decoration: none;
  }

  .slider-caption a:hover {
    text-decoration: underline;
  }

  .slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: #d9d9de;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }

  .slider-dots .dot-active,
  .slider-dots .dot:hover {
    background-color: #73717f;
    transform: scale(1.1);
  }
  .slider-title-container {
    padding: 0 0 20px 10px;
    transition: 0.5s;
    align-self: flex-start;
    width: 100%;
    a {
      text-decoration: none;
    }
    .slider-title,
    .arabic-font-name {
      width: fit-content;
      position: relative;
      cursor: pointer;
      text-transform: capitalize;
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
      color: var(--color-balck);
      line-height: 1;
    }
    .slider-subtitle {
      display: flex;
      align-items: center;

      cursor: pointer;
      font-size: 0.9rem;
    }
    .slider-subtitle .slider-weights {
      text-transform: capitalize;
      margin-right: 5px;
    }
    .author-name {
      position: relative;
      display: flex;
      text-transform: capitalize;
      text-decoration: none;
      color: var(--color-balck);
      margin-left: 5px;
    }
    .slider-subtitle .author-name::after {
      content: "";
      position: absolute;
      width: 100%;
      height: 1px;
      left: 0;
      bottom: 0;
      background-color: #000;
    }
    .slider-subtitle .author-name:hover::after {
      height: 1px;
      transition: 0.1s;
      bottom: -2px;
    }
  }

  /* List view details - hidden by default */
  .list-view-details {
    display: none;
    width: 100%;
    padding: 0 10px 20px 10px;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
  }

  .list-view-info {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .list-view-info a {
    text-decoration: none;
  }
  .list-view-title {
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-balck);
    margin: 0;
    text-transform: capitalize;
  }

  .list-view-title .arabic-font-name {
    font-weight: 400;
    color: var(--color-text);
    font-size: 0.95rem;
  }

  .list-view-author {
    font-size: 1.1rem;
    margin: 0;
    a {
      position: relative;
      color: var(--color-balck);
    }
  }
  .list-view-author a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    left: 0;
    bottom: 0;
    background-color: #000;
  }
  .list-view-author a:hover::after {
    height: 1px;
    transition: 0.1s;
    bottom: -2px;
  }

  .list-view-button {
    display: inline-block;
    background-color: #e8e8e8;
    color: var(--color-balck);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.3s ease;
  }

  .list-view-button:hover {
    background-color: var(--color-balck);
    color: #fff;
  }

  /* List view gallery - hidden by default */
  .list-view-gallery {
    display: none;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    gap: 15px;
  ::-webkit-scrollbar {
  width: 5px; /* thin scrollbar */
}

::-webkit-scrollbar-track {
  background: #f9f6f7; /* very light track */
}

::-webkit-scrollbar-thumb {
  background: #d6d4d6; /* light gray thumb */
  border-radius: 8px; /* rounded edges */
}

::-webkit-scrollbar-thumb:hover {
  background: #bfbdbf; /* slightly darker on hover */
}
  }

  .list-view-gallery::-webkit-scrollbar {
    height: 8px;
  }

  .list-view-gallery::-webkit-scrollbar-track {
    background: #f9f6f7;
    border-radius: 4px;
  }

  .list-view-gallery::-webkit-scrollbar-thumb {
    background: #d6d4d6;
    border-radius: 4px;
  }

  .list-view-gallery::-webkit-scrollbar-thumb:hover {
    background: #bfbdbf;
  }

  .list-view-gallery-item {
    display: inline-block;
    width: 280px;
    height: 180px;
    flex-shrink: 0;
    margin-right: 15px;
    border-radius: 7px;
    overflow: hidden;
    border: 1px solid rgba(13, 12, 34, 0.08);
    background-color: #f0f0f0;
  }

  .list-view-gallery-item:last-child {
    margin-right: 0;
  }

  .list-view-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* List view active state */
  .products-container.list-view-active {
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    display: grid;
    grid-gap: 0;

  }

  .products-container.list-view-active .product-slider {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    background-color: transparent;
  }
 

  .products-container.list-view-active .slider-window {
    display: none;
  }

  .products-container.list-view-active .slider-dots {
    display: none;
  }

  .products-container.list-view-active .slider-title-container {
    display: none;
  }

  .products-container.list-view-active .list-view-details {
    display: flex;
    order: 1;
    padding: 0 10px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .products-container.list-view-active .list-view-info {
    flex: 1;
    min-width: 0;
  }

  .products-container.list-view-active .list-view-button {
    margin-left: auto;
    flex-shrink: 0;
  }

  .products-container.list-view-active .list-view-gallery {
    display: block;
    order: 2;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .products-container.list-view-active .list-view-gallery::after{
    content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  left: 1.5%;
  bottom: 0;
  background-color: #00000034;
  }


  /* Mobile responsive for list view */
  @media (max-width: 768px) {
    .products-container.list-view-active .list-view-details {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
    }

    .products-container.list-view-active .list-view-button {
      margin-left: 0;
      width: 100%;
      text-align: center;
    }

    .list-view-gallery-item {
      width: 220px;
      height: 140px;
    }
  }
}
/* form style */
.form-section {
  width: 52%;
  margin: 0 auto;
  .agreement-wrap {
    p {
      font-weight: 400;
      font-size: 14px;
      text-transform: capitalize;
      span {
        font-weight: 400;
        font-size: 14px;
        text-transform: capitalize;
      }
    }
  }
  .title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 40px;
  }

  .form-container {
    background: white;
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e5e5;
  }

  .form-group {
    margin-bottom: 18px;
  }

  label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-balck);
    margin-bottom: 8px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 12px;
    border: 1px solid #d1d5db6b;
    border-radius: 6px;
    background-color: #fdfbfc;
    color: #1a1a1a94;
    transition: border-color 0.2s;
    font-family: var(--font-family);
  }

  input[type="text"]:focus,
  input[type="email"]:focus,
  input[type="tel"]:focus,
  select:focus,
  textarea:focus {
    outline: none;
    border-color: #2563eb;
  }

  input::placeholder,
  textarea::placeholder {
    color: #9ca3af;
  }

  select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
  }

  select option:first-child {
    color: #9ca3af;
  }

  textarea {
    resize: vertical;
    height: 50%;
  }

  .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .checkbox-label {
    font-size: 12px;
    font-weight: 400;
    color: #4b5563;
    margin-bottom: 0;
  }

  .link {
    color: #2563eb;
    text-decoration: none;
  }

  .link:hover {
    text-decoration: underline;
  }

  .submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    background-color: #6b7280;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 8px;
  }

  .submit-btn:active {
    background-color: #374151;
  }
}
/* mobile width for form*/

@media (max-width: 768px) {
  .form-container {
    padding: 30px 24px;
  }

  .title {
    font-size: 24px;
    margin-bottom: 30px;
  }
}

/* Mobile side menu / off-canvas panel */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 60;
  opacity: 0;
  transition: opacity var(--transition-duration) ease;
  pointer-events: none;
}
.mobile-menu-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.mobile-side-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 86%;
  max-width: 360px;
  background: #ffffff;
  z-index: 70;
  transform: translateX(-110%);
  transition: transform var(--transition-duration)
    cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}
.mobile-side-menu[aria-hidden="false"] {
  transform: translateX(0);
}
.mobile-side-menu-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid #eee;
}
.mobile-side-menu-close {
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.mobile-side-menu-title {
  font-weight: 700;
  font-size: 1rem;
}
.mobile-side-menu-nav {
  padding: 12px 16px;
  overflow-y: auto;
}
.mobile-side-menu-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-side-menu-nav a {
  text-decoration: none;
  color: var(--color-balck);
  padding: 12px 8px;
  display: block;
  border-radius: 6px;
}
.mobile-side-menu-nav a:focus,
.mobile-side-menu-nav a:hover {
  background: #f4f4f4;
}

/* Prevent body scroll when menu open */
.no-scroll {
  overflow: hidden !important;
  height: 100vh;
}

/* end form style */

/* mobile width for slider home page */
@media (max-width: 740px) {
  .page {
    gap: 16px;
  }

  .slide-card {
    min-height: 320px;
    padding: 16px;
  }

  .thumbnail-track {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }
}
/* about us page style */
.about-page-main {
  .form-section {
    width: 60%;
  }
}
.about-page-content-container {
  width: 100%;
  margin: 0 auto;
}

.hero {
  text-align: center;
  padding: 60px 20px 40px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 30px;
  color: #2d3748;
}

.hero p {
  font-size: 1.1rem;
  color: #4a5568;
  margin-bottom: 10px;
}

.hero p strong {
  font-weight: 700;
  color: #2d3748;
}

.section {
  display: flex;
  align-items: center;
  gap: 60px;
  margin: 80px 0;
  padding: 0 20px;
}

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

.section-content {
  flex: 1;
}

.section-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

.section-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2d3748;
}

.section-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #4a5568;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .section {
    flex-direction: column !important;
    gap: 30px;
    margin: 50px 0;
  }

  .section-content h2 {
    font-size: 1.5rem;
  }
}
/* end about us page style */

/* start product page style */
.product-page-main {
  width: 100%;
  height: 100%;
}

.product-page-main {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: start;
  gap: 10px;
}
/* slider style */
.slider-wrapper {
  height: 70%;
  width: 65%;
  position: sticky;
  top: 10px;

  .slider-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    overflow: hidden;
  }

  .slider-main {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    position: relative;
    height: 70%;
  }

  #main-image {
    width: 100%;
    aspect-ratio: 19 / 10;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    opacity: 1;
    transition: opacity 0.6s ease;
    will-change: opacity;
  }

  #main-image.fade-enter {
    opacity: 0;
  }

  .slider-button {
    width: 40px;
    height: 56px;
    border-radius: 50%;
    border: none;
    color: #000000;
    font-size: 28px;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 2rem;
    background-color: transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease,
      background-color 0.2s ease;
    svg {
      width: 20px;
      height: 30px;
      stroke: #000;
    }
  }

  /* .slider-button:hover,
  .slider-button:focus-visible {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.25);
    background-color: #000000;
    outline: none;
  }

  .slider-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  } */

  .thumbnails {
    padding-bottom: 6px;
    width: 86%;
    height: 30% !important;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 8px;
    overflow-x: scroll;
  }
  .thumbnails::-webkit-scrollbar {
    height: 5px;
  }

  .thumbnail-button {
    width: auto;
    height: auto;
    position: relative;
    padding: 0;
    border: none;
    border-radius: 5px;
    background: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .thumbnail-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    transition: background 0.3s ease;
    pointer-events: none;
  }

  .thumbnail-button img {
    display: block;
    min-width: 140px;
    max-height: 80px;
    object-fit: cover;
    border-radius: 5px;
    pointer-events: none;
  }

  .thumbnail-button:focus-visible {
    outline: 3px solid #111111;
    outline-offset: 2px;
  }

  .thumbnail-button.active {
    transform: translateY(-4px);
  }

  .thumbnail-button.active::after {
    background: rgba(0, 0, 0, 0.35);
  }
}
/* get the font style */
.get-font-container {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  background-color: var(--color-primary);
  .filter-type-container {
    width: 90%;
    border-bottom: none !important;
    border-top: 1px solid #29292933;
    .filter-btn {
      text-decoration: none;
      flex-grow: 0;
      font-size: 14px;
    }
  }
}

.font-info-card {
  width: 100%;
  height: 20% !important;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.font-info-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.font-info-title {
  font-size: 1.3rem;
  color: #201f23;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.font-info-title-secondary {
  font-weight: 700;
  font-size: 1.25rem;
  color: #201f23;
}

.font-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.font-info-item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  font-size: 0.92rem;
  font-size: 12px;
}

.font-info-label {
  font-weight: 600;
}

.font-info-value {
  color: #201f23;
  font-weight: 600;
}

.font-info-value .author-link {
  position: relative;
  cursor: pointer;
  color: var(--color-balck);
  text-decoration: none;
  transition: color 0.2s ease;
  text-transform: capitalize;
}
.font-info-value .author-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  bottom: 0;
  background-color: #000;
}

.font-info-value .author-link:hover::after {
  height: 1px;
  transition: 0.1s;
  bottom: -2px;
}

.font-info-value .author-type {
  color: #666;
  font-weight: 400;
  font-size: 0.9em;
}

.font-description {
  font-size: 10px;
  display: flex;
  gap: 0.7rem;
}

.font-description-text {
  font-size: 13px;
  color: rgba(32, 31, 35, 0.7);
  line-height: 1.6;
  max-height: 3.7rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.font-description-toggle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #201f23;
  background: none;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.font-description-toggle svg {
  width: 0.9rem;
  height: 0.9rem;
}

.font-info-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #201f23;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  border-radius: 5px;
  width: 100%;
  padding: 1rem 0;
  transition: background-color 0.2s ease-in-out;
}

.font-info-cta:hover,
.font-info-cta:focus {
  background-color: #3b363f;
}
/* load more button */
.load-more-button {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 1rem auto;
  font-size: 1.3rem;
  border: 1px solid #000;
  padding: 0.2rem 0.5rem;
  border-radius: 1rem;
  outline: none;
  background-color: transparent;
  svg {
    width: 30px;
    height: 30px;
  }
}

.load-more-button[hidden] {
  display: none !important;
}
/* ///////////////////////////// */
/* contact page style */
.contact-page-body {
  background-color: #fdfbfc;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: start;
  justify-content: end;
  gap: 9rem;
  padding: 0.7rem 4rem 0 2rem;
  .form-section {
    margin: 0;
  }
  .form-container {
    border: none;
    box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.171);
    padding: 2rem 1.1rem;
    h1 {
      color: #292929;
      font-weight: 600;
      font-size: 1.7rem;
      margin-bottom: 1rem;
      width: 60%;
      text-transform: cap☺italize;
    }
  }

  .contact-card {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 6px;
    background-color: #f9f6f7;
    border-radius: 0.5rem;
    padding: 1rem;
    width: 31%;
    height: auto;
  }

  .contact-card h1 {
    font-size: 23px;
    font-weight: 600;
    color: #1a1a1a;
  }

  .contact-card .subtitle {
    font-size: 16px;
    color: var(--color-balck);
    line-height: 1.5;
    border-bottom: #00000031 1px solid;
    padding-bottom: 10px;
    margin-bottom: 7px;
  }

  .contact-info {
    text-align: left;
    width: 100%;
  }

  .info-row {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
    display: grid;
    grid-template-columns: 1fr 2fr;
    font-size: 12px;
  }

  .info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
  }

  .info-value {
    font-size: 0.9rem;
    color: #1a1a1a;
  }

  .social-icons {
    display: flex;
    gap: 12px;
  }

  .social-icon {
    width: 25px;
    height: 25px;
    background-color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .social-icon:hover {
    background-color: #333333;
  }

  .social-icon svg {
    width: fit-content;
    height: 14px;
    fill: white;
  }

  .map-container {
    width: 100%;
    min-height: 250px;
    height: 300px;
    background-color: #e8e8e8;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
  }

  .map-container iframe {
    width: 100%;
    height: 400px;
    min-height: 400px;
    border: none;
  }

  .directions-btn {
    width: 100%;
    padding: 14px;
    background-color: #2a2a2a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s;
  }

  .directions-btn:hover {
    background-color: #1a1a1a;
  }

  .directions-btn svg {
    width: 16px;
    height: 16px;
    fill: white;
  }
}
/* mobile media */
@media (max-width: 1000px) {
  .navbar-container {
    height: auto;
    flex-wrap: wrap;
    .logo-container {
      width: 30%;
    }
    .ul-link {
      display: none;
    }
    .search-container {
      order: 1;
      width: 100%;
      height: 4rem;
      img {
        left: 10%;
      }
    }
    .nav-link {
      display: none;
    }
    .custom-type-face-btn {
      display: none;
    }
    .mobile-menu-container {
      display: flex;
    }
  }
  /* filter section style */
  .filter-section-main {
    display: none;
  }
  /* content section */
  .content-container {
    justify-content: center;
    gap: 1.2rem !important;
  }
  /* products section */
  .products-section {
    width: 100% !important;
  }
  /* products container */
  .products-container {
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
  }
  /* product-slider */
  .product-slider {
    width: 100% !important;
  }
  /* filters button to active filter section */
  .active-filters-button-mobile {
    display: flex;
    width: 100%;

    align-items: center;
    justify-content: center;
    padding: 15px 20px;
  }
  /* viewbar container */
  .view-bar-container {
    display: none;
  }
  /* product page style */
  .product-page-main {
    flex-direction: column !important;
    justify-content: center;
    gap: 1.2rem !important;
  }
  .get-font-container {
    width: 100%;
  }
  .slider-wrapper {
    position: relative;
    width: 100%;
  }
  .slider-content {
    justify-content: start;
  }
  .slider-button {
    width: fit-content !important;
  }
  .thumbnail-button {
    border-radius: 5px !important;
  }
  .font-info-cta {
    font-size: 0.8rem;
  }
  .font-info-title {
    font-size: 1rem;
  }
  .font-info-title-secondary {
    font-size: 1rem;
  }
}

/* Author Page Styles */
.author-section {
  display: flex;
  align-items: start;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
}

.author-header {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.author-avatar {
  flex-shrink: 0;
}

.author-avatar img {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.author-info {
  padding-left: 0.5rem;
  flex: 1;
}

.author-info .author-name {
  font-size: 24px;
  font-weight: 800;
  color: #292929;
  margin-bottom: 10px;
  span {
    font-size: 20px;
    font-weight: 400;
    color: rgba(41, 41, 41, 0.6);
  }
}

.author-info .author-role {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 16px;
}

.author-info .author-bio {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-balck);
}

.author-social-links {
  margin-right: 10rem;
  align-self: flex-end;
  margin-bottom: 40px;
}

.author-social-links h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--color-balck);
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-balck);
  transition: all 0.3s ease;
  svg {
    width: 20px;
    color: #7f7f7f;
    height: 20px;
  }
}

.social-icons a:hover {
  background-color: var(--color-balck);
  color: #fff;
  transform: translateY(-2px);
}

.view-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.view-controls h2 {
  font-size: 1.2rem;
  color: var(--color-balck);
}

.view-buttons {
  display: flex;
  gap: 8px;
}

@media (max-width: 768px) {
  .author-section {
    flex-direction: column;
    align-items: center;
  }
  .author-social-links {
    margin: auto;
  }
  .author-header {
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-info .author-name {
    font-size: 1.5rem;
  }

  .social-icons {
    justify-content: center;
  }
  /* /////////////////////////////// */
  /* contact page style */
  .contact-page-body {
    flex-direction: column;
    gap: 1rem;
    padding: 0 !important;
    .contact-card {
      width: 100%;
    }
    .form-section {
      width: 100%;
    }
  }

  /* List view responsive */
  .products-container.list-view-active .product-slider {
    flex-direction: column;
    gap: 15px;
  }

  .products-container.list-view-active .slider-window {
    width: 100%;
    max-width: 100%;
  }

  .products-container.list-view-active .slider-title-container {
    min-width: auto;
    width: 100%;
  }

  .products-container.list-view-active .list-view-details {
    flex-direction: column;
    gap: 15px;
  }

  .products-container.list-view-active .list-view-badges {
    max-width: 100%;
  }

  .products-container.list-view-active .list-view-button {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }
  .about-page-main {
    .form-section {
      width: 100%;
    }
  }
  .live-search__thumb {
    width: 60px;
    height: 60px;
    left: 90% !important;
  }
}
