@charset "UTF-8";
@font-face {
  font-family: "Farhang";
  src: url(../fonts/Farhang2FaNum-Black.woff2);
  font-weight: 900;
}
@font-face {
  font-family: "Farhang";
  src: url(../fonts/Farhang2FaNum-Bold.woff2);
  font-weight: 700;
}
@font-face {
  font-family: "Farhang";
  src: url(../fonts/Farhang2FaNum-DemiBold.woff2);
  font-weight: 600;
}
@font-face {
  font-family: "Farhang";
  src: url(../fonts/Farhang2FaNum-ExtraBold.woff2);
  font-weight: 800;
}
@font-face {
  font-family: "Farhang";
  src: url(../fonts/Farhang2FaNum-ExtraLight.woff2);
  font-weight: 200;
}
@font-face {
  font-family: "Farhang";
  src: url(../fonts/Farhang2FaNum-Light.woff2);
  font-weight: 300;
}
@font-face {
  font-family: "Farhang";
  src: url(../fonts/Farhang2FaNum-Medium.woff2);
  font-weight: 500;
}
@font-face {
  font-family: "Farhang";
  src: url(../fonts/Farhang2FaNum-Regular.woff2);
  font-weight: 400;
}
body {
  font-family: "Farhang";
  background-color: #0A0A0A;
}

.product,
.related-products,
.comment-section,
.product-motion-strip {
  max-width: 100%;
  overflow-x: clip;
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .product-detail .product-desc,
  .product-detail .product-desc * {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    overflow-x: hidden !important;
  }
}

header {
  transition: all 0.3s ease;
}
header.fixed-header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-theme {
  background-color: rgb(199, 168, 103);
  padding: 12px 0;
  color: white;
  border-radius: 0;
  margin-top: 24px;
}
.btn-theme:hover {
  background-color: rgba(199, 168, 103, 0.24);
}

.form-control {
  align-items: center;
  padding: 16px;
  gap: 10px;
  background: #242424;
  border: 1px solid #404040;
  color: #c3c3c3;
}
.form-control::placeholder {
  color: #404040;
}

.divider {
  width: 100%;
  height: 1px;
  background: #242424;
  margin: 1.5rem 0;
}

.nav-link {
  color: #ffffff;
  margin: 0 0.75rem;
  border-bottom: 1px solid transparent;
}
.nav-link:hover {
  color: rgb(199, 168, 103);
  border-bottom: 1px solid rgb(199, 168, 103);
}

.btn-nav {
  margin-right: 1.2rem;
}

.btn-sing-in {
  color: #ffffff;
}
.btn-sing-in:hover {
  color: #ffffff;
}

.cart-btn .cart-quntity {
  width: 1.2rem;
  height: 1.4rem;
  display: inline-block;
  border-radius: 15px;
  line-height: 1.8;
  text-align: center;
  font-family: "Farhang";
  background-color: rgb(199, 168, 103);
}

.search-wrapper {
  position: relative;
}
.search-wrapper .input-group {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px) translateY(20px);
  transition: all 0.25s ease;
}
.search-wrapper .input-group.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) translateY(20px);
}
.search-wrapper .input-group input {
  background: #1A1A1A;
  border: 1px solid rgba(212, 175, 106, 0.15);
  color: white;
}
.search-wrapper .input-group input:focus {
  box-shadow: none;
  border-color: #D4AF6A;
}
.search-wrapper .input-group .input-group-text {
  background: #D4AF6A;
  border: none;
}
@media (max-width: 768px) {
  .search-wrapper .input-group {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: calc(100vw - 24px);
    transform: translateY(20px);
  }

  .search-wrapper .input-group.show {
    transform: translateY(20px);
  }
}

.navbar-toggler {
  color: #ffffff;
}

/* Mega Menu */
.mega-menu {
  width: 100%;
  left: 0;
  right: 0;
  border: none;
  border-radius: 0;
  padding: 0;
  background: #efefef;
  margin-top: 0;
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: translateY(15px);
  transition: 0.35s ease;
}
.mega-menu .mega-title {
  font-size: 18px;
  padding-top: 40px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #111;
}
.mega-menu .mega-link {
  display: block;
  text-decoration: none;
  color: #555;
  margin-bottom: 12px;
  font-size: 14px;
  transition: 0.25s;
}
.mega-menu .mega-link:hover {
  color: #000;
}
.mega-menu .col-mega {
  padding: 0px 40px;
  border-left: 1px solid #ccc;
}
.mega-menu .mega-image-column {
  margin-right: auto;
  border-left: 0;
}
.mega-menu .mega-image img {
  height: 300px;
}

.nav-item.dropdown {
  position: static;
}
.nav-item.dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(2px);
}

.cart-menu {
  position: absolute;
  left: 0%;
  padding: 24px;
  display: none;
  max-width: 430px;
  z-index: 1;
  background-color: #ffffff;
}

.cart-item {
  border-bottom: 1px solid #C2C2C2;
  padding-bottom: 24px;
  margin-top: 24px;
}
.cart-item .info-wrapper {
  margin-right: 16px;
  flex: 1;
  /* اضافه شد - اجازه رشد به اطلاعات می‌دهد */
  min-width: 0;
  /* اضافه شد - برای text-truncate ضروری است */
}
.cart-item .info-wrapper .name {
  font-weight: bold;
  margin-bottom: 8px;
  /* اضافه شد - فاصله از بخش بعدی */
}
.cart-item .info-wrapper .size,
.cart-item .info-wrapper .color {
  margin-top: 12px;
  color: #565656;
}
.cart-item .info-wrapper .price {
  display: flex;
  gap: 8px;
  /* اضافه شد - فاصله بین تعداد و قیمت */
  align-items: center;
}
.cart-item .info-wrapper .price span {
  white-space: nowrap;
  /* اضافه شد - جلوگیری از شکستن هر بخش */
}
.cart-item .info-wrapper .price span:last-child {
  color: black;
  font-weight: bold;
}
.cart-item:first-child {
  margin-top: 0;
}

.zagros-menu .nav-tabs {
  margin-top: 24px;
  border-bottom: none;
}
.zagros-menu .nav-tabs .nav-link {
  color: #222;
  font-weight: 500;
  font-size: 20px;
  padding: 14px 0;
}
.zagros-menu .nav-tabs .nav-link.active {
  background-color: #0b1437;
  color: #fff;
  border-bottom: 4px solid rgb(199, 168, 103);
  border-radius: 0;
}
.zagros-menu .list-group-item {
  border: none;
  padding: 20px 24px;
  border-bottom: 1px solid #E9E9E9;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.zagros-menu .list-group-item svg {
  transition: 0.2s;
}
.zagros-menu .list-group-item:hover {
  background-color: #f8f9fa;
}
.zagros-menu .list-group-item_btn_coll:not(.collapsed) {
  border-bottom: 2px solid #02003C;
}
.zagros-menu .list-group-item_btn_coll:not(.collapsed) svg {
  transform: rotate(180deg);
}
.zagros-menu .list-group-item a {
  text-decoration: none;
  color: #222;
  display: flex;
  justify-content: space-between;
}
.zagros-menu .list-group-item a:after {
  content: "";
  background-image: url(../images/icon/Iconly-Heart-1724839002216.svg);
}
.zagros-menu .list-group-item .collapse a:after {
  transform: rotate(-180deg);
}

/* Offcanvas scroll */
.offcanvas-body {
  padding: 0;
  overflow-y: auto;
}

/* حذف یا اصلاح این بخش - چون در HTML شما استفاده نشده */
.price-section {
  font-size: 20px;
  font-weight: 800;
  margin-top: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-menu.show {
  display: block;
}

.cart-btn.active {
  border-bottom: 1px solid rgb(199, 168, 103);
}

.modal-login {
  background-color: #161616;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal-login .modal-header {
  align-self: start;
  padding: 0;
  border-bottom: unset;
}
.modal-login .modal-header .close {
  padding: 3px 7px;
  border-radius: 0;
  background-color: #E40004;
  color: white;
}
.modal-login .modal-body .text-wrapper {
  border-bottom: 1px solid #242424;
}
.modal-login .otp-wrapper {
  margin-top: 2rem;
}
.modal-login .otp-wrapper .otp-input {
  width: 56px;
  height: 56px;
  background: #1A1A1A;
  border: 1px solid rgba(212, 175, 106, 0.15);
  border-radius: 4px;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: all 0.25s ease;
}
.modal-login .otp-wrapper .otp-input:focus {
  border-color: #D4AF6A;
  box-shadow: 0 0 0 3px rgba(212, 175, 106, 0.12);
  background: #202020;
}
.modal-login .otp-wrapper .otp-input:hover {
  border-color: rgba(212, 175, 106, 0.4);
}
.modal-login .text-secondary.text-start a {
  text-decoration: underline;
  color: rgb(199, 168, 103);
}
.modal-login .form-group label {
  color: rgb(199, 168, 103);
}

.footer {
  color: #e0e0e0;
  padding: 60px 0 20px;
}
.footer .logo {
  color: rgb(199, 168, 103);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.footer .info-title,
.footer .section-title {
  color: rgb(199, 168, 103);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-links li {
  margin-bottom: 0.75rem;
}
.footer .footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.footer .footer-links a:hover {
  color: rgb(199, 168, 103);
  padding-right: 5px;
}
.footer .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .contact-list li {
  margin-bottom: 1rem;
  color: #9D9D9D;
  line-height: 1.5;
}
.footer .contact-list i {
  color: rgb(199, 168, 103);
  font-size: 1.1rem;
  min-width: 24px;
}
.footer .social-icons {
  display: flex;
  gap: 15px;
}
.footer .social-icons a {
  width: 56px;
  height: 56px;
  padding: 6px;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}
.footer .social-icons a:hover {
  transform: translateY(-2px);
}
.footer .social-icons a img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}
.footer .newsletter-text {
  font-size: 0.85rem;
  color: #b0b0b0;
  margin-bottom: 0.75rem;
}
.footer .newsletter .form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 8px 0 0 8px;
  font-size: 0.85rem;
}
.footer .newsletter .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgb(199, 168, 103);
  box-shadow: none;
  color: #ffffff;
}
.footer .newsletter .form-control::placeholder {
  color: #666;
}
.footer .newsletter .btn-subscribe {
  background: rgb(199, 168, 103);
  border: none;
  color: #0a0a0a;
  font-weight: 600;
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  padding: 0.375rem 1rem;
}
.footer .newsletter .btn-subscribe:hover {
  background: rgb(188.0153846154, 150.9346153846, 73.1846153846);
  color: #000;
}
.footer .mini-logo-wrapper {
  position: relative;
}
.footer .mini-logo-wrapper::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  height: 2px;
  width: 50%;
  background-color: #242424;
}
.footer .mini-logo-wrapper::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  height: 2px;
  width: 50%;
  background-color: #242424;
}
.footer .mini-logo-wrapper img {
  background-color: #000;
  padding: 0 10px;
  position: relative;
  z-index: 2;
}
.footer .copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #ffffff;
}
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }
  .footer .logo {
    font-size: 1.5rem;
  }
  .footer .contact-list li {
    font-size: 0.75rem;
  }
}

.breadcrumb {
  background-image: linear-gradient(45deg, #0F0F0F, #161616);
}

.breadcrumb-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 1.25rem 0;
  font-size: 14px;
  font-weight: 400;
  direction: rtl;
}
.breadcrumb-wrapper a {
  color: #8A8A8A;
  text-decoration: none;
  transition: color 0.25s ease;
}
.breadcrumb-wrapper a:hover {
  color: #D4AF6A;
}
.breadcrumb-wrapper span {
  color: #5E5E5E;
}
.breadcrumb-wrapper .active {
  color: #E5E5E5;
  max-width: 420px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product .product-detail {
  direction: rtl;
  color: #fff;
  min-width: 0;
}
.product .product-detail .product-title {
  font-weight: 700;
  line-height: 1.8;
  color: #D4AF6A;
}
.product .product-detail .product-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1rem;
}
.product .product-detail .product-meta span {
  color: #7A7A7A;
  font-size: 14px;
}
.product .product-detail .section-title {
  font-weight: 600;
  color: rgb(199, 168, 103);
  margin-bottom: 1rem;
}
.product .product-detail .sizes-wrapper {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.product .product-detail .sizes-wrapper .sizes-wrapper {
  display: flex;
  gap: 10px;
}
.product .product-detail .sizes-wrapper .size-item {
  cursor: pointer;
}
.product .product-detail .sizes-wrapper .size-item input {
  display: none;
}
.product .product-detail .sizes-wrapper .size-item span {
  width: 54px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 106, 0.15);
  background: transparent;
  color: #fff;
  transition: all 0.25s ease;
}
.product .product-detail .sizes-wrapper .size-item input:checked + span {
  background: #D4AF6A;
  color: #000;
  border-color: #D4AF6A;
}
.product .product-detail .sizes-wrapper .size-item.disabled span {
  opacity: 0.3;
  cursor: not-allowed;
}
.product .product-detail .sizes-wrapper .size-item:hover span {
  border-color: #D4AF6A;
}
.product .product-detail .size-guide {
  margin-top: 1rem;
  color: #A1A1A1;
  font-size: 14px;
}
.product .product-detail .price-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}
@media (max-width: 768px) {
  .product .product-detail .price-wrapper .price-info {
    width: 100%;
  }
}
.product .product-detail .price-wrapper .old-price {
  color: #777;
  text-decoration: line-through;
  font-size: 14px;
}
.product .product-detail .price-wrapper .discount {
  background-color: #323232;
  height: 36px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 24px;
}
.product .product-detail .price-wrapper .new-price {
  font-weight: 700;
}
.product .product-detail .price-wrapper .add-cart-btn {
  border: none;
  background: #D4AF6A;
  color: #fff;
  border-radius: 60px;
  padding: 14px 28px;
  font-weight: 600;
  transition: all 0.25s ease;
}
.product .product-detail .price-wrapper .add-cart-btn:hover {
  opacity: 0.9;
}
@media (max-width: 768px) {
  .product .product-detail .price-wrapper .add-cart-btn {
    width: 100%;
  }
}
.product .product-detail .payment-boxes {
  display: flex;
  flex-wrap: wrap;
  background: #1A1A1A;
  border: 1px solid rgba(255, 255, 255, 0.05);
  align-items: center;
  justify-content: space-around;
  gap: 6px;
}
.product .product-detail .payment-boxes .payment-item {
  padding: 16px 0;
}
.product .product-detail .colors-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.product .product-detail .color-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-align: center;
  position: relative;
}
.product .product-detail .color-item input {
  display: none;
}
.product .product-detail .color-item .color-image {
  width: clamp(65px, 5vw, 88px);
  height: clamp(65px, 5vw, 88px);
  background: #1B1B1B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all 0.25s ease;
}
.product .product-detail .color-item .color-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product .product-detail .color-item span {
  margin-top: 18px;
  color: #fff;
  transition: all 0.25s ease;
}
.product .product-detail .color-item small {
  margin-top: 6px;
  font-size: 18px;
  color: #6E6E6E;
}
.product .product-detail .color-item {
  /* Active */
}
.product .product-detail .color-item input:checked + .color-image {
  border-color: #D4AF6A;
}
.product .product-detail .color-item input:checked ~ span {
  color: #fff;
}
.product .product-detail .color-item:hover .color-image {
  border-color: #D4AF6A;
}
.product .product-detail .color-item {
  /* Disabled */
}
.product .product-detail .color-item.disabled {
  cursor: not-allowed;
}
.product .product-detail .color-item.disabled .color-image {
  opacity: 0.45;
  position: relative;
}
.product .product-detail .color-item.disabled .color-image::after {
  content: "ناموجود";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 20px;
}
.product .product-detail .color-item.disabled span {
  color: #6E6E6E;
}
.product .product-detail .product-desc {
  color: #BDBDBD;
  line-height: 2.2;
  font-size: 14px;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
.product .product-detail .product-desc * {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.product .product-detail .product-desc img,
.product .product-detail .product-desc video,
.product .product-detail .product-desc iframe {
  max-width: 100%;
  height: auto;
}
.product .product-detail .product-desc table {
  width: 100% !important;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.product .product-detail .product-desc td,
.product .product-detail .product-desc th {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.product .product-detail .product-desc pre {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-x: hidden;
}
@media (max-width: 680px) {
  .product .product-detail .product-desc {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    overflow-x: hidden;
  }
}
.product .product-detail .specs-list {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}
.product .product-detail .specs-list .spec-item {
  display: grid;
  grid-template-columns: minmax(96px, 38%) minmax(0, 1fr);
  align-items: center;
  margin-bottom: 4px;
  min-width: 0;
}
.product .product-detail .specs-list .spec-item:last-child {
  border-bottom: none;
}
.product .product-detail .specs-list .spec-label {
  padding: 10px;
  background-color: #242424;
  font-weight: 500;
  color: #fff;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.product .product-detail .specs-list .spec-value {
  padding: 10px;
  background-color: #161616;
  color: #fff;
  font-weight: 500;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (max-width: 680px) {
  .product .product-detail .specs-list .spec-label,
  .product .product-detail .specs-list .spec-value {
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
  }

  .product .product-detail .specs-list .spec-item {
    grid-template-columns: minmax(86px, 40%) minmax(0, 1fr);
  }
}
.product .product-detail .info-links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.product .product-detail .info-links .info-item {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  padding: 1rem 0rem;
  transition: 0.3s;
}
.product .product-detail .info-links .info-item:hover {
  color: rgb(199, 168, 103);
}
@media (max-width: 680px) {
  .product .product-detail .info-links {
    grid-template-columns: repeat(1, 1fr);
  }
  .product .product-detail .info-links .info-item {
    padding: 0.9rem 0.5rem;
    font-size: 0.85rem;
    border-bottom: 1px solid #242424;
  }
  .product .product-detail .info-links .info-item:last-child {
    border-bottom: unset;
  }
}
.product .product-detail .bg-blue-dark {
  background-color: #00001E;
}

.secound-section {
  background: #161616;
  position: relative;
  top: 0;
}

.relatedSwiper {
  width: 100%;
  overflow: hidden;
  padding-block: 20px;
  direction: rtl;
}
.relatedSwiper .swiper-slide {
  width: auto;
}
.relatedSwiper .swiper-wrapper {
  align-items: center;
  transition-timing-function: linear !important;
}
.relatedSwiper .swiper-button-next,
.relatedSwiper .swiper-button-prev {
  color: #c7a867;
  background: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.relatedSwiper .swiper-button-next::after,
.relatedSwiper .swiper-button-prev::after {
  font-size: 1rem;
  font-weight: bold;
}
.relatedSwiper .swiper-button-next {
  left: 10px;
  right: auto;
}
.relatedSwiper .swiper-button-prev {
  right: 10px;
  left: auto;
}
@media (max-width: 768px) {
  .relatedSwiper {
    padding-inline: 16px;
  }
  .relatedSwiper .swiper-button-next,
  .relatedSwiper .swiper-button-prev {
    display: none;
  }
}

.related-products {
  padding: 40px 0px;
  border-top: 1px solid #242424;
}
.related-products__header h2 {
  font-weight: 600;
  color: rgb(199, 168, 103);
  margin-bottom: 24px;
  text-align: right;
}
.related-products .tab-product-card {
  background: #111;
  padding: 16px;
}
.related-products .tab-product-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.product-related-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  color: #fff;
  direction: rtl;
  text-align: right;
}
.product-related-card__image {
  position: relative;
  overflow: hidden;
  height: clamp(200px, 22vw, 300px);
}
.product-related-card__image .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-related-card__image .hover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: 0.4s;
}
.product-related-card:hover .hover-image {
  opacity: 1;
}
.product-related-card:hover .product-related-actions {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.product-related-discount {
  position: absolute;
  top: 0;
  left: clamp(5px, 1vw, 19px);
  width: clamp(50px, 4vw, 56px);
  height: clamp(50px, 4vw, 56px);
  border-radius: 0 0 50% 50%;
  background: #000653;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 800;
}

.product-related-actions {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: 0.4s;
}
.product-related-actions button {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgb(199, 168, 103);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  cursor: pointer;
}
.product-related-actions button img {
  height: 30px;
}
.product-related-actions button:hover {
  background: rgba(199, 168, 103, 0.48);
}

.product-related-title {
  font-size: 23px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 8px;
}

.product-related-price {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}
.product-related-price del {
  color: rgba(255, 255, 255, 0.62);
}
.product-related-price del.empty {
  visibility: hidden;
}
.product-related-price strong {
  color: rgb(199, 168, 103);
  font-weight: 800;
}

.product-related-sizes {
  display: flex;
  gap: 16px;
}
.product-related-sizes span {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
}

.sp img {
  width: 53px;
  height: 32px;
}

.kp img {
  width: 80px;
  height: 20px;
}

.dp img {
  width: 82px;
  height: 20px;
}

.tp img {
  width: 34px;
  height: 32px;
}

.zp img {
  width: 116px;
  height: 32px;
}

.motion-marquee {
  width: 100%;
  overflow: hidden;
  background: #161616;
  position: relative;
  padding: 24px 0;
  display: flex;
  align-items: center;
  height: 106px;
}

.motion-marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 40px;
  white-space: nowrap;
  flex-shrink: 0;
  color: white;
}

.relatedSwiper2 {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding-inline: 200px;
  padding-block: 20px;
  background: #161616;
}
.relatedSwiper2 .swiper-slide {
  width: max-content;
}
.relatedSwiper2 .swiper-wrapper {
  align-items: center;
  transition-timing-function: linear !important;
}
.relatedSwiper2 .motion-marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .relatedSwiper2 {
    padding-inline: 12px;
  }

  .relatedSwiper2 .motion-marquee-item {
    padding-inline: 16px;
  }
}

/* RIGHT SIDE */
.product-gallery {
  position: sticky;
  top: 70px;
  display: flex;
  flex-direction: row-reverse;
  gap: 16px;
  padding: 20px;
}

/* thumbnails */
.product-thumbs {
  width: 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thumb {
  width: 100%;
  height: 120px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.2s;
}

.thumb.active {
  border-color: #111;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* main image */
.product-main-image {
  flex: 1;
  position: sticky;
  top: 10px;
  height: clamp(100px, 77.2vh, 700px);
  overflow: hidden;
  align-self: flex-start;
}
.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================== */
/* Media Query برای موبایل و تبلت (کمتر از 768px) */
/* ========================================== */
@media (max-width: 768px) {
  .product-gallery {
    flex-direction: column;
    /* تغییر جهت به ستون (عمودی) */
    position: relative;
    /* در موبایل معمولاً sticky مزاحمت ایجاد می‌کند */
    top: auto;
    padding: 12px;
  }
  .product-main-image {
    position: relative;
    /* ریست position */
    top: auto;
    height: auto;
    /* ارتفاع خودکار */
    width: 100%;
  }
  .product-thumbs {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    /* thumb‌ها تمام عرض را بگیرند */
    flex-direction: row;
    /* چیدمان افقی برای thumb‌ها */
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    /* اسکرول افقی در صورت نیاز */
    gap: 8px;
    padding-bottom: 8px;
  }
  .thumb {
    width: 120px;
    /* سایز کوچک‌تر برای موبایل */
    height: 143px;
    flex-shrink: 0;
    /* جلوگیری از کوچک شدن thumb‌ها */
  }
  .thumb.active {
    border-width: 2px;
  }
}
.comment-section .comment-wrapper .fs-2 {
  color: #ffffff;
  font-weight: 700;
}
.comment-section .comment-wrapper p {
  color: #C2C2C2;
}
.comment-section .comment-wrapper button {
  background: transparent;
  border: 1px solid #323232;
  color: #FFFFFF;
  border-radius: 46px;
  padding: 14px 32px;
}

/* Restored shared shop header behavior */
#header .user-menu-wrapper {
  position: relative;
}
#header .user-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  width: 260px;
  padding: 16px;
  display: none;
  background: #fff;
  color: #151515;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  z-index: 1100;
}
#header .user-dropdown.show {
  display: block;
}
#header .user-dropdown__info {
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e9e9e9;
}
#header .user-dropdown__info strong,
#header .header-cart__head strong,
#header .header-cart__footer strong {
  color: #111;
}
#header .user-dropdown__info span,
#header .header-cart__empty,
#header .header-cart-loading,
#header .header-cart__more {
  color: #727272;
}
#header .user-dropdown__link,
#header .user-dropdown__button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  color: #222;
  text-decoration: none;
  background: transparent;
  border: 0;
  font: inherit;
  text-align: right;
}
#header .user-dropdown__link:hover,
#header .user-dropdown__button:hover {
  background: #f5f5f5;
  color: rgb(199, 168, 103);
}
#header .user-dropdown__link--danger {
  color: #c62828;
}
#header .search-wrapper {
  position: static;
}
#header .search-backdrop,
#header .search-backdrop.show {
  display: none;
}
#header .search-wrapper .input-group {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  width: 100%;
  margin: 0 !important;
  padding: 24px max(24px, calc((100vw - 1320px) / 2)) 24px max(72px, calc((100vw - 1320px) / 2));
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: 0.35s ease;
  z-index: 1040;
  background: #efefef;
  border: none;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}
#header .search-wrapper .input-group.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(2px);
}
#header .search-wrapper .input-group input {
  min-height: 54px;
  background: #fff;
  border: 1px solid #d7d7d7;
  color: #111;
}
#header .search-close {
  position: absolute;
  top: 50%;
  left: max(24px, calc((100vw - 1320px) / 2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #111;
  background: #d4af6a;
  border: 1px solid #d4af6a;
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
}
#header .search-suggestions {
  position: absolute;
  top: calc(100% + 82px);
  right: 0;
  left: 0;
  width: 100%;
  max-height: min(52vh, 520px);
  overflow-y: auto;
  background: #efefef;
  border-top: 1px solid #d9d9d9;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1040;
}
#header .search-suggestions.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#header .search-suggestions__body {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 18px 24px 22px;
}
#header .search-suggestions__section h3 {
  margin: 0 0 8px;
  color: #caa45e;
  font-size: 14px;
  font-weight: 800;
}
#header .search-suggestions__item,
#header .search-suggestions__empty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  padding: 10px 8px;
  color: #111;
  text-decoration: none;
}
#header .search-suggestions__item:hover {
  background: rgba(212, 175, 106, 0.18);
  color: #111;
}
#header .cart-menu {
  top: calc(100% + 18px);
  left: 0;
  width: min(430px, calc(100vw - 24px));
  max-height: calc(100vh - var(--shop-cart-menu-top, 80px) - 24px);
  overflow-y: auto;
  color: #222;
  z-index: 1100;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}
#header .header-cart__head,
#header .header-cart__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#header .header-cart__head {
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e2e2;
}
#header .header-cart__item {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid #e2e2e2;
}
#header .header-cart__item-image img {
  width: 78px;
  height: 98px;
  object-fit: cover;
}
#header .header-cart__item-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
#header .header-cart__item-info strong {
  overflow: hidden;
  color: #111;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#header .header-cart__item-info small,
#header .header-cart__item-info span {
  color: #727272;
  font-size: 13px;
}
#header .header-cart__item b {
  align-self: end;
  white-space: nowrap;
  color: #111;
  font-size: 13px;
}
#header .header-cart__remove {
  position: absolute;
  left: 0;
  top: 14px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #727272;
  font-size: 24px;
  line-height: 1;
}
#header .header-cart__action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  color: #fff;
  background: rgb(199, 168, 103);
  text-decoration: none;
}
@media (max-width: 768px) {
  #header .search-wrapper .input-group {
    padding: 16px 12px 16px 58px;
  }
  #header .search-close {
    left: 12px;
  }
  #header .search-suggestions {
    top: calc(100% + 74px);
  }
  #header .user-dropdown,
  #header .cart-menu {
    position: fixed;
    top: 74px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    box-sizing: border-box;
  }
  #header .cart-menu {
    max-height: calc(100vh - 92px);
    padding: 16px;
  }
  #header .header-cart__head,
  #header .header-cart__footer {
    flex-wrap: wrap;
  }
  #header .header-cart__item {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
    padding: 14px 0;
  }
  #header .header-cart__item-image img {
    width: 62px;
    height: 82px;
  }
  #header .header-cart__item b {
    grid-column: 2;
    justify-self: start;
    white-space: normal;
  }
}

/*# sourceMappingURL=product.css.map */
