@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; */

body {
  font-family: "Anjoman", sans-serif;
  font-weight: 400;
  padding-top: 4.5rem;
}

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

.rounded-10{
  border-radius: 10px !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;
}

html,
body {
  height: 100%;
}

.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;
}

.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 */
    }
}