@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/DM_Serif_Display/DMSerifDisplay-Italic.ttf) format('woff2');
}

@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/DM_Serif_Display/DMSerifDisplay-Regular.ttf) format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url(../fonts/DM_Sans/DMSans-Italic-VariableFont_opsz,wght.ttf) format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(../fonts/DM_Sans/DMSans-VariableFont_opsz,wght.ttf) format('woff2');
}

.dm-sans-4 {
  font-family: "DM Sans", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.dm-sans-5 {
  font-family: "DM Sans", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.dm-sans-6 {
  font-family: "DM Sans", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.dm-sans-7 {
  font-family: "DM Sans", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.dm-sans-8 {
  font-family: "DM Sans", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.dm-sans-9 {
  font-family: "DM Sans", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.dm-serif-display-regular {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: normal;
}

.wrapper {
  background: url("../images/Handcrafted.webp");
  display: flex;
  align-items: end;
  background-attachment: fixed;
  background-position: top;
  max-width: 100%;
  min-height: 800px;
  background-size: cover;
}

.colection-wrapper {
  background: url("../images/Azilal.png");
  display: flex;
  align-items: end;
  background-attachment: fixed;
  background-position: center;
  max-width: 100%;
  min-height: 500px;
  background-size: cover;
}

.about-wrapper {
  background: url("../images/about.png");
  display: flex;
  align-items: center;
  justify-content: center;
  background-attachment: fixed;
  background-position: center;
  max-width: 100%;
  min-height: 800px;
  background-size: cover;
}

.hide-scrollbar {
  scrollbar-width: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  background-color: #fff;
  margin: 0;
  display: grid;
  height: 24px !important;
  width: 24px !important;
  place-content: center;
  border: 1px solid #1A1817;
}

input[type="checkbox"]::before,
input[type="radio"]::before {
  content: "";
  width: 14px;
  height: 14px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #1A1817;
}

input[type="checkbox"]:checked::before,
input[type="radio"]:checked::before {
  transform: scale(1);
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

@media (max-width: 1023px) {
  .wrapper {
    min-height: 480px;
  }

  .about-wrapper {
    min-height: 480px;
  }
}

.text-sans-9-caps {
  font-size: 9px;
  line-height: 11px;
}

.text-sans-12-caps {
  font-size: 12px;
  line-height: 14px;
}

.text-serif-15 {
  font-size: 15px;
  line-height: 20px;
}

.text-serif-16 {
  font-size: 16px;
  line-height: 20px;
}

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

.searchBoxData .search-item {
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.searchBoxData .search-item:hover {
  background-color: #f3f4f6;
  /* light gray */
}


.lead_time_div ul {
  list-style-type: disc;
  padding-left: 1.25rem !important;
  margin: 0.5rem !important;
}

.lead_time_div ol {
  list-style-type: decimal;
  padding-left: 1.25rem !important;
  margin: 0.5rem !important;
}

/* Shop submenu hover effects */
#shop-submenu a,
#shop-submenu .menu-item {
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 4px;
}

#shop-submenu a:hover,
#shop-submenu .menu-item:hover {
  color: #8B4B31 !important;
  background-color: rgba(139, 75, 49, 0.08);
  transform: translateY(-2px);
}

#shop-submenu a::after,
#shop-submenu .menu-item::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background-color: #8B4B31;
  transition: transform 0.3s ease;
}

#shop-submenu a:hover::after,
#shop-submenu .menu-item:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Add subtle animation for menu items with dropdowns */
#shop-submenu .menu-item svg {
  transition: transform 0.3s ease;
}

#shop-submenu .menu-item:hover svg {
  transform: translateY(2px);
}

/* Active state for menu items */
#shop-submenu a:active,
#shop-submenu .menu-item:active {
  transform: translateY(0);
  background-color: rgba(139, 75, 49, 0.15);
}

@media (max-width: 1023px) {
  #shop-submenu {
    display: block !important;
  }

  /* Fix submenu positioning on mobile */
  .submenu {
    position: relative !important;
    top: 0 !important;
  }

  /* Mobile menu improvements */
  #mobile-menu {
    padding-bottom: 80px;
  }

  /* Better spacing for mobile sections */
  .wrapper,
  .colection-wrapper,
  .about-wrapper {
    padding: 20px;
  }

  /* Ensure cart icon is visible and properly sized on mobile */
  .header-icon-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }

  .header-icon {
    font-size: 20px;
  }

  /* Prevent horizontal scroll on mobile */
  body {
    overflow-x: hidden;
  }

  /* Better mobile padding for main container */
  .max-w-\[1440px\] {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}