@import url("fonts.css");

/* font-family: Daal, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important; */
html,
body {
  height: 100%;
  font-family: "Anjoman", sans-serif;
  font-weight: 400;
  padding-top: 1rem;
}


.heading {
  font-family: "Peyda", sans-serif !important;
  font-weight: 600 !important;
}

.heading-font {
  font-family: "Peyda", sans-serif !important;
}

.heading-size {
  font-family: "Peyda", sans-serif;
  font-weight: 600;
  font-size: 18px;
}

.font-15{
  font-size: 15px;
}

.rounded-10{
  border-radius: 10px !important;
}

.rounded-left {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.rounded-top{
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
}

.rounded-bottom {
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

.right-dropdown {
  right: -10rem !important;
}

.width-480 {
  max-width: 480px;
}

.single-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rtl {
  direction: rtl;
}

.ltr {
  direction: ltr;
}

.border-thick {
  border-width: 5px !important;
}

.minh-100 {
  min-height: 100% !important;
}

.brand-description{
  font-size: 16px;
  line-height: 30px;
  text-align: justify;
  font-weight: normal;
  margin-top: 10px;
  padding: 14px;
}

/* Brand search */
.brand-search {
  position: relative;
  width: min(100%, 800px);
  margin: 0 auto 1.5rem;
  direction: rtl;
}

.brand-search__input.form-control {
  width: 100%;
  height: 50px;
  padding: 0 52px 0 18px;

  border: 1px solid #d8d8e1;
  border-radius: 25px !important;

  background: #fbfbff;
  color: #555866;

  font-family: "Peyda", sans-serif;
  font-size: 15px;
  font-weight: 400;
  text-align: right;

  box-shadow: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.brand-search__input.form-control::placeholder {
  color: #777a89;
  opacity: 1;
}

.brand-search__input.form-control:focus {
  border-color: #aeb9db;
  background: #fff;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(174, 185, 219, 0.18);
}

.brand-search__icon {
  position: absolute;
  top: 50%;
  right: 18px;
  z-index: 2;

  color: #b7bfd8;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;

  transform: translateY(-50%);
}

.brand-card {
  transition: transform 0.22s ease, border-color 0.22s ease;
  will-change: transform;
}

.brand-card:hover {
  transform: translateY(-4px);
  border-color: #aeb9db !important;
}

.brand-card:focus-within {
  border-color: #aeb9db !important;
}


@media (max-width: 576px) {
  .brand-search {
    width: calc(100% - 24px);
  }

  .brand-search__input.form-control {
    height: 46px;
    padding-right: 48px;
    font-size: 14px;
  }

  .brand-search__icon {
    right: 17px;
    font-size: 16px;
  }
}


.cart-overview {
  min-width: 15rem !important;
}

.cart-overview .card-body {
  max-height: 500px;
  overflow-y: auto;
  border-radius: 10px;
}

.btn-white {
  background-color: white !important;
}

.nav-link-white {
  color: white !important;
}

.text-black {
  color: black;
}

.text-black:hover {
  color: #1d1d1d;
}

.bg-black {
  background-color: black !important;
}

.sticky-top {
  top: 6rem !important;
}

.zoom {
  transition: all 0.2s !important;
  -webkit-transition: all 0.2s !important;
}

.zoom:hover {
  transform: scale(1.13);
  -webkit-transform: scale(1.13);
}

.overflow-hidden {
  overflow: hidden !important;
}

.wrapper {
  min-height: 100%;
  margin-bottom: -60px;
}

.footer,
.push {
  height: 60px;
}

.z-index-1050 {
  z-index: 1050 !important;
}

button[disabled]:hover {
  cursor: not-allowed !important;
}

button {
  border-radius: 10px !important;
}

::selection {
  background: black;
  color: gray;
}

::-moz-selection {
  background: black;
  color: gray;
}

.farsi-neg-number {
  direction: ltr;
  unicode-bidi: bidi-override;
}

td,
th {
  vertical-align: middle !important;
}

.progress-bar.bg-danger {
  animation-name: animateBarRight;
}

.progress-bar.bg-success {
  animation-name: animateBarLeft;
}

.progress .progress-bar {
  animation-iteration-count: 1;
  animation-timing-function: ease;
  animation-duration: 1s;
}

@keyframes animateBarRight {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes animateBarLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

.disabled-input:hover {
  cursor: not-allowed;
}

.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

b {
  font-weight: bold;
}

.dropdown-submenu {
  position: relative !important;
}

.dropdown-submenu a::after {
  transform: rotate(-90deg) !important;
  position: absolute !important;
  right: 6px !important;
  top: 0.8em !important;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem !important;
  margin-right: 0.1rem !important;
}

.product-card a {
  text-decoration: none;
}

.product-description,
.product-description * {
    text-align: right !important;
    font-size: 15px !important;
    font-family: "Peyda", sans-serif !important;
    font-weight: normal !important;
    line-height: 30px !important;
}

.dropdown-menu {
  border-radius: 5px !important;
}

/* slider style */
.slider-wrapper {
  width: calc(100vw - 35px) !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: calc(-50vw + 17.5px) !important;
  margin-right: calc(-50vw + 17.5px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 10px !important;
}

swiper-container {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  position: relative !important;
}

swiper-slide {
  width: 100% !important;
  height: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

swiper-slide img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 10px !important;
}

.autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 999; /* Increased z-index */
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
  background: rgba(0, 0, 0, 0.2); /* Added semi-transparent background */
  border-radius: 50%;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.autoplay-progress span {
  color: #fff;
  font-size: 14px;
  z-index: 1000;
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: #fff;
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

/* Make sure the circle is visible */
.autoplay-progress svg circle {
  stroke: #fff;
  stroke-width: 4px;
  fill: none;
}
.swiper-lazy-preloader {
  display: none !important;
}

swiper-container .swiper-button-next,
swiper-container .swiper-button-prev {
  display: none !important;
}

swiper-container::part(pagination) {
  bottom: 10px !important;
}
/* slider style */

/* style button ??? ????? when add product to cart */
#modal-btn-div a {
  border-radius: 10px !important;
}

/* style for buttons in checkout page */
.checkout form input[type="submit"] {
  border-radius: 10px;
}

/* style for gift code */
.d-none {
  display: none !important;
}

.card .gift-code-container input::placeholder {
  text-align: right !important;
}

/* style for gallery feature product details page */
.gallery-thumbnail {
  width: 100%; /* Make thumbnails fill their column */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover; /* Ensure images cover the area, cropping if necessary */
}

.main-product-image {
  width: 100%; /* Make main image fill its column */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Ensure full image is visible, add padding if necessary */
}

/* style for featured prodcut */



/* style for checkout page */
.border-rounded{
  border-radius: 10px !important;
}

/* style for checkout-cart */
.border-rounded-cart-top{
  border-radius: 10px 10px 0 0 !important;
}
.border-rounded-cart-bottom{
  border-radius: 0 0 10px 10px !important;
}


/* Mobile Styles */
@media (max-width: 768px) {
  swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 800px;
  }
  .autoplay-progress {
    display: none !important;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  swiper-container {
    height: auto;
  }

  swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 800px;
  }
  .autoplay-progress {
    display: none !important;
  }
}
/* end slider style */

@media print {
  .no-print,
  .no-print * {
    display: none !important;
  }
}


/* blog style */

/* Blog post styling */
.blog-post {
    margin-bottom: 30px;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Sidebar styling */
.sidebar {
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 5px;
}

/* Search box styling */
.search-box {
    margin-bottom: 20px;
}

/* Category links */
.category-link {
    display: block;
    padding: 10px;
    color: #007bff;
    text-decoration: none;
}

.category-link:hover {
    background-color: #e9ecef;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        display: none; /* Hide sidebar on small screens */
    }
}

/* style print official */
.page-container {
  padding: 10px;
}
.invoice-grid {
  width: 100%;
  border-collapse: collapse;
}
.invoice-grid,
.invoice-grid th,
.invoice-grid td {
  border: 1px solid #000;
  padding: 3px 5px;
  font-size: 11px;
  vertical-align: middle;
}
.invoice-grid td {
  padding: 3px 5px;
  vertical-align: middle;
  font-size: 14px;
}
.header-left-inner td {
  border: none;
  padding: 2px 4px;
}
.header-title {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: black;
}
.label-cell {
  width: 18%;
  white-space: nowrap;
  color: black;
}
.value-cell {
  width: 32%;
  color: black;
}

.items-table {
  margin-top: 8px;
}

.signatures-table {
  margin-top: 12px;
  table-layout: fixed;
}

.signatures-table td {
  width: 50%;
}

.signature-row td {
  height: 80px;
  vertical-align: top;
}

.signature-title {
  text-align: center;
  padding-top: 4px;
  color: black;
}

.signature-images {
  text-align: center;
}

.signature-images img {
  max-height: 70px;
  margin: 0 8px;
}

/* style toast */
.notAToastdefault{
  width: 16rem !important;
}
/* .notAToasttoast-container .notAToastmessage{
  display: none !important;
}
.notAToastclsBtn {
  
} */
/* style toast */

/* blog style card */
.img-hover-zoom {
  margin: auto;
  overflow: hidden;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
}

.img-hover-zoom img {
  max-width: 100%;
  transition: all 0.3s;
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
}

.img-hover-zoom:hover img {
  transform: scale(1.1);
  border-radius: 10px !important;
}

.blog .row .card p {
  font-size: 14px;
  color: #777777;
  line-height: 2;
}
/* blog style card */

@media (min-width: 992px) {
  .sticky-lg {
      position: sticky;
      top: 20px;
  }
}


.inline-group .tabular td.field-supplier,
.inline-group .tabular th.column-supplier {
    width: 150px !important;
    min-width: 0 !important;
    max-width: 150px !important;
}

.inline-group .tabular td.field-supplier > .select2-container {
    width: 150px !important;
    min-width: 0 !important;
    max-width: 150px !important;
}

/* Django admin inline supplier column */
.inline-group .tabular td.field-supplier,
.inline-group .tabular th.column-supplier {
    width: 100px !important;
    min-width: 0 !important;
    max-width: 100px !important;
}

/* The Select2 visible field */
.inline-group .tabular td.field-supplier > .select2-container {
    width: 100px !important;
    min-width: 0 !important;
    max-width: 100px !important;
}

/* =========================================
   Shops page
   ========================================= */

.shop-list {
  margin-right: -10px;
  margin-left: -10px;
}

.shop-list__item {
  padding: 0 10px;
}

.shop-card {
  min-height: 218px;
  margin: 10px 0;
  padding: 26px 24px 24px;
  border: 1px solid #d6d7e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(71, 75, 113, 0.05);
  color: #36374a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.shop-card:hover {
  border-color: #b8bfd8;
  box-shadow: 0 7px 18px rgba(71, 75, 113, 0.11);
  transform: translateY(-2px);
}

.shop-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.shop-card__title {
  margin: 0;
  color: #17182a;
  font-family: "Peyda", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;
  text-decoration: none;
}

a.shop-card__title:hover {
  color: #4e5b92;
  text-decoration: none;
}

.shop-card__status {
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: 3px;
  background: #e7f2eb;
  color: #247343;
  font-family: "Peyda", sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

.shop-card__details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #55586d;
  font-family: "Peyda", sans-serif;
  font-size: 14px;
  line-height: 1.9;
}

.shop-card__detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.shop-card__detail i {
  width: 18px;
  margin-top: 5px;
  color: #7280ad;
  text-align: center;
}

.shop-card__address span {
  overflow-wrap: anywhere;
}

.shop-card__divider {
  margin: 22px 0 17px;
  border: 0;
  border-top: 1px solid #e3e4ec;
}

.shop-card__instagram {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid #d6d7e2;
  border-radius: 5px;
  color: #55586d;
  font-family: "Peyda", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.shop-card__instagram i {
  color: #b04b81;
  font-size: 15px;
}

.shop-card__instagram:hover {
  border-color: #b04b81;
  background-color: #fff7fb;
  color: #8c3565;
  text-decoration: none;
}

#shops-sentinel {
  height: 1px;
}

@media (max-width: 576px) {
  .shop-card {
    min-height: 0;
    padding: 22px 20px;
  }

  .shop-card__header {
    margin-bottom: 20px;
  }
}

/* Search box shared with the Brands page */
.brand-search {
  position: relative;
  width: min(100%, 800px);
  margin: 0 auto 1.5rem;
  direction: rtl;
}

.brand-search__input.form-control {
  width: 100%;
  height: 50px;
  padding: 0 52px 0 18px;

  border: 1px solid #d8d8e1;
  border-radius: 25px !important;

  background: #fbfbff;
  color: #555866;

  font-family: "Peyda", sans-serif;
  font-size: 15px;
  font-weight: 400;
  text-align: right;

  box-shadow: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.brand-search__input.form-control::placeholder {
  color: #777a89;
  opacity: 1;
}

.brand-search__input.form-control:focus {
  border-color: #aeb9db;
  background: #fff;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(174, 185, 219, 0.18);
}

.brand-search__icon {
  position: absolute;
  top: 50%;
  right: 18px;
  z-index: 2;

  color: #b7bfd8;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;

  transform: translateY(-50%);
}

/* Shop categories */
.shop-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;

  width: 100%;
  margin: -0.25rem auto 1.25rem;

  direction: rtl;
  text-align: right;
}

.shop-category {
  display: flex;
  align-items: center;

  min-height: 52px;
  padding: 10px 14px;

  border: 1px solid #e1e2ee;
  border-radius: 12px;

  background: linear-gradient(
    135deg,
    #fbfbff 0%,
    #f4f3ff 100%
  );

  color: #555866;

  font-family: "Peyda", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.shop-category i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;

  width: 30px;
  height: 30px;
  margin-left: 9px;

  border-radius: 50%;

  background-color: #e8e9f7;
  color: #8994bd;

  font-size: 14px;
}

.shop-category:hover {
  border-color: #aeb9db;
  background: #fff;
  box-shadow: 0 5px 14px rgba(111, 122, 170, 0.12);
  transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 768px) {
  .shop-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .brand-search {
    width: calc(100% - 24px);
  }

  .brand-search__input.form-control {
    height: 46px;
    padding-right: 48px;
    font-size: 14px;
  }

  .brand-search__icon {
    right: 17px;
    font-size: 16px;
  }

  .shop-categories {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .shop-category {
    min-height: 48px;
    padding: 9px 12px;
    font-size: 13px;
  }
}
