@font-face {
  font-family: IRANSans;
  src: url("../fonts/IRANSans/IRANSansWeb_Light.woff"),
    url("../fonts/IRANSans/IRANSansWeb_Light.woff") format("truetype");
  font-weight: normal;
}

@font-face {
  font-family: Rezvan;
  src: url("../fonts/Rezvan/Rezvan.woff") format("woff"),
    url("../fonts/Rezvan/Rezvan.eot") format("eot");
  font-weight: normal;
  font-style: normal;
}

* {
  direction: rtl;
  text-align: right;
  font-family: IRANSans;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title-line,
.amazing-sidebar-title-modern,
.supermarket-sidebar-title-modern,
.mobile-menu-title,
.cat-title h1,
.sidebar-nav-item-link,
.category-link-modern,
.page-link-modern,
.special-link-modern {
  font-family: Rezvan, IRANSans, sans-serif;
}

/*
 -----------------------------------------------------------------------------------------------------------------------
 public styles
 -----------------------------------------------------------------------------------------------------------------------
*/

body {
  background-color: #f7f7f7;
}

.bg-gray {
  background-color: #404e67;
  color: #dcdcdc;
}

.pointer {
  cursor: pointer;
}

/*
 -----------------------------------------------------------------------------------------------------------------------
  header
 -----------------------------------------------------------------------------------------------------------------------
*/

.header {
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  border-radius: 0 0 1rem 1rem;
}

.top-header {
  border-bottom: 1px solid #e9ecef;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.top-nav {
}

/* start search*/

.search-wrapper {
  position: relative;
  width: 45%;
  min-width: 320px;
  height: 2.5rem;
  cursor: text;
}

@media (max-width: 767.98px) {
  .search-wrapper {
    width: 100%;
    min-width: auto;
    margin: 0 auto;
    max-width: 90%;
  }
}

.search-box {
  position: absolute;
  top: 0;
  width: 100%;
  height: 99%;
  background-color: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 5.5rem;
  z-index: 999;
  transition: all 0.3s ease;
}

.search-box-active {
  background-color: #ffffff;
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  transform: translateY(-1px);
  z-index: 1000;
}

.search-box-active .search-textbox span {
  color: #007bff;
}

.search-textbox {
  border-radius: 0.5rem;
  width: 100%;
  font-size: 0.9rem;
  padding: 0.4rem 0.6rem;
  display: flex;
  justify-content: stretch;
  align-items: center;
  cursor: text;
}

@media (max-width: 767.98px) {
  .search-textbox {
    font-size: 1rem;
    padding: 0.75rem;
    height: 95%;
    bottom: 46%;
  }

  .search-textbox input {
    font-size: 1rem;
    padding: 0.75rem 0;
  }
}

.search-textbox span {
  padding: 0.3rem 0rem 0rem 0.5rem;
  flex-shrink: 1;
  color: #6c757d;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.search-textbox input {
  border: none;
  border-radius: 0.5rem;
  outline: none;
  width: 100%;

  bottom: 30%;
  padding: 0.3rem 0rem;
  background-color: rgba(0, 0, 0, 0);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 0.95rem;
  color: #495057;
  cursor: text;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  pointer-events: auto;
}

.search-textbox input:focus {
  outline: none;
  color: #212529;
  background-color: rgba(255, 255, 255, 0.98);
}

.search-textbox input::placeholder {
  color: #adb5bd;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.search-textbox input:focus::placeholder {
  opacity: 0.6;
}

@media (max-width: 767.98px) {
  .search-textbox input:focus {
    background-color: rgba(255, 255, 255, 0.95);
  }
}

.search-result {
  top: 100%;
  height: 300px;
  padding: 0.5rem;
  overflow: auto;
}

.search-result-title {
  font-size: 0.8rem;
  border-bottom: 1px solid #efefef;
  padding-bottom: 0.4rem;
  margin: 0.5rem 0rem 0.2rem 0rem;
}

.search-result-title .search-result-type {
  color: #0d6efd;
  margin: 0 0.3rem;
}

.search-result-title .search-words {
  color: #000000;
  font-size: 0.6rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0 0.3rem;
}

.search-result-item {
  font-size: 0.8rem;
  padding: 0.4rem;
}

.search-result-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transition: 0.4s;
}

.search-result-item a,
.search-result-item a:hover {
  color: #666666;
  text-decoration: none;
}

.search-result-item .search-no-result {
  color: #999999;
}

/* end search*/

/* start header profile link part */

.profile-button {
  font-size: 1.2rem;
  border: none;
  box-shadow: none;
}

.profile-button:focus,
.profile-button:hover {
  outline: none;
  background-color: #f7f7f7;
  border: none;
  box-shadow: none;
}

.custom-drop-down {
  box-shadow: 0rem 0rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1) !important;
  border-radius: 0.25rem !important;
  border: none !important;
  z-index: 9999 !important;
}

.custom-drop-down .dropdown-item {
  font-size: 0.8rem;
  padding: 0.3rem;
  color: #333333;
}

.custom-drop-down .dropdown-item:first-child {
  color: #424750;
  font-weight: bold;
}

.dropdown-item i {
  padding: 0.2rem 0.5rem 0rem 0.5rem;
  font-size: 1rem;
}

.custom-drop-down .dropdown-item-logout {
  color: #ff6b36;
}

.custom-drop-down .dropdown-item-logout:hover {
  background-color: rgba(255, 107, 54, 0.1);
  color: #ff6b36;
}

.dropdown-item.active,
.dropdown-item:active {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

/* end header profile link part */

/* start cart */

.header-cart-link {
  font-size: 1.2rem;
  border: none;
  box-shadow: none;
}

.header-cart-link span {
  font-size: 0.5rem;
  padding-top: 0.4rem;
}

.header-cart:hover .header-cart-link,
.header-cart-link:focus,
.header-cart-link:hover {
  outline: none;
  background-color: #f7f7f7;
  border: none;
  box-shadow: none;
}

.header-cart-dropdown {
  position: absolute;
  top: 125%;
  left: 0;
  width: 240px;
  max-height: 320px;
  overflow: auto;
  background-color: #ffffff;
  visibility: hidden;
  z-index: 9999;
  padding: 0.3rem;
  font-size: 0.8rem;
}

.header-cart {
}

.header-cart:hover .header-cart-dropdown {
  visibility: visible;
  box-shadow: 0rem 0rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
}

.header-cart-dropdown-body {
  padding: 0.6rem 0.3rem;
}

.header-cart-dropdown-body-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #efefef;
}

.header-cart-dropdown-body-item:last-of-type {
  border: none;
}

.header-cart-dropdown-body-item img {
  max-width: 2rem;
  max-height: 2rem;
  margin-left: 0.4rem;
}

.header-cart-dropdown-footer {
  font-size: 0.7rem;
}

/* end cart */

/*start super nav item*/

.super-navbar-item {
  color: #333;
  font-size: 0.8rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0);
}

.super-navbar-item:hover {
  border-bottom: 2px solid #ff6b36;
  transition: 0.4s;
}

.super-navbar-item-toggle {
  padding: 0.8rem 0rem 0.6rem 0rem;
  font-weight: bold;
}

.sublist-wrapper {
  visibility: hidden;
  top: 120%;
  z-index: 999;
  /*min-height: 20rem;*/
  background-color: #efefef;
  border-radius: 0.25rem;
  box-shadow: 0 7px 8px 0 rgba(0, 0, 0, 0.04);
  box-shadow: 0rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}

.super-navbar-item:hover > .sublist-wrapper {
  visibility: visible;
  top: 100%;
  transition: 0.4s;
}

.sublist-item-toggle {
  width: 14rem;
  border-right: 2px solid rgba(0, 0, 0, 0);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sublist-item-toggle:hover {
  color: #ff6b36;
  background-color: rgba(255, 255, 255, 1);
  border-right: 2px solid #ff6b36;
  font-weight: bold;
  transition: 0.4s;
}

.sublist-item-active > .sublist-item-toggle {
  color: #ff6b36;
  background-color: rgba(255, 255, 255, 1);
  border-right: 2px solid #ff6b36;
  font-weight: bold;
  transition: 0.4s;
}

.sublist-item:first-of-type > .sublist-item-toggle {
  margin-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.sublist-item:last-of-type > .sublist-item-toggle {
  margin-bottom: 1rem;
}

.sublist-item-sublist {
  position: absolute;
  top: -1rem;
  right: 14rem;
  width: Calc(100% - 14rem);
  height: Calc(100% + 2rem);
  z-index: 9999;
  visibility: hidden;
  background-color: rgba(255, 255, 255, 1);
  padding: 0.8rem;
  overflow: hidden;
  border-radius: 0.25rem;
}

.sublist-item-active > .sublist-item-sublist {
  visibility: visible;
}

.sublist-item-sublist-wrapper {
}

.sublist-column {
}

.sub-category {
  display: block;
  text-decoration: none;
  font-weight: bold;
  /*color: #ff0062;*/
  /*color: #330733;*/
  /*color: #ff0062;*/
  /*color: #9f00ff;*/
  color: #000000;
  padding: 0.3rem 0.1rem 0.2rem 0.1rem;
}

.sub-category:hover {
  color: #00b5fe;
  transition: 0.4s;
}

.sub-sub-category {
  font-size: smaller;
  font-weight: bold;
  display: block;
  text-decoration: none;
  padding: 0.1rem;
  color: #888888;
}

.sub-sub-category:hover {
  color: #ff6b36;
  transition: 0.4s;
}

/*
 * navbar item
*/

.navbar-item {
  color: #333;
  font-size: 0.8rem;
}

.navbar-item > a {
  color: #333;
  text-decoration: none;
  padding: 0.8rem 0.6rem 0.6rem 0.6rem;
  display: block;
  border-bottom: 2px solid rgba(0, 0, 0, 0);
  font-weight: bold;
}

.navbar-item > a:hover {
  cursor: pointer;
  border-bottom: 2px solid #ff6b36;
  transition: 0.4s;
}

/*
    Modern Slideshow Styles - Digikala Style
*/

.slideshow-section-modern {
  margin-bottom: 2rem;
  padding: 1rem 0;
}

.slideshow-wrapper-modern {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}

.main-slideshow-modern {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 400px;
  background-color: #f0f0f1;
}

.slideshow-modern {
  position: relative;
  height: 100%;
}

.slideshow-modern .owl-stage-outer,
.slideshow-modern .owl-stage,
.slideshow-modern .owl-item {
  height: 100%;
}

.slideshow-modern .item {
  height: 100%;
}

.slideshow-link-modern {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.slideshow-image-modern {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background-color: #f0f0f1;
}

/* Owl Carousel Navigation */
.slideshow-modern .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

.slideshow-modern .owl-nav button {
  pointer-events: all;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #424750;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slideshow-modern .owl-nav button:hover {
  background-color: #ffffff;
  color: #ff6b36;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slideshow-modern .owl-nav .owl-prev {
  right: 1rem;
}

.slideshow-modern .owl-nav .owl-next {
  left: 1rem;
}

/* Owl Carousel Dots */
#slideshow .owl-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

#slideshow .owl-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  position: relative;
}

#slideshow .owl-dots button span {
  display: none !important;
}

#slideshow .owl-dots button.active {
  background-color: #ffffff;
  width: 24px;
  border-radius: 4px;
}

#slideshow .owl-dots button:focus {
  outline: none;
}

/* Hide owl theme default dots span */
#slideshow.owl-theme .owl-dots .owl-dot span {
  display: none !important;
}

/* Side Banners */
.side-banners-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 200px;
}

.side-banner-item-modern {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 194px;
  flex: 1;
}

.side-banner-item-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.side-banner-link-modern {
  display: block;
  width: 100%;
  height: 100%;
}

.side-banner-image-modern {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 991.98px) {
  .slideshow-wrapper-modern {
    grid-template-columns: 1fr;
  }

  .side-banners-modern {
    flex-direction: row;
    min-width: auto;
  }

  .side-banner-item-modern {
    flex: 1;
  }
}

@media (max-width: 767.98px) {
  .slideshow-section-modern {
    padding: 0.5rem 0;
    margin-bottom: 1rem;
  }

  .main-slideshow-modern {
    height: 250px;
  }

  .side-banner-item-modern {
    height: 120px;
  }

  .slideshow-modern .owl-nav button {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .slideshow-modern .owl-nav {
    padding: 0 0.5rem;
  }

  .slideshow-modern .owl-nav .owl-prev {
    right: 0.5rem;
  }

  .slideshow-modern .owl-nav .owl-next {
    left: 0.5rem;
  }

  #slideshow .owl-dots {
    bottom: 0.5rem;
  }

  #slideshow .owl-dots button {
    width: 6px;
    height: 6px;
  }

  #slideshow .owl-dots button.active {
    width: 20px;
  }
}

/*
    start lazy load
*/

.light-owl-nav .owl-nav .owl-prev {
  right: 0;
  position: absolute;
  top: Calc(50% - 2rem);
  width: 2rem;
  height: 4rem;
  text-align: center;
  font-size: 3rem !important;
  background-color: rgba(255, 255, 255, 0.6) !important;
  color: #000000 !important;
  box-shadow: 0rem 0rem 0.2rem 0.1rem rgba(0, 0, 0, 0.2) !important;
  margin: 0 auto;
  transition: 0.4s;
}

.light-owl-nav .owl-nav .owl-next {
  left: 0;
  position: absolute;
  top: Calc(50% - 2rem);
  width: 2rem;
  height: 4rem;
  text-align: center;
  font-size: 3rem !important;
  background-color: rgba(255, 255, 255, 0.6) !important;
  color: #000000 !important;
  box-shadow: 0rem 0rem 0.2rem 0.1rem rgba(0, 0, 0, 0.2) !important;
  margin: 0 auto;
  transition: 0.4s;
}

.light-owl-nav .owl-nav .owl-prev:hover,
.light-owl-nav .owl-nav .owl-next:hover {
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0rem 0rem 0.2rem 0.1rem rgba(0, 0, 0, 0.4) !important;
}

.dark-owl-nav .owl-nav .owl-prev {
  right: 0;
  position: absolute;
  top: Calc(50% - 2rem);
  width: 2rem;
  height: 4rem;
  text-align: center;
  font-size: 3rem !important;
  background-color: rgba(0, 0, 0, 0.4) !important;
  color: #ffffff !important;
  box-shadow: 0rem 0rem 0.2rem 0.1rem rgba(0, 0, 0, 0.2) !important;
  margin: 0 auto;
  transition: 0.4s;
}

.dark-owl-nav .owl-nav .owl-next {
  left: 0;
  position: absolute;
  top: Calc(50% - 2rem);
  width: 2rem;
  height: 4rem;
  text-align: center;
  font-size: 3rem !important;
  background-color: rgba(0, 0, 0, 0.4) !important;
  color: #ffffff !important;
  box-shadow: 0rem 0rem 0.2rem 0.1rem rgba(0, 0, 0, 0.2) !important;
  margin: 0 auto;
  transition: 0.4s;
}

.dark-owl-nav .owl-nav .owl-prev:hover,
.dark-owl-nav .owl-nav .owl-next:hover {
  background-color: rgba(0, 0, 0, 0.95) !important;
  box-shadow: 0rem 0rem 0.2rem 0.1rem rgba(0, 0, 0, 0.4) !important;
  transition: 0.4s;
}

.content-wrapper {
  box-shadow: 0rem 0rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
  width: 100%;
}

.lazyload-wrapper {
}

.lazyload {
  padding: 1rem 0rem 0rem 0rem;
}

.lazyload-item-wrapper {
  padding: 1rem;
  height: 100% !important;
}

/*
 -----------------------------------------------------------------------------------------------------------------------
  Amazing Products Section - Digikala Style
 -----------------------------------------------------------------------------------------------------------------------
*/

.amazing-products-section-modern {
  margin-bottom: 2rem;
  padding: 0;
}

.amazing-products-wrapper-modern {
  background: #ff6b36;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.amazing-products-content-modern {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
}

.amazing-products-carousel-wrapper-modern {
  position: relative;
  padding: 0.5rem;
  background-color: transparent;
  display: flex;
  align-items: center;
  min-height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.amazing-products-carousel-wrapper-modern::-webkit-scrollbar {
  height: 6px;
}

.amazing-products-carousel-wrapper-modern::-webkit-scrollbar-track {
  background: transparent;
}

.amazing-products-carousel-wrapper-modern::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.amazing-products-carousel-wrapper-modern::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.amazing-products-carousel-modern {
  position: relative;
}

/* Mobile scroll mode */
@media (max-width: 767.98px) {
  .amazing-products-carousel-wrapper-modern {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    direction: rtl;
  }

  .amazing-products-carousel-wrapper-modern::-webkit-scrollbar {
    height: 6px;
  }

  .amazing-products-carousel-wrapper-modern::-webkit-scrollbar-track {
    background: transparent;
  }

  .amazing-products-carousel-wrapper-modern::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }

  .amazing-products-carousel-wrapper-modern::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
  }

  .amazing-products-carousel-modern {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    width: max-content;
    flex-wrap: nowrap;
    direction: rtl;
  }

  .amazing-products-carousel-modern.owl-carousel {
    display: flex !important;
  }
}

.amazing-product-card-modern {
  background-color: #ffffff;
  border: none;
  border-radius: 2px;
  padding: 0.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  margin: 0 0.125rem;
  text-align: center;
}

@media (max-width: 767.98px) {
  .amazing-product-card-modern {
    flex-shrink: 0;
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    margin: 0;
  }
}

.amazing-product-card-modern:hover {
  box-shadow: none;
  border: none;
}

.amazing-product-discount-badge-modern {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: linear-gradient(135deg, #ff6b36 0%, #ff6b36 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(255, 107, 54, 0.3);
}

.amazing-product-favorite-modern {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 32px;
  height: 32px;
  border: none;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.amazing-product-favorite-modern:hover {
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.amazing-product-favorite-modern i {
  color: #81858b;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.amazing-product-favorite-modern:hover i,
.amazing-product-favorite-modern.active i {
  color: #ff6b36;
}

.amazing-product-image-link-modern {
  display: block;
  text-decoration: none;
  margin-bottom: 1rem;
}

.amazing-product-image-wrapper-modern {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.25rem;
  padding: 0.25rem;
}

.amazing-product-image-modern {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.amazing-product-card-modern:hover .amazing-product-image-modern {
  transform: scale(1.05);
}

.amazing-product-info-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.amazing-product-name-modern {
  font-size: 0.875rem;
  font-weight: bold;
  color: #424750;
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 0.25rem;
  height: 1.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s ease;
  text-align: right;
}

.amazing-product-name-modern:hover {
  color: #19bfd3;
}

.amazing-product-price-modern {
  margin-top: auto;
  text-align: left;
}

.amazing-product-final-price-modern {
  font-size: 0.875rem;
  font-weight: bold;
  color: #424750;
  margin-bottom: 0.125rem;
  display: block;
  text-align: left;
}

.amazing-product-old-price-modern {
  font-size: 0.75rem;
  color: #81858b;
  text-decoration: line-through;
  display: block;
  text-align: left;
}

.amazing-product-price-row-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

.amazing-product-discount-percent-modern {
  font-size: 0.75rem;
  font-weight: bold;
  color: #ffffff;
  background-color: #ff6b36;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
}

/* Red Sidebar */
.amazing-products-sidebar-modern {
  background: #ff6b36;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.25rem;
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.amazing-sidebar-content-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 100%;
  position: relative;
  z-index: 2;
}

.amazing-sidebar-title-modern {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
  text-align: center;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: stretch;
  font-family: IRANSans, sans-serif;
  letter-spacing: 0.1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.amazing-sidebar-title-modern .title-line {
  display: block;
  white-space: nowrap;
  width: 100%;
  text-align: center;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.amazing-sidebar-timer-modern {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
}

.timer-display-modern {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: bold;
  color: #000000;
  font-family: IRANSans, sans-serif;
  direction: rtl;
  flex-direction: row-reverse;
}

.timer-hours-modern,
.timer-minutes-modern,
.timer-seconds-modern {
  background-color: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  min-width: auto;
  text-align: center;
  color: #000000;
}

.timer-separator-modern {
  color: #ffffff;
  font-weight: bold;
  font-size: 0.875rem;
}

.amazing-sidebar-icon-modern {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-radius: 0;
  margin: 0;
  margin-top: 0.75rem;
}

.percent-icon-modern {
  position: relative;
  display: inline-block;
  font-size: 3rem;
  font-weight: bold;
  color: #ffffff;
  line-height: 1;
}

.percent-icon-modern .percent-symbol {
  position: relative;
  z-index: 2;
}

.amazing-sidebar-button-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: bold;
  transition: all 0.3s ease;
  width: auto;
  max-width: none;
}

.amazing-sidebar-button-modern:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.amazing-sidebar-button-modern .button-arrow {
  font-size: 1rem;
}

/* Carousel Navigation - Hidden */
.amazing-products-carousel-modern .owl-nav {
  display: none !important;
}

/* Supermarket Products Section - Green Theme */
.supermarket-products-section-modern {
  margin-bottom: 2rem;
  padding: 0;
}

.supermarket-products-wrapper-modern {
  background: #81bd39;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.supermarket-products-content-modern {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
}

.supermarket-products-carousel-wrapper-modern {
  position: relative;
  padding: 0.5rem;
  background-color: transparent;
  display: flex;
  align-items: center;
  min-height: 100%;
}

.supermarket-products-carousel-modern {
  position: relative;
}

/* Mobile scroll mode */
@media (max-width: 767.98px) {
  .supermarket-products-carousel-wrapper-modern {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    direction: rtl;
  }

  .supermarket-products-carousel-wrapper-modern::-webkit-scrollbar {
    height: 6px;
  }

  .supermarket-products-carousel-wrapper-modern::-webkit-scrollbar-track {
    background: transparent;
  }

  .supermarket-products-carousel-wrapper-modern::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }

  .supermarket-products-carousel-wrapper-modern::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
  }

  .supermarket-products-carousel-modern {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    width: max-content;
    flex-wrap: nowrap;
    direction: rtl;
  }

  .supermarket-products-carousel-modern.owl-carousel {
    display: flex !important;
  }
}

.supermarket-product-card-modern {
  background-color: #ffffff;
  border: none;
  border-radius: 2px;
  padding: 0.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  margin: 0 0.125rem;
  text-align: center;
}

@media (max-width: 767.98px) {
  .supermarket-product-card-modern {
    flex-shrink: 0;
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    margin: 0;
  }
}

.supermarket-product-card-modern:hover {
  box-shadow: none;
  border: none;
}

.supermarket-product-image-link-modern {
  display: block;
  text-decoration: none;
  margin-bottom: 1rem;
}

.supermarket-product-image-wrapper-modern {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.25rem;
  padding: 0.25rem;
}

.supermarket-product-image-modern {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.supermarket-product-card-modern:hover .supermarket-product-image-modern {
  transform: scale(1.05);
}

.supermarket-product-info-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.supermarket-product-name-modern {
  font-size: 0.875rem;
  font-weight: bold;
  color: #424750;
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 0.25rem;
  height: 1.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s ease;
  text-align: right;
}

.supermarket-product-name-modern:hover {
  color: #19bfd3;
}

.supermarket-product-price-modern {
  margin-top: auto;
  text-align: left;
}

.supermarket-product-final-price-modern {
  font-size: 0.875rem;
  font-weight: bold;
  color: #424750;
  margin-bottom: 0.125rem;
  display: block;
  text-align: left;
}

/* Green Sidebar */
.supermarket-products-sidebar-modern {
  background: #81bd39;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.25rem;
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.supermarket-sidebar-content-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 100%;
  position: relative;
  z-index: 2;
}

.supermarket-sidebar-title-modern {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
  text-align: center;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: stretch;
  font-family: IRANSans, sans-serif;
  letter-spacing: 0.1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.supermarket-sidebar-title-modern .title-line {
  display: block;
  white-space: nowrap;
  width: 100%;
  text-align: center;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.supermarket-sidebar-icon-modern {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-radius: 0;
  margin: 0;
  margin-top: 0.75rem;
}

.supermarket-icon-modern {
  position: relative;
  display: inline-block;
  font-size: 3rem;
  font-weight: bold;
  color: #ffffff;
  line-height: 1;
}

.supermarket-icon-modern i {
  font-size: 3rem;
}

.supermarket-sidebar-button-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: bold;
  transition: all 0.3s ease;
  width: auto;
  max-width: none;
}

.supermarket-sidebar-button-modern:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.supermarket-sidebar-button-modern .button-arrow {
  font-size: 1rem;
}

/* Carousel Navigation - Hidden */
.supermarket-products-carousel-modern .owl-nav {
  display: none !important;
}

/* Mobile Sidebar Styles */
.supermarket-products-sidebar-mobile {
  display: none;
}

@media (min-width: 768px) {
  .supermarket-products-sidebar-mobile {
    display: none !important;
  }
}

/* Responsive */
@media (max-width: 1399.98px) {
  .supermarket-products-content-modern {
    grid-template-columns: 1fr 200px;
  }

  .supermarket-products-carousel-wrapper-modern {
    padding: 0.5rem;
  }
}

@media (max-width: 1199.98px) {
  .supermarket-products-content-modern {
    grid-template-columns: 1fr 180px;
  }

  .supermarket-products-carousel-wrapper-modern {
    padding: 0.5rem;
  }
}

@media (max-width: 991.98px) {
  .supermarket-products-content-modern {
    grid-template-columns: 1fr 160px;
  }

  .supermarket-products-carousel-wrapper-modern {
    padding: 0.5rem;
  }

  .supermarket-product-image-wrapper-modern {
    height: 120px;
  }

  .supermarket-sidebar-title-modern {
    font-size: 1.125rem;
  }

  .supermarket-sidebar-icon-modern {
    width: auto;
    height: auto;
  }

  .supermarket-icon-modern {
    font-size: 2.5rem;
  }

  .supermarket-icon-modern i {
    font-size: 2.5rem;
  }

  .supermarket-sidebar-button-modern {
    font-size: 0.8125rem;
    padding: 0.25rem 0.625rem;
  }
}

@media (max-width: 767.98px) {
  .supermarket-products-section-modern {
    padding: 0.5rem 0;
    margin-bottom: 1rem;
  }

  .supermarket-products-wrapper-modern {
    border-radius: 8px;
  }

  .supermarket-products-content-modern {
    grid-template-columns: 1fr;
  }

  /* Hide Desktop Sidebar */
  .supermarket-products-sidebar-modern {
    display: none !important;
  }

  /* Show Mobile Sidebar */
  .supermarket-products-sidebar-mobile {
    display: block;
    background: #81bd39;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .supermarket-sidebar-content-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }

  .supermarket-sidebar-title-mobile {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    text-align: center;
  }

  .supermarket-sidebar-icon-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .supermarket-icon-mobile {
    font-size: 2rem;
    color: #ffffff;
  }

  .supermarket-icon-mobile i {
    font-size: 2rem;
  }

  .supermarket-sidebar-button-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .supermarket-sidebar-button-mobile:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
  }

  .supermarket-sidebar-button-mobile .button-arrow-mobile {
    font-size: 1rem;
  }

  .supermarket-products-carousel-wrapper-modern {
    padding: 0.5rem;
    min-height: auto;
  }

  .supermarket-product-image-wrapper-modern {
    height: 120px;
  }

  .supermarket-product-card-modern {
    padding: 0.375rem;
  }

  .supermarket-product-name-modern {
    font-size: 0.8125rem;
  }

  .supermarket-product-final-price-modern {
    font-size: 0.8125rem;
  }
}

@media (max-width: 575.98px) {
  .supermarket-products-section-modern {
    padding: 0.25rem 0;
  }

  .supermarket-products-sidebar-mobile {
    padding: 0.75rem;
  }

  .supermarket-sidebar-content-mobile {
    gap: 1rem;
  }

  .supermarket-sidebar-title-mobile {
    font-size: 1.7rem;
    font-weight: bold;
  }

  .supermarket-sidebar-button-mobile {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .supermarket-products-carousel-wrapper-modern {
    padding: 0.5rem;
  }

  .supermarket-product-image-wrapper-modern {
    height: 100px;
  }

  .supermarket-product-card-modern {
    padding: 0.5rem;
  }

  .supermarket-product-name-modern {
    font-size: 1rem;
    height: 1.3rem;
  }

  .supermarket-product-final-price-modern {
    font-size: 1rem;
  }
}

/* Responsive */
@media (max-width: 1399.98px) {
  .amazing-products-content-modern {
    grid-template-columns: 1fr 200px;
  }

  .amazing-products-carousel-wrapper-modern {
    padding: 0.5rem;
  }
}

@media (max-width: 1199.98px) {
  .amazing-products-content-modern {
    grid-template-columns: 1fr 180px;
  }

  .amazing-products-carousel-wrapper-modern {
    padding: 0.5rem;
  }
}

@media (max-width: 991.98px) {
  .amazing-products-content-modern {
    grid-template-columns: 1fr 160px;
  }

  .amazing-products-carousel-wrapper-modern {
    padding: 0.5rem;
  }

  .amazing-product-image-wrapper-modern {
    height: 120px;
  }

  .amazing-sidebar-title-modern {
    font-size: 1.125rem;
  }

  .amazing-sidebar-icon-modern {
    width: auto;
    height: auto;
  }

  .percent-icon-modern {
    font-size: 2.5rem;
  }

  .amazing-sidebar-button-modern {
    font-size: 0.8125rem;
    padding: 0.25rem 0.625rem;
  }
}

/* Mobile Sidebar Styles */
.amazing-products-sidebar-mobile {
  display: none;
}

@media (min-width: 768px) {
  .amazing-products-sidebar-mobile {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .amazing-products-section-modern {
    padding: 0.5rem 0;
    margin-bottom: 1rem;
  }

  .amazing-products-wrapper-modern {
    border-radius: 8px;
  }

  .amazing-products-content-modern {
    grid-template-columns: 1fr;
  }

  /* Hide Desktop Sidebar */
  .amazing-products-sidebar-modern {
    display: none !important;
  }

  /* Show Mobile Sidebar */
  .amazing-products-sidebar-mobile {
    display: block;
    background: #ff6b36;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .amazing-sidebar-content-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }

  .amazing-sidebar-title-mobile {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    text-align: center;
  }

  .amazing-sidebar-timer-mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .timer-display-mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: bold;
    color: #000000;
    font-family: IRANSans, sans-serif;
    direction: rtl;
    flex-direction: row-reverse;
  }

  .timer-hours-mobile,
  .timer-minutes-mobile,
  .timer-seconds-mobile {
    background-color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    min-width: auto;
    text-align: center;
    color: #000000;
  }

  .timer-separator-mobile {
    color: #ffffff;
    font-weight: bold;
    font-size: 0.875rem;
  }

  .amazing-sidebar-icon-mobile {
    display: none;
  }

  .amazing-sidebar-button-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .amazing-sidebar-button-mobile:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
  }

  .amazing-sidebar-button-mobile .button-arrow-mobile {
    font-size: 1rem;
  }

  .amazing-sidebar-title-modern {
    font-size: 1rem;
    flex-direction: row;
    gap: 0.25rem;
    order: 1;
    width: auto;
  }

  .amazing-sidebar-title-modern .title-line {
    display: inline;
    white-space: normal;
    padding: 0;
  }

  .amazing-sidebar-timer-modern {
    order: 2;
  }

  .amazing-sidebar-icon-modern {
    order: 3;
    margin: 0;
    margin-top: 0;
  }

  .percent-icon-modern {
    font-size: 2rem;
  }

  .amazing-sidebar-button-modern {
    order: 4;
    width: auto;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }

  .amazing-products-carousel-wrapper-modern {
    padding: 0.5rem;
    min-height: auto;
  }

  .amazing-product-image-wrapper-modern {
    height: 120px;
  }

  .amazing-product-card-modern {
    padding: 0.375rem;
  }

  .amazing-product-name-modern {
    font-size: 0.8125rem;
  }

  .amazing-product-final-price-modern {
    font-size: 0.8125rem;
  }

  .amazing-product-old-price-modern {
    font-size: 0.6875rem;
  }
}

@media (max-width: 575.98px) {
  .amazing-products-section-modern {
    padding: 0.25rem 0;
  }

  .amazing-products-sidebar-mobile {
    padding: 0.75rem;
  }

  .amazing-sidebar-content-mobile {
    gap: 1rem;
  }

  .amazing-sidebar-title-mobile {
    font-size: 1.7rem;
    font-weight: bold;
  }

  .timer-display-mobile {
    font-size: 1rem;
    gap: 0.375rem;
  }

  .timer-hours-mobile,
  .timer-minutes-mobile,
  .timer-seconds-mobile {
    padding: 0.375rem 0.625rem;
    font-size: 1rem;
  }

  .timer-separator-mobile {
    font-size: 1rem;
  }

  .amazing-sidebar-button-mobile {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .amazing-products-carousel-wrapper-modern {
    padding: 0.5rem;
  }

  .amazing-product-image-wrapper-modern {
    height: 100px;
  }

  .amazing-product-card-modern {
    padding: 0.5rem;
  }

  .amazing-product-name-modern {
    font-size: 1rem;
    height: 1.3rem;
  }

  .amazing-product-final-price-modern {
    font-size: 1rem;
  }

  .amazing-product-old-price-modern {
    font-size: 0.875rem;
  }

  .amazing-product-discount-badge-modern {
    font-size: 0.9375rem;
    padding: 0.125rem 0.375rem;
    top: 0.25rem;
    right: 0.25rem;
  }
}

/*
    start brand lazy load
*/

.brand-part {
  background-color: #ffffff;
}

.brand-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.brand-item img {
  max-width: 8rem !important;
}

/*
 *----------------------------------------------------------------------------------------------------------------------
 * header content
 *----------------------------------------------------------------------------------------------------------------------
 */

.content-header {
  border-bottom: 1px solid #efefef;
}

.content-header-title {
  font-size: 1rem;
  font-weight: bold;
}

.content-header-title-small {
  font-size: 0.8rem;
}

.content-header-title span {
  border-bottom: 2px solid #ff6b36;
  padding: 0.3rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.content-header-link * {
  text-decoration: none;
  color: #666666;
}

.content-header-link a:hover {
  text-decoration: none;
  color: #ff6b36;
  transition: 0.4s;
}

.field-title {
  font-size: 0.875rem;
  color: #666;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.field-value {
  font-size: 0.9375rem;
  color: #212529;
  font-weight: 500;
}

.profile-submit-btn {
  background-color: #ff6b36;
  color: #fff;
  border-color: #ff6b36;
}

.profile-submit-btn:hover {
  background-color: #e55a2b;
  border-color: #e55a2b;
  color: #fff;
}

/*
 *----------------------------------------------------------------------------------------------------------------------
 * product
 *----------------------------------------------------------------------------------------------------------------------
 */

.product-wrapper {
}

.filters span {
  font-size: 0.8rem;
}

.filters .badge {
  font-size: smaller;
  padding-top: 0.4rem;
}

.sort {
}

.sort .btn {
  font-size: 0.8rem;
}

.sort span {
  font-size: 0.8rem;
}

.main-product-wrapper > section {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #efefef;
  border-right: 1px solid #efefef;
  border: 1px solid #efefef;
}

/* Modern Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.page-item {
  margin: 0;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #424750;
  background-color: #ffffff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.page-link:hover {
  border-color: #ff6b36;
  color: #ff6b36;
  background-color: #fff5f2;
}

.page-item.active .page-link {
  background-color: #ff6b36;
  border-color: #ff6b36;
  color: #ffffff;
}

.page-item.active .page-link:hover {
  background-color: #ff8c5a;
  border-color: #ff8c5a;
  color: #ffffff;
}

.page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f0f0f1;
  border-color: #e0e0e0;
  color: #81858b;
}

.page-item.disabled .page-link:hover {
  border-color: #e0e0e0;
  color: #81858b;
  background-color: #f0f0f1;
}

/* Pagination wrapper */
.products-pagination-wrapper-modern {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
  gap: 1rem;
}

/* Pagination */
.pagination-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.pagination-list-modern {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
  direction: rtl;
}

.page-item-modern {
  margin: 0;
}

.page-link-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0.25rem 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #424750;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.page-link-modern:hover {
  background-color: #f0f0f1;
  border-color: #ff6b36;
  color: #ff6b36;
}

.page-item-modern.active .page-link-modern {
  background-color: #ff6b36;
  border-color: #ff6b36;
  color: #ffffff;
}

.page-item-modern.active .page-link-modern:hover {
  background-color: #ff8c5a;
  border-color: #ff8c5a;
}

.page-item-modern.disabled .page-link-modern {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f8f9fa;
  color: #81858b;
}

.page-link-modern i {
  font-size: 0.875rem;
}

.pagination-info-modern {
  text-align: center;
}

.pagination-text-modern {
  font-size: 0.875rem;
  color: #81858b;
  margin: 0;
}

@media (max-width: 767.98px) {
  .pagination-modern {
    gap: 0.75rem;
  }

  .pagination-list-modern {
    gap: 0.25rem;
  }

  .page-link-modern {
    min-width: 32px;
    height: 32px;
    padding: 0.25rem 0.5rem;
    font-size: 0.8125rem;
  }
}

/* Responsive */
@media (max-width: 767.98px) {
  .pagination {
    gap: 0.25rem;
  }

  .page-link {
    min-width: 36px;
    height: 36px;
    padding: 0.375rem 0.5rem;
    font-size: 0.8125rem;
  }
}

.product {
  height: 100%;
  position: relative;
  border-radius: 0.25rem;
  background-color: #ffffff;
  transition: 0.4s;
}

.product:hover {
  z-index: 99;
  box-shadow: 0rem 0rem 0.4rem 0.1rem rgba(0, 0, 0, 0.1);
  transition: 0.4s;
}

.product-link {
  text-decoration: none;
  display: block;
  color: #000000;
  /* padding: 0.6rem; */
}

.product-link:hover {
  color: #000000;
}

.product-image {
  display: flex;
  justify-content: center;
  justify-items: center;
  max-height: 170px;
  overflow: hidden;
  margin-bottom: 1rem;
  padding: 0rem;
}

.product-image img {
  display: block;
  width: 100%;
  max-width: 240px;
  border-radius: 0.25rem;
}

.product-colors {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.2rem;
}

.product-colors-item {
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  margin-bottom: 0.2rem;
  border-radius: 50%;
  border: 1px solid #dedede;
}

.product-name {
  /*text-align: center;*/
  padding: 0rem;
  margin-bottom: 1rem;
  line-height: 1.5rem;
  height: 3rem;
  overflow: hidden;
}

.product-name * {
  font-size: 0.8rem;
  text-decoration: none;
  line-height: 1.5rem;
}

.product-price-wrapper {
  height: 3.2rem;
  justify-items: center;
}

.product-price {
  padding: 0rem;
  font-size: 0.8rem;
  text-align: left;
}

.product-discount {
  padding: 0rem;
  text-align: left;
  margin-bottom: 0.4rem;
}

.product-discount-amount {
  font-size: 0.7rem;
  font-weight: bold;
  color: #ffffff;
  background-color: #ff6b36;
  padding: 0.4rem 0.2rem 0.2rem 0.4rem;
  margin: 0rem 0.4rem 0rem 0rem;
  border-radius: 0.25rem;
}

.product-old-price {
  text-decoration: line-through;
  font-size: 0.7rem;
  color: #888888;
  padding: 0.2rem;
}

.product-add-to-cart {
  position: absolute;
  top: 0.4rem;
  left: 0;
  padding: 0.2rem;
}

.product-add-to-cart a {
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.4rem 0rem 0.4rem;
  color: rgba(0, 0, 0, 1);
  box-shadow: 0rem 0rem 0.4rem 0.1rem rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  transition: 0.4s;
}

.product-add-to-cart-active,
.product-add-to-cart a:hover {
  background-color: rgba(255, 255, 255, 1) !important;
  color: #ff6b36 !important;
  text-decoration: none;
  transition: 0.4s;
}

.product-add-to-favorite {
  position: absolute;
  top: 2.6rem;
  left: 0;
  padding: 0.2rem;
}

.product-add-to-favorite a {
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.4rem 0rem 0.4rem;
  color: rgba(0, 0, 0, 1);
  box-shadow: 0rem 0rem 0.4rem 0.1rem rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  transition: 0.4s;
}

.product-add-to-favorite-active,
.product-add-to-favorite a:hover {
  background-color: rgba(255, 255, 255, 1) !important;
  color: #ff6b36 !important;
  text-decoration: none;
  transition: 0.4s;
}

/*
 *----------------------------------------------------------------------------------------------------------------------
 * footer - Modern Minimal Design
 *----------------------------------------------------------------------------------------------------------------------
 */

.footer-modern {
  background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.footer-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 54, 0.3),
    transparent
  );
}

/* Features Section */
.footer-features {
  background-color: rgba(255, 255, 255, 0.03);
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  align-items: center;
}

.footer-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer-feature-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.footer-feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 54, 0.2),
    rgba(255, 107, 54, 0.1)
  );
  border-radius: 50%;
  color: #ff6b36;
  font-size: 1.5rem;
  border: 2px solid rgba(255, 107, 54, 0.3);
  transition: all 0.3s ease;
}

.footer-feature-item:hover .footer-feature-icon {
  background: linear-gradient(135deg, #ff6b36, #ff8c5a);
  color: #ffffff;
  border-color: #ff6b36;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 16px rgba(255, 107, 54, 0.4);
}

.footer-feature-text {
  font-size: 0.875rem;
  color: #e0e0e0;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-feature-item:hover .footer-feature-text {
  color: #ffffff;
}

/* Main Footer Content */
.footer-main {
  padding: 3.5rem 0;
  position: relative;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
  margin-bottom: 0.75rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #ff6b36, transparent);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-right: 0;
}

.footer-links a::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background-color: #ff6b36;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-right: 1rem;
}

.footer-links a:hover::before {
  width: 6px;
}

/* Social Media */
.footer-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #b0b0b0;
  text-decoration: none;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: linear-gradient(135deg, #ff6b36, #ff8c5a);
  color: #ffffff;
  border-color: #ff6b36;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 12px rgba(255, 107, 54, 0.4);
}

/* Copyright */
.footer-copyright {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer-copyright-content {
  text-align: center;
}

.footer-copyright-content p {
  margin: 0;
  font-size: 0.8125rem;
  color: #b0b0b0;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 991.98px) {
  .footer-features-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }

  .footer-content-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
  }

  .footer-main {
    padding: 2.5rem 0;
  }
}

@media (max-width: 767.98px) {
  .footer-modern {
    margin-top: 3rem;
  }

  .footer-features {
    padding: 2rem 0;
  }

  .footer-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }

  .footer-feature-text {
    font-size: 0.8125rem;
  }

  .footer-main {
    padding: 2rem 0;
  }

  .footer-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .footer-features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-feature-item {
    flex-direction: row;
    text-align: right;
    justify-content: flex-start;
    padding: 0.75rem;
  }

  .footer-feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }

  .footer-feature-text {
    font-size: 0.8125rem;
  }

  .footer-title {
    font-size: 1rem;
  }

  .footer-links a {
    font-size: 0.8125rem;
  }
}

/* Legacy Footer Styles (for backward compatibility) */
.footer {
  background-color: #ffffff;
  color: #424750;
  border-top: 1px solid #e0e0e0;
}

.footer-shop-features {
  padding-bottom: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
  padding-top: 1rem;
}

.footer-shop-features-item {
  text-align: center;
  color: #424750;
  margin-bottom: 1rem;
  padding: 0.5rem;
}

.footer-shop-features-item img {
  height: 4rem;
  margin-bottom: 0.5rem;
}

.footer-shop-features-item section {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #424750;
  font-weight: 500;
}

.footer-intro {
  line-height: 1.8rem;
  font-size: 0.85rem;
  color: #81858b;
  text-align: justify;
  margin-top: 1rem;
}

.text-dar {
  color: #424750;
}

/*
 *----------------------------------------------------------------------------------------------------------------------
 * category section
 *----------------------------------------------------------------------------------------------------------------------
 */

.category {
  background-color: #ffffff;
  padding: 4rem 0;
}

.cat-title h1 {
  font-weight: bold;
  color: #000000;
  margin-bottom: 1rem;
}

.owl-next i,
.owl-prev i {
  font-size: 30px !important;
}

/* Center owl navigation arrows perfectly */
.owl-nav .owl-prev,
.owl-nav .owl-next {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Ensure the icons are centered within the buttons */
.owl-nav .owl-prev i,
.owl-nav .owl-next i {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

.cat-title .active-color {
  color: #ff6b36 !important;
}

.footer a.active-color {
  color: #ff6b36 !important;
}

.cat-title p {
  font-size: 1rem;
  color: #000000;
  margin-bottom: 3rem;
}

.cat-content {
  margin-bottom: 2rem;
}

.cat-content a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.cat-content {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.cat-content img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cat-content:hover {
  transform: scale(1.1);
}

.cat-name {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  margin-top: 1rem;
  text-align: center;
}

.cat-name a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cat-name a:hover {
  color: #ff6b36;
}

@media (max-width: 991.98px) {
  .cat-content {
    width: 150px;
    height: 150px;
  }

  .cat-content img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
  }
}

@media (max-width: 767.98px) {
  .owl-next i,
  .owl-prev i {
    font-size: 24px !important;
  }

  .cat-title p {
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
  }

  .cat-content {
    width: 120px;
    height: 120px;
  }

  .cat-content img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
  }

  .cat-name {
    font-size: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  .owl-next i,
  .owl-prev i {
    font-size: 20px !important;
  }

  .cat-title p {
    font-size: 0.8rem;
    margin-bottom: 2rem;
  }

  .cat-content {
    width: 100px;
    height: 100px;
  }

  .cat-content img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
  }

  .cat-name {
    font-size: 0.8rem;
  }
}

/* Ultra Modern Categories Section */
.categories-ultra-modern {
  padding: 5rem 0;
  margin: 3rem 0;
  background: #fafafa;
  position: relative;
}

.categories-ultra-wrapper {
  max-width: 100%;
}

.categories-ultra-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.header-text-group {
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
}

.categories-ultra-title {
  margin: 0;
  font-size: 4rem;
  font-weight: 700;
  color: #1a1a1a;
  font-family: Rezvan, sans-serif !important;
}

.brand-name {
  display: inline;
  font-family: Rezvan, sans-serif !important;
}

.brand-accent {
  color: #ff6b36;
  margin-right: 0.25rem;
  font-family: Rezvan, sans-serif !important;
}

.categories-ultra-subtitle {
  font-size: 0.875rem;
  font-weight: 400;
  color: #666;
  margin: 0;
  letter-spacing: 0.5px;
}

.categories-ultra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.category-ultra-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e8e8e8;
}

.category-ultra-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #ff6b36;
}

.category-ultra-visual {
  position: relative;
  width: 100%;
  padding-top: 75%;
  background: #fafafa;
  overflow: hidden;
}

.category-ultra-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.category-ultra-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.15);
}

.category-ultra-card:hover .category-ultra-image {
  transform: scale(1.25);
}

.category-ultra-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 54, 0) 0%,
    rgba(255, 107, 54, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-ultra-card:hover .category-ultra-overlay {
  opacity: 1;
}

.category-ultra-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  color: #ff6b36;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-ultra-card:hover .category-ultra-icon {
  transform: scale(1);
}

.category-ultra-icon svg {
  width: 24px;
  height: 24px;
}

.category-ultra-info {
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.category-ultra-name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  transition: color 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.category-ultra-card:hover .category-ultra-name {
  color: #ff6b36;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .categories-ultra-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.75rem;
  }

  .categories-ultra-title {
    font-size: 3.5rem;
  }

  .category-ultra-name {
    font-size: 1.0625rem;
  }
}

@media (max-width: 991.98px) {
  .categories-ultra-modern {
    padding: 4rem 0;
  }

  .categories-ultra-title {
    font-size: 3rem;
  }

  .categories-ultra-header {
    margin-bottom: 3rem;
  }

  .categories-ultra-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
  }

  .category-ultra-name {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .categories-ultra-modern {
    padding: 3rem 0;
    margin: 2rem 0;
  }

  .categories-ultra-title {
    font-size: 2.5rem;
  }

  .categories-ultra-subtitle {
    font-size: 0.8125rem;
  }

  .categories-ultra-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .category-ultra-visual {
    padding-top: 80%;
  }

  .category-ultra-image-wrapper {
    padding: 1rem;
  }

  .category-ultra-info {
    padding: 1.25rem 1rem;
  }

  .category-ultra-name {
    font-size: 0.9375rem;
  }

  .category-ultra-icon {
    width: 48px;
    height: 48px;
  }

  .category-ultra-icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 575.98px) {
  .categories-ultra-modern {
    padding: 2.5rem 0;
  }

  .categories-ultra-title {
    font-size: 2rem;
  }

  .categories-ultra-subtitle {
    font-size: 0.75rem;
  }

  .categories-ultra-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .category-ultra-visual {
    padding-top: 85%;
  }

  .category-ultra-image-wrapper {
    padding: 0.875rem;
  }

  .category-ultra-info {
    padding: 1rem 0.75rem;
  }

  .category-ultra-name {
    font-size: 0.875rem;
  }

  .category-ultra-icon {
    width: 40px;
    height: 40px;
  }

  .category-ultra-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* اسلایدر تمام صفحه */
.hero-slider {
  width: 100vw;
  max-width: 2400px;
  height: 150vh; /* اگر قد اسلایدر کمتر می‌خواهی مثلاً 70vh بگذار */
  overflow: hidden;
  /* اگر داخل .container قرار دارد و می‌خواهی از آن خارج شود: */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
}

/* ارتفاع همه لایه‌های Owl برابر با ارتفاع اسلایدر */
#slideshow,
#slideshow .owl-stage-outer,
#slideshow .owl-stage,
#slideshow .owl-item,
#slideshow .item,
#slideshow .item a {
  height: 100%;
}

#slideshow .item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  border-radius: 0;
}

#categories_filter {
  display: none !important;
}

#brands_filter {
  display: none !important;
}

#price_filter {
  display: none !important;
}

#submit_filter {
  display: none !important;
}

#remove_filter {
  display: none !important;
}

@media (min-width: 768px) {
  #categories_filter {
    display: block !important;
  }

  #brands_filter {
    display: block !important;
  }

  #price_filter {
    display: block !important;
  }

  #submit_filter {
    display: block !important;
  }

  #remove_filter {
    display: block !important;
  }
}

.category-link-modern {
  font-family: IRANSans, sans-serif !important;
}

/*
 -----------------------------------------------------------------------------------------------------------------------
  Modern Header Styles - Digikala Style
 -----------------------------------------------------------------------------------------------------------------------
*/

/* Modern Header Container */
.header-modern {
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 9997;
  position: sticky;
  top: 0;
  width: 100%;
}

.top-header-modern {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 0.5rem 0;
  width: 100%;
}

/* Logo Styles */
.logo-link {
  display: inline-block;
  text-decoration: none;
}

.logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.btn-menu-mobile {
  border: none;
  background: none;
  font-size: 1.5rem;
  color: #424750;
  padding: 0.5rem;
}

.btn-menu-mobile:hover {
  color: #ff6b36;
}

/* Modern Search Box */
.search-wrapper-modern {
  position: relative;
}

.search-box-modern {
  position: relative;
  width: 100%;
}

.search-form {
  display: flex;
  align-items: center;
  background-color: #f0f0f1;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.search-form:focus-within {
  background-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 107, 54, 0.2);
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.625rem 1rem;
  background: transparent;
  font-size: 0.8125rem;
  color: #424750;
}

.search-input::placeholder {
  color: #81858b;
}

.search-btn {
  border: none;
  background: transparent;
  padding: 0.625rem 1rem;
  color: #81858b;
  cursor: pointer;
  transition: color 0.3s ease;
}

.search-btn:hover {
  color: #ff6b36;
}

/* User Section */
.user-section {
  position: relative;
}

.btn-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  height: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #ffffff;
  color: #424750;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: all 0.3s ease;
}

.btn-user:hover {
  border-color: #ff6b36;
  color: #ff6b36;
}

.btn-user i {
  font-size: 1.25rem;
}

/* Modern Cart */
.header-cart-modern {
  position: relative;
}

.btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 40px;
  height: 40px;
  padding: 0.375rem 0.875rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #ffffff;
  color: #424750;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.btn-cart:hover {
  border-color: #ff6b36;
  color: #ff6b36;
}

.btn-cart i {
  font-size: 1.5rem;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff6b36;
  color: #ffffff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

.header-cart-modern:hover .header-cart-dropdown-modern {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-cart-dropdown-modern {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 360px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.cart-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.cart-count-text {
  font-size: 0.875rem;
  color: #81858b;
}

.view-cart-link {
  color: #19bfd3;
  text-decoration: none;
  font-size: 0.875rem;
}

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

.cart-dropdown-body {
  max-height: 320px;
  overflow-y: auto;
  padding: 0.5rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-bottom: 1px solid #f0f0f1;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  display: block;
  color: #424750;
  text-decoration: none;
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-name:hover {
  color: #ff6b36;
}

.cart-item-remove {
  color: #81858b;
  text-decoration: none;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.cart-item-remove:hover {
  color: #ff6b36;
}

.cart-dropdown-footer {
  padding: 1rem;
  border-top: 1px solid #e0e0e0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-total-label {
  font-size: 0.875rem;
  color: #81858b;
}

.cart-total-price {
  font-size: 1rem;
  font-weight: bold;
  color: #424750;
}

.btn-cart-submit {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background-color: #ff6b36;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-cart-submit:hover {
  background-color: #ff6b36;
  color: #ffffff;
}

/* Modern Navigation */
.top-nav-modern {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  transition: transform 0.3s ease, opacity 0.3s ease, max-height 0.3s ease,
    padding 0.3s ease, margin 0.3s ease;
  transform: translateY(0);
  opacity: 1;
  max-height: 100px;
  overflow: visible;
  position: relative;
  z-index: 9998;
}

.top-nav-modern.hidden {
  transform: translateY(-100%);
  opacity: 0;
  max-height: 0;
  padding: 0;
  margin: 0;
  border-bottom: none;
  pointer-events: none;
  visibility: hidden;
}

.navbar-modern {
  display: flex;
  align-items: center;
  padding: 0;
  position: relative;
  z-index: 9998;
}

.navbar-modern > section {
  overflow: visible !important;
}

.navbar-modern .container-xxl {
  overflow: visible !important;
}

.top-nav-modern .container-xxl {
  overflow: visible !important;
}

.top-nav-modern section.position-relative {
  overflow: visible !important;
}

/* Categories Menu */
.categories-menu-modern {
  position: relative;
  z-index: 9999;
}

.categories-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  color: #424750;
  font-size: 0.875rem;
  font-weight: bold;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.categories-toggle:hover {
  color: #ff6b36;
  border-bottom-color: #ff6b36;
}

.categories-toggle i {
  font-size: 1.125rem;
}

.categories-menu-modern:hover .categories-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.categories-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 280px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
  max-height: 500px;
  overflow-y: auto;
}

.categories-list {
  padding: 0.5rem 0;
}

.category-item-modern {
  position: relative;
}

.category-item-modern:hover {
  z-index: 10000;
}

.category-link-modern {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #424750;
  text-decoration: none;
  font-size: 0.875rem;
  border-right: 3px solid transparent;
  transition: all 0.3s ease;
}

.category-link-modern:hover {
  background-color: #f0f0f1;
  color: #ff6b36;
  border-right-color: #ff6b36;
}

.category-item-modern:hover .subcategories-panel {
  opacity: 1;
  visibility: visible;
}

.subcategories-panel {
  position: absolute;
  top: 0;
  right: 280px;
  width: 600px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10000;
  margin-top: -10px;
  padding-top: 1.75rem;
}

.subcategories-panel::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 0;
  left: 0;
  height: 10px;
  background: transparent;
}

.category-item-modern:hover .subcategories-panel,
.subcategories-panel:hover {
  opacity: 1;
  visibility: visible;
}

.subcategories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.subcategories-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.subcategory-link-modern {
  display: block;
  padding: 0.5rem;
  color: #424750;
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.subcategory-link-modern:hover {
  background-color: #f0f0f1;
  color: #ff6b36;
}

/* Special Links */
.special-links-modern {
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 1rem;
  border-right: 1px solid #e0e0e0;
  padding-right: 1rem;
}

.special-link-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  color: #424750;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: bold;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.special-link-modern:hover {
  color: #ff6b36;
  border-bottom-color: #ff6b36;
}

.special-link-modern i {
  font-size: 1rem;
}

/* Pages Menu */
.pages-menu-modern {
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 1rem;
}

.page-link-modern {
  display: block;
  padding: 1rem 1.5rem;
  color: #424750;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: bold;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.page-link-modern:hover {
  color: #ff6b36;
  border-bottom-color: #ff6b36;
}

/* Mobile Offcanvas */
.offcanvas-header-modern {
  padding: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.offcanvas-logo {
  height: 40px;
  width: auto;
}

.offcanvas-body-modern {
  padding: 1rem;
  overflow-y: auto;
}

#mobile-menu {
  position: fixed !important;
  top: 0 !important;
  right: -100% !important;
  width: 300px !important;
  max-width: 85% !important;
  height: 100vh !important;
  background: #fff !important;
  z-index: 999999 !important;
  transition: right 0.3s ease !important;
  overflow-y: auto !important;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1) !important;
}

#mobile-menu.active {
  right: 0 !important;
}

#mobile-menu-overlay {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.5) !important;
  z-index: 999998 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-close {
  border: none;
  background: none;
  font-size: 1.5rem;
  color: #424750;
  cursor: pointer;
}

.mobile-menu-body {
  padding: 1rem;
  overflow-y: auto;
  max-height: calc(100vh - 80px);
}

.mobile-menu-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #424750;
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.mobile-menu-link:hover {
  background-color: #f0f0f1;
  color: #ff6b36;
}

.mobile-menu-divider {
  margin: 1rem 0;
  border-color: #e0e0e0;
}

.mobile-menu-title {
  font-size: 1rem;
  font-weight: bold;
  color: #424750;
  margin-bottom: 1rem;
  padding: 0 1rem;
}

.mobile-special-links {
  padding: 0 1rem;
  margin-bottom: 1rem;
}

.mobile-menu-link.special {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: bold;
}

.mobile-menu-link.special i {
  font-size: 1.125rem;
  color: #ff6b36;
}

.sidebar-nav-modern {
  padding: 0 1rem;
}

.sidebar-nav-item-modern {
  margin-bottom: 0.5rem;
}

.sidebar-nav-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-nav-item-link {
  flex: 1;
  display: block;
  padding: 0.75rem 1rem;
  color: #424750;
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.sidebar-nav-item-link:hover {
  background-color: #f0f0f1;
  color: #ff6b36;
}

.sidebar-nav-toggle {
  border: none;
  background: none;
  color: #81858b;
  padding: 0.5rem;
  cursor: pointer;
}

.sidebar-nav-sub-wrapper-modern {
  margin-right: 1rem;
  margin-top: 0.5rem;
  display: none;
  overflow: hidden;
}

.sidebar-nav-item-modern.active .sidebar-nav-sub-wrapper-modern {
  display: block;
}

.sidebar-nav-sub-item-modern {
  margin-bottom: 0.25rem;
}

.sidebar-nav-sub-link {
  display: block;
  padding: 0.5rem 1rem;
  color: #81858b;
  text-decoration: none;
  font-size: 0.8125rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.sidebar-nav-sub-link:hover {
  background-color: #f0f0f1;
  color: #ff6b36;
}

/* Responsive */
@media (max-width: 767.98px) {
  .search-wrapper-modern {
    order: 3;
    width: 100%;
    margin-top: 1rem;
  }

  .logo-img {
    height: 70px;
  }

  .btn-user span {
    display: none;
  }

  .special-links-modern {
    display: none;
  }

  .categories-dropdown {
    width: 100%;
    right: 0;
  }

  .subcategories-panel {
    width: 100%;
    right: 0;
    position: relative;
    box-shadow: none;
    padding: 1rem;
  }

  .subcategories-grid {
    grid-template-columns: 1fr;
  }

  /* Always show navigation in mobile */
  .top-nav-modern {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: auto !important;
  }

  .top-nav-modern.hidden {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: auto !important;
  }
}

/*
 -----------------------------------------------------------------------------------------------------------------------
  Products Page - Digikala Style
 -----------------------------------------------------------------------------------------------------------------------
*/

/* Filters Tags */
.products-filters-modern {
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.filters-tags-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
  overflow-x: hidden;
}

.filter-tag-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background-color: #f0f0f1;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #424750;
}

.filter-tag-label {
  color: #81858b;
  font-weight: 500;
}

.filter-tag-value {
  color: #424750;
  font-weight: 600;
}

.filter-tag-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #81858b;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.75rem;
}

.filter-tag-remove:hover {
  background-color: #ff6b36;
  color: #ffffff;
}

/* Sort Section */
.products-sort-modern {
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.sort-header-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sort-title-modern {
  font-size: 0.875rem;
  color: #81858b;
  font-weight: 500;
}

.sort-buttons-modern {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sort-btn-modern {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #424750;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: all 0.3s ease;
}

.sort-btn-modern:hover {
  border-color: #ff6b36;
  color: #ff6b36;
  background-color: #fff5f2;
}

.sort-btn-modern.active {
  background-color: #ff6b36;
  border-color: #ff6b36;
  color: #ffffff;
}

.sort-btn-modern.active:hover {
  background-color: #ff8c5a;
  border-color: #ff8c5a;
}

.sort-btn-modern i {
  font-size: 0.875rem;
}

/* Products Grid */
.products-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1rem 0;
}

/* Product Card */
.product-card-modern {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-modern:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #ff6b36;
  transform: translateY(-2px);
}

/* Discount Badge */
.product-discount-badge-modern {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: #ff6b36;
  color: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 10;
}

/* Favorite Button */
.product-favorite-btn-modern {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  color: #81858b;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  padding: 0;
}

.product-favorite-btn-modern:hover {
  background-color: #ffffff;
  border-color: #ff6b36;
  color: #ff6b36;
}

.product-favorite-btn-modern.active,
.product-favorite-btn-modern.active:hover {
  background-color: #fff5f2;
  border-color: #ff6b36;
  color: #ff6b36;
}

.product-favorite-btn-modern i {
  font-size: 0.875rem;
}

/* Product Image */
.product-image-link-modern {
  display: block;
  width: 100%;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.product-image-wrapper-modern {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f8f9fa;
}

.product-image-modern {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card-modern:hover .product-image-modern {
  transform: scale(1.05);
}

/* Product Info */
.product-info-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-name-modern {
  font-size: 0.875rem;
  color: #424750;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.625rem;
  transition: color 0.3s ease;
}

.product-name-modern:hover {
  color: #ff6b36;
}

/* Product Colors */
.product-colors-modern {
  display: flex;
  gap: 0.375rem;
  align-items: center;
  flex-wrap: wrap;
}

.product-color-item-modern {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  display: block;
}

/* Product Price */
.product-price-modern {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: auto;
}

.product-final-price-modern {
  font-size: 1rem;
  font-weight: bold;
  color: #424750;
  direction: rtl;
  text-align: right;
}

.product-old-price-modern {
  font-size: 0.75rem;
  color: #81858b;
  text-decoration: line-through;
  direction: rtl;
  text-align: right;
}

/* Add to Cart Button */
.product-add-to-cart-form-modern {
  margin-top: 0.75rem;
}

.product-add-to-cart-btn-modern {
  width: 100%;
  padding: 0.625rem;
  background-color: #ff6b36;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.product-add-to-cart-btn-modern span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-add-to-cart-btn-modern:hover {
  background-color: #ff8c5a;
}

.product-add-to-cart-btn-modern i {
  font-size: 0.875rem;
}

.product-unavailable-modern {
  margin-top: 0.75rem;
  padding: 0.625rem;
  background-color: #f0f0f1;
  color: #81858b;
  border-radius: 8px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Empty State */
.products-empty-modern {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.products-empty-modern i {
  font-size: 4rem;
  color: #e0e0e0;
  margin-bottom: 1rem;
}

.products-empty-modern h3 {
  font-size: 1.25rem;
  color: #424750;
  margin-bottom: 0.5rem;
  text-align: center;
}

.products-empty-modern p {
  font-size: 0.875rem;
  color: #81858b;
  text-align: center;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .products-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 991.98px) {
  .products-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
  }

  .product-image-wrapper-modern {
    height: 160px;
  }

  .product-add-to-cart-btn-modern {
    font-size: 0.75rem;
    padding: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .products-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem;
  }

  .product-card-modern {
    padding: 0.75rem;
  }

  .product-image-wrapper-modern {
    height: 140px;
  }

  .product-add-to-cart-btn-modern span {
    display: none;
  }

  .product-add-to-cart-btn-modern {
    gap: 0;
  }

  .sort-header-modern {
    flex-direction: column;
    align-items: flex-start;
  }

  .sort-buttons-modern {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .sort-btn-modern {
    flex-shrink: 0;
  }
}

@media (max-width: 575.98px) {
  .products-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-image-wrapper-modern {
    height: 120px;
  }

  .product-name-modern {
    font-size: 0.8125rem;
    min-height: 2.25rem;
  }

  .product-final-price-modern {
    font-size: 0.875rem;
  }

  .product-add-to-cart-btn-modern span {
    display: none;
  }

  .product-add-to-cart-btn-modern {
    padding: 0.625rem;
    gap: 0;
  }

  .product-add-to-cart-btn-modern i {
    font-size: 1rem;
  }
}

/* Fix line-clamp warning */
.product-name-modern {
  line-clamp: 2;
}

/* Subcategories Carousel */
.subcategories-section-modern {
  margin-top: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #e0e0e0;
  display: none;
  width: 100%;
  overflow-x: visible;
}

.subcategories-flex-wrapper-modern {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.5rem;
  width: 100%;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}

.subcategories-flex-wrapper-modern::-webkit-scrollbar {
  height: 6px;
}

.subcategories-flex-wrapper-modern::-webkit-scrollbar-track {
  background: #f0f0f1;
  border-radius: 3px;
}

.subcategories-flex-wrapper-modern::-webkit-scrollbar-thumb {
  background: #ff6b36;
  border-radius: 3px;
}

.subcategories-flex-wrapper-modern::-webkit-scrollbar-thumb:hover {
  background: #e55a2b;
}

.subcategory-btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background-color: #f0f0f1;
  color: #424750;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  flex-shrink: 0;
}

.subcategory-btn-modern:hover {
  background-color: #ffffff;
  border-color: #ff6b36;
  color: #ff6b36;
}

.subcategory-btn-modern.active {
  background-color: #ff6b36;
  color: #ffffff;
  border-color: #ff6b36;
}

.subcategories-nav-btn-modern {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #424750;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.subcategories-nav-btn-modern:hover {
  background-color: #ff6b36;
  border-color: #ff6b36;
  color: #ffffff;
}

.subcategories-nav-btn-modern:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.subcategories-nav-btn-modern i {
  font-size: 0.875rem;
}

@media (max-width: 767.98px) {
  .filters-tags-modern {
    overflow-x: hidden;
    width: 100%;
  }

  .subcategories-section-modern {
    display: block;
    width: 100%;
    overflow-x: visible;
    padding-right: 0;
    padding-left: 0;
  }

  .subcategories-flex-wrapper-modern {
    gap: 0.5rem;
    padding: 0 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .subcategory-btn-modern {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
  }
}

/*
 -----------------------------------------------------------------------------------------------------------------------
  Sidebar - Digikala Style
 -----------------------------------------------------------------------------------------------------------------------
*/

.sidebar-modern {
  padding: 0;
}

.sidebar-section-modern {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sidebar-title-modern {
  font-size: 1.375rem;
  font-weight: bold;
  color: #424750;
  margin: 0 0 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f0f0f1;
  font-family: Rezvan, IRANSans, sans-serif;
}

/* Categories */
.sidebar-categories-modern {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-category-item {
  margin-bottom: 0.5rem;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.category-header:hover {
  border-color: #ff6b36;
  background: #fff5f2;
}

.category-header.active {
  border-color: #ff6b36;
  background: #fff5f2;
}

.category-link {
  flex: 1;
  color: #1f2937;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.category-link:hover {
  color: #ff6b36;
}

.category-link.active {
  color: #ff6b36;
  font-weight: 700;
}

.category-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.category-toggle:hover {
  color: #ff6b36;
}

.category-toggle i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.category-toggle.active i {
  transform: rotate(180deg);
}

.subcategories {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0 0 0;
  margin-top: 0.5rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.subcategories.active {
  max-height: 1000px;
  opacity: 1;
  padding: 0.5rem 0 0 0;
}

.subcategory-link {
  display: inline-block;
  padding: 0.625rem 1rem;
  color: #4b5563;
  text-decoration: none;
  font-size: 0.8125rem;
  background: #f9fafb;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.subcategory-link:hover {
  background: #ff6b36;
  color: #fff;
}

.subcategory-link.active {
  background: #ff6b36;
  color: #fff;
  border-color: #ff6b36;
  font-weight: 600;
}

/* Search */
.sidebar-search-modern {
  width: 100%;
}

.sidebar-input-modern {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #424750;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.sidebar-input-modern:focus {
  outline: none;
  border-color: #ff6b36;
  box-shadow: 0 0 0 3px rgba(255, 107, 54, 0.1);
}

.sidebar-input-modern::placeholder {
  color: #81858b;
}

/* Brands */
.sidebar-brands-modern {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.sidebar-brands-modern::-webkit-scrollbar {
  width: 6px;
}

.sidebar-brands-modern::-webkit-scrollbar-track {
  background: #f0f0f1;
  border-radius: 3px;
}

.sidebar-brands-modern::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 3px;
}

.sidebar-brands-modern::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

.sidebar-brand-item-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
}

.sidebar-brand-item-modern:hover {
  background-color: #f8f9fa;
}

.sidebar-brand-item-modern input[type="checkbox"] {
  display: none;
}

.brand-checkbox-modern {
  width: 20px;
  height: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  background-color: #ffffff;
}

.sidebar-brand-item-modern
  input[type="checkbox"]:checked
  + .brand-checkbox-modern {
  background-color: #ff6b36;
  border-color: #ff6b36;
}

.sidebar-brand-item-modern
  input[type="checkbox"]:checked
  + .brand-checkbox-modern::after {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffffff;
  font-size: 0.75rem;
}

.brand-name-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.brand-persian {
  font-size: 0.875rem;
  color: #424750;
  font-weight: 500;
}

.brand-original {
  font-size: 0.75rem;
  color: #81858b;
}

.sidebar-brand-item-modern
  input[type="checkbox"]:checked
  ~ .brand-name-modern
  .brand-persian {
  color: #ff6b36;
  font-weight: 600;
}

/* Price */
.sidebar-price-modern {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-input-wrapper-modern {
  width: 100%;
}

.price-input-modern {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #424750;
  background-color: #ffffff;
  transition: all 0.3s ease;
  direction: rtl;
  text-align: right;
}

.price-input-modern:focus {
  outline: none;
  border-color: #ff6b36;
  box-shadow: 0 0 0 3px rgba(255, 107, 54, 0.1);
}

.price-input-modern::placeholder {
  color: #81858b;
}

/* Submit Button */
.sidebar-submit-btn-modern {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #ff6b36;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.sidebar-submit-btn-modern:hover {
  background-color: #ff8c5a;
}

.sidebar-submit-btn-modern i {
  font-size: 0.875rem;
}

/* Remove Filters Button */
.sidebar-remove-btn-modern {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #f0f0f1;
  color: #424750;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.sidebar-remove-btn-modern:hover {
  background-color: #e0e0e0;
  color: #ff6b36;
  border-color: #ff6b36;
}

.sidebar-remove-btn-modern i {
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 991.98px) {
  .sidebar-modern {
    margin-bottom: 2rem;
  }

  .sidebar-title-modern {
    font-size: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .sidebar-section-modern {
    padding: 1rem;
  }

  .sidebar-title-modern {
    font-size: 1.125rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
  }

  .sidebar-brands-modern {
    max-height: 300px;
  }
}

/* Toast Notification */
#toast-container {
  z-index: 9999 !important;
  pointer-events: none;
}

#toast-container .toast {
  background: linear-gradient(135deg, #ff6b36 0%, #ff8c5a 100%);
  border: none;
  box-shadow: 0 8px 24px rgba(255, 107, 54, 0.3);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  animation: slideInRight 0.4s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

#toast-container .toast-header {
  background: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(10px);
}

#toast-container .toast-header strong {
  color: #ffffff;
}

#toast-container .toast-body {
  background: rgba(255, 255, 255, 0.95);
  color: #1f2937;
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

#toast-container .toast-body strong {
  color: #1f2937;
  display: block;
}

#toast-container .toast-body a {
  color: #ff6b36;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 0.5rem;
}

#toast-container .toast-body a:hover {
  color: #e55a2b;
  text-decoration: underline;
}

#toast-container .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

#toast-container .btn-close:hover {
  opacity: 1;
}

@media (max-width: 767.98px) {
  #toast-container {
    width: 90% !important;
    max-width: 90% !important;
    padding: 1rem;
  }

  #toast-container .toast {
    width: 100%;
  }
}

/* Toast Success Container - Same style as toast-container */
#toast-success-container {
  z-index: 9999 !important;
  pointer-events: none;
}

#toast-success-container .toast {
  background: linear-gradient(135deg, #ff6b36 0%, #ff8c5a 100%);
  border: none;
  box-shadow: 0 8px 24px rgba(255, 107, 54, 0.3);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  animation: slideInRight 0.4s ease-out;
}

#toast-success-container .toast-header {
  background: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(10px);
}

#toast-success-container .toast-header strong {
  color: #ffffff;
}

#toast-success-container .toast-body {
  background: rgba(255, 255, 255, 0.95);
  color: #1f2937;
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

#toast-success-container .toast-body strong {
  color: #1f2937;
  display: block;
}

#toast-success-container .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

#toast-success-container .btn-close:hover {
  opacity: 1;
}

@media (max-width: 767.98px) {
  #toast-success-container {
    width: 90% !important;
    max-width: 90% !important;
    padding: 1rem;
  }

  #toast-success-container .toast {
    width: 100%;
  }
}

/* Modern Cart Styles */
.cart-modern-section {
  padding: 2rem 0;
  background: #fafafa;
}

.cart-modern-header {
  text-align: center;
  margin-bottom: 2rem;
}

.cart-modern-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: Rezvan, sans-serif;
}

.cart-modern-wrapper {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #e8e8e8;
}

.cart-item-modern {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.cart-item-modern:last-child {
  border-bottom: none;
}

.cart-item-image-modern {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image-modern img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.cart-item-content-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-item-name-modern {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.cart-item-name-modern:hover {
  color: #ff6b36;
}

.cart-item-details-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cart-item-detail-modern {
  font-size: 0.875rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.cart-item-detail-modern i {
  color: #ff6b36;
  font-size: 0.875rem;
}

.cart-item-actions-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-quantity-modern {
  display: flex;
  align-items: center;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
}

.cart-quantity-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #fafafa;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.cart-quantity-btn:hover {
  background: #ff6b36;
  color: #fff;
}

.cart-quantity-input {
  width: 60px;
  height: 36px;
  border: none;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
  background: #fff;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  line-height: 36px;
}

.cart-quantity-input::-webkit-inner-spin-button,
.cart-quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-quantity-input[type="number"] {
  -moz-appearance: textfield;
}

.cart-item-delete-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #dc3545;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid #dc3545;
  width: 40px;
  height: 40px;
}

.cart-item-delete-modern span {
  display: none;
}

.cart-item-delete-modern:hover {
  background: #dc3545;
  color: #fff;
}

.cart-item-price-modern {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  min-width: 150px;
}

.cart-item-discount-modern {
  font-size: 0.875rem;
  color: #dc3545;
}

.cart-item-final-price-modern {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
}

.cart-summary-modern {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #e8e8e8;
  position: sticky;
  top: 2rem;
}

.cart-summary-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1.5rem 0;
  font-family: IRANSans, sans-serif;
}

.cart-summary-item-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  color: #666;
}

.cart-summary-discount {
  color: #dc3545;
  font-weight: 600;
}

.cart-summary-divider {
  height: 1px;
  background: #e8e8e8;
  margin: 1rem 0;
}

.cart-summary-total-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
}

.cart-summary-info-modern {
  background: #fff5f2;
  border-radius: 12px;
  padding: 1rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 0.75rem;
}

.cart-summary-info-modern i {
  color: #ff6b36;
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.cart-summary-info-modern p {
  margin: 0;
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.6;
}

.cart-checkout-btn-modern {
  width: 100%;
  padding: 1rem;
  background: #ff6b36;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: IRANSans, sans-serif;
}

.cart-checkout-btn-modern:hover {
  background: #ff8c5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
}

.cart-empty-modern {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cart-empty-modern i {
  font-size: 4rem;
  color: #e0e0e0;
  margin-bottom: 1.5rem;
  display: block;
}

.cart-empty-modern h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
  font-family: IRANSans, sans-serif;
  text-align: center;
  width: 100%;
}

.cart-empty-modern p {
  font-size: 1rem;
  color: #666;
  margin: 0 0 2rem 0;
  text-align: center;
  width: 100%;
}

.cart-empty-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #ff6b36;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cart-empty-btn-modern:hover {
  background: #ff8c5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
  color: #fff;
}

/* Related Products */
.related-products-modern-section {
  padding: 3rem 0;
  background: #fafafa;
}

.related-products-modern-header {
  text-align: center;
  margin-bottom: 2rem;
}

.related-products-modern-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: Rezvan, sans-serif !important;
}

.related-products-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.related-product-card-modern {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.related-product-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #ff6b36;
}

.related-product-discount-modern {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #dc3545;
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
}

.related-product-favorite-modern {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.related-product-favorite-modern:hover {
  background: #fff;
  color: #dc3545;
}

.related-product-favorite-modern.active i,
.related-product-favorite-modern i.text-danger {
  color: #dc3545;
}

.related-product-image-modern {
  width: 100%;
  padding-top: 75%;
  background: #fafafa;
  position: relative;
  overflow: hidden;
  display: block;
}

.related-product-image-modern img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.related-product-card-modern:hover .related-product-image-modern img {
  transform: scale(1.08);
}

.related-product-info-modern {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.related-product-name-modern {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.related-product-name-modern:hover {
  color: #ff6b36;
}

.related-product-colors-modern {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.related-product-color-modern {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.related-product-price-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.related-product-final-price-modern {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
}

.related-product-old-price-modern {
  font-size: 0.875rem;
  color: #999;
  text-decoration: line-through;
}

.related-product-add-form-modern {
  margin-top: auto;
}

.related-product-add-btn-modern {
  width: 100%;
  padding: 0.75rem;
  background: #ff6b36;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-product-add-btn-modern:hover {
  background: #ff8c5a;
}

/* Responsive */
@media (max-width: 991.98px) {
  .cart-item-modern {
    flex-direction: column;
    gap: 1rem;
  }

  .cart-item-image-modern {
    width: 100%;
    height: 200px;
  }

  .cart-item-price-modern {
    align-items: flex-start;
    min-width: auto;
  }

  .cart-summary-modern {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .cart-modern-section {
    padding: 1.5rem 0;
  }

  .cart-modern-title {
    font-size: 1.75rem;
  }

  .cart-modern-wrapper {
    padding: 1rem;
  }

  .cart-item-modern {
    padding: 1rem 0;
  }

  .cart-item-image-modern {
    height: 150px;
  }

  .cart-item-actions-modern {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .related-products-modern-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .related-product-card-modern {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .related-product-info-modern {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .related-product-add-form-modern {
    margin-top: auto;
    padding-top: 0.5rem;
  }

  .related-product-name-modern {
    min-height: 2.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 575.98px) {
  .cart-modern-title {
    font-size: 1.5rem;
  }

  .cart-item-name-modern {
    font-size: 0.9375rem;
  }

  .cart-item-details-modern {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cart-item-final-price-modern {
    font-size: 1rem;
  }

  .related-products-modern-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }

  .related-product-card-modern {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .related-product-info-modern {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .related-product-add-form-modern {
    margin-top: auto;
    padding-top: 0.5rem;
  }

  .related-product-name-modern {
    min-height: 2.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
/* Modern Address and Delivery Styles */
.address-delivery-modern-section {
  padding: 2rem 0;
  background: #fafafa;
}

.address-delivery-modern-header {
  text-align: center;
  margin-bottom: 2rem;
}

.address-delivery-modern-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  font-family: Rezvan, sans-serif;
}

.address-delivery-modern-subtitle {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

.address-delivery-errors-modern {
  margin-bottom: 1.5rem;
}

.address-delivery-card-modern {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #e8e8e8;
  margin-bottom: 1.5rem;
}

.address-delivery-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  font-family: IRANSans, sans-serif;
}

.address-delivery-info-modern {
  background: #fff5f2;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.address-delivery-info-modern i {
  color: #ff6b36;
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.address-delivery-info-modern p {
  margin: 0;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
}

.address-list-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.address-radio-modern {
  display: none;
}

.address-item-modern {
  display: block;
  background: #fafafa;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.address-radio-modern:checked + .address-item-modern {
  border-color: #ff6b36;
  background: #fff5f2;
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.15);
}

.address-item-header-modern {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.address-item-icon-modern {
  width: 48px;
  height: 48px;
  background: #ff6b36;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.25rem;
}

.address-item-content-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.address-item-row-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: #666;
}

.address-item-row-modern i {
  color: #ff6b36;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.address-item-footer-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #e8e8e8;
}

.address-item-edit-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ff6b36;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #ff6b36;
}

.address-item-edit-modern:hover {
  background: #ff6b36;
  color: #fff;
}

.address-item-selected-modern {
  font-size: 0.875rem;
  color: #ff6b36;
  font-weight: 600;
  display: none;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e8e8e8;
}

.address-radio-modern:checked
  + .address-item-modern
  .address-item-selected-modern {
  display: block;
}

.address-empty-modern {
  text-align: center;
  padding: 3rem 2rem;
  background: #fafafa;
  border-radius: 12px;
  border: 2px dashed #e8e8e8;
}

.address-empty-modern i {
  font-size: 3rem;
  color: #e0e0e0;
  margin-bottom: 1rem;
}

.address-empty-modern p {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

.address-add-btn-modern {
  width: 100%;
  padding: 1rem;
  background: #ff6b36;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: IRANSans, sans-serif;
}

.address-add-btn-modern:hover {
  background: #ff8c5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
}

.delivery-list-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.delivery-radio-modern {
  display: none;
}

.delivery-item-modern {
  display: block;
  background: #fafafa;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.delivery-radio-modern:checked + .delivery-item-modern {
  border-color: #ff6b36;
  background: #fff5f2;
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.15);
}

.delivery-item-header-modern {
  display: flex;
  gap: 1rem;
}

.delivery-item-icon-modern {
  width: 48px;
  height: 48px;
  background: #ff6b36;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.25rem;
}

.delivery-item-content-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.delivery-item-name-modern {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  font-family: IRANSans, sans-serif;
}

.delivery-item-details-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.delivery-item-details-modern span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #666;
}

.delivery-item-details-modern i {
  color: #ff6b36;
  font-size: 0.875rem;
}

.address-delivery-summary-modern {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #e8e8e8;
  position: sticky;
  top: 2rem;
}

.address-delivery-summary-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1.5rem 0;
  font-family: IRANSans, sans-serif;
}

.address-delivery-summary-item-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  color: #666;
}

.address-delivery-summary-discount {
  color: #dc3545;
  font-weight: 600;
}

.address-delivery-summary-divider {
  height: 1px;
  background: #e8e8e8;
  margin: 1rem 0;
}

.address-delivery-summary-total-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
}

.address-delivery-summary-info-modern {
  background: #fff5f2;
  border-radius: 12px;
  padding: 1rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 0.75rem;
}

.address-delivery-summary-info-modern i {
  color: #ff6b36;
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.address-delivery-summary-info-modern p {
  margin: 0;
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.6;
}

.address-delivery-checkout-btn-modern {
  width: 100%;
  padding: 1rem;
  background: #ff6b36;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: IRANSans, sans-serif;
}

.address-delivery-checkout-btn-modern:hover {
  background: #ff8c5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
}

/* Modal Styles */
.address-modal-modern {
  border-radius: 16px;
  border: none;
}

.address-modal-header-modern {
  border-bottom: 1px solid #e8e8e8;
  padding: 1.5rem;
  border-radius: 16px 16px 0 0;
}

.address-modal-header-modern .modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: IRANSans, sans-serif;
}

.address-modal-header-modern .modal-title i {
  color: #ff6b36;
}

.address-modal-body-modern {
  padding: 1.5rem;
}

.address-form-label-modern {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  font-family: IRANSans, sans-serif;
}

.address-form-input-modern {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: #1a1a1a;
  background: #fff;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.address-form-input-modern:focus {
  outline: none;
  border-color: #ff6b36;
  box-shadow: 0 0 0 3px rgba(255, 107, 54, 0.1);
}

.address-form-input-modern::placeholder {
  color: #999;
}

.address-form-error-modern {
  font-size: 0.8125rem;
  color: #dc3545;
  margin-top: 0.25rem;
}

.address-form-divider-modern {
  height: 1px;
  background: #e8e8e8;
  margin: 1rem 0;
}

.address-form-check-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.address-form-check-modern .form-check-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.address-form-check-modern .form-check-label {
  font-size: 0.9375rem;
  color: #666;
  cursor: pointer;
  margin: 0;
}

.address-modal-footer-modern {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid #e8e8e8;
  border-radius: 0 0 16px 16px;
}

.address-modal-btn-primary-modern {
  flex: 1;
  padding: 0.875rem 1.5rem;
  background: #ff6b36;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.address-modal-btn-primary-modern:hover {
  background: #ff8c5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
}

.address-modal-btn-secondary-modern {
  flex: 1;
  padding: 0.875rem 1.5rem;
  background: #fafafa;
  color: #666;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.address-modal-btn-secondary-modern:hover {
  background: #f0f0f0;
  border-color: #d0d0d0;
}

/* Responsive */
@media (max-width: 991.98px) {
  .address-delivery-summary-modern {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .address-delivery-modern-section {
    padding: 1.5rem 0;
  }

  .address-delivery-modern-title {
    font-size: 1.75rem;
  }

  .address-delivery-card-modern {
    padding: 1rem;
  }

  .address-item-header-modern {
    flex-direction: column;
  }

  .address-item-icon-modern {
    align-self: flex-start;
  }

  .address-item-footer-modern {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .delivery-item-header-modern {
    flex-direction: column;
  }

  .delivery-item-icon-modern {
    align-self: flex-start;
  }

  .delivery-item-details-modern {
    flex-direction: column;
    gap: 0.5rem;
  }

  .address-modal-footer-modern {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .address-delivery-modern-title {
    font-size: 1.5rem;
  }

  .address-delivery-card-title {
    font-size: 1.125rem;
  }
}

/* Modern Payment Styles */
.payment-modern-section {
  padding: 2rem 0;
  background: #fafafa;
}

.payment-modern-header {
  text-align: center;
  margin-bottom: 2rem;
}

.payment-modern-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  font-family: Rezvan, sans-serif;
}

.payment-modern-subtitle {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

.payment-success-alert-modern,
.payment-errors-modern {
  margin-bottom: 1.5rem;
}

.payment-card-modern {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #e8e8e8;
  margin-bottom: 1.5rem;
}

.payment-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  font-family: IRANSans, sans-serif;
}

.payment-info-modern {
  background: #fff5f2;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.payment-info-modern i {
  color: #ff6b36;
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.payment-info-modern p {
  margin: 0;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
}

.payment-copan-form-modern {
  margin-top: 1rem;
}

.payment-copan-input-wrapper-modern {
  display: flex;
  gap: 0.75rem;
}

.payment-copan-input-modern {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: #1a1a1a;
  background: #fff;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.payment-copan-input-modern:focus {
  outline: none;
  border-color: #ff6b36;
  box-shadow: 0 0 0 3px rgba(255, 107, 54, 0.1);
}

.payment-copan-input-modern::placeholder {
  color: #999;
}

.payment-copan-btn-modern {
  padding: 0.875rem 1.5rem;
  background: #ff6b36;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-family: IRANSans, sans-serif;
}

.payment-copan-btn-modern:hover {
  background: #ff8c5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
}

.payment-copan-applied-modern {
  margin-top: 1rem;
  padding: 1rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.payment-copan-applied-info-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.payment-copan-applied-info-modern i {
  color: #10b981;
  font-size: 1.25rem;
}

.payment-copan-applied-info-modern div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.payment-copan-applied-info-modern strong {
  font-size: 0.875rem;
  color: #1a1a1a;
  font-weight: 600;
}

.payment-copan-applied-info-modern span {
  font-size: 0.9375rem;
  color: #1a1a1a;
}

.payment-copan-discount-amount-modern {
  color: #10b981 !important;
  font-weight: 600;
}

.payment-copan-remove-form-modern {
  margin: 0;
}

.payment-copan-remove-btn-modern {
  padding: 0.625rem 1rem;
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-family: IRANSans, sans-serif;
}

.payment-copan-remove-btn-modern:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

@media (max-width: 767.98px) {
  .payment-copan-applied-modern {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.875rem;
  }

  .payment-copan-applied-info-modern {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .payment-copan-applied-info-modern i {
    font-size: 1rem;
    margin-top: 0.125rem;
  }

  .payment-copan-applied-info-modern div {
    flex: 1;
    gap: 0.125rem;
  }

  .payment-copan-applied-info-modern strong {
    font-size: 0.8125rem;
  }

  .payment-copan-applied-info-modern span {
    font-size: 0.8125rem;
    word-break: break-word;
  }

  .payment-copan-remove-form-modern {
    width: 100%;
  }

  .payment-copan-remove-btn-modern {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .payment-copan-input-wrapper-modern {
    flex-direction: column;
    gap: 0.5rem;
  }

  .payment-copan-input-modern {
    width: 100%;
  }

  .payment-copan-btn-modern {
    width: 100%;
    justify-content: center;
  }
}

.payment-methods-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.payment-radio-modern {
  display: none;
}

.payment-method-item-modern {
  display: flex;
  gap: 1rem;
  background: #fafafa;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-radio-modern:checked + .payment-method-item-modern {
  border-color: #ff6b36;
  background: #fff5f2;
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.15);
}

.payment-method-icon-modern {
  width: 48px;
  height: 48px;
  background: #ff6b36;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.25rem;
}

.payment-method-content-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.payment-method-name-modern {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  font-family: IRANSans, sans-serif;
}

.payment-method-desc-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #666;
}

.payment-method-desc-modern i {
  color: #ff6b36;
  font-size: 0.875rem;
}

.payment-cash-receiver-modern {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
}

.payment-form-label-modern {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  font-family: IRANSans, sans-serif;
}

.payment-form-input-modern {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: #1a1a1a;
  background: #fff;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.payment-form-input-modern:focus {
  outline: none;
  border-color: #ff6b36;
  box-shadow: 0 0 0 3px rgba(255, 107, 54, 0.1);
}

.payment-form-input-modern::placeholder {
  color: #999;
}

.payment-summary-modern {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #e8e8e8;
  position: sticky;
  top: 2rem;
}

.payment-summary-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1.5rem 0;
  font-family: IRANSans, sans-serif;
}

.payment-summary-item-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  color: #666;
}

.payment-summary-discount {
  color: #dc3545;
  font-weight: 600;
}

.payment-summary-divider {
  height: 1px;
  background: #e8e8e8;
  margin: 1rem 0;
}

.payment-summary-total-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
}

.payment-summary-info-modern {
  background: #fff5f2;
  border-radius: 12px;
  padding: 1rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 0.75rem;
}

.payment-summary-info-modern i {
  color: #ff6b36;
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.payment-summary-info-modern p {
  margin: 0;
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.6;
}

.payment-checkout-btn-modern {
  width: 100%;
  padding: 1rem;
  background: #ff6b36;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: IRANSans, sans-serif;
}

.payment-checkout-btn-modern:hover {
  background: #ff8c5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
}

/* Responsive */
@media (max-width: 991.98px) {
  .payment-summary-modern {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .payment-modern-section {
    padding: 1.5rem 0;
  }

  .payment-modern-title {
    font-size: 1.75rem;
  }

  .payment-card-modern {
    padding: 1rem;
  }

  .payment-copan-input-wrapper-modern {
    flex-direction: column;
  }

  .payment-copan-btn-modern {
    width: 100%;
    justify-content: center;
  }

  .payment-method-item-modern {
    flex-direction: column;
  }

  .payment-method-icon-modern {
    align-self: flex-start;
  }
}

@media (max-width: 575.98px) {
  .payment-modern-title {
    font-size: 1.5rem;
  }

  .payment-card-title {
    font-size: 1.125rem;
  }
}

/* Modern Success/Danger Messages */
.success-message-modern,
.danger-message-modern {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  width: 90%;
  max-width: 500px;
}

.success-message-content-modern,
.danger-message-content-modern {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
  border: 2px solid transparent;
}

.success-message-content-modern {
  border-color: #28a745;
  background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
}

.danger-message-content-modern {
  border-color: #dc3545;
  background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
}

.success-message-icon-modern,
.danger-message-icon-modern {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.75rem;
}

.success-message-icon-modern {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3);
}

.danger-message-icon-modern {
  background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(220, 53, 69, 0.3);
}

.success-message-text-modern,
.danger-message-text-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.success-message-title-modern,
.danger-message-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  font-family: Rezvan, sans-serif;
}

.success-message-title-modern {
  color: #28a745;
}

.danger-message-title-modern {
  color: #dc3545;
}

.success-message-desc-modern,
.danger-message-desc-modern {
  font-size: 0.9375rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
  font-family: IRANSans, sans-serif;
}

.success-message-close-modern,
.danger-message-close-modern {
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  color: #666;
  font-size: 0.875rem;
}

.success-message-close-modern:hover {
  background: #e8e8e8;
  color: #28a745;
}

.danger-message-close-modern:hover {
  background: #e8e8e8;
  color: #dc3545;
}

/* Responsive */
@media (max-width: 767.98px) {
  .success-message-modern,
  .danger-message-modern {
    top: 1rem;
    width: 95%;
    max-width: none;
  }

  .success-message-content-modern,
  .danger-message-content-modern {
    padding: 1.25rem;
  }

  .success-message-icon-modern,
  .danger-message-icon-modern {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  .success-message-title-modern,
  .danger-message-title-modern {
    font-size: 1.125rem;
  }

  .success-message-desc-modern,
  .danger-message-desc-modern {
    font-size: 0.875rem;
  }
}

@media (max-width: 575.98px) {
  .success-message-content-modern,
  .danger-message-content-modern {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .success-message-close-modern,
  .danger-message-close-modern {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
  }
}

/* Order Success Page Styles */
.order-success-section {
  padding: 4rem 0;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.order-success-container {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 3rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.order-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: #28a745;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-success-icon i {
  font-size: 2.5rem;
  color: #fff;
}

.order-success-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #212529;
  margin: 0 0 1.5rem 0;
  font-family: IRANSans, sans-serif;
  text-align: center;
}

.order-success-code {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 0 0 1.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.order-code-label {
  font-size: 0.9375rem;
  color: #6c757d;
  font-family: IRANSans, sans-serif;
}

.order-code-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212529;
  font-family: IRANSans, sans-serif;
}

.order-success-message {
  font-size: 0.9375rem;
  color: #6c757d;
  line-height: 1.8;
  margin: 0 0 2rem 0;
  font-family: IRANSans, sans-serif;
}

.order-success-actions {
  display: flex;
  gap: 0.75rem;
}

.order-btn {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.2s ease;
  font-family: IRANSans, sans-serif;
  border: 1px solid transparent;
}

.order-btn-primary {
  background: #ff6b36;
  color: #fff;
}

.order-btn-primary:hover {
  background: #e55a2b;
  color: #fff;
}

.order-btn-secondary {
  background: #fff;
  color: #6c757d;
  border-color: #dee2e6;
}

.order-btn-secondary:hover {
  background: #f8f9fa;
  color: #495057;
}

/* Responsive */
@media (max-width: 767.98px) {
  .order-success-section {
    padding: 2rem 1rem;
  }

  .order-success-container {
    padding: 2rem 1.5rem;
  }

  .order-success-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.25rem;
  }

  .order-success-icon i {
    font-size: 2rem;
  }

  .order-success-title {
    font-size: 1.25rem;
  }

  .order-success-actions {
    flex-direction: column;
  }
}

/* Modern Payment Error Messages */
.payment-errors-modern {
  margin-bottom: 1.5rem;
}

.payment-error-list-modern {
  background: #fff5f5;
  border: 1px solid #dc3545;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 0;
  list-style: none;
}

.payment-error-list-modern li {
  font-size: 0.9375rem;
  color: #dc3545;
  line-height: 1.8;
  font-family: IRANSans, sans-serif;
  margin-bottom: 0.5rem;
}

.payment-error-list-modern li:last-child {
  margin-bottom: 0;
}

/* Modern Profile Page Styles */
.profile-modern-section {
  padding: 2rem 0;
  background: #f7f7f7;
  min-height: calc(100vh - 200px);
}

.profile-success-message-modern {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  animation: slideDown 0.3s ease;
}

.profile-success-content-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.profile-success-icon-modern {
  color: #28a745;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.profile-success-text-modern {
  flex: 1;
}

.profile-success-desc-modern {
  margin: 0;
  color: #155724;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: IRANSans, sans-serif;
}

.profile-success-close-modern {
  background: none;
  border: none;
  color: #155724;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.profile-success-close-modern:hover {
  background: rgba(21, 87, 36, 0.1);
}

.profile-error-message-modern {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  animation: slideDown 0.3s ease;
}

.profile-error-content-modern {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.profile-error-icon-modern {
  color: #dc3545;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.profile-error-text-modern {
  flex: 1;
}

.profile-error-list-modern {
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-error-list-modern li {
  color: #721c24;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  font-family: IRANSans, sans-serif;
}

.profile-error-list-modern li:last-child {
  margin-bottom: 0;
}

.profile-card-modern {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.profile-card-modern:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.profile-card-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.profile-card-title-wrapper-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-card-icon-modern {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ff6b36 0%, #ff8c5a 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

.profile-card-title-modern {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: Rezvan, IRANSans, sans-serif;
}

.profile-edit-btn-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #ff6b36;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.profile-edit-btn-modern:hover {
  background: #ff8c5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
}

.profile-edit-btn-modern i {
  font-size: 1rem;
}

.profile-info-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.profile-info-item-modern {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.profile-info-item-modern:hover {
  background: #fff5f2;
  border-color: #ff6b36;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.1);
}

.profile-info-icon-wrapper-modern {
  width: 40px;
  height: 40px;
  background: #ff6b36;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.profile-info-content-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-info-label-modern {
  font-size: 0.875rem;
  color: #666;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
}

.profile-info-value-modern {
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 500;
  font-family: IRANSans, sans-serif;
}

/* Profile Modal Styles */
.profile-modal-modern {
  border-radius: 16px;
  border: none;
  overflow: hidden;
}

.profile-modal-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e8e8e8;
  background: #fafafa;
}

.profile-modal-title-wrapper-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-modal-icon-modern {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff6b36 0%, #ff8c5a 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.125rem;
}

.profile-modal-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: Rezvan, IRANSans, sans-serif;
}

.profile-modal-close-modern {
  background: none;
  border: none;
  color: #666;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.profile-modal-close-modern:hover {
  background: #e8e8e8;
  color: #1a1a1a;
}

.profile-modal-body-modern {
  padding: 2rem;
}

.profile-form-row-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-form-group-modern {
  margin-bottom: 1.5rem;
}

.profile-form-label-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  font-family: IRANSans, sans-serif;
}

.profile-form-label-modern i {
  color: #ff6b36;
  font-size: 0.875rem;
}

.profile-form-input-modern {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  font-size: 0.9375rem;
  color: #1a1a1a;
  background: #fff;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.profile-form-input-modern:focus {
  outline: none;
  border-color: #ff6b36;
  box-shadow: 0 0 0 3px rgba(255, 107, 54, 0.1);
  background: #fff;
}

.profile-form-input-modern::placeholder {
  color: #999;
}

.profile-modal-footer-modern {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
  margin-top: 1.5rem;
}

.profile-modal-btn-cancel-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #f0f0f0;
  color: #666;
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.profile-modal-btn-cancel-modern:hover {
  background: #e0e0e0;
  color: #1a1a1a;
}

.profile-modal-btn-submit-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #ff6b36;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.profile-modal-btn-submit-modern:hover {
  background: #ff8c5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 991.98px) {
  .profile-modern-section {
    padding: 1.5rem 0;
  }

  .profile-card-modern {
    padding: 1.5rem;
  }

  .profile-card-header-modern {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .profile-edit-btn-modern {
    width: 100%;
    justify-content: center;
  }

  .profile-info-grid-modern {
    grid-template-columns: 1fr;
  }

  .profile-form-row-modern {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .profile-modern-section {
    padding: 1rem 0;
  }

  .profile-card-modern {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .profile-card-title-modern {
    font-size: 1.25rem;
  }

  .profile-card-icon-modern {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .profile-info-item-modern {
    padding: 1rem;
  }

  .profile-modal-header-modern {
    padding: 1.25rem 1.5rem;
  }

  .profile-modal-body-modern {
    padding: 1.5rem;
  }

  .profile-modal-footer-modern {
    flex-direction: column-reverse;
  }

  .profile-modal-btn-cancel-modern,
  .profile-modal-btn-submit-modern {
    width: 100%;
    justify-content: center;
  }
}

/* Modern Orders Page Styles */
.orders-modern-section {
  padding: 2rem 0;
  background: #f7f7f7;
  min-height: calc(100vh - 200px);
}

.orders-card-modern {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
}

.orders-card-header-modern {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.orders-card-title-wrapper-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.orders-card-icon-modern {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ff6b36 0%, #ff8c5a 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

.orders-card-title-modern {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: Rezvan, IRANSans, sans-serif;
}

.orders-filters-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.orders-filter-btn-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: #fafafa;
  color: #666;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.orders-filter-btn-modern i {
  font-size: 0.875rem;
}

.orders-filter-btn-modern:hover {
  background: #fff5f2;
  border-color: #ff6b36;
  color: #ff6b36;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(255, 107, 54, 0.15);
}

.orders-filter-btn-modern.active {
  background: #ff6b36;
  border-color: #ff6b36;
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 107, 54, 0.25);
}

.orders-list-modern {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.order-card-modern {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.order-card-modern:hover {
  background: #fff;
  border-color: #ff6b36;
  box-shadow: 0 4px 16px rgba(255, 107, 54, 0.1);
  transform: translateY(-2px);
}

.order-card-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e8e8e8;
  flex-wrap: wrap;
  gap: 1rem;
}

.order-card-info-modern {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.order-code-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.order-code-icon-modern {
  width: 36px;
  height: 36px;
  background: #ff6b36;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.875rem;
}

.order-code-content-modern {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.order-code-label-modern {
  font-size: 0.75rem;
  color: #999;
  font-family: IRANSans, sans-serif;
}

.order-code-value-modern {
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 700;
  font-family: IRANSans, sans-serif;
}

.order-date-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #666;
  font-family: IRANSans, sans-serif;
}

.order-date-modern i {
  color: #ff6b36;
  font-size: 0.875rem;
}

.order-status-modern {
  flex-shrink: 0;
}

.order-status-badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
}

.order-status-badge-modern i {
  font-size: 0.875rem;
}

.status-pending-modern {
  background: #fff3cd;
  color: #856404;
}

.status-success-modern {
  background: #d4edda;
  color: #155724;
}

.status-danger-modern {
  background: #f8d7da;
  color: #721c24;
}

.status-secondary-modern {
  background: #e2e3e5;
  color: #383d41;
}

.status-info-modern {
  background: #d1ecf1;
  color: #0c5460;
}

.status-primary-modern {
  background: #cce5ff;
  color: #004085;
}

.order-card-body-modern {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.order-products-modern {
  margin-bottom: 0.5rem;
}

.order-products-list-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.order-product-item-modern {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #e8e8e8;
  background: #fff;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-product-item-modern:hover {
  border-color: #ff6b36;
  transform: scale(1.05);
}

.order-product-img-modern {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-product-more-modern {
  width: 80px;
  height: 80px;
  background: #f0f0f0;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: #666;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
}

.order-products-empty-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  color: #999;
  font-size: 1rem;
  font-family: IRANSans, sans-serif;
  grid-column: 1 / -1;
  border: 2px dashed #e0e0e0;
  text-align: center;
}

.order-products-empty-modern i {
  font-size: 3rem;
  color: #d0d0d0;
  margin-bottom: 0.5rem;
}

.order-card-footer-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
  flex-wrap: wrap;
  gap: 1rem;
}

.order-price-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.order-price-label-modern {
  font-size: 0.875rem;
  color: #666;
  font-family: IRANSans, sans-serif;
}

.order-price-value-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ff6b36;
  font-family: IRANSans, sans-serif;
}

.order-actions-modern {
  display: flex;
  gap: 0.75rem;
}

.order-action-btn-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
  border: none;
  cursor: pointer;
}

.order-action-btn-modern i {
  font-size: 0.875rem;
}

.order-action-pay-modern {
  background: #ff6b36;
  color: #fff;
}

.order-action-pay-modern:hover {
  background: #ff8c5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
  color: #fff;
}

.order-action-details-modern {
  background: #f0f0f0;
  color: #666;
  border: 1px solid #e8e8e8;
}

.order-action-details-modern:hover {
  background: #e0e0e0;
  border-color: #d0d0d0;
  color: #1a1a1a;
  transform: translateY(-2px);
}

.orders-empty-modern {
  text-align: center;
  padding: 4rem 2rem;
  background: #fafafa;
  border-radius: 12px;
  border: 2px dashed #e8e8e8;
}

.orders-empty-icon-modern {
  width: 80px;
  height: 80px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #ccc;
  font-size: 2.5rem;
}

.orders-empty-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: #666;
  margin: 0 0 0.5rem 0;
  font-family: Rezvan, IRANSans, sans-serif;
}

.orders-empty-desc-modern {
  font-size: 0.9375rem;
  color: #999;
  margin: 0;
  font-family: IRANSans, sans-serif;
}

/* Responsive */
@media (max-width: 991.98px) {
  .orders-modern-section {
    padding: 1.5rem 0;
  }

  .orders-card-modern {
    padding: 1.5rem;
  }

  .order-card-header-modern {
    flex-direction: column;
    align-items: flex-start;
  }

  .order-card-footer-modern {
    flex-direction: column;
    align-items: stretch;
  }

  .order-actions-modern {
    width: 100%;
  }

  .order-action-btn-modern {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .orders-modern-section {
    padding: 1rem 0;
  }

  .orders-card-modern {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .orders-card-title-modern {
    font-size: 1.25rem;
  }

  .orders-card-icon-modern {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .orders-filters-modern {
    gap: 0.5rem;
  }

  .orders-filter-btn-modern {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }

  .order-card-modern {
    padding: 1.25rem;
  }

  .order-code-modern {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .order-card-info-modern {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .order-status-modern {
    width: 100%;
  }

  .order-status-badge-modern {
    width: 100%;
    justify-content: center;
  }

  .order-products-list-modern {
    gap: 0.5rem;
  }

  .order-product-item-modern,
  .order-product-more-modern {
    width: 70px;
    height: 70px;
  }

  .order-price-modern {
    width: 100%;
    justify-content: space-between;
  }

  .orders-empty-modern {
    padding: 3rem 1.5rem;
  }

  .orders-empty-icon-modern {
    width: 64px;
    height: 64px;
    font-size: 2rem;
  }
}

/* Modern Order Details Page Styles */
.order-details-modern-section {
  padding: 2rem 0;
  background: #f7f7f7;
  min-height: calc(100vh - 200px);
}

.order-details-header-modern {
  margin-bottom: 2rem;
}

.order-details-back-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #666;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.order-details-back-modern:hover {
  background: #f0f0f0;
  border-color: #ff6b36;
  color: #ff6b36;
  transform: translateX(-5px);
}

.order-details-title-wrapper-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.order-details-icon-modern {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #ff6b36 0%, #ff8c5a 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
}

.order-details-title-modern {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.25rem 0;
  font-family: Rezvan, IRANSans, sans-serif;
}

.order-details-subtitle-modern {
  font-size: 1rem;
  color: #666;
  margin: 0;
  font-family: IRANSans, sans-serif;
}

.order-details-card-modern {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  margin-bottom: 1.5rem;
}

.order-details-card-header-modern {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.order-details-card-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: Rezvan, IRANSans, sans-serif;
}

.order-details-card-title-modern i {
  color: #ff6b36;
  font-size: 1.125rem;
}

.order-details-info-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.order-details-info-item-modern {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-details-info-label-modern {
  font-size: 0.875rem;
  color: #666;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
}

.order-details-info-value-modern {
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 500;
  font-family: IRANSans, sans-serif;
}

.order-details-address-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-details-address-row-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.order-details-address-item-modern {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-details-address-label-modern {
  font-size: 0.875rem;
  color: #666;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
}

.order-details-address-value-modern {
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 500;
  font-family: IRANSans, sans-serif;
}

/* استایل جدید بخش محصولات سفارش - طراحی مدرن و کارت‌محور */
.order-products-count-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  background: linear-gradient(135deg, #ff6b36 0%, #ff8c5a 100%);
  color: #fff;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
  margin-right: auto;
}

.order-products-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.order-product-card-modern {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
}

.order-product-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b36 0%, #ff8c5a 50%, #ff6b36 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.order-product-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 107, 54, 0.15);
  border-color: #ff6b36;
}

.order-product-card-modern:hover::before {
  transform: scaleX(1);
}

.order-product-card-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.5rem;
}

.order-product-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.order-product-card-modern:hover .order-product-card-image {
  transform: scale(1.05);
}

.order-product-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d0d0d0;
  font-size: 3rem;
  background: #fafafa;
}

.order-product-card-discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: IRANSans, sans-serif;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
}

.order-product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.order-product-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.order-product-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: IRANSans, sans-serif;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3rem;
}

.order-product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.order-product-spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: #f8f9fa;
  color: #495057;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: IRANSans, sans-serif;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.order-product-spec-badge i {
  color: #ff6b36;
  font-size: 0.75rem;
}

.order-product-spec-badge:hover {
  background: #fff5f2;
  border-color: #ff6b36;
  color: #1a1a1a;
}

.order-product-card-pricing {
  padding-top: 1rem;
  border-top: 2px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-product-card-quantity {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
  border-radius: 10px;
  width: fit-content;
  font-family: IRANSans, sans-serif;
}

.order-product-card-quantity i {
  color: #ff6b36;
  font-size: 0.875rem;
}

.order-product-card-quantity span:first-of-type {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ff6b36;
}

.order-product-card-quantity-label {
  font-size: 0.875rem;
  color: #666;
  font-weight: 500;
}

.order-product-card-prices {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.order-product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.375rem 0;
}

.order-product-price-label {
  font-size: 0.875rem;
  color: #666;
  font-family: IRANSans, sans-serif;
  font-weight: 500;
}

.order-product-price-value {
  font-size: 0.9375rem;
  color: #1a1a1a;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
}

.order-product-discount-row {
  background: #fff5f2;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  margin: 0 -0.75rem;
}

.order-product-discount-value {
  font-size: 0.9375rem;
  color: #dc3545;
  font-weight: 700;
  font-family: IRANSans, sans-serif;
}

.order-product-total-row {
  background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
  padding: 0.875rem 1rem;
  border-radius: 10px;
  margin: 0.5rem -0.75rem -0.75rem -0.75rem;
  border-top: 2px solid #ff6b36;
}

.order-product-total-label {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  font-family: IRANSans, sans-serif;
}

.order-product-total-value {
  font-size: 1.25rem;
  color: #ff6b36;
  font-weight: 700;
  font-family: IRANSans, sans-serif;
}

/* استایل‌های قدیمی برای سازگاری */
.order-products-table-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.order-product-item-modern {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.order-product-image-modern {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.order-product-img-modern {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.order-product-placeholder-modern {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d0d0d0;
  font-size: 3rem;
  background: #fafafa;
}

.order-product-content-modern {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-product-header-modern {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.order-product-name-modern {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: IRANSans, sans-serif;
  line-height: 1.5;
}

.order-product-discount-modern {
  align-self: flex-start;
}

.order-product-discount-badge-modern {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
  color: #fff;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: IRANSans, sans-serif;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.order-product-details-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.order-product-detail-item-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: #f8f9fa;
  color: #495057;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: IRANSans, sans-serif;
  border: 1px solid #e9ecef;
}

.order-product-detail-item-modern i {
  color: #ff6b36;
  font-size: 0.75rem;
}

.order-product-attributes-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.order-product-attribute-modern {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: #f8f9fa;
  color: #495057;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: IRANSans, sans-serif;
  border: 1px solid #e9ecef;
}

.order-product-footer-modern {
  padding-top: 1rem;
  border-top: 2px solid #f0f0f0;
}

.order-product-price-modern {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.order-product-price-row-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.375rem 0;
}

.order-product-price-label-modern {
  font-size: 0.875rem;
  color: #666;
  font-family: IRANSans, sans-serif;
  font-weight: 500;
}

.order-product-price-value-modern {
  font-size: 0.9375rem;
  color: #1a1a1a;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
}

.order-product-discount-price-modern {
  color: #dc3545;
  font-weight: 700;
}

.order-product-total-modern {
  background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
  padding: 0.875rem 1rem;
  border-radius: 10px;
  margin-top: 0.5rem;
  border-top: 2px solid #ff6b36;
}

.order-product-total-modern .order-product-price-label-modern {
  font-weight: 700;
  font-size: 1rem;
  color: #1a1a1a;
}

.order-product-total-modern .order-product-price-value-modern {
  font-size: 1.25rem;
  color: #ff6b36;
  font-weight: 700;
}

/* استایل‌های ریسپانسیو برای محصولات سفارش */
@media (max-width: 991.98px) {
  .order-products-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
  }
  
  .order-product-card-image-wrapper {
    height: 200px;
  }
  
  .order-details-card-header-modern {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .order-products-count-badge {
    margin-right: 0;
  }
}

@media (max-width: 767.98px) {
  .order-products-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    gap: 1rem;
  }
  
  .order-product-card-modern {
    border-radius: 12px;
  }
  
  .order-product-card-image-wrapper {
    height: 180px;
    padding: 1rem;
  }
  
  .order-product-card-body {
    padding: 1rem;
  }
  
  .order-product-card-title {
    font-size: 1rem;
    min-height: 2.5rem;
  }
  
  .order-product-card-discount-badge {
    top: 8px;
    right: 8px;
    padding: 0.375rem 0.625rem;
    font-size: 0.8125rem;
  }
  
  .order-product-card-pricing {
    gap: 0.875rem;
  }
  
  .order-product-total-value {
    font-size: 1.125rem;
  }
  
  .order-details-card-modern {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .order-product-card-image-wrapper {
    height: 160px;
    padding: 0.875rem;
  }
  
  .order-product-card-body {
    padding: 0.875rem;
    gap: 0.875rem;
  }
  
  .order-product-card-title {
    font-size: 0.9375rem;
    min-height: 2.25rem;
  }
  
  .order-product-spec-badge {
    font-size: 0.75rem;
    padding: 0.3125rem 0.625rem;
  }
  
  .order-product-card-quantity {
    padding: 0.5rem 0.875rem;
  }
  
  .order-product-total-value {
    font-size: 1rem;
  }
  
  .order-products-count-badge {
    font-size: 0.75rem;
    padding: 0.3125rem 0.75rem;
  }
  
  .order-details-card-title-modern {
    font-size: 1.125rem;
  }
  
  .order-details-card-modern {
    padding: 1.25rem;
  }
}

.order-summary-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-summary-item-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.order-summary-label-modern {
  font-size: 0.9375rem;
  color: #666;
  font-family: IRANSans, sans-serif;
}

.order-summary-value-modern {
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
}

.order-summary-discount-modern {
  color: #dc3545;
}

.order-summary-divider-modern {
  height: 2px;
  background: #e8e8e8;
  margin: 0.5rem 0;
}

.order-summary-total-modern {
  padding: 1rem 0;
  border-top: 2px solid #ff6b36;
  margin-top: 0.5rem;
}

.order-summary-total-modern .order-summary-label-modern {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
}

.order-summary-total-modern .order-summary-value-modern {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff6b36;
}

.order-summary-copan-modern,
.order-summary-payment-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #fff5f2;
  border-radius: 10px;
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: #666;
  font-family: IRANSans, sans-serif;
}

.order-summary-copan-modern i,
.order-summary-payment-modern i {
  color: #ff6b36;
  font-size: 1.125rem;
}

.order-summary-copan-modern strong,
.order-summary-payment-modern strong {
  color: #1a1a1a;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 991.98px) {
  .order-details-modern-section {
    padding: 1.5rem 0;
  }

  .order-details-card-modern {
    padding: 1.5rem;
  }

  .order-product-item-modern {
    flex-direction: column;
  }

  .order-product-image-modern {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 767.98px) {
  .order-details-modern-section {
    padding: 1rem 0;
  }

  .order-details-card-modern {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .order-details-title-modern {
    font-size: 1.5rem;
  }

  .order-details-icon-modern {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  .order-details-info-grid-modern {
    grid-template-columns: 1fr;
  }

  .order-details-address-row-modern {
    grid-template-columns: 1fr;
  }

  .order-product-item-modern {
    padding: 5px;
  }

  .order-product-header-modern {
    flex-direction: column;
    align-items: flex-start;
  }

  .order-product-image-modern {
    height: 180px;
  }

  .order-summary-total-modern .order-summary-value-modern {
    font-size: 1.25rem;
  }
}

/* Modern Compares Page Styles */
.compares-modern-section {
  padding: 2rem 0;
  background: #f7f7f7;
  min-height: calc(100vh - 200px);
}

.compares-success-message-modern {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  animation: slideDown 0.3s ease;
}

.compares-success-content-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.compares-success-icon-modern {
  color: #28a745;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.compares-success-text-modern {
  flex: 1;
}

.compares-success-desc-modern {
  margin: 0;
  color: #155724;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: IRANSans, sans-serif;
}

.compares-success-close-modern {
  background: none;
  border: none;
  color: #155724;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.compares-success-close-modern:hover {
  background: rgba(21, 87, 36, 0.1);
}

.compares-card-modern {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
}

.compares-card-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 1rem;
}

.compares-card-title-wrapper-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.compares-card-icon-modern {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ff6b36 0%, #ff8c5a 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

.compares-card-title-modern {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: Rezvan, IRANSans, sans-serif;
}

.compares-count-modern {
  padding: 0.5rem 1rem;
  background: #fff5f2;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #ff6b36;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
}

.compares-products-header-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e8e8e8;
}

.compares-product-header-card-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.compares-product-header-card-modern:hover {
  background: #fff;
  border-color: #ff6b36;
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.1);
  transform: translateY(-2px);
}

.compares-product-header-image-link-modern {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #e8e8e8;
  background: #fff;
  transition: all 0.3s ease;
}

.compares-product-header-image-link-modern:hover {
  border-color: #ff6b36;
  transform: scale(1.05);
}

.compares-product-header-image-modern {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compares-product-header-name-modern {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  font-family: IRANSans, sans-serif;
}

.compares-product-header-name-modern a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.compares-product-header-name-modern a:hover {
  color: #ff6b36;
}

.compares-product-header-price-modern {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ff6b36;
  font-family: IRANSans, sans-serif;
}

.compares-product-header-remove-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #f8d7da;
  color: #721c24;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.compares-product-header-remove-modern:hover {
  background: #f5c6cb;
  color: #721c24;
  transform: translateY(-2px);
}

.compares-table-wrapper-modern {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
}

.compares-table-modern {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 600px;
}

.compares-table-modern thead {
  background: #fafafa;
}

.compares-table-modern th {
  padding: 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #1a1a1a;
  border-bottom: 2px solid #e8e8e8;
  font-family: IRANSans, sans-serif;
}

.compares-table-th-label-modern {
  background: #fff5f2;
  text-align: right;
  width: 180px;
  padding-right: 1.5rem;
}

.compares-table-th-product-modern {
  min-width: 200px;
  vertical-align: top;
  padding: 1rem;
}

.compares-table-th-link-modern {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.compares-table-th-link-modern:hover {
  color: #ff6b36;
}

.compares-table-modern tbody tr {
  transition: background 0.3s ease;
}

.compares-table-modern tbody tr:hover {
  background: #fafafa;
}

.compares-table-modern tbody tr:last-child td {
  border-bottom: none;
}

.compares-table-modern td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #e8e8e8;
  vertical-align: middle;
  font-family: IRANSans, sans-serif;
}

.compares-table-td-label-modern {
  background: #fafafa;
  text-align: right;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1a1a1a;
  padding-right: 1.5rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  font-family: IRANSans, sans-serif;
}

.compares-table-td-label-modern i {
  color: #ff6b36;
  font-size: 1rem;
}

.compares-table-td-product-modern {
  background: #fff;
  min-width: 200px;
}

.compares-table-link-modern {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.compares-table-link-modern:hover {
  color: #ff6b36;
}

.compares-table-price-modern {
  font-size: 1rem;
  font-weight: 700;
  color: #ff6b36;
  font-family: IRANSans, sans-serif;
}

.compares-table-actions-modern {
  background: #fafafa;
}

.compares-table-actions-buttons-modern {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.compares-action-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.compares-action-view-modern {
  background: #d1ecf1;
  color: #0c5460;
}

.compares-action-view-modern:hover {
  background: #bee5eb;
  color: #0c5460;
  transform: translateY(-2px);
}

.compares-action-remove-modern {
  background: #f8d7da;
  color: #721c24;
}

.compares-action-remove-modern:hover {
  background: #f5c6cb;
  color: #721c24;
  transform: translateY(-2px);
}

.compares-empty-modern {
  text-align: center;
  padding: 4rem 2rem;
  background: #fafafa;
  border-radius: 12px;
  border: 2px dashed #e8e8e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.compares-empty-icon-modern {
  width: 80px;
  height: 80px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #ccc;
  font-size: 2.5rem;
}

.compares-empty-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: #666;
  margin: 0 0 0.5rem 0;
  font-family: Rezvan, IRANSans, sans-serif;
  text-align: center;
}

.compares-empty-desc-modern {
  font-size: 0.9375rem;
  color: #999;
  margin: 0 0 1.5rem 0;
  font-family: IRANSans, sans-serif;
  text-align: center;
}

.compares-empty-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #ff6b36;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.compares-empty-btn-modern:hover {
  background: #ff8c5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
  color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
  .compares-modern-section {
    padding: 1.5rem 0;
  }

  .compares-card-modern {
    padding: 1.5rem;
  }

  .compares-card-header-modern {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .compares-modern-section {
    padding: 1rem 0;
  }

  .compares-card-modern {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .compares-card-title-modern {
    font-size: 1.25rem;
  }

  .compares-card-icon-modern {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .compares-products-header-modern {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .compares-product-header-card-modern {
    padding: 1rem;
  }

  .compares-product-header-image-link-modern {
    width: 120px;
    height: 120px;
  }

  .compares-table-wrapper-modern {
    margin: 0 -1.25rem;
    padding: 0 1.25rem;
  }

  .compares-table-actions-buttons-modern {
    flex-direction: column;
  }

  .compares-action-btn-modern {
    width: 100%;
    justify-content: center;
  }

  .compares-empty-modern {
    padding: 3rem 1.5rem;
  }

  .compares-empty-icon-modern {
    width: 64px;
    height: 64px;
    font-size: 2rem;
  }
}

/* Modern Addresses Page Styles */
.addresses-modern-section {
  padding: 2rem 0;
  background: #f7f7f7;
  min-height: calc(100vh - 200px);
}

.addresses-success-message-modern {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  animation: slideDown 0.3s ease;
}

.addresses-success-content-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.addresses-success-icon-modern {
  color: #28a745;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.addresses-success-text-modern {
  flex: 1;
}

.addresses-success-desc-modern {
  margin: 0;
  color: #155724;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: IRANSans, sans-serif;
}

.addresses-success-close-modern {
  background: none;
  border: none;
  color: #155724;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.addresses-success-close-modern:hover {
  background: rgba(21, 87, 36, 0.1);
}

.addresses-card-modern {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
}

.addresses-card-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 1rem;
}

.addresses-card-title-wrapper-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.addresses-card-icon-modern {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ff6b36 0%, #ff8c5a 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

.addresses-card-title-modern {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: Rezvan, IRANSans, sans-serif;
}

.addresses-add-btn-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #ff6b36;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.addresses-add-btn-modern:hover {
  background: #ff8c5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
}

.addresses-add-btn-modern i {
  font-size: 1rem;
}

.address-item-modern {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.address-item-modern:hover {
  background: #fff;
  border-color: #ff6b36;
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.1);
  transform: translateY(-2px);
}

.address-item-header-modern {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.address-item-icon-modern {
  width: 48px;
  height: 48px;
  background: #ff6b36;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.address-item-content-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.address-item-row-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #666;
  font-family: IRANSans, sans-serif;
}

.address-item-row-modern i {
  color: #ff6b36;
  font-size: 0.875rem;
  flex-shrink: 0;
  width: 20px;
}

.address-item-row-modern strong {
  color: #1a1a1a;
  font-weight: 600;
}

.address-item-footer-modern {
  padding-top: 1rem;
  border-top: 1px solid #e8e8e8;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.address-item-edit-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: #f0f0f0;
  color: #666;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
  cursor: pointer;
}

.address-item-edit-modern:hover {
  background: #ff6b36;
  border-color: #ff6b36;
  color: #fff;
  transform: translateY(-2px);
}

.address-item-edit-modern i {
  font-size: 0.875rem;
}

.address-item-delete-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: #f0f0f0;
  color: #666;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
  cursor: pointer;
}

.address-item-delete-modern:hover {
  background: #dc3545;
  border-color: #dc3545;
  color: #fff;
  transform: translateY(-2px);
}

.address-item-delete-modern i {
  font-size: 0.875rem;
}

.addresses-empty-modern {
  text-align: center;
  padding: 4rem 2rem;
  background: #fafafa;
  border-radius: 12px;
  border: 2px dashed #e8e8e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.addresses-empty-icon-modern {
  width: 80px;
  height: 80px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #ccc;
  font-size: 2.5rem;
}

.addresses-empty-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: #666;
  margin: 0 0 0.5rem 0;
  font-family: Rezvan, IRANSans, sans-serif;
  text-align: center;
}

.addresses-empty-desc-modern {
  font-size: 0.9375rem;
  color: #999;
  margin: 0 0 1.5rem 0;
  font-family: IRANSans, sans-serif;
  text-align: center;
}

.addresses-empty-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #ff6b36;
  color: #fff;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
  cursor: pointer;
}

.addresses-empty-btn-modern:hover {
  background: #ff8c5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
  color: #fff;
}

/* Address Modal Styles */
.addresses-modal-modern {
  border-radius: 16px;
  border: none;
  overflow: hidden;
}

.addresses-modal-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e8e8e8;
  background: #fafafa;
}

.addresses-modal-title-wrapper-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.addresses-modal-icon-modern {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff6b36 0%, #ff8c5a 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.125rem;
}

.addresses-modal-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: Rezvan, IRANSans, sans-serif;
}

.addresses-modal-close-modern {
  background: none;
  border: none;
  color: #666;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.addresses-modal-close-modern:hover {
  background: #e8e8e8;
  color: #1a1a1a;
}

.addresses-modal-body-modern {
  padding: 2rem;
}

.addresses-form-row-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.addresses-form-group-modern {
  margin-bottom: 1.5rem;
}

.addresses-form-label-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  font-family: IRANSans, sans-serif;
}

.addresses-form-label-modern i {
  color: #ff6b36;
  font-size: 0.875rem;
}

.addresses-form-input-modern,
.addresses-form-select-modern,
.addresses-form-textarea-modern {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  font-size: 0.9375rem;
  color: #1a1a1a;
  background: #fff;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.addresses-form-textarea-modern {
  min-height: 100px;
  resize: vertical;
}

.addresses-form-input-modern:focus,
.addresses-form-select-modern:focus,
.addresses-form-textarea-modern:focus {
  outline: none;
  border-color: #ff6b36;
  box-shadow: 0 0 0 3px rgba(255, 107, 54, 0.1);
  background: #fff;
}

.addresses-form-input-modern::placeholder,
.addresses-form-textarea-modern::placeholder {
  color: #999;
}

.addresses-form-divider-modern {
  height: 1px;
  background: #e8e8e8;
  margin: 1.5rem 0;
}

.addresses-form-check-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.addresses-form-checkbox-modern {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #ff6b36;
}

.addresses-form-check-label-modern {
  font-size: 0.9375rem;
  color: #666;
  cursor: pointer;
  margin: 0;
  font-family: IRANSans, sans-serif;
}

.addresses-modal-footer-modern {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
  margin-top: 1.5rem;
}

.addresses-modal-btn-cancel-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #f0f0f0;
  color: #666;
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.addresses-modal-btn-cancel-modern:hover {
  background: #e0e0e0;
  color: #1a1a1a;
}

.addresses-modal-btn-submit-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #ff6b36;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.addresses-modal-btn-submit-modern:hover {
  background: #ff8c5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
}

/* Responsive */
@media (max-width: 991.98px) {
  .addresses-modern-section {
    padding: 1.5rem 0;
  }

  .addresses-card-modern {
    padding: 1.5rem;
  }

  .addresses-card-header-modern {
    flex-direction: column;
    align-items: flex-start;
  }

  .addresses-add-btn-modern {
    width: 100%;
    justify-content: center;
  }

  .address-item-header-modern {
    flex-direction: column;
    gap: 1rem;
  }

  .address-item-icon-modern {
    align-self: flex-start;
  }
}

@media (max-width: 767.98px) {
  .addresses-modern-section {
    padding: 1rem 0;
  }

  .addresses-card-modern {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .addresses-card-title-modern {
    font-size: 1.25rem;
  }

  .addresses-card-icon-modern {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .address-item-modern {
    padding: 1.25rem;
  }

  .addresses-form-row-modern {
    grid-template-columns: 1fr;
  }

  .addresses-modal-header-modern {
    padding: 1.25rem 1.5rem;
  }

  .addresses-modal-body-modern {
    padding: 1.5rem;
  }

  .addresses-modal-footer-modern {
    flex-direction: column-reverse;
  }

  .addresses-modal-btn-cancel-modern,
  .addresses-modal-btn-submit-modern {
    width: 100%;
    justify-content: center;
  }

  .addresses-empty-modern {
    padding: 3rem 1.5rem;
  }

  .addresses-empty-icon-modern {
    width: 64px;
    height: 64px;
    font-size: 2rem;
  }
}

/* Modern Favorites Page Styles */
.favorites-modern-section {
  padding: 2rem 0;
  background: #f7f7f7;
  min-height: calc(100vh - 200px);
}

.favorites-success-message-modern {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  animation: slideDown 0.3s ease;
}

.favorites-success-content-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.favorites-success-icon-modern {
  color: #28a745;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.favorites-success-text-modern {
  flex: 1;
}

.favorites-success-desc-modern {
  margin: 0;
  color: #155724;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: IRANSans, sans-serif;
}

.favorites-success-close-modern {
  background: none;
  border: none;
  color: #155724;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.favorites-success-close-modern:hover {
  background: rgba(21, 87, 36, 0.1);
}

.favorites-card-modern {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
}

.favorites-card-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 1rem;
}

.favorites-card-title-wrapper-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.favorites-card-icon-modern {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ff6b36 0%, #ff8c5a 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

.favorites-card-title-modern {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: Rezvan, IRANSans, sans-serif;
}

.favorites-count-modern {
  padding: 0.5rem 1rem;
  background: #fff5f2;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #ff6b36;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
}

.favorite-product-item-modern {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.favorite-product-item-modern:hover {
  background: #fff;
  border-color: #ff6b36;
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.1);
  transform: translateY(-2px);
}

.favorite-product-image-modern {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 2px solid #e8e8e8;
}

.favorite-product-image-link-modern {
  display: block;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

.favorite-product-image-link-modern:hover {
  transform: scale(1.05);
}

.favorite-product-img-modern {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.favorite-product-content-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.favorite-product-name-modern {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
}

.favorite-product-name-modern a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.favorite-product-name-modern a:hover {
  color: #ff6b36;
}

.favorite-product-price-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ff6b36;
  font-family: IRANSans, sans-serif;
}

.favorite-product-actions-modern {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  justify-content: center;
}

.favorite-product-view-modern,
.favorite-product-remove-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.favorite-product-view-modern {
  background: #d1ecf1;
  color: #0c5460;
}

.favorite-product-view-modern:hover {
  background: #bee5eb;
  color: #0c5460;
  transform: translateY(-2px);
}

.favorite-product-remove-modern {
  background: #f8d7da;
  color: #721c24;
}

.favorite-product-remove-modern:hover {
  background: #f5c6cb;
  color: #721c24;
  transform: translateY(-2px);
}

.favorite-product-view-modern i,
.favorite-product-remove-modern i {
  font-size: 1rem;
}

.favorites-empty-modern {
  text-align: center;
  padding: 4rem 2rem;
  background: #fafafa;
  border-radius: 12px;
  border: 2px dashed #e8e8e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.favorites-empty-icon-modern {
  width: 80px;
  height: 80px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #ccc;
  font-size: 2.5rem;
}

.favorites-empty-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: #666;
  margin: 0 0 0.5rem 0;
  font-family: Rezvan, IRANSans, sans-serif;
  text-align: center;
}

.favorites-empty-desc-modern {
  font-size: 0.9375rem;
  color: #999;
  margin: 0 0 1.5rem 0;
  font-family: IRANSans, sans-serif;
  text-align: center;
}

.favorites-empty-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #ff6b36;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.favorites-empty-btn-modern:hover {
  background: #ff8c5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
  color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
  .favorites-modern-section {
    padding: 1.5rem 0;
  }

  .favorites-card-modern {
    padding: 1.5rem;
  }

  .favorites-card-header-modern {
    flex-direction: column;
    align-items: flex-start;
  }

  .favorite-product-item-modern {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .favorite-product-image-modern {
    width: 150px;
    height: 150px;
  }

  .favorite-product-actions-modern {
    flex-direction: row;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .favorites-modern-section {
    padding: 1rem 0;
  }

  .favorites-card-modern {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .favorites-card-title-modern {
    font-size: 1.25rem;
  }

  .favorites-card-icon-modern {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .favorite-product-item-modern {
    padding: 1.25rem;
  }

  .favorite-product-image-modern {
    width: 120px;
    height: 120px;
  }

  .favorite-product-name-modern {
    font-size: 1rem;
  }

  .favorite-product-price-modern {
    font-size: 1.125rem;
  }

  .favorite-product-actions-modern {
    flex-direction: column;
    width: 100%;
  }

  .favorite-product-view-modern,
  .favorite-product-remove-modern {
    width: 100%;
    justify-content: center;
  }

  .favorites-empty-modern {
    padding: 3rem 1.5rem;
  }

  .favorites-empty-icon-modern {
    width: 64px;
    height: 64px;
    font-size: 2rem;
  }
}

/* Modern Tickets Page Styles */
.tickets-modern-section {
  padding: 2rem 0;
  background: #f7f7f7;
  min-height: calc(100vh - 200px);
}

.tickets-card-modern {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
}

.tickets-card-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 1rem;
}

.tickets-card-title-wrapper-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tickets-card-icon-modern {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ff6b36 0%, #ff8c5a 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

.tickets-card-title-modern {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: Rezvan, IRANSans, sans-serif;
}

.tickets-add-btn-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.tickets-add-btn-modern:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  color: #fff;
}

.tickets-add-btn-modern i {
  font-size: 1rem;
}

.ticket-item-modern {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.ticket-item-modern:hover {
  background: #fff;
  border-color: #ff6b36;
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.1);
  transform: translateY(-2px);
}

.ticket-item-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e8e8e8;
  flex-wrap: wrap;
  gap: 1rem;
}

.ticket-item-info-modern {
  flex: 1;
}

.ticket-item-subject-modern {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  font-family: IRANSans, sans-serif;
}

.ticket-item-meta-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #666;
  font-family: IRANSans, sans-serif;
}

.ticket-item-number-modern {
  font-weight: 600;
  color: #ff6b36;
}

.ticket-item-separator-modern {
  color: #ccc;
}

.ticket-item-author-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ticket-item-author-modern i {
  color: #ff6b36;
  font-size: 0.875rem;
}

.ticket-item-status-modern {
  flex-shrink: 0;
}

.ticket-status-badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
}

.ticket-status-badge-modern i {
  font-size: 0.75rem;
}

.ticket-status-open-modern {
  background: #d4edda;
  color: #155724;
}

.ticket-status-closed-modern {
  background: #e2e3e5;
  color: #383d41;
}

.ticket-item-body-modern {
  margin-bottom: 1rem;
}

.ticket-item-description-modern {
  font-size: 0.9375rem;
  color: #666;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  font-family: IRANSans, sans-serif;
}

.ticket-item-details-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.ticket-detail-item-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #666;
  font-family: IRANSans, sans-serif;
}

.ticket-detail-item-modern i {
  color: #ff6b36;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.ticket-detail-item-modern strong {
  color: #1a1a1a;
  font-weight: 600;
}

.ticket-item-footer-modern {
  padding-top: 1rem;
  border-top: 1px solid #e8e8e8;
}

.ticket-item-actions-modern {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.ticket-action-btn-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.ticket-action-view-modern {
  background: #d1ecf1;
  color: #0c5460;
}

.ticket-action-view-modern:hover {
  background: #bee5eb;
  color: #0c5460;
  transform: translateY(-2px);
}

.ticket-action-toggle-modern {
  background: #fff3cd;
  color: #856404;
}

.ticket-action-toggle-modern:hover {
  background: #ffeaa7;
  color: #856404;
  transform: translateY(-2px);
}

.ticket-action-btn-modern i {
  font-size: 0.875rem;
}

.tickets-empty-modern {
  text-align: center;
  padding: 4rem 2rem;
  background: #fafafa;
  border-radius: 12px;
  border: 2px dashed #e8e8e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tickets-empty-icon-modern {
  width: 80px;
  height: 80px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #ccc;
  font-size: 2.5rem;
}

.tickets-empty-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: #666;
  margin: 0 0 0.5rem 0;
  font-family: Rezvan, IRANSans, sans-serif;
  text-align: center;
}

.tickets-empty-desc-modern {
  font-size: 0.9375rem;
  color: #999;
  margin: 0 0 1.5rem 0;
  font-family: IRANSans, sans-serif;
  text-align: center;
}

.tickets-empty-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #28a745;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.tickets-empty-btn-modern:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
  .tickets-modern-section {
    padding: 1.5rem 0;
  }

  .tickets-card-modern {
    padding: 1.5rem;
  }

  .tickets-card-header-modern {
    flex-direction: column;
    align-items: flex-start;
  }

  .tickets-add-btn-modern {
    width: 100%;
    justify-content: center;
  }

  .ticket-item-header-modern {
    flex-direction: column;
    align-items: flex-start;
  }

  .ticket-item-actions-modern {
    width: 100%;
    justify-content: stretch;
  }

  .ticket-action-btn-modern {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .tickets-modern-section {
    padding: 1rem 0;
  }

  .tickets-card-modern {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .tickets-card-title-modern {
    font-size: 1.25rem;
  }

  .tickets-card-icon-modern {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .ticket-item-modern {
    padding: 1.25rem;
  }

  .ticket-item-subject-modern {
    font-size: 1rem;
  }

  .ticket-item-details-modern {
    flex-direction: column;
    gap: 0.75rem;
  }

  .ticket-item-actions-modern {
    flex-direction: column;
  }

  .ticket-action-btn-modern {
    width: 100%;
    justify-content: center;
  }

  .tickets-empty-modern {
    padding: 3rem 1.5rem;
  }

  .tickets-empty-icon-modern {
    width: 64px;
    height: 64px;
    font-size: 2rem;
  }
}

/* Amazing Products Page Red Design */
.amazing-products-page-red {
  min-height: 100vh;
  background: #fff;
  padding-top: 0;
}

.amazing-page-header-red {
  background: #ff6b36;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.amazing-page-header-content-red {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.amazing-page-search-icon-red,
.amazing-page-back-icon-red {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.amazing-page-search-icon-red:hover,
.amazing-page-back-icon-red:hover {
  opacity: 0.8;
  color: #fff;
}

.amazing-page-title-red {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  font-family: IRANSans, sans-serif;
  flex: 1;
  text-align: center;
}

.amazing-products-list-red {
  padding: 1.5rem 0;
}

.amazing-search-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #fff5f2;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  border: 1px solid #ffe5d9;
}

.amazing-search-result-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #666;
  font-family: IRANSans, sans-serif;
}

.amazing-search-result-info i {
  color: #ff6b36;
  font-size: 1rem;
}

.amazing-search-result-info strong {
  color: #1a1a1a;
  font-weight: 600;
}

.amazing-search-clear-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff;
  color: #ff6b36;
  border: 1px solid #ff6b36;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.amazing-search-clear-btn:hover {
  background: #ff6b36;
  color: #fff;
}

.amazing-search-clear-btn i {
  font-size: 1rem;
}

.amazing-product-item-red {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.3s ease;
}

.amazing-product-item-red:hover {
  background: #fafafa;
}

.amazing-product-image-red {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border-radius: 8px;
  overflow: hidden;
}

.amazing-product-img-red {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.amazing-product-content-red {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.amazing-product-name-red {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #333;
  font-family: IRANSans, sans-serif;
}

.amazing-product-name-red a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.amazing-product-name-red a:hover {
  color: #ff6b36;
}

.amazing-product-meta-red {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-direction: row;
}

.amazing-product-rating-red {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #ffc107;
  font-size: 0.875rem;
  font-family: IRANSans, sans-serif;
}

.amazing-product-rating-red i {
  font-size: 0.875rem;
}

.amazing-product-rating-red span {
  color: #666;
}

.amazing-product-discount-red {
  background: #ff6b36;
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
}

.amazing-product-price-section-red {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  align-items: flex-end;
}

.amazing-product-price-current-red {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  font-family: IRANSans, sans-serif;
  text-align: end;
}

.amazing-product-price-old-red {
  font-size: 0.875rem;
  color: #999;
  text-decoration: line-through;
  font-family: IRANSans, sans-serif;
  text-align: end;
}

.amazing-product-timer-red {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #666;
  font-family: IRANSans, sans-serif;
  margin-top: 0.5rem;
  justify-content: flex-end;
  flex-direction: row-reverse;
  text-align: right;
}

.amazing-product-timer-red i {
  color: #ff6b36;
  font-size: 0.875rem;
}

.amazing-products-pagination-red {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.amazing-products-pagination-red .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.amazing-products-pagination-red .pagination .page-link {
  padding: 0.625rem 1rem;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  color: #666;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.amazing-products-pagination-red .pagination .page-link:hover {
  background: #ff6b36;
  border-color: #ff6b36;
  color: #fff;
  transform: translateY(-2px);
}

.amazing-products-pagination-red .pagination .page-item.active .page-link {
  background: #ff6b36;
  border-color: #ff6b36;
  color: #fff;
}

.amazing-products-pagination-red .pagination .page-item.disabled .page-link {
  background: #f0f0f0;
  border-color: #e8e8e8;
  color: #ccc;
  cursor: not-allowed;
}

.amazing-products-empty-red {
  text-align: center;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.amazing-products-empty-red i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 1rem;
  display: block;
}

.amazing-products-empty-red h3 {
  font-size: 1.25rem;
  color: #666;
  margin: 0 0 0.5rem 0;
  font-family: IRANSans, sans-serif;
  text-align: center;
}

.amazing-products-empty-red p {
  font-size: 0.9375rem;
  color: #999;
  margin: 0 0 1.5rem 0;
  font-family: IRANSans, sans-serif;
  text-align: center;
}

.amazing-empty-btn-red {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #ff6b36;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
  text-align: center;
  margin: 0 auto;
}

.amazing-empty-btn-red:hover {
  background: #ff8c5a;
  color: #fff;
}

/* Amazing Search Modal Styles */
.amazing-search-modal-content {
  border-radius: 16px;
  border: none;
  overflow: hidden;
}

.amazing-search-modal-header {
  background: #ff6b36;
  color: #fff;
  border-bottom: none;
  padding: 1.25rem 1.5rem;
}

.amazing-search-modal-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  font-family: IRANSans, sans-serif;
}

.amazing-search-modal-title i {
  font-size: 1rem;
}

.amazing-search-modal-header .btn-close {
  filter: invert(1);
  opacity: 0.9;
}

.amazing-search-modal-header .btn-close:hover {
  opacity: 1;
}

.amazing-search-modal-body {
  padding: 1.5rem;
}

.amazing-search-input-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.amazing-search-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-size: 0.9375rem;
  color: #1a1a1a;
  background: #fff;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.amazing-search-input:focus {
  outline: none;
  border-color: #ff6b36;
  box-shadow: 0 0 0 3px rgba(255, 107, 54, 0.1);
}

.amazing-search-input::placeholder {
  color: #999;
}

.amazing-search-submit-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff6b36;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.amazing-search-submit-btn:hover {
  background: #ff8c5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
}

.amazing-search-form {
  margin: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
  .amazing-page-header-red {
    padding: 0.875rem 0;
  }

  .amazing-page-title-red {
    font-size: 1rem;
  }

  .amazing-page-search-icon-red,
  .amazing-page-back-icon-red {
    width: 36px;
    height: 36px;
    font-size: 1.125rem;
  }

  .amazing-product-item-red {
    padding: 1rem;
    gap: 0.75rem;
  }

  .amazing-product-image-red {
    width: 100px;
    height: 100px;
  }

  .amazing-product-name-red {
    font-size: 0.875rem;
  }

  .amazing-product-price-current-red {
    font-size: 0.9375rem;
  }
}

/* Amazing Products Page Styles */
.amazing-products-page-modern {
  min-height: calc(100vh - 200px);
  background: linear-gradient(180deg, #fff5f2 0%, #f7f7f7 100%);
}

.amazing-products-hero-modern {
  background: linear-gradient(135deg, #ff6b36 0%, #ff8c5a 50%, #ffa07a 100%);
  padding: 4rem 0;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.amazing-products-hero-modern::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  opacity: 0.3;
}

.amazing-products-hero-content-modern {
  text-align: center;
  position: relative;
  z-index: 1;
}

.amazing-products-hero-icon-modern {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: #fff;
  font-size: 3rem;
  backdrop-filter: blur(10px);
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.amazing-products-hero-title-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem 0;
  font-family: Rezvan, IRANSans, sans-serif;
}

.amazing-products-title-line-modern {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.amazing-products-title-line-modern:nth-child(1) {
  animation-delay: 0.1s;
}

.amazing-products-title-line-modern:nth-child(2) {
  animation-delay: 0.2s;
}

.amazing-products-title-line-modern:nth-child(3) {
  animation-delay: 0.3s;
}

.amazing-products-hero-subtitle-modern {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-family: IRANSans, sans-serif;
  font-weight: 500;
}

.amazing-products-content-page-modern {
  padding-bottom: 3rem;
}

.amazing-products-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.amazing-product-card-page-modern {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.amazing-product-card-page-modern::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff6b36 0%, #ff8c5a 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.amazing-product-card-page-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(255, 107, 54, 0.2);
  border-color: #ff6b36;
}

.amazing-product-card-page-modern:hover::before {
  transform: scaleX(1);
}

.amazing-product-discount-badge-page-modern {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: #fff;
  border-radius: 12px;
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.amazing-product-discount-percent-modern {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: IRANSans, sans-serif;
  line-height: 1;
}

.amazing-product-discount-text-modern {
  font-size: 0.75rem;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
  opacity: 0.9;
}

.amazing-product-image-link-page-modern {
  display: block;
  width: 100%;
  height: 220px;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  background: #fafafa;
  transition: all 0.3s ease;
}

.amazing-product-image-link-page-modern:hover {
  transform: scale(1.05);
}

.amazing-product-image-wrapper-page-modern {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.amazing-product-image-page-modern {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.amazing-product-info-page-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.amazing-product-name-page-modern {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
  min-height: 3rem;
  display: flex;
  align-items: center;
}

.amazing-product-name-page-modern a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.amazing-product-name-page-modern a:hover {
  color: #ff6b36;
}

.amazing-product-price-page-modern {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: #fff5f2;
  border-radius: 10px;
}

.amazing-product-final-price-page-modern {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.amazing-price-number-modern {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff6b36;
  font-family: IRANSans, sans-serif;
}

.amazing-price-currency-modern {
  font-size: 1rem;
  color: #ff6b36;
  font-weight: 600;
  font-family: IRANSans, sans-serif;
}

.amazing-product-old-price-page-modern {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: line-through;
  opacity: 0.6;
}

.amazing-old-price-number-modern {
  font-size: 1rem;
  color: #666;
  font-family: IRANSans, sans-serif;
}

.amazing-product-view-btn-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, #ff6b36 0%, #ff8c5a 100%);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
  margin-top: 0.5rem;
}

.amazing-product-view-btn-modern:hover {
  background: linear-gradient(135deg, #ff8c5a 0%, #ff6b36 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
  color: #fff;
}

.amazing-product-view-btn-modern i {
  font-size: 1rem;
}

.amazing-products-pagination-modern {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.amazing-products-pagination-modern .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.amazing-products-pagination-modern .pagination .page-link {
  padding: 0.625rem 1rem;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  color: #666;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.amazing-products-pagination-modern .pagination .page-link:hover {
  background: #ff6b36;
  border-color: #ff6b36;
  color: #fff;
  transform: translateY(-2px);
}

.amazing-products-pagination-modern .pagination .page-item.active .page-link {
  background: #ff6b36;
  border-color: #ff6b36;
  color: #fff;
}

.amazing-products-pagination-modern .pagination .page-item.disabled .page-link {
  background: #f0f0f0;
  border-color: #e8e8e8;
  color: #ccc;
  cursor: not-allowed;
}

.amazing-products-empty-page-modern {
  text-align: center;
  padding: 6rem 2rem;
  background: #fff;
  border-radius: 20px;
  border: 2px dashed #e8e8e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.amazing-products-empty-icon-modern {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #fff5f2 0%, #ffe5d9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: #ff6b36;
  font-size: 3rem;
}

.amazing-products-empty-title-modern {
  font-size: 1.5rem;
  font-weight: 700;
  color: #666;
  margin: 0 0 0.5rem 0;
  font-family: Rezvan, IRANSans, sans-serif;
}

.amazing-products-empty-desc-modern {
  font-size: 1rem;
  color: #999;
  margin: 0 0 2rem 0;
  font-family: IRANSans, sans-serif;
}

.amazing-products-empty-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #ff6b36 0%, #ff8c5a 100%);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.amazing-products-empty-btn-modern:hover {
  background: linear-gradient(135deg, #ff8c5a 0%, #ff6b36 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3);
  color: #fff;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 991.98px) {
  .amazing-products-hero-modern {
    padding: 3rem 0;
  }

  .amazing-products-hero-icon-modern {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }

  .amazing-products-title-line-modern {
    font-size: 2.5rem;
  }

  .amazing-products-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .amazing-products-hero-modern {
    padding: 2rem 0;
    margin-bottom: 2rem;
  }

  .amazing-products-hero-icon-modern {
    width: 70px;
    height: 70px;
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .amazing-products-title-line-modern {
    font-size: 2rem;
  }

  .amazing-products-hero-subtitle-modern {
    font-size: 1rem;
  }

  .amazing-products-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
  }

  .amazing-product-card-page-modern {
    padding: 1.25rem;
  }

  .amazing-product-image-link-page-modern {
    height: 180px;
  }

  .amazing-price-number-modern {
    font-size: 1.25rem;
  }

  .amazing-products-empty-page-modern {
    padding: 4rem 1.5rem;
  }

  .amazing-products-empty-icon-modern {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }
}

/* Modern Ticket Create Page Styles */
.ticket-create-modern-section {
  padding: 2rem 0;
  background: #f7f7f7;
  min-height: calc(100vh - 200px);
}

.ticket-create-card-modern {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
}

.ticket-create-header-modern {
  margin-bottom: 2rem;
}

.ticket-create-back-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #666;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.ticket-create-back-modern:hover {
  background: #f0f0f0;
  border-color: #ff6b36;
  color: #ff6b36;
  transform: translateX(-5px);
}

.ticket-create-title-wrapper-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ticket-create-icon-modern {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
}

.ticket-create-title-modern {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  font-family: Rezvan, IRANSans, sans-serif;
}

.ticket-create-form-modern {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ticket-create-form-row-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.ticket-create-form-group-modern {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ticket-create-form-label-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
  font-family: IRANSans, sans-serif;
}

.ticket-create-form-label-modern i {
  color: #ff6b36;
  font-size: 0.875rem;
}

.ticket-create-form-input-modern,
.ticket-create-form-select-modern,
.ticket-create-form-textarea-modern {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  font-size: 0.9375rem;
  color: #1a1a1a;
  background: #fff;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.ticket-create-form-textarea-modern {
  min-height: 150px;
  resize: vertical;
}

.ticket-create-form-input-modern:focus,
.ticket-create-form-select-modern:focus,
.ticket-create-form-textarea-modern:focus {
  outline: none;
  border-color: #ff6b36;
  box-shadow: 0 0 0 3px rgba(255, 107, 54, 0.1);
  background: #fff;
}

.ticket-create-form-input-modern::placeholder,
.ticket-create-form-textarea-modern::placeholder {
  color: #999;
}

.ticket-create-form-error-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #dc3545;
  font-family: IRANSans, sans-serif;
  margin-top: 0.25rem;
}

.ticket-create-form-error-modern i {
  font-size: 0.875rem;
}

.ticket-create-file-wrapper-modern {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ticket-create-form-file-modern {
  display: none;
}

.ticket-create-file-label-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  background: #f0f0f0;
  border: 2px dashed #e8e8e8;
  border-radius: 10px;
  color: #666;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
  justify-content: center;
}

.ticket-create-file-label-modern:hover {
  background: #e8e8e8;
  border-color: #ff6b36;
  color: #ff6b36;
}

.ticket-create-file-label-modern i {
  font-size: 1rem;
}

.ticket-create-file-name-modern {
  font-size: 0.875rem;
  color: #666;
  font-family: IRANSans, sans-serif;
  padding: 0.5rem 1rem;
  background: #fafafa;
  border-radius: 8px;
}

.ticket-create-form-footer-modern {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
  margin-top: 1rem;
}

.ticket-create-btn-cancel-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #f0f0f0;
  color: #666;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.ticket-create-btn-cancel-modern:hover {
  background: #e0e0e0;
  color: #1a1a1a;
}

.ticket-create-btn-submit-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: IRANSans, sans-serif;
}

.ticket-create-btn-submit-modern:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.ticket-create-btn-submit-modern i,
.ticket-create-btn-cancel-modern i {
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 991.98px) {
  .ticket-create-modern-section {
    padding: 1.5rem 0;
  }

  .ticket-create-card-modern {
    padding: 1.5rem;
  }

  .ticket-create-form-row-modern {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .ticket-create-modern-section {
    padding: 1rem 0;
  }

  .ticket-create-card-modern {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .ticket-create-title-modern {
    font-size: 1.5rem;
  }

  .ticket-create-icon-modern {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  .ticket-create-form-footer-modern {
    flex-direction: column-reverse;
  }

  .ticket-create-btn-cancel-modern,
  .ticket-create-btn-submit-modern {
    width: 100%;
    justify-content: center;
  }
}
