/* Add custom CSS styles below */ 
@font-face {
  font-family: 'Hacen Tunisia';
  src: url('رابط-مباشر-للخط/Hacen_Tunisia.woff') format('woff'),
       url('رابط-مباشر-للخط/Hacen_Tunisia.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html, body, * {
  font-family: 'Hacen Tunisia', sans-serif !important;
}
@media (max-width: 768px) {
  .product-card img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 380px !important;
    object-fit: contain !important;
    border-radius: 16px !important;
    background-color: #fff !important;
    margin: 0 auto !important;
  }
}
@media (max-width: 768px) {
  .product-card {
    position: relative !important;
  }

  .product-card .product__label {
    position: absolute !important;
    bottom: 10px !important;
    left: 10px !important;
    background: linear-gradient(135deg, #4c5c43, #6e8562) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 5px 10px !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    text-align: center !important;
    z-index: 9 !important;
    width: fit-content !important;
  }
}
@media (max-width: 768px) {
  .section-products .row,
  .products .row,
  .products-grid,
  .products-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding: 0 10px !important;
  }

  .product-card {
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    padding: 10px !important;
    box-shadow: none !important;
  }

  .product-card .product-image,
  .product-card .media,
  .product-card .thumb,
  .product-card .image,
  .product-card picture {
    position: relative !important;
    background: #fff !important;
    border-radius: 12px !important;
    aspect-ratio: 1 / 1 !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
  }

  .product-card .product-image img,
  .product-card .media img,
  .product-card .thumb img,
  .product-card .image img,
  .product-card picture img,
  .product-card img {
    width: 88% !important;
    height: 88% !important;
    object-fit: contain !important;
    display: block !important;
    background: transparent !important;
  }

  .product-card .product-image .product__label,
  .product-card .product-image .product-label,
  .product-card .product-image .product-badge,
  .product-card .product-image .badge {
    position: absolute !important;
    left: 8px !important;
    bottom: 8px !important;
    background: rgba(0,0,0,.65) !important;
    color: #fff !important;
    padding: 4px 8px !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    z-index: 2 !important;
    width: max-content !important;
  }

  .product-card .product-title,
  .product-card .title,
  .product-card h3,
  .product-card h4 {
    margin: 4px 4px 2px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    line-height: 1.35 !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
    white-space: normal !important;
    min-height: auto !important;
  }

  .product-card .price,
  .product-card .product-price {
    text-align: center !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    margin: 2px 0 6px !important;
  }
  .product-card .old-price,
  .product-card .price .compare,
  .product-card .price s {
    opacity: .55 !important;
    font-size: 12px !important;
  }

  .product-card .product-actions,
  .product-card .actions,
  .product-card .btns {
    display: flex !important;
    gap: 8px !important;
    justify-content: center !important;
  }
  .product-card .add-to-cart,
  .product-card a.btn,
  .product-card button {
    width: 100% !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    box-shadow: none !important;
  }
}
@media (max-width: 768px) {
  .section-products .row,
  .products .row,
  .products-grid,
  .products-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding: 0 10px !important;
  }

  .product-card {
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    padding: 10px !important;
    box-shadow: none !important;
  }

  .product-card .product-image,
  .product-card .media,
  .product-card .thumb,
  .product-card .image,
  .product-card picture {
    position: relative !important;
    background: #fff !important;
    border-radius: 12px !important;
    aspect-ratio: 1 / 1 !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
  }

  .product-card .product-image img,
  .product-card .media img,
  .product-card .thumb img,
  .product-card .image img,
  .product-card picture img,
  .product-card img {
    width: 88% !important;
    height: 88% !important;
    object-fit: contain !important;
    display: block !important;
    background: transparent !important;
  }

  .product-card .product-image .product__label,
  .product-card .product-image .product-label,
  .product-card .product-image .product-badge,
  .product-card .product-image .badge {
    position: absolute !important;
    left: 8px !important;
    bottom: 8px !important;
    background: rgba(0,0,0,.65) !important;
    color: #fff !important;
    padding: 4px 8px !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    z-index: 2 !important;
    width: max-content !important;
  }

  .product-card .product-title,
  .product-card .title,
  .product-card h3,
  .product-card h4 {
    margin: 4px 4px 2px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    line-height: 1.35 !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
    white-space: normal !important;
    min-height: auto !important;
  }

  .product-card .price,
  .product-card .product-price {
    text-align: center !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    margin: 2px 0 6px !important;
  }
  .product-card .old-price,
  .product-card .price .compare,
  .product-card .price s {
    opacity: .55 !important;
    font-size: 12px !important;
  }

  .product-card .product-actions,
  .product-card .actions,
  .product-card .btns {
    display: flex !important;
    gap: 8px !important;
    justify-content: center !important;
  }
  .product-card .add-to-cart,
  .product-card a.btn,
  .product-card button {
    width: 100% !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    box-shadow: none !important;
  }
}