body:not(.dark-mode) .icon-dark {
  display: none;
}
body.dark-mode .icon-light {
  display: none;
}

body {
  background-color: var(--bg-body);
  color: var(--text-body);
  transition: background-color 0.1s ease, color 0.1s ease;
}

.bg-body {
  background: var(--bg-body);
}

.text-body {
  fill: var(--text-body);
  color: var(--text-body);
  stroke: var(--text-body);
}

body.dark-mode p.darkness,
body.dark-mode h1.darkness,
body.dark-mode h2.darkness,
body.dark-mode h3.darkness,
body.dark-mode h4.darkness,
body.dark-mode h5.darkness,
body.dark-mode h6.darkness {
  color: #ffffff !important;
}

.fs-7 { font-size: 14px; }
.fs-8 { font-size: 12px; }
.fs-9 { font-size: 10px; }

.reseta { text-decoration: none; }
a { text-decoration: none; color: unset; }
button a { text-decoration: none; color: var(--btn-text); }
.z-header { z-index: 9999; }

.xtrim-header-border {
  border-radius: 22px;
}
#calltaggle {
  background-color: var(--bg-body-re);
}

.post-title {
  margin-bottom: 20px;
  padding-bottom: 15px;
  position: relative;
}
.post-title:after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 100px;
  height: 3px;
  background-color: var(--main-color) !important;
}

body.dark-mode .logo-img-xtrim img,
body.dark-mode .footer-logo a img,
body.dark-mode .xtrim-loader-logo img,
body.dark-mode .xtrim-anim-fade-logo img,
body.dark-mode .cotpl-brand-shield img,
body.dark-mode a.social-btn img,
body.dark-mode .xtrim-price-currency {
  filter: brightness(0) invert(1);
}

.btn-xtrim {
  background: var(--btn-bg);
  border: none;
  height: 40px;
  border-radius: 8px;
  min-width: 40px;
}
.btn-xtrim:hover {
  background: var(--btn-bg) !important;
  color: var(--btn-text) !important;
  border-color: var(--border-color);
}
.btn-xtrim a {
  color: var(--btn-text) !important;
}

.under-section {
  position: relative;
  height: 2px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}
.under-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(130, 20, 255, 0.7), rgba(99, 102, 241, 0.6), rgba(0, 200, 255, 0.4), transparent);
  background-size: 60% 100%;
  animation: gradientFlow 10s linear infinite;
}
@keyframes gradientFlow {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

.progress-wrap {
  position: fixed;
  right: 50px;
  bottom: 50px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 200ms linear;
}
.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.progress-wrap::after {
  position: absolute;
  content: "\ea76";
  font-family: "remixicon" !important;
  text-align: center;
  line-height: 46px;
  font-size: 20px;
  left: 0;
  top: 0;
  height: 46px;
  width: 46px;
  z-index: 1;
}
.progress-wrap svg path { fill: none; }
.progress-wrap svg.progress-circle path,
svg.progress-circle path {
  stroke: var(--main-color);
  stroke-width: 4;
  box-sizing: border-box;
  transition: all 200ms linear;
}
@media (max-width: 767px) {
  .progress-wrap { right: 15px; bottom: 80px; }
}

.size-img-fix { max-height: 130px; width: 100px; }
.enamad-img-wrap:hover { scale: 1.05; transition: ease-in-out 0.2s; }

body:not(.rtl) .footer-site .text-lg-end,
html[dir="ltr"] .footer-site .text-lg-end,
body:not(.rtl) .footer-logo,
html[dir="ltr"] .footer-logo,
body:not(.rtl) .footer-description,
html[dir="ltr"] .footer-description {
  text-align: left !important;
}

.tj-comments__container {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}
.tj-comments__wrap { background-color: var(--bg-body); }
.tj-comments__wrap h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-body);
  position: relative;
  padding-bottom: 15px;
}
.tj-comments__wrap h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--main-color);
  border-radius: 2px;
}
.commenent-title {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border-color);
  justify-content: flex-start;
  position: relative;
}
.commenent-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70px;
  height: 3px;
  background: var(--main-color, #7c3aed);
  border-radius: 3px;
}
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list > li {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}
.comment-list > li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.comment-body { display: flex; gap: 20px; flex-direction: column; }
.comment-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}
.comment-content { width: 100%; }
.comments-title { display: none; }
.comment-author {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 5px;
  display: block;
}
.comment-author img {
  border-radius: 11px;
  margin: 0 10px;
  border: 1px solid var(--main-color);
}
.comment-author a { color: var(--text-body); text-decoration: none; }
.comment-author a:hover { color: var(--main-color); }
.comment-meta {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.comment-date { font-size: 13px; color: var(--tj-grey-1, #747779); margin-left: 10px; }
.comment-text { font-size: 15px; line-height: 1.6; color: var(--text-body); margin-bottom: 15px; }
.reply { margin-top: 10px; }
.comment-reply-link {
  font-size: 13px;
  color: var(--main-color);
  text-decoration: none;
  font-weight: 600;
  padding: 5px 12px;
  border: 1px solid var(--main-color);
  border-radius: 4px;
  transition: all 0.3s;
}
.comment-reply-link:hover { background-color: var(--main-color); color: #fff; }
.comment-list .children {
  list-style: none;
  margin-left: 40px;
  margin-top: 20px;
  padding-top: 20px;
  border-left: 2px solid var(--border-color);
}
.comment-respond {
  margin-top: 40px;
  padding-top: 40px;

}
.comment-respond h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-body);
}
.comment-form p { margin-bottom: 15px; }
.comment-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-body);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--hover-bg);
  color: var(--text-body);
  font-size: 14px;
  transition: all 0.3s;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--main-color);
  background-color: var(--bg-body);
  box-shadow: 0 0 0 3px rgba(135, 80, 247, 0.1);
}
.comment-form textarea { height: 120px; resize: vertical; }
.comment-form input[type="submit"] {
  background-color: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 15px;
}
.comment-form input[type="submit"]:hover {
  background-color: #6a3bc4;
  transform: translateY(-2px);
}
.comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.comment-form .comment-form-cookies-consent input { margin-top: 5px; }
.comment-form .comment-form-cookies-consent label {
  font-weight: 400;
  font-size: 13px;
  color: var(--tj-grey-1, #747779);
  margin-bottom: 0;
}

.modern-card {
  background: #ffffff;
  border: none;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  position: relative;
}
.modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}
.modern-card-img-wrapper { position: relative; overflow: hidden; height: 220px; }
.modern-card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.modern-card:hover .modern-card-img-wrapper img { transform: scale(1.08); }
.card-badge-floating {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0d6efd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 2;
}
.modern-card-body { padding: 1.75rem; }
.modern-card-title { font-weight: 700; font-size: 1.25rem; line-height: 1.4; margin-bottom: 0.75rem; transition: color 0.3s ease; }
.modern-card:hover .modern-card-title a { color: #0d6efd !important; }
.modern-card-text {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn-modern-read {
  background: transparent;
  border: 2px solid #e9ecef;
  color: #333;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-modern-read:hover {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
  transform: translateX(5px);
}
.btn-modern-read i { transition: transform 0.3s ease; }
.btn-modern-read:hover i { transform: translateX(3px); }

@keyframes memorial-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.shimmer-text {
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  background-image: linear-gradient(135deg, rgb(147, 197, 253) 0%, rgb(56, 189, 248) 50%, rgb(129, 140, 248) 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: memorial-shimmer 5s linear infinite;
}

.footer-social-wrapper { margin: 30px 0 20px; padding: 10px 0; }
.social-buttons-group { gap: 1rem !important; }
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--bg-menu, #ffffff);
  border-radius: var(--social-border-radius, 50px);
  padding: 0 12px;
  width: 48px;
  height: 48px;
  color: var(--text-menu, #4c1d95);
  text-decoration: none;
  font-size: 22px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  white-space: nowrap;
  border: 1px solid var(--border-color, #e9d5ff);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.social-custom-img { width: 16px; height: 16px; object-fit: contain; display: block; flex-shrink: 0; margin-right: 2px;}
.social-btn i { flex-shrink: 0; }
.social-btn .social-text {
  font-size: 14px;
  font-weight: 500;
  max-width: 0;
  opacity: 0;
  transform: translateX(10px);
  transition: max-width 0.4s ease, opacity 0.3s ease, transform 0.4s ease;
  padding-right: 0;
  display: inline-block;
}
.social-btn-active {
  width: auto;
  max-width: 200px;
  padding: 0 20px;
  background: var(--btn-bg, #7c3aed);
  color: var(--btn-text, #ffffff);
  border-color: var(--btn-bg, #7c3aed);
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.2);
}
.social-btn-active .social-text { max-width: 150px; opacity: 1; transform: translateX(0); padding-right: 8px; }
.social-buttons-group:hover .social-btn-active {
  width: 48px;
  max-width: 48px;
  padding: 0 12px;
  background: var(--bg-menu, #ffffff);
  color: var(--text-menu, #4c1d95);
  border-color: var(--border-color, #e9d5ff);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.social-buttons-group:hover .social-btn-active .social-text { max-width: 0; opacity: 0; transform: translateX(10px); padding-right: 0; }
.social-buttons-group .social-btn:hover {
  width: auto !important;
  max-width: 200px !important;
  padding: 0 20px !important;
  background: var(--main-color, #7c3aed) !important;
  color: var(--btn-text, #ffffff) !important;
  border-color: var(--main-color, #7c3aed) !important;
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.25) !important;
}
.social-buttons-group .social-btn:hover .social-text { max-width: 150px !important; opacity: 1 !important; transform: translateX(0) !important; padding-right: 8px !important; }
body.dark-mode .social-btn { background: var(--bg-menu); color: var(--text-menu); border-color: var(--border-color); }
body.dark-mode .social-btn-active { background: var(--main-color); color: var(--bg-body); border-color: var(--main-color); }

@media (max-width: 768px) {
  .social-btn, .social-btn-active,
  .social-buttons-group:hover .social-btn-active,
  .social-buttons-group .social-btn:hover {
    width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    justify-content: center !important;
    font-size: 20px !important;
  }
  .social-btn .social-text, .social-btn-active .social-text { display: none !important; max-width: 0 !important; opacity: 0 !important; }
  .social-custom-img { width: 16px; height: 16px; }
}

.license-item .enamad-img-wrap img { max-height: 130px !important; width: auto; }

.xtrim-slider-card {
  border: 1px solid var(--border-color, #e0e0e0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.xtrim-slider-card:hover { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); border-color: var(--main-color, #0665ff); }
.xtrim-slider-thumb img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0;
  animation: fadeInImage 0.5s ease forwards;
}
@keyframes fadeInImage { to { opacity: 1; } }
.xtrim-slider-card:hover .xtrim-slider-thumb img { transform: scale(1.1); }

.xtrim-single-elegant { background: var(--bg-body); padding: 3rem 0; direction: rtl; }
.xtrim-single-elegant-container { max-width: 1300px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.xtrim-single-elegant-grid { display: flex; gap: 2rem; }
.xtrim-single-elegant-main { flex: 1; min-width: 0; }
.xtrim-single-elegant-sidebar { width: 320px; flex-shrink: 0; }
.xtrim-single-elegant-grid.no-sidebar .xtrim-single-elegant-main { flex: 0 0 100%; max-width: 100%; }

.xtrim-single-elegant-card {
  background: var(--bg-menu);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  box-shadow: 0 20px 35px -12px rgba(124, 58, 237, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.xtrim-single-elegant-card:hover { box-shadow: 0 25px 40px -14px rgba(124, 58, 237, 0.12); }
body.dark-mode .xtrim-single-elegant-card { box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.4); }
body.dark-mode .xtrim-single-elegant-card:hover { box-shadow: 0 25px 40px -14px rgba(0, 0, 0, 0.55); }

.xtrim-single-elegant-breadcrumb { padding: 2rem 2.5rem 0 2.5rem; font-size: 0.85rem; color: var(--text-body); opacity: 0.7; text-align: right; }
.xtrim-single-elegant-breadcrumb a { color: var(--main-color); text-decoration: none; }
.xtrim-single-elegant-breadcrumb a:hover { text-decoration: underline; }

.xtrim-single-elegant-cover { position: relative; margin: 1.5rem 2.5rem 0 2.5rem; border-radius: 24px; overflow: hidden; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.15); }
.xtrim-single-elegant-thumb { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.xtrim-single-elegant-cover:hover .xtrim-single-elegant-thumb { transform: scale(1.03); }
.xtrim-single-elegant-cover-gradient { position: absolute; bottom: 0; left: 0; right: 0; height: 60%; background: linear-gradient(to top, rgba(15, 5, 29, 0.3), transparent); pointer-events: none; }

.xtrim-single-elegant-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 2rem 2.5rem 1rem 2.5rem;
  background: linear-gradient(135deg, var(--heading-special), var(--main-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  text-align: right;
}

.xtrim-single-elegant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0 2.5rem 2rem 2.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-color);
  justify-content: flex-start;
  position: relative;
}
.xtrim-single-elegant-meta::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(270deg, var(--main-color), transparent);
  border-radius: 3px;
}
.xtrim-single-elegant-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--text-body); opacity: 0.8; }
.xtrim-single-elegant-meta i { color: var(--main-color); font-size: 1.1rem; }

.xtrim-single-elegant-content { padding: 0 2.5rem; font-size: 1.05rem; line-height: 1.85; color: var(--text-body); text-align: right; }
.xtrim-single-elegant-content h1, .xtrim-single-elegant-content h2, .xtrim-single-elegant-content h3, .xtrim-single-elegant-content h4, .xtrim-single-elegant-content h5, .xtrim-single-elegant-content h6 {
  color: var(--heading-special);
  margin-top: 2.2em;
  margin-bottom: 0.8em;
  font-weight: 700;
  line-height: 1.4;
}
.xtrim-single-elegant-content h2 { font-size: 1.8rem; border-right: 4px solid var(--main-color); padding-right: 14px; }
.xtrim-single-elegant-content h3 { font-size: 1.5rem; }
.xtrim-single-elegant-content p { margin-bottom: 1.5rem; }
.xtrim-single-elegant-content img { max-width: 100%; height: auto; border-radius: 20px; margin: 1.8rem 0; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06); }
.xtrim-single-elegant-content blockquote { background: linear-gradient(135deg, var(--hover-bg), transparent); border-right: 4px solid var(--main-color); padding: 1.2rem 1.8rem; margin: 2rem 0; border-radius: 16px; color: var(--text-body); }

.xtrim-single-elegant-tags {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: nowrap;
    max-width: 63%;
    overflow: scroll;
    flex-direction: row;
}
.xtrim-tags-label {
  background: var(--main-color);
  color: var(--btn-text);
  padding: 0.35rem 1.1rem;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(40, 36, 45, 0.15);
}
.xtrim-tags-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.xtrim-tags-list a {
  background: var(--hover-bg);
  border: 1px solid var(--border-color);
  padding: 0.3rem 1rem;
  border-radius: 40px;
  font-size: 0.75rem;
  text-decoration: none;
  color: var(--text-body);
  transition: all 0.25s ease;
}
.xtrim-tags-list a:hover {
  background: var(--main-color);
  color: var(--btn-text);
  border-color: var(--main-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(124, 58, 237, 0.2);
}

.xtrim-single-elegant-share { display: flex; align-items: center; gap: 0.8rem; max-width: 37%;}
@media screen and (max-width: 1023px) {
  .xtrim-single-elegant-share {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .xtrim-single-elegant-tags {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    max-width: 63%;
    overflow: scroll;
    flex-direction: column;
    align-content: center;
  }
  .xtrim-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
  }
}
@media screen and (min-width: 1024px) {
  .xtrim-single-elegant-share {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    max-width: 37%;
    flex-direction: column;
  }
}

.xtrim-share-label { font-weight: 700; font-size: 0.9rem; color: var(--heading-special); }
.xtrim-share-buttons { display: flex; gap: 0.5rem; }
.xtrim-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--hover-bg);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  transition: all 0.25s ease;
  text-decoration: none;
  font-size: 1.1rem;
}
.xtrim-share-link:hover {
  background: linear-gradient(135deg, var(--main-color), #a855f7);
  color: var(--btn-text);
  border-color: var(--main-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.25);
}

.xtrim-single-elegant-comments { margin: 2rem 2.5rem 2.5rem 2.5rem;}
.xtrim-single-elegant-comments .comment-list { list-style: none; padding: 0; margin: 0; }
.xtrim-single-elegant-comments .comment-body {
  background: var(--hover-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.25s ease;
}
.xtrim-single-elegant-comments .comment-body:hover { transform: translateX(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04); }
.xtrim-single-elegant-comments .comment-author { font-weight: 700; color: var(--heading-special); }
.xtrim-single-elegant-comments .reply a {
  background: var(--main-color);
  color: var(--btn-text);
  padding: 0.3rem 1.3rem;
  border-radius: 40px;
  font-size: 0.75rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}
.xtrim-single-elegant-comments .reply a:hover { transform: scale(1.02); box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2); }

.xtrim-single-elegant-comments .comment-reply-title { font-size: 1.4rem; font-weight: 700; color: var(--heading-special); margin-bottom: 1.5rem; }
.xtrim-single-elegant-comments .comment-form input,
.xtrim-single-elegant-comments .comment-form textarea {
  background: var(--bg-menu);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 0.8rem 1.4rem;
  color: var(--text-body);
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
  outline: none;
}
.xtrim-single-elegant-comments .comment-form input:focus,
.xtrim-single-elegant-comments .comment-form textarea:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}
.xtrim-single-elegant-comments .comment-form .submit {
  background: var(--main-color);
  color: var(--btn-text);
  border: none;
  padding: 0.8rem 2.2rem;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}

@media (max-width: 992px) {
  .xtrim-single-elegant-grid { flex-direction: column; }
  .xtrim-single-elegant-sidebar { width: 100%; }
  .xtrim-single-elegant-card { border-radius: 20px; }
  .xtrim-single-elegant-title { font-size: 1.9rem; margin: 1.5rem 1.5rem 0.75rem 1.5rem; }
  .xtrim-single-elegant-breadcrumb { padding: 1.5rem 1.5rem 0 1.5rem; }
  .xtrim-single-elegant-cover { margin: 1.2rem 1.5rem 0 1.5rem; border-radius: 16px; }
  .xtrim-single-elegant-meta { margin: 0 1.5rem 1.5rem 1.5rem; }
  .xtrim-single-elegant-content { padding: 0 1.5rem; }
  .xtrim-single-elegant-comments { margin: 1.5rem 1.5rem 2rem 1.5rem; }
}
@media (max-width: 576px) {
  .xtrim-single-elegant-title { font-size: 1.6rem; }
}

.xtrim-widget-toc {
  background-color: var(--bg-menu);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.03);
  position: sticky;
  top: 130px;
  z-index: 996;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
body.dark-mode .xtrim-widget-toc { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); }
.xtrim-toc-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 2px solid var(--border-color); margin-bottom: 20px; }
.xtrim-toc-title { font-size: 16px; font-weight: 700; color: var(--heading-special); margin: 0; display: flex; align-items: center; gap: 10px; }
.xtrim-toc-title i { color: var(--main-color); font-size: 20px; }
.xtrim-toc-toggle-btn {
  background: var(--hover-bg);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
}
.xtrim-toc-toggle-btn:hover { background: var(--main-color); color: var(--btn-text); border-color: var(--main-color); }
.xtrim-widget-toc.collapsed .xtrim-toc-toggle-btn i { transform: rotate(180deg); }
.xtrim-toc-container { max-height: 1000px; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.xtrim-widget-toc.collapsed .xtrim-toc-container { max-height: 0; }
.xtrim-toc-container ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.xtrim-toc-container ul li { position: relative; transition: all 0.2s ease; }
.xtrim-toc-container ul li.toc-h3 { padding-right: 15px; }
.xtrim-toc-link { color: var(--text-body); text-decoration: none; font-size: 14px; line-height: 1.5; transition: all 0.25s ease; display: inline-block; opacity: 0.85; max-width: 100%; }
.xtrim-toc-link:hover { color: var(--main-color); opacity: 1; padding-right: 5px; }
.xtrim-toc-truncate .xtrim-toc-link { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
@media (max-width: 992px) { .xtrim-widget-toc { position: static; margin-bottom: 20px; border-radius: 16px; } }

.under-sectionn .bubble {
  position: absolute;
  bottom: 0;
  background: rgba(130, 20, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  animation: floatUp 4s infinite linear;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}
.under-sectionn .b1 { left: 25%; width: 8px; height: 8px; animation-duration: 3.5s; animation-delay: 0s; }
.under-sectionn .b2 { left: 45%; width: 14px; height: 14px; animation-duration: 5s; animation-delay: 1.5s; }
.under-sectionn .b3 { left: 65%; width: 10px; height: 10px; animation-duration: 4s; animation-delay: 0.7s; }
.under-sectionn .b4 { left: 80%; width: 6px; height: 6px; animation-duration: 4.5s; animation-delay: 2.2s; }
@keyframes floatUp {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.8; }
  100% { transform: translateY(-80px) scale(1.2); opacity: 0; }
}

.logo-shine {
  vertical-align: middle;
  -webkit-mask: linear-gradient(-60deg, #ffffff 30%, rgba(0, 0, 0, 0.33), #ffffff 70%) right center / 200% 100%;
  mask: linear-gradient(-60deg, #ffffff 30%, rgba(0, 0, 0, 0.33), #ffffff 70%) right center / 200% 100%;
  animation: Rwshine 3s ease-in-out infinite;
}
@keyframes Rwshine {
  0% { -webkit-mask-position: 150% 0; mask-position: 150% 0; }
  100% { -webkit-mask-position: -50% 0; mask-position: -50% 0; }
}

.archive-title { position: relative; display: inline-block; padding-bottom: 18px; margin-bottom: 30px; }
.archive-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 140px;
  height: 5px;
  background-color: var(--main-color);
  border-radius: 4px;
  transition: width 0.3s ease;
}
.archive-title:hover::after { width: 180px; }

.error-404-section {
  background-color: var(--bg-body);
  color: var(--text-body);
  padding: 100px 20px;
  text-align: center;
  direction: rtl;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 70vh;
}
.error-404-container { max-width: 750px; margin: 0 auto; }
.error-404-image { max-width: 100%; height: auto; max-height: 380px; margin-bottom: 45px; animation: floatAnimation 4s ease-in-out infinite; object-fit: contain; }
.error-404-title { font-size: 2.5rem; font-weight: 800; color: var(--heading-special); margin-bottom: 20px; line-height: 1.4; }
.error-404-desc { font-size: 1.15rem; color: var(--text-body); opacity: 0.85; max-width: 580px; margin: 0 auto 40px auto; line-height: 1.8; }
.error-404-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--btn-bg);
  color: var(--btn-text) !important;
  padding: 14px 36px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15);
}
.error-404-btn:hover { background-color: var(--main-color); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(124, 58, 237, 0.25); }
@keyframes floatAnimation {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.index-grid-page nav.navigation.pagination { display: flex; justify-content: center; }
.index-grid-page span.page-numbers.current { padding: 7px 15px; background: var(--main-color); border-radius: 10px; }
.index-grid-page a.page-numbers { background: #827f7f; padding: 7px 15px; border-radius: 10px; }
body.toplevel_page_xtrim-settings,
body.toplevel_page_xtrim-settings * { font-family: "Xtrim", tahoma, sans-serif !important; }

.xt-dl-wrapper .xtrim-price-currency,
.xtrim-price-currency .toman,
.xtrim-price-currency {
  width: 26px !important;
  height: 22px !important;
  display: inline-block !important;
  background-color: #000000 !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-image: url(../images/icons/toman.svg) !important;
  mask-image: url(../images/icons/toman.svg) !important;
}
.woocommerce-Price-currencySymbol .xtrim-price-currency {
  width: 25px !important;
  height: 12px !important;
  margin-right: 4px;
  display: inline-block !important;
  background-color: #000000 !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-image: url(../images/icons/toman.svg) !important;
  mask-image: url(../images/icons/toman.svg) !important;
}

@keyframes xtrimShimmerAnimation {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.xtrim-shimmer {
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%) !important;
  background-size: 200% 100% !important;
  animation: xtrimShimmerAnimation 1.5s infinite linear !important;
}
body.dark-mode .xtrim-shimmer,
html.dark-mode .xtrim-shimmer,
[data-theme="dark"] .xtrim-shimmer,
.dark-theme .xtrim-shimmer {
  background: linear-gradient(90deg, #23163d 25%, #322156 50%, #23163d 75%) !important;
  background-size: 200% 100% !important;
}
.xtrim-skeleton-loader {
  position: absolute;
  inset: 0;
  background: var(--hover-bg, #ffffff);
  z-index: 10;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  transition: opacity 0.35s ease;
  border-radius: inherit;
  overflow: hidden;
}
body.dark-mode .xtrim-skeleton-loader,
html.dark-mode .xtrim-skeleton-loader,
[data-theme="dark"] .xtrim-skeleton-loader,
.dark-theme .xtrim-skeleton-loader {
  background: var(--hover-bg, #1e1135) !important;
}
.xtrim-real-content { opacity: 0; transition: opacity 0.35s ease; display: flex; flex-direction: column; flex-grow: 1; height: 100%; }
.xtrim-card-loaded .xtrim-real-content { opacity: 1 !important; }

@media screen and (max-width: 428px) {
  .xtrim-single-elegant-footer {
    display: flex;
    flex-direction: column !important;
    gap: 20px;
    margin: 40px 20px;
    border-radius: 22px;
    border: 1px solid var(--border-color);
    justify-content: space-between;
    align-items: center;
  }

  .xtrim-single-elegant-tags {
    max-width: 100% !important;
  }
}

.under-sectopn {
    position: relative;
    height: 1.5px;
    width: 100%;
    margin: 40px auto;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        var(--xtrim-footer-rgb-color, rgba(168, 85, 247, 0.7)) 50%, 
        transparent 100%
    );
    overflow: visible;
    box-shadow: none !important;
}

.under-sectopn .bubble {
    position: absolute;
    bottom: 0;
    border-radius: 50%;
    pointer-events: none;
    background: var(--xtrim-footer-bubble-color, #a855f7);
    box-shadow: none !important;
    opacity: 0;
    will-change: transform, opacity;
}

@keyframes bubbleFloatStraight {
    0% {
        transform: translateY(0) scale(0.4);
        opacity: 0;
    }
    20% {
        opacity: 0.85;
    }
    75% {
        opacity: 0.85;
    }
    100% {
        transform: translateY(-65px) scale(1);
        opacity: 0;
    }
}

.under-sectopn .bubble.b1 {
    left: 15%;
    width: 11px;
    height: 11px;
    animation: bubbleFloatStraight 3.8s linear infinite;
    animation-delay: 0s;
}

.under-sectopn .bubble.b2 {
    left: 29%;
    width: 6px;
    height: 6px;
    animation: bubbleFloatStraight 4.8s linear infinite;
    animation-delay: 1.4s;
}

.under-sectopn .bubble.b3 {
    left: 47%;
    width: 15px;
    height: 15px;
    animation: bubbleFloatStraight 4.2s linear infinite;
    animation-delay: 0.6s;
}

.under-sectopn .bubble.b4 {
    left: 63%;
    width: 8px;
    height: 8px;
    animation: bubbleFloatStraight 5.2s linear infinite;
    animation-delay: 2.2s;
}

.under-sectopn .bubble.b5 {
    left: 77%;
    width: 12px;
    height: 12px;
    animation: bubbleFloatStraight 4.0s linear infinite;
    animation-delay: 1.1s;
}

.under-sectopn .bubble.b6 {
    left: 89%;
    width: 5px;
    height: 5px;
    animation: bubbleFloatStraight 4.6s linear infinite;
    animation-delay: 2.8s;
}

.under-sectopn .bubble.b7 {
    left: 9%;
    width: 9px;
    height: 9px;
    animation: bubbleFloatStraight 4.5s linear infinite;
    animation-delay: 3.3s;
}

.legal-section {
    font-size: 13px;
    color: var(--text-body-light, #6c757d);
}




/* ==========================================================================
   سکشن کامل ویجت‌ها و فرم جستجو (اصلاح‌شده برای قالب شما)
   ========================================================================== */

/* ۱. کادر اصلی تمام ویجت‌ها */
.widget,
.widget_block,
.sidebar_widget {
  background-color: var(--bg-menu);
  margin-bottom: 24px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
  position: relative;
  direction: rtl;
  text-align: right;
  box-sizing: border-box;
}

body.dark-mode .widget,
body.dark-mode .widget_block,
body.dark-mode .sidebar_widget {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ۲. عنوان ویجت‌ها (تک‌خطی بنفش بدون تکرار) */
.widget::after,
.widget_block::after,
.widget_title::after,
.widget-title::after {
  content: none !important;
  display: none !important;
}

.widget h1, .widget h2, .widget h3, .widget h4, .widget h5, .widget h6,
.widget_block h1, .widget_block h2, .widget_block h3, .widget_block h4,
.sidebar_widget .widget_title h3,
.sidebar_widget .title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--heading-special) !important;
  margin: 0 0 16px 0 !important;
  padding: 0 0 10px 0 !important;
  position: relative !important;
  display: block !important;
  line-height: 1.5 !important;
  border: none !important;
}

.widget h1::after, .widget h2::after, .widget h3::after, .widget h4::after,
.sidebar_widget .widget_title h3::after,
.sidebar_widget .title::after,
.widget_block .wp-block-heading::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 36px !important;
  height: 2.5px !important;
  background: var(--main-color) !important;
  border-radius: 4px !important;
}

/* ==========================================================================
   ۳. فرم جستجو (کاملاً کپسولی، بدون بیرون‌زدگی دکمه)
   ========================================================================== */

/* ریست فرم اصلی */
.widget_search form,
#searchform {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  width: 100% !important;
}

/* پنهان کردن متن مخفی لیبل */
.widget_search .screen-reader-text,
#searchform label {
  display: none !important;
}

/* کادر کپسولی اصلی (div داخل فرم که اینپوت و دکمه را نگه می‌دارد) */
#searchform > div,
.widget_search form > div,
.wp-block-search__inside-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: var(--hover-bg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 14px !important;
  padding: 4px 5px !important;
  height: 48px !important;
  box-sizing: border-box !important;
  direction: rtl !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.25s ease !important;
}

#searchform > div:focus-within,
.widget_search form > div:focus-within,
.wp-block-search__inside-wrapper:focus-within {
  border-color: var(--main-color) !important;
  background: var(--bg-body) !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1) !important;
}

/* فیلد ورودی متن */
#searchform #s,
.widget_search input[type="text"],
.widget_search input[type="search"],
.wp-block-search__input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  height: 100% !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  color: var(--text-body) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  line-height: normal !important;
}

/* دکمه ارسال جستجو */
#searchform #searchsubmit,
.widget_search input[type="submit"],
.widget_search button,
.wp-block-search__button {
  flex-shrink: 0 !important;
  height: 38px !important;
  line-height: 38px !important;
  padding: 0 18px !important;
  background: var(--main-color) !important;
  color: var(--btn-text, #ffffff) !important;
  border: none !important;
  outline: none !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  transition: all 0.2s ease !important;
}

#searchform #searchsubmit:hover,
.widget_search input[type="submit"]:hover,
.widget_search button:hover {
  background: var(--btn-bg, #6a3bc4) !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   ۴. سایر ویجت‌ها (بایگانی، دسته‌بندی‌ها، دیدگاه‌ها و تقویم)
   ========================================================================== */

/* منوهای سلکتور بازشو (مانند آرشیو ماهانه) */
.widget select,
.widget_categories select,
.widget_archive select,
.wp-block-categories select,
.wp-block-archives select {
  width: 100%;
  padding: 9px 12px 9px 32px;
  border-radius: 12px;
  background-color: var(--hover-bg);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  font-size: 12.5px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
}

.widget select:focus,
.widget_categories select:focus,
.widget_archive select:focus,
.wp-block-categories select:focus,
.wp-block-archives select:focus {
  border-color: var(--main-color);
}

/* لیست‌ها */
.widget ul,
.widget ol,
.wp-block-categories-list,
.wp-block-archives-list,
.wp-block-page-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
}

.widget ul li,
.widget ol li,
.wp-block-categories-list li,
.wp-block-archives-list li,
.wp-block-page-list li {
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--hover-bg);
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-body);
  transition: all 0.2s ease;
}

.widget ul li:hover,
.widget ol li:hover,
.wp-block-categories-list li:hover,
.wp-block-archives-list li:hover,
.wp-block-page-list li:hover {
  border-color: var(--main-color);
  transform: translateX(-3px);
}

.widget ul li a,
.widget ol li a,
.wp-block-categories-list li a,
.wp-block-archives-list li a,
.wp-block-page-list li a {
  color: var(--text-body);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.widget ul li a:hover,
.widget ol li a:hover,
.wp-block-categories-list li a:hover,
.wp-block-archives-list li a:hover,
.wp-block-page-list li a:hover {
  color: var(--main-color);
}

/* شمارنده تعداد نوشته‌ها */
.widget ul li .count,
.wp-block-categories-list li span,
.wp-block-archives-list li span {
  background-color: var(--bg-menu);
  color: var(--main-color);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  margin-right: 8px;
}

.widget ul li:hover .count,
.wp-block-categories-list li:hover span,
.wp-block-archives-list li:hover span {
  background-color: var(--main-color);
  color: var(--btn-text, #ffffff);
  border-color: var(--main-color);
}

/* ابر برچسب‌ها */
.tagcloud,
.wp-block-tag-cloud {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.tagcloud a,
.wp-block-tag-cloud a {
  background: var(--hover-bg);
  border: 1px solid var(--border-color);
  color: var(--text-body) !important;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11.5px !important;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tagcloud a:hover,
.wp-block-tag-cloud a:hover {
  background: var(--main-color);
  color: var(--btn-text, #ffffff) !important;
  border-color: var(--main-color);
  transform: translateY(-2px);
}

/* آخرین دیدگاه‌ها */
.widget_recent_comments ul,
.wp-block-latest-comments {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.widget_recent_comments ul li,
.wp-block-latest-comments li {
  background: var(--hover-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-body);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.widget_recent_comments ul li:hover,
.wp-block-latest-comments li:hover {
  border-color: var(--main-color);
  transform: translateX(-3px);
}

.widget_recent_comments ul li a,
.wp-block-latest-comments li a {
  color: var(--heading-special);
  font-weight: 600;
  text-decoration: none;
}

.widget_recent_comments ul li a:hover,
.wp-block-latest-comments li a:hover {
  color: var(--main-color);
}

.widget_recent_comments .comment-author-link,
.wp-block-latest-comments .wp-block-latest-comments__comment-author {
  font-weight: 700;
  color: var(--main-color);
}

/* تقویم */
.widget_calendar table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  font-size: 12px;
}

.widget_calendar caption {
  font-weight: 700;
  color: var(--heading-special);
  margin-bottom: 8px;
  font-size: 12px;
}

.widget_calendar th { padding: 6px; color: var(--main-color); }
.widget_calendar td { padding: 6px; color: var(--text-body); }
.widget_calendar td#today {
  background: var(--main-color);
  color: var(--btn-text, #ffffff);
  border-radius: 6px;
  font-weight: 700;
}













/* search */
    /* 🗺️ استایل برِدکرامب شیشه‌ای اکستریم (هماهنگ با صفحه فروشگاه) */
    .xtrim-breadcrumb-container {
        margin: 30px auto 0 auto;
        padding: 0 20px;
        box-sizing: border-box;
        width: 100%;
    }

    .xtrim-breadcrumb {
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 16px;
        padding: 12px 24px;
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.02);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-family: 'Vazirmatn', sans-serif;
        font-size: 13px;
        color: var(--text-body, #6b7280);
    }

    .dark-mode .xtrim-breadcrumb {
        background: rgba(15, 15, 25, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    }

    .xtrim-breadcrumb a {
        color: var(--main-color, #7c3aed);
        text-decoration: none;
        transition: 0.3s;
        font-weight: 600;
    }

    .xtrim-breadcrumb a:hover {
        opacity: 0.8;
    }

    .xtrim-breadcrumb span.breadcrumb-item {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    /* هدر نتایج جستجو (بازطراحی‌شده) */
    .xtrim-search-header-wrap {
        max-width: 1200px;
        margin: 30px auto 20px auto;
        padding: 0 20px;
        direction: rtl;
        text-align: right;
    }

    .xtrim-search-header-inner {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .xtrim-search-header-icon {
        flex-shrink: 0;
        width: 52px;
        height: 52px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: color-mix(in srgb, var(--main-color) 12%, transparent);
        color: var(--main-color);
        font-size: 24px;
    }

    .xtrim-search-header-title {
        font-size: 24px;
        font-weight: 900;
        color: var(--heading-special);
        margin: 0;
        line-height: 1.5;
    }

    .xtrim-search-header-title .xtrim-search-query {
        color: var(--main-color);
    }

    .xtrim-search-header-count {
        font-size: 13px;
        color: var(--text-body);
        opacity: 0.65;
        margin-top: 6px;
    }

    .xtrim-search-header-count b {
        color: var(--main-color);
        font-weight: 800;
        opacity: 1;
    }

    .xtrim-blog-wrap {
        max-width: 1200px;
        margin: 60px auto;
        padding: 0 20px;
    }

    .xtrim-posts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 28px;
    }

    .xtrim-post-card {
        background: var(--bg-menu);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
        position: relative;
    }

    .xtrim-post-card:hover {
        transform: translateY(-6px);
        border-color: var(--main-color);
        box-shadow: 0 20px 40px -12px rgba(0,0,0,.15), 0 0 0 1px var(--main-color);
    }

    .xtrim-post-thumb {
        position: relative;
        display: block;
        width: 100%;
        height: 210px;
        overflow: hidden;
        background: var(--bg-body-re);
    }

    .xtrim-post-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .5s ease;
    }

    .xtrim-post-card:hover .xtrim-post-thumb img {
        transform: scale(1.08);
    }

    /* حالت جایگزین برای پست‌هایی که تصویر شاخص ندارند (رفع مشکل خطای ۴۰۴) */
    .xtrim-post-thumb.xtrim-no-thumb {
        display: flex;
        align-items: center;
        justify-content: center;
        background:
            radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--main-color) 18%, transparent), transparent 60%),
            var(--bg-body-re);
    }

    .xtrim-post-thumb.xtrim-no-thumb::before {
        content: '\ea54'; /* ri-image-2-line */
        font-family: 'remixicon' !important;
        position: absolute;
        font-size: 34px;
        color: var(--main-color);
        opacity: .18;
        top: 16px;
        left: 16px;
    }

    .xtrim-no-thumb-logo {
        width: 74px !important;
        height: 74px !important;
        object-fit: contain !important;
        opacity: .55;
        filter: grayscale(15%);
        transition: transform .5s ease, opacity .35s ease;
    }

    .xtrim-post-card:hover .xtrim-no-thumb-logo {
        transform: scale(1.08);
        opacity: .75;
    }

    .xtrim-post-body {
        padding: 22px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .xtrim-post-meta {
        font-family: 'JetBrains Mono', monospace;
        font-size: 12px;
        color: var(--main-color);
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .xtrim-post-meta span:not(:last-child)::after {
        content: '•';
        margin-inline-start: 8px;
        color: var(--border-color);
    }

    .xtrim-post-title {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.6;
        margin: 0 0 12px;
    }

    .xtrim-post-title a {
        color: var(--heading-special);
        text-decoration: none;
        transition: color .25s ease;
    }

    .xtrim-post-card:hover .xtrim-post-title a {
        color: var(--main-color);
    }

    .xtrim-post-excerpt {
        font-size: 14px;
        line-height: 1.9;
        color: var(--text-body);
        opacity: .75;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 20px;
        flex-grow: 1;
    }

    .xtrim-post-more {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 22px;
        background: var(--btn-bg);
        color: var(--btn-text);
        border-radius: 999px;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        width: fit-content;
        transition: opacity .25s ease, transform .25s ease;
    }

    .xtrim-post-more:hover {
        opacity: .85;
        transform: translateX(-3px);
    }

    /* استایل برچسب دوره یا محصول در صفحه سرچ */
    .xtrim-badge-type {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-weight: 800;
        color: var(--main-color);
        background: color-mix(in srgb, var(--main-color) 8%, transparent);
        padding: 4px 10px;
        border-radius: 30px;
        font-size: 11px;
    }

    .xtrim-badge-type i {
        font-size: 13px;
        line-height: 1;
    }

    /* ==========================================================================
       حالت خالی نتایج جستجو (بازطراحی‌شده)
       ========================================================================== */
    .xtrim-no-search-results {
        grid-column: 1/-1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 90px 20px;
        direction: rtl;
    }

    .xtrim-no-search-icon-wrap {
        position: relative;
        width: 120px;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 26px;
        border-radius: 50%;
        background: radial-gradient(circle, color-mix(in srgb, var(--main-color) 12%, transparent) 0%, transparent 70%);
    }

    .xtrim-no-search-icon-wrap::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 1px dashed color-mix(in srgb, var(--main-color) 35%, transparent);
        animation: xtrim-pulse-ring 2.8s ease-in-out infinite;
    }

    @keyframes xtrim-pulse-ring {
        0%   { transform: scale(.9); opacity: .8; }
        50%  { transform: scale(1.08); opacity: .25; }
        100% { transform: scale(.9); opacity: .8; }
    }

    .xtrim-no-search-icon-wrap i {
        font-size: 46px;
        color: var(--main-color);
        line-height: 1;
    }

    .xtrim-no-search-results h3 {
        font-size: 19px;
        font-weight: 850;
        color: var(--heading-special);
        margin: 0;
    }

    .xtrim-no-search-results p {
        font-size: 14px;
        line-height: 1.9;
        color: var(--text-body);
        opacity: .7;
        margin-top: 10px;
        max-width: 420px;
    }

    .xtrim-no-search-results a.xtrim-no-results-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 28px;
        padding: 12px 30px;
        background: var(--btn-bg);
        color: var(--btn-text);
        border-radius: 999px;
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
        transition: opacity .25s ease, transform .25s ease;
    }

    .xtrim-no-search-results a.xtrim-no-results-btn:hover {
        opacity: .85;
        transform: translateY(-2px);
    }

    /* ==========================================================================
       ۴. استایل شماره‌بندی صفحات هوشمند (WordPress Pagination Styles)
       ========================================================================== */
    .xtrim-pagination-wrap {
        display: flex;
        justify-content: center;
        margin-top: 60px;
        margin-bottom: 20px;
        direction: rtl;
        width: 100%;
    }

    .xtrim-pagination-wrap .navigation.pagination {
        display: block;
    }

    .xtrim-pagination-wrap ul.page-numbers {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .xtrim-pagination-wrap ul.page-numbers li {
        margin: 0;
        padding: 0;
        display: inline-block;
    }

    .xtrim-pagination-wrap ul.page-numbers .page-numbers {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 42px;
        height: 42px;
        padding: 0 8px;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        background: var(--bg-menu);
        color: var(--text-body);
        text-decoration: none;
        font-weight: 700;
        font-size: 14px;
        box-sizing: border-box;
        transition: all 0.25s ease-in-out;
    }

    /* استایل دکمه صفحه فعلی (فعال) */
    .xtrim-pagination-wrap ul.page-numbers .page-numbers.current {
        background: var(--main-color) !important;
        color: var(--btn-text) !important;
        border-color: var(--main-color) !important;
        box-shadow: 0 8px 20px -4px color-mix(in srgb, var(--main-color) 40%, transparent);
    }

    /* افکت هاور روی سایر صفحات */
    .xtrim-pagination-wrap ul.page-numbers a.page-numbers:hover {
        border-color: var(--main-color);
        color: var(--main-color);
        transform: translateY(-2px);
    }

    /* استایل نقاط سه نقطه (...) */
    .xtrim-pagination-wrap ul.page-numbers .page-numbers.dots {
        background: transparent;
        border-color: transparent;
        color: var(--text-body);
        opacity: 0.5;
        cursor: default;
    }

    /* دکمه‌های ناوبری چپ و راست */
    .xtrim-pagination-wrap ul.page-numbers .page-numbers.prev,
    .xtrim-pagination-wrap ul.page-numbers .page-numbers.next {
        font-size: 18px;
    }
/* search */

/* ============================================
   [INDEX] استایل‌های صفحه اصلی (index.php) — شروع
   ============================================ */
    .xtrim-blog-wrap {
        max-width: 1200px;
        margin: 60px auto;
        padding: 0 20px;
    }

    .xtrim-posts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 28px;
    }

    .xtrim-post-card {
        background: var(--bg-menu);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
        position: relative;
    }

    .xtrim-post-card:hover {
        transform: translateY(-6px);
        border-color: var(--main-color);
        box-shadow: 0 20px 40px -12px rgba(0,0,0,.15), 0 0 0 1px var(--main-color);
    }

    .xtrim-post-thumb {
        position: relative;
        display: block;
        width: 100%;
        height: 210px;
        overflow: hidden;
        background: var(--bg-body-re);
    }

    .xtrim-post-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .5s ease;
    }

    .xtrim-post-card:hover .xtrim-post-thumb img {
        transform: scale(1.08);
    }

    .xtrim-post-body {
        padding: 22px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .xtrim-post-meta {
        font-family: 'JetBrains Mono', monospace;
        font-size: 12px;
        color: var(--main-color);
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .xtrim-post-meta span:not(:last-child)::after {
        content: '•';
        margin-inline-start: 8px;
        color: var(--border-color);
    }

    .xtrim-post-title {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.6;
        margin: 0 0 12px;
    }

    .xtrim-post-title a {
        color: var(--heading-special);
        text-decoration: none;
        transition: color .25s ease;
    }

    .xtrim-post-card:hover .xtrim-post-title a {
        color: var(--main-color);
    }

    .xtrim-post-excerpt {
        font-size: 14px;
        line-height: 1.9;
        color: var(--text-body);
        opacity: .75;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 20px;
        flex-grow: 1;
    }

    .xtrim-post-more {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 22px;
        background: var(--btn-bg);
        color: var(--btn-text);
        border-radius: 999px;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        width: fit-content;
        transition: opacity .25s ease, transform .25s ease;
    }

    .xtrim-post-more:hover {
        opacity: .85;
        transform: translateX(-3px);
    }

    .xtrim-no-posts {
        grid-column: 1/-1;
        text-align: center;
        padding: 60px 20px;
        color: var(--text-body);
        opacity: .6;
        font-size: 15px;
    }

    @keyframes xtrim-shimmer {
        0% { background-position: -200% 0; }
        100% { background-position: 200% 0; }
    }
    .xtrim-shimmer {
        background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%) !important;
        background-size: 200% 100% !important;
        animation: xtrim-shimmer 1.5s infinite linear !important;
    }
/* ============================================
   [INDEX] استایل‌های صفحه اصلی (index.php) — پایان
   ============================================ */

/* ============================================
   [RELATED-POSTS] استایل‌های پست‌های مرتبط (inc/template/related-posts.php) — شروع
   ============================================ */
.xtrim-related-posts {

    padding: 0px 0 20px;
}

.xtrim-related-container {
    max-width: 100%;
    margin: 0 auto;
}

.xtrim-related-heading {
    font-size: 22px;
    font-weight: 800;
    color: var(--heading-special);
    margin-bottom: 35px;
    padding-right: 10px;
    position: relative;
    text-align: right;
}


.xtrim-related-posts .xtrim-post-card {
    background: var(--bg-menu);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    height: 100%;
    position: relative;
}

.xtrim-related-posts .xtrim-post-card:hover {
    transform: translateY(-6px);
    border-color: var(--main-color);

}

.xtrim-related-posts .xtrim-post-thumb {
    display: block;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: var(--bg-body-re);
}

.xtrim-related-posts .xtrim-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.xtrim-related-posts .xtrim-post-card:hover .xtrim-post-img {
    transform: scale(1.08);
}

.xtrim-related-posts .xtrim-post-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.xtrim-related-posts .xtrim-post-meta {
    font-size: 12px;
    color: var(--main-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.xtrim-related-posts .xtrim-post-meta span:not(:last-child)::after {
    content: '•';
    margin-inline-start: 8px;
    color: var(--border-color);
}

.xtrim-related-posts .xtrim-post-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    text-align: right;

}

.xtrim-related-posts .xtrim-post-title a {
    color: var(--heading-special);
    text-decoration: none;
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.xtrim-related-posts .xtrim-post-card:hover .xtrim-post-title a {
    color: var(--main-color);
}

.xtrim-related-posts .xtrim-post-excerpt {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-body);
    opacity: 0.75;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: right;
}

.xtrim-related-posts .xtrim-post-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--btn-bg);
    color: var(--btn-text);
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
    transition: opacity 0.25s ease, transform 0.25s ease;
    border: none;
}

.xtrim-related-posts .xtrim-post-more:hover {
    opacity: 0.85;
    transform: translateX(-3px);
}

.xtrim-related-slider .owl-carousel {
    overflow: visible !important;
}

.xtrim-related-slider .owl-stage-outer {
    padding: 10px 5px !important;
    margin: -10px -5px !important;
    overflow: hidden !important;
}

.xtrim-related-slider .owl-carousel .owl-stage {
    display: flex;
}

.xtrim-related-slider .owl-carousel .owl-item {
    display: flex;
    height: auto !important;
}

.xtrim-related-slider .owl-nav {
    position: absolute;
    top: -55px;
    left: 0;
    display: flex;
    gap: 8px;
}

.xtrim-related-slider .owl-nav button.owl-prev,
.xtrim-related-slider .owl-nav button.owl-next {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: var(--btn-bg) !important;
    color: var(--btn-text) !important;
    border: 1px solid var(--border-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
    font-size: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.xtrim-related-slider .owl-nav button.owl-prev:hover,
.xtrim-related-slider .owl-nav button.owl-next:hover {
    background: var(--main-color) !important;
    color: var(--btn-text) !important;
    border-color: var(--main-color) !important;
    transform: scale(1.08);
}

.xtrim-related-slider .owl-nav button.owl-prev {
    order: 1;
}

.xtrim-related-slider .owl-nav button.owl-next {
    order: 0;
}

.xtrim-related-slider .owl-dots {
    display: none;
}

@media screen and (max-width: 768px) {
    .xtrim-related-posts {
        margin-top: 30px;
        padding: 40px 0 10px;
    }

    .xtrim-related-heading {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .xtrim-related-posts .xtrim-post-thumb {
        height: 180px;
    }

    .xtrim-related-posts .xtrim-post-body {
        padding: 16px;
    }

    .xtrim-related-posts .xtrim-post-title {
        font-size: 15px;
    }

    .xtrim-related-posts .xtrim-post-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .xtrim-related-posts .xtrim-post-meta {
        font-size: 11px;
        gap: 6px;
    }

    .xtrim-related-posts .xtrim-post-more {
        font-size: 12px;
        padding: 8px 18px;
    }

    .xtrim-related-slider .owl-nav {
        top: -48px;
    }

    .xtrim-related-slider .owl-nav button.owl-prev,
    .xtrim-related-slider .owl-nav button.owl-next {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }

    .xtrim-single-elegant-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 10px;
    border-radius: 22px;
    border: 1px solid var(--border-color);
}
}


.xtrim-single-elegant-footer {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 40px 20px;

    border-radius: 22px;
    border: 1px solid var(--border-color);
    justify-content: space-between;
}
@media screen and (max-width: 480px) {
    .xtrim-related-posts .xtrim-post-thumb {
        height: 150px;
    }

    .xtrim-related-posts .xtrim-post-body {
        padding: 12px;
    }

    .xtrim-related-posts .xtrim-post-title {
        font-size: 14px;
    }

    .xtrim-related-posts .xtrim-post-excerpt {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
}

    /* TOC در موبایل - فقط در موبایل */
@media screen and (max-width: 768px) {
    .xtrim-widget-toc {
        width: 100% !important;
        margin-bottom: 25px !important;
        border-radius: 16px !important;
        padding: 20px !important;
        position: relative !important;
        top: 0 !important;
    }

    .xtrim-single-elegant-sidebar .xtrim-widget-toc {
        display: none !important;
    }
}
/* relared post*/
/*mobile menu*/



   @media (max-width: 768px) {
    .xtrim-mobile-menu-wrapper {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 997;
        padding: 10px 15px;
        background: transparent;
        pointer-events: none;
        direction: rtl !important;
    }

    .xtrim-mobile-nav {
        pointer-events: auto;
        position: relative;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        height: 65px;
        background: var(--bg-menu);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .xtrim-nav-list {
        display: flex;
        width: 100%;
        padding: 0 10px;
        margin: 0;
        list-style: none;
        position: relative;
        justify-content: space-between;
        align-items: center;
        direction: rtl;
    }

    .xtrim-nav-item {
        position: relative;
        list-style: none;
        width: 50px;
        height: 55px;
        z-index: 2;
    }

    .xtrim-nav-item a {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
        height: 100%;
        text-align: center;
        text-decoration: none !important;
        box-shadow: none !important;
    }

    .xtrim-icon {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        color: var(--text-menu);
        opacity: 0.7;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .xtrim-nav-item.xtrim-active .xtrim-icon {
        transform: translateY(-8px);
        color: var(--main-color);
        opacity: 1;
    }

    .xtrim-text {
        position: absolute;
        font-weight: 500;
        font-size: 0.65rem;
        color: var(--main-color);
        opacity: 0;
        transform: translateY(15px);
        transition: opacity 0.4s, transform 0.4s;
        white-space: nowrap;
        direction: rtl;
    }

    .xtrim-nav-item.xtrim-active .xtrim-text {
        opacity: 1;
        transform: translateY(14px);
    }

    .xtrim-center-item {
        position: relative;
        top: -20px;
        width: 60px;
        height: 60px;
        z-index: 3;
    }

    .xtrim-center-btn {
        width: 60px !important;
        height: 60px !important;
        background: var(--btn-bg);
        border-radius: 50%;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        display: flex !important;
        align-items: center;
        justify-content: center;
        border: 4px solid var(--bg-body);
        transition: transform 0.3s ease;
    }

    .xtrim-center-btn:hover {
        transform: scale(1.08);
    }

    .xtrim-icon-center {
        font-size: 1.6rem;
        color: var(--btn-text);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .xtrim-nav-indicator {
        position: absolute;
        bottom: 8px;
        top: 8px;
        width: 50px;
        background: var(--main-color);
        opacity: 0;
        border-radius: 12px;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
        z-index: 1;
        right: 0;
    }
}

@media (min-width: 769px) {
    .xtrim-mobile-menu-wrapper {
        display: none !important;
    }
}

#offcanvasRight {
    right: 0 !important;
    left: auto !important;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--bg-menu, #fff);
    color: var(--text-menu, #4c1d95);
    border-left: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    z-index: 99999;
}

#offcanvasRight .offcanvas-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    background: var(--bg-menu, #fff);
}

#offcanvasRight .offcanvas-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 800;
    color: var(--heading-special, var(--text-menu, #2e1065));
    margin: 0;
}

#offcanvasRight .btn-close {
    flex: 0 0 auto;
    margin: 0 !important;
    background-color: var(--hover-bg, #f5f0ff);
    background-image: none;
    opacity: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    position: relative;
    transition: transform 0.25s ease;
}

#offcanvasRight .btn-close::before,
#offcanvasRight .btn-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: var(--text-menu, #4c1d95);
}

#offcanvasRight .btn-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

#offcanvasRight .btn-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

#offcanvasRight .offcanvas-body {
    padding: 14px 12px 100px;
    overflow-y: auto;
    height: calc(100% - 70px);
    background: var(--bg-menu, #fff);
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-list li {
    list-style: none;
    border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
}

.mobile-menu-list > li:last-child {
    border-bottom: none;
}

.mobile-menu-list > li > a,
.mobile-menu-list .sub-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 12px;
    color: var(--text-menu, #4c1d95);
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
}

.xtrim-menu-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
    line-height: 1;
    color: var(--text-submenu, #6b21a8);
    transition: transform 0.3s ease;
}

.mobile-menu-list li.menu-item-has-children.xtrim-submenu-active > a .xtrim-menu-arrow {
    transform: rotate(180deg);
}

.mobile-menu-list .sub-menu {
    list-style: none;
    margin: 2px 0 8px;
    padding: 4px;
    max-height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg-submenu, #f3e8ff);
    transition: max-height 0.35s ease;
}

.mobile-menu-list li.menu-item-has-children.xtrim-submenu-active > .sub-menu {
    max-height: 1000px;
}

.mobile-menu-list .sub-menu > li {
    border-bottom: none;
}

.mobile-menu-list .sub-menu > li > a {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-submenu, #6b21a8);
    padding: 11px 12px;
}

@media (max-width: 400px) {
    #offcanvasRight {
        width: 100%;
        max-width: 100vw;
    }
}


/*mobile menu*/
.error-404-image,
.xtrim-404-image img {
    max-width: 360px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-inline: auto;
    display: block;
}

@media (max-width: 768px) {
    .error-404-image,
    .xtrim-404-image img {
        max-width: 260px;
    }
}

/* 404 page */
/* Pointer */
@media (max-width: 1024px) and (hover: none) {
  .xtrim-cursor,
  .xtrim-particle-canvas {
    display: none !important;
  }
}

.xtrim-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: 99999999;
  pointer-events: none !important;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.xtrim-cursor.is-active {
  opacity: 1;
}

.xtrim-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--xtrim-cursor-color, var(--main-color, #7c3aed));
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  will-change: transform;
}

.xtrim-cursor-circle {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  box-sizing: border-box;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  will-change: transform;
  border-radius: 50%;
}

.xtrim-cursor.xtrim-cursor-small-follower .xtrim-cursor-circle {
  width: var(--xtrim-cursor-size, 28px);
  height: var(--xtrim-cursor-size, 28px);
  border: 1.5px solid var(--xtrim-cursor-color, var(--main-color, #7c3aed));
  background-color: transparent;
  transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.xtrim-cursor.xtrim-cursor-small-follower.is-hover .xtrim-cursor-circle {
  width: calc(var(--xtrim-cursor-size, 28px) * 1.8);
  height: calc(var(--xtrim-cursor-size, 28px) * 1.8);
  background-color: color-mix(in srgb, var(--main-color, #7c3aed) 16%, transparent);
  border-color: var(--xtrim-cursor-color, var(--main-color, #7c3aed));
}

.xtrim-cursor.xtrim-cursor-small-follower.is-hover .xtrim-cursor-dot {
  opacity: 0;
}

.xtrim-cursor.xtrim-cursor-small-follower.is-clicked .xtrim-cursor-circle {
  transform: translate3d(var(--pos-x, -100px), var(--pos-y, -100px), 0) translate(-50%, -50%) scale(0.75);
}

.xtrim-cursor.xtrim-cursor-inverse-blend {
  mix-blend-mode: difference !important;
}

.xtrim-cursor.xtrim-cursor-inverse-blend .xtrim-cursor-dot {
  display: none !important;
}

.xtrim-cursor.xtrim-cursor-inverse-blend .xtrim-cursor-circle {
  width: calc(var(--xtrim-cursor-size, 28px) * 1.25);
  height: calc(var(--xtrim-cursor-size, 28px) * 1.25);
  background-color: #ffffff !important;
  border: none !important;
  mix-blend-mode: difference !important;
  transition: width 0.25s cubic-bezier(0.25, 1, 0.5, 1), height 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.xtrim-cursor.xtrim-cursor-inverse-blend.is-hover .xtrim-cursor-circle {
  width: calc(var(--xtrim-cursor-size, 28px) * 2.4);
  height: calc(var(--xtrim-cursor-size, 28px) * 2.4);
}

.xtrim-cursor.xtrim-cursor-inverse-blend.is-clicked .xtrim-cursor-circle {
  transform: translate3d(var(--pos-x, -100px), var(--pos-y, -100px), 0) translate(-50%, -50%) scale(0.85);
}

.xtrim-cursor.xtrim-cursor-particle-trail .xtrim-cursor-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--xtrim-grad-start, #7c3aed), var(--xtrim-grad-end, #ff6b9d));
  box-shadow: 0 0 10px var(--xtrim-grad-start, #7c3aed);
}

.xtrim-cursor.xtrim-cursor-particle-trail .xtrim-cursor-circle {
  width: var(--xtrim-cursor-size, 28px);
  height: var(--xtrim-cursor-size, 28px);
  border: 1.5px dashed var(--xtrim-grad-start, #7c3aed);
  background: color-mix(in srgb, var(--xtrim-grad-start, #7c3aed) 10%, transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--xtrim-grad-start, #7c3aed) 30%, transparent);
}

.xtrim-cursor.xtrim-cursor-particle-trail.is-hover .xtrim-cursor-circle {
  width: calc(var(--xtrim-cursor-size, 28px) * 1.7);
  height: calc(var(--xtrim-cursor-size, 28px) * 1.7);
  border-style: solid;
  border-color: var(--xtrim-grad-end, #ff6b9d);
}

.xtrim-particle-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none !important;
}
body.elementor-editor-active .xtrim-cursor,
body.elementor-editor-preview .xtrim-cursor,
body.elementor-editor-active .xtrim-particle-canvas,
body.elementor-editor-preview .xtrim-particle-canvas,
.elementor-editor-active #xtrim-cursor,
.elementor-editor-preview #xtrim-cursor {
  display: none !important;
}

body.elementor-editor-active,
body.elementor-editor-preview,
body.elementor-editor-active *,
body.elementor-editor-preview * {
  cursor: auto !important;
}
/* Pointer */
/* Footer New */
.xtrim-bento-footer-wrapper {
    margin: 45px auto 25px;
    width: calc(100% - 32px);
    max-width: 1360px;
}

.xtrim-bento-grid {
    display: grid;
    grid-template-columns: 1.75fr 1fr;
    gap: 22px;
    align-items: stretch;
}

@media (max-width: 991px) {
    .xtrim-bento-grid {
        grid-template-columns: 1fr;
    }
}

.xtrim-bento-card {
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.05));
    padding: 26px;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

body.dark-mode .xtrim-bento-card,
html.dark-mode .xtrim-bento-card,
[data-theme='dark'] .xtrim-bento-card,
.dark-theme .xtrim-bento-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

.brand-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
}

.bento-logo img {
    width: var(--bento-logo-w, 150px);
    height: auto;
    display: block;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 50px;
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-badge:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6366f1;
}

.bento-description p {
    color: var(--text-body, #64748b);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.bento-social-dock {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.bento-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--bento-social-bg, #ffffff);
    color: var(--bento-social-color, #334155);
    border: 1px solid var(--bento-social-border, rgba(0, 0, 0, 0.08));
    border-radius: var(--bento-social-radius, 50px);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.bento-social-btn i {
    font-size: 16px;
}

.bento-social-btn:hover {
    background-color: var(--bento-social-hover-bg, #6366f1) !important;
    color: var(--bento-social-hover-color, #ffffff) !important;
    border-color: var(--bento-social-hover-bg, #6366f1) !important;
    transform: translateY(-2px);
}

.bento-social-active {
    background-color: var(--bento-social-active-bg, #6366f1) !important;
    color: var(--bento-social-active-color, #ffffff) !important;
    border-color: var(--bento-social-active-bg, #6366f1) !important;
}

.trust-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.trust-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.trust-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    color:var(--main-color) !important;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.trust-header-text h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.trust-header-text a:hover h6 {
    color: #10b981;
}

.trust-header-text small {
    color: var(--text-body, #64748b);
    font-size: 12px;
}

.trust-badges-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
    align-items: center;
}

.trust-badge-slot {
    background: #ffffff;
    border-radius: 14px;
    padding: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

body.dark-mode .trust-badge-slot,
html.dark-mode .trust-badge-slot,
[data-theme='dark'] .trust-badge-slot,
.dark-theme .trust-badge-slot {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

.trust-badge-slot:hover {
    transform: translateY(-3px);
    border-color: #6366f1;
}

.trust-badge-slot img {
    max-height: 150px;
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 6px;
}

.under-sectopn {
    position: relative;
    height: 1.5px;
    width: 100%;
    margin: 32px auto 20px;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        var(--xtrim-footer-rgb-color, rgba(168, 85, 247, 0.7)) 50%, 
        transparent 100%
    );
    overflow: visible;
    box-shadow: none !important;
}

.under-sectopn .bubble {
    position: absolute;
    bottom: 0;
    border-radius: 50%;
    pointer-events: none;
    background: var(--xtrim-footer-bubble-color, #a855f7);
    box-shadow: none !important;
    opacity: 0;
    will-change: transform, opacity;
}

@keyframes bentoBubbleFloat {
    0% {
        transform: translateY(0) scale(0.4);
        opacity: 0;
    }
    20% {
        opacity: 0.85;
    }
    75% {
        opacity: 0.85;
    }
    100% {
        transform: translateY(-60px) scale(1);
        opacity: 0;
    }
}

.under-sectopn .bubble.b1 { left: 14%; width: 10px; height: 10px; animation: bentoBubbleFloat 3.8s linear infinite; animation-delay: 0s; }
.under-sectopn .bubble.b2 { left: 28%; width: 6px; height: 6px; animation: bentoBubbleFloat 4.8s linear infinite; animation-delay: 1.4s; }
.under-sectopn .bubble.b3 { left: 46%; width: 14px; height: 14px; animation: bentoBubbleFloat 4.2s linear infinite; animation-delay: 0.6s; }
.under-sectopn .bubble.b4 { left: 62%; width: 8px; height: 8px; animation: bentoBubbleFloat 5.2s linear infinite; animation-delay: 2.2s; }
.under-sectopn .bubble.b5 { left: 76%; width: 12px; height: 12px; animation: bentoBubbleFloat 4.0s linear infinite; animation-delay: 1.1s; }
.under-sectopn .bubble.b6 { left: 88%; width: 5px; height: 5px; animation: bentoBubbleFloat 4.6s linear infinite; animation-delay: 2.8s; }
.under-sectopn .bubble.b7 { left: 8%; width: 9px; height: 9px; animation: bentoBubbleFloat 4.5s linear infinite; animation-delay: 3.3s; }

.bento-legal-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    font-size: 13px;
    color: var(--text-body, #64748b);
}

.legal-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.legal-right p {
    margin: 0;
}

.legal-divider {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
}

.live-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #10b981;
    transition: opacity 0.2s ease;
}

a.live-status:hover {
    opacity: 0.8;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

@media (max-width: 768px) {
    .bento-legal-bar {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}
/* Footer New */
/* shop */

    /* 🗺️ استایل برِدکرامب شیشه‌ای اکستریم */
    .xtrim-breadcrumb-container {
        margin: 30px auto 0 auto;
        padding: 0 20px;
        box-sizing: border-box;
        width: 100%;
    }

    .xtrim-breadcrumb {
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 16px;
        padding: 12px 24px;
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.02);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-family: 'Vazirmatn', sans-serif;
        font-size: 13px;
        color: var(--text-body, #6b7280);
    }

    .dark-mode .xtrim-breadcrumb {
        background: rgba(15, 15, 25, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    }

    .xtrim-breadcrumb a {
        color: var(--main-color, #7c3aed);
        text-decoration: none;
        transition: 0.3s;
        font-weight: 600;
    }

    .xtrim-breadcrumb a:hover {
        opacity: 0.8;
    }

    .xtrim-breadcrumb span.breadcrumb-item {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    /* لایوت اصلی با گرید دو ستونه پایدار */
    .xtrim-shop-wrapper {
        display: grid;
        grid-template-columns: 320px 1fr;
        gap: 30px;
        max-width: 1400px;
        margin: 30px auto 40px auto;
        padding: 0 20px;
        font-family: 'Vazirmatn', sans-serif;
        box-sizing: border-box;
        width: 100%;
    }

    /* سایدبار شیشه‌ای اصلی */
    .xtrim-shop-sidebar {
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 24px;
        padding: 24px;
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.03);
        position: sticky;
        top: 100px;
        box-sizing: border-box;
    }

    .dark-mode .xtrim-shop-sidebar {
        background: rgba(15, 15, 25, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    }

    /* هدر کل سایدبار */
    .filter-title {
        font-size: 18px;
        color: var(--heading-special, #111);
        margin: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 800;
    }

    /* آیکون فلش کل سایدبار روی موبایل */
    .filter-title .sidebar-arrow-icon {
        display: none;
        font-size: 22px;
        transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        color: var(--text-body, #6b7280);
    }

    /* محتوای کل سایدبار */
    .xtrim-sidebar-content {
        margin-top: 24px;
    }

    /* کادرهای فیلترهای داخلی */
    .xtrim-filter-group {
        border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
        padding-top: 20px;
        margin-top: 20px;
    }

    .group-title {
        font-size: 15px;
        font-weight: 700;
        color: var(--heading-special, #111);
        margin: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* آیکون فلش فیلترهای داخلی در موبایل */
    .group-title .arrow-icon {
        display: none;
        font-size: 18px;
        transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        color: var(--text-body, #6b7280);
    }

    .xtrim-filter-content {
        margin-top: 15px;
    }

    .xtrim-search-wrapper input {
        width: 100%;
        background: var(--bg-body, rgba(255, 255, 255, 0.8));
        border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
        color: var(--text-body, #333);
        padding: 14px 18px;
        border-radius: 14px;
        outline: none;
        transition: all 0.3s;
        font-family: inherit;
        font-size: 14px;
        box-sizing: border-box;
    }

    .xtrim-search-wrapper input:focus {
        border-color: var(--main-color, #7c3aed);
        box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
    }

    .xtrim-cat-list {
        list-style: none;
        padding: 0;
        margin: 0;
        max-height: 200px;
        overflow-y: auto;
    }

    .xtrim-cat-list li {
        margin-bottom: 10px;
    }

    .xtrim-cat-list label {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        font-size: 14px;
        color: var(--text-body, #4b5563);
        transition: 0.2s;
    }

    .xtrim-cat-list label:hover {
        color: var(--main-color, #7c3aed);
    }

    .xtrim-cat-list input[type="checkbox"] {
        accent-color: var(--main-color, #7c3aed);
        width: 16px;
        height: 16px;
        cursor: pointer;
        margin: 0;
    }

    .price-inputs {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .price-inputs input {
        width: 100%;
        background: var(--bg-body, rgba(255, 255, 255, 0.8));
        border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
        color: var(--text-body, #333);
        padding: 10px;
        border-radius: 10px;
        outline: none;
        text-align: center;
        font-size: 13px;
        font-family: inherit;
        box-sizing: border-box;
    }

    .xtrim-btn-clear {
        background: transparent;
        border: 1px dashed var(--main-color, #7c3aed);
        color: var(--main-color, #7c3aed);
        padding: 12px;
        border-radius: 12px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: 0.3s;
        font-family: inherit;
        margin-top: 20px;
        cursor: pointer;
        width: 100%;
    }

    .xtrim-btn-clear:hover {
        background: var(--main-color, #7c3aed);
        color: #fff;
    }

    /* بخش اصلی کارت‌ها */
    .xtrim-shop-main {
        min-width: 0;
        width: 100%;
        position: relative;
    }

    /* 💎 اسکلتون شیمر مدرن برای لودینگ فیلترها - دقیقاً هم‌اندازه‌ی کارت واقعی content-product.php */
    .xtrim-skeleton-card {
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 24px;
        overflow: hidden;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .dark-mode .xtrim-skeleton-card {
        background: rgba(15, 15, 25, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* هم‌اندازه با xtrim-card-image واقعی: aspect-ratio 4/3 */
    .xtrim-skeleton-img {
        width: 100%;
        aspect-ratio: 4 / 3;
        background: var(--bg-body, #eee);
        flex-shrink: 0;
    }

    /* هم‌اندازه با xtrim-card-content واقعی: padding 20px + flex-grow + space-between */
    .xtrim-skeleton-body {
        padding: 20px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        justify-content: space-between;
    }

    .xtrim-skeleton-title-block {
        margin-bottom: 20px;
    }

    .xtrim-skeleton-line {
        height: 12px;
        border-radius: 6px;
        background: var(--bg-body, #eee);
    }
    .xtrim-skeleton-title-block .xtrim-skeleton-line + .xtrim-skeleton-line {
        margin-top: 10px;
    }
    .xtrim-skeleton-line.w-90 { width: 90%; height: 13px; }
    .xtrim-skeleton-line.w-60 { width: 60%; height: 13px; }
    .xtrim-skeleton-line.w-30 { width: 30%; height: 16px; }

    .xtrim-skeleton-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .xtrim-skeleton-price {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    /* بلاک کوچیک جای آیکون کارنسی (تومان) کنار قیمت، هم‌اندازه اسپن xtrim-price-currency واقعی */
    .xtrim-skeleton-currency {
        width: 16px;
        height: 14px;
        border-radius: 4px;
        background: var(--bg-body, #eee);
        flex-shrink: 0;
    }

    /* هم‌اندازه با xtrim-action-btn واقعی: 42px */
    .xtrim-skeleton-circle {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: var(--bg-body, #eee);
        flex-shrink: 0;
    }

    /* افکت شیمر عبوری روی همه بلاک‌های اسکلتون */
    .xtrim-skeleton-img,
    .xtrim-skeleton-line,
    .xtrim-skeleton-circle,
    .xtrim-skeleton-currency {
        position: relative;
        overflow: hidden;
    }

    .xtrim-skeleton-img::after,
    .xtrim-skeleton-line::after,
    .xtrim-skeleton-circle::after,
    .xtrim-skeleton-currency::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(124, 58, 237, 0.12) 50%,
            transparent 100%
        );
        animation: xtrimShimmer 1.4s ease-in-out infinite;
    }

    .dark-mode .xtrim-skeleton-img::after,
    .dark-mode .xtrim-skeleton-line::after,
    .dark-mode .xtrim-skeleton-circle::after,
    .dark-mode .xtrim-skeleton-currency::after {
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(167, 139, 250, 0.15) 50%,
            transparent 100%
        );
    }

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

    /* تب‌های مرتب‌سازی بالا */
    .xtrim-sorting-tabs {
        display: flex;
        gap: 8px;
        margin-bottom: 30px;
        background: rgba(255, 255, 255, 0.45);
        padding: 6px;
        border-radius: 100px;
        border: 1px solid rgba(255, 255, 255, 0.4);
        width: max-content;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    }

    .dark-mode .xtrim-sorting-tabs {
        background: rgba(15, 15, 25, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .xtrim-sort-btn {
        background: transparent;
        border: none;
        color: var(--text-body, #4b5563);
        padding: 8px 24px;
        border-radius: 100px;
        cursor: pointer;
        transition: 0.3s;
        font-family: inherit;
        font-size: 14px;
        font-weight: 600;
    }

    .xtrim-sort-btn.active, 
    .xtrim-sort-btn:hover {
        background: var(--main-color, #7c3aed);
        color: #fff;
    }

    /* گرید محصولات مستقل */
    .xtrim-products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        gap: 24px !important;
        width: 100% !important;
    }

    /* خنثی‌سازی استایل‌های عرض ووکامرس */
    .woocommerce ul.products li.product.xtrim-product-card,
    .woocommerce-page ul.products li.product.xtrim-product-card,
    .xtrim-product-card {
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
        clear: none !important;
    }

    /* استایل شیشه‌ای کارت محصول */
    .xtrim-product-card {
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 24px;
        overflow: hidden;
        transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.02);
        display: flex;
        flex-direction: column;
        height: 100%;
        box-sizing: border-box;
    }

    .dark-mode .xtrim-product-card {
        background: rgba(15, 15, 25, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    }

    .xtrim-product-card:hover {
        transform: translateY(-6px);
        border-color: var(--main-color, #7c3aed);
        box-shadow: 0 12px 30px rgba(124, 58, 237, 0.1);
    }

    .toman {
        font-size: 12px;
        font-weight: normal;
        color: var(--text-body, #6b7280);
        margin-right: 4px;
    }

    /* مخفی‌سازی دکمه پیش فرض مشاهده سبد خرید */
    .xtrim-product-card .added_to_cart {
        display: none !important;
    }

    /* استایل دکمه سبد خرید چند وضعیتی */
    .xtrim-action-btn {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: var(--main-color, #7c3aed);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2);
        border: none;
        cursor: pointer;
        box-sizing: border-box;
        position: relative;
    }

    .xtrim-action-btn:hover {
        transform: scale(1.05);
    }

    .xtrim-action-btn.is-loading {
        background: #4b5563 !important;
        pointer-events: none;
    }

    @keyframes xtrimLoaderRotate {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    .xtrim-spin {
        display: inline-block;
        animation: xtrimLoaderRotate 0.8s linear infinite !important;
    }

    .xtrim-action-btn.is-success {
        background: #10b981 !important;
        transform: scale(1.15);
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.45);
    }

    @keyframes xtrimIconPop {
        0% { transform: scale(0); opacity: 0; }
        70% { transform: scale(1.3); }
        100% { transform: scale(1); opacity: 1; }
    }
    .xtrim-pop {
        display: inline-block;
        animation: xtrimIconPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.2) forwards !important;
    }

    /* ⚡ نشانگر لودینگ اسکرول بی‌نهایت در انتهای گرید */
    .xtrim-sentinel {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 0;
        grid-column: 1 / -1;
        width: 100%;
    }

    .xtrim-sentinel-loader {
        font-size: 32px;
        color: var(--main-color, #7c3aed);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .xtrim-sentinel.loading-more .xtrim-sentinel-loader {
        opacity: 1;
    }

    /* استایل‌های قرنطینه دسکتاپ */
    @media (min-width: 992px) {
        .xtrim-sidebar-content {
            max-height: none !important;
            display: block !important;
            overflow: visible !important;
        }
        .xtrim-filter-content {
            max-height: none !important;
            display: block !important;
            overflow: visible !important;
        }
    }

    /* استایل‌های خالص موبایل (آکاردئون‌های دو سطحی تو در تو) */
    @media (max-width: 991px) {
        .xtrim-shop-wrapper {
            grid-template-columns: 1fr;
        }
        
        .xtrim-shop-sidebar {
            width: 100%;
            position: static;
            padding: 20px;
        }
        
        .xtrim-sorting-tabs {
            width: 100%;
            justify-content: space-between;
        }

        .filter-title, .group-title {
            cursor: pointer;
            user-select: none;
        }

        .filter-title .sidebar-arrow-icon,
        .group-title .arrow-icon {
            display: block;
        }

        /* ۱. انیمیشن کل سایدبار */
        .xtrim-sidebar-content {
            margin-top: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), margin-top 0.3s ease;
        }

        .xtrim-shop-sidebar.is-open .xtrim-sidebar-content {
            max-height: 1500px;
            margin-top: 24px;
        }

        .xtrim-shop-sidebar.is-open .filter-title .sidebar-arrow-icon {
            transform: rotate(180deg);
            color: var(--main-color, #7c3aed);
        }

        /* ۲. انیمیشن فیلترهای داخلی */
        .xtrim-filter-content {
            margin-top: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1), margin-top 0.3s ease;
        }

        .xtrim-filter-group.is-open .xtrim-filter-content {
            max-height: 500px;
            margin-top: 15px;
        }

        .xtrim-filter-group.is-open .group-title .arrow-icon {
            transform: rotate(180deg);
            color: var(--main-color, #7c3aed);
        }

        .xtrim-filter-group {
            margin-top: 0 !important;
            border-top: none;
            border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
            padding-bottom: 15px;
            padding-top: 15px;
        }
    }

/* shop */
/* podcast */
#xpod-page-container {
  --xpod-accent: var(--main-color, #7c3aed);
  --xpod-bg: var(--bg-body, #f9f5ff);
  --xpod-panel-bg: var(--hover-bg, #f5f0ff);
  --xpod-border: var(--border-color, #e9d5ff);
  --xpod-text: var(--text-body, #1a0636);
  --xpod-text-muted: var(--text-menu, #4c1d95);
  --xpod-heading: var(--heading-special, #2e1065);
  --xpod-wave-idle: var(--site-border-light, #e9d5ff);
  --xpod-wave-played: var(--main-color, #7c3aed);

  background: var(--xpod-bg);
  color: var(--xpod-text);
  padding: 20px 0 80px;
  direction: rtl;
}

.xpod-wrapper {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

.xpod-breadcrumb-wrap {
  margin-bottom: 20px;
}

.xpod-hero-banner {
  width: 100%;
  height: 400px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  background: var(--xpod-panel-bg);
}

.xpod-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.xpod-hero-banner:hover img {
  transform: scale(1.03);
}

.xpod-player {
  background: var(--xpod-bg);
  border: 1px solid var(--xpod-border);
  border-radius: 22px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  width: 100%;
  margin-bottom: 30px;
  overflow: hidden;
}

.xpod-player-main {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 24px;
}

.xpod-player-art {
  flex-shrink: 0;
  width: 108px;
  height: 108px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

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

.xpod-player-center {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.xpod-player-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}

.xpod-player-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--xpod-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xpod-player-author {
  font-size: 13px;
  color: var(--xpod-text-muted);
}

.xpod-player-wave {
  direction: ltr;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 40px;
  cursor: pointer;
  user-select: none;
}

.xpod-player-wave .bar {
  flex: 1 1 0;
  min-width: 2px;
  border-radius: 2px;
  background: var(--xpod-wave-idle);
  transition: background 0.12s ease;
}

.xpod-player-wave .bar.played {
  background: var(--xpod-wave-played);
}

.xpod-player-times {
  direction: ltr;
  display: flex;
  justify-content: space-between;
  font-family: monospace;
  font-size: 11px;
  color: var(--xpod-text-muted);
}

.xpod-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.xpod-controls-side {
  display: flex;
  align-items: center;
  gap: 14px;
}

.xpod-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--xpod-text);
  opacity: 0.85;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.1s, color 0.2s;
}

.xpod-btn:hover {
  opacity: 1;
  color: var(--xpod-accent);
}

.xpod-btn:active {
  transform: scale(0.9);
}

.xpod-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.xpod-btn-skip-fwd svg,
.xpod-btn-skip-back svg {
  transform: none !important;
}

.xpod-btn-play-pause {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--xpod-accent);
  color: var(--btn-text, #ffffff) !important;
  opacity: 1 !important;
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.xpod-btn-play-pause:hover {
  transform: translateY(-1px) scale(1.05);
}

.xpod-btn-play-pause svg {
  width: 22px;
  height: 22px;
}

.xpod-btn-speed {
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  min-width: 38px;
  height: 24px;
  border: 1px solid var(--xpod-border);
  border-radius: 12px;
  opacity: 1;
}

.xpod-volume-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
}

.xpod-volume-slider-wrap {
  width: 64px;
}

.xpod-volume-slider {
  width: 100%;
  accent-color: var(--xpod-accent);
  cursor: pointer;
}

.xpod-playlist-panels {
  border-top: 1px solid var(--xpod-border);
}

.xpod-playlist-panel {
  background: var(--xpod-panel-bg);
  max-height: 260px;
  overflow-y: auto;
  padding: 10px;
}

.xpod-playlist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.xpod-playlist-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.xpod-playlist-list li:hover {
  background: var(--xpod-border);
}

.xpod-playlist-list li.active {
  background: color-mix(in srgb, var(--xpod-accent) 16%, transparent);
}

.xpod-playlist-list img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.xpod-playlist-list .pl-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-align: right;
}

.xpod-playlist-list .pl-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--xpod-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xpod-playlist-list .pl-author {
  font-size: 11px;
  color: var(--xpod-text-muted);
}

.xpod-specs-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: var(--xpod-panel-bg);
  border: 1px solid var(--xpod-border);
  border-radius: 18px;
  padding: 18px 24px;
  margin-bottom: 35px;
}

.xpod-spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.xpod-spec-item svg {
  width: 22px;
  height: 22px;
  fill: var(--xpod-accent);
}

.xpod-spec-text {
  display: flex;
  flex-direction: column;
}

.xpod-spec-text .lbl {
  font-size: 11px;
  color: var(--xpod-text-muted);
}

.xpod-spec-text .val {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--xpod-text);
}

.xpod-content-title {
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--xpod-heading);
  margin: 30px 0 20px 0;
  line-height: 1.35;
  text-align: right;
}

.xpod-article-content {
  font-size: 17px;
  line-height: 2.05;
  color: var(--xpod-text);
}

.xpod-article-content h2,
.xpod-article-content h3 {
  color: var(--xpod-heading);
  font-weight: 800;
  margin-top: 30px;
  margin-bottom: 15px;
}

.xpod-article-content p {
  margin-bottom: 1.5em;
}

.xpod-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.xpod-article-content blockquote {
  border-right: 4px solid var(--xpod-accent);
  padding-right: 20px;
  margin: 20px 0;
  font-style: italic;
}

.xpod-download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--xpod-panel-bg);
  border: 2px dashed var(--xpod-accent);
  border-radius: 20px;
  padding: 22px 28px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.xpod-download-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.xpod-download-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--xpod-accent);
  color: var(--btn-text, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.xpod-download-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.xpod-download-info h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--xpod-heading);
}

.xpod-download-info p {
  margin: 0;
  font-size: 12px;
  color: var(--xpod-text-muted);
}

.xpod-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--xpod-accent);
  color: var(--btn-text, #ffffff) !important;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--xpod-accent) 35%, transparent);
  transition: transform 0.2s ease;
}

.xpod-download-btn:hover {
  transform: translateY(-2px);
}

.xpod-download-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.xpod-related-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--xpod-border);
}

.xpod-related-header {
  font-size: 20px;
  font-weight: 800;
  color: var(--xpod-heading);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.xpod-related-header i {
  color: var(--xpod-accent);
  font-size: 24px;
}

.xpod-comments-section {
  margin-top: 50px;
  padding-top: 35px;
  border-top: 1px solid var(--xpod-border);
}

@media (max-width: 768px) {
  .xpod-hero-banner {
    height: 240px;
  }
  .xpod-player-main {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 16px;
    padding: 18px;
  }
  .xpod-player-art {
    width: 100%;
    height: 180px;
    align-self: center;
    max-width: 220px;
  }
  .xpod-controls-row {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
  }
  .xpod-controls-side {
    justify-content: center !important;
  }
  .xpod-specs-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .xpod-download-card {
    flex-direction: column;
    text-align: center;
  }
  .xpod-download-left {
    flex-direction: column;
  }
  .xpod-download-btn {
    width: 100%;
    justify-content: center;
  }
}
/* podcast */
/* web */
#tpl-1-custom {
  --t1-bg: var(--bg-body);
  --t1-bg2: var(--hover-bg);
  --t1-text: var(--text-body);
  --t1-muted: var(--text-menu);
  --t1-accent: var(--main-color);
  --t1-accent2: var(--heading-special);
  --t1-line: var(--border-color);
  background: var(--t1-bg);
  color: var(--t1-text);
  padding: 80px 0;
}

.t1-hero {
  text-align: center;
  margin-bottom: 20px;
}

.t1-hero .eyebrow {
  color: var(--t1-accent2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .06em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.t1-hero .eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.t1-hero h1 {
  font-weight: 600;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.3;
  margin: 15px auto;
  max-width: 820px;
  color: var(--t1-accent2);
}

.t1-control-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 24px 0;
}

.t1-devbar {
  position: relative;
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: var(--t1-bg2);
  border: 1px solid var(--t1-line);
}

.t1-devbar-slider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  border-radius: 10px;
  background: var(--t1-accent);
  z-index: 0;
  transition: transform .4s cubic-bezier(.65,0,.35,1), width .4s cubic-bezier(.65,0,.35,1);
  box-shadow: 0 6px 18px -4px var(--t1-accent);
  opacity: 0.85;
}

.t1-devbtn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 10px;
  color: var(--t1-text);
  font-size: 13px;
  min-width: 118px;
  justify-content: center;
  transition: color .3s;
  background: none;
  border: none;
  cursor: pointer;
}

.t1-devbtn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.t1-devbtn.active {
  color: var(--btn-text) !important;
}

.t1-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  background: var(--t1-accent);
  color: var(--btn-text) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform 0.25s, opacity 0.25s;
  margin-top: 5px;
}

.t1-live-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.t1-stage {
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#t1-devicewrap {
  position: relative;
  margin: 0 auto;
  transition: width .55s cubic-bezier(.65,0,.35,1), aspect-ratio .55s cubic-bezier(.65,0,.35,1);
  --cc-size: 20px;
  --cc-color: var(--t1-accent2);
}

.t1-frame-outer {
  width: 100%;
  height: 100%;
  position: relative;
}

.t1-frame {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #0E0F12;
  border: 10px solid #26282F;
  border-radius: 16px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.65), 0 0 0 1px var(--t1-line);
  transition: border-radius .5s, border-width .5s, border-color .5s;
}

.device-laptop .t1-frame {
  border-radius: 12px 12px 3px 3px;
  border-width: 9px;
}

.device-mobile .t1-frame {
  border-radius: 36px;
  border-width: 12px;
  border-color: #101114;
}

.t1-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: #1B1D22;
  border-bottom: 1px solid var(--t1-line);
}

.win-dots {
  display: flex;
  gap: 6px;
}

.win-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
  background: #3A3D45;
}

.t1-url {
  flex: 1;
  height: 20px;
  border-radius: 6px;
  background: #111318;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #5A5E68;
  display: flex;
  align-items: center;
  padding: 0 10px;
  direction: ltr;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t1-notch,
.t1-home-indicator {
  display: none;
  position: absolute;
  z-index: 3;
  background: #26282F;
}

.t1-notch {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  border-radius: 0 0 14px 14px;
}

.t1-home-indicator {
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  border-radius: 4px;
  background: #4A4E58;
}

.device-mobile .t1-chrome {
  display: none;
}

.device-mobile .t1-notch,
.device-mobile .t1-home-indicator {
  display: block;
}

.t1-screen {
  padding: 0;
  height: calc(100% - 39px);
  overflow: hidden;
  position: relative;
}

.device-mobile .t1-screen {
  height: 100%;
}

.t1-screen-scroller {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.t1-screen-scroller::-webkit-scrollbar {
  width: 4px;
}

.t1-screen-scroller::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.t1-screen-scroller img {
  width: 100%;
  height: auto;
  display: block;
}

.device-desktop {
  width: min(800px, 84vw);
  aspect-ratio: 1440/900;
}

.device-laptop {
  width: min(650px, 80vw);
  aspect-ratio: 1024/768;
}

.device-mobile {
  width: 264px;
  aspect-ratio: 375/812;
}

.t1-base {
  display: none;
  width: 100%;
  height: 16px;
  margin-top: 0;
  background: linear-gradient(#3A3D45, #26282F);
  border-radius: 0 0 10px 10px;
  position: relative;
}

.device-laptop .t1-base {
  display: block;
}

.t1-base::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 5px;
  background: #1B1B22;
  border-radius: 0 0 6px 6px;
}

.crop-corners {
  position: relative;
}

.cc {
  position: absolute;
  width: var(--cc-size, 20px);
  height: var(--cc-size, 20px);
  opacity: .5;
  transition: opacity .35s, transform .35s;
  pointer-events: none;
}

.cc-tl {
  top: -10px;
  left: -10px;
  border-top: 2px solid var(--cc-color, #fff);
  border-left: 2px solid var(--cc-color, #fff);
}

.cc-tr {
  top: -10px;
  right: -10px;
  border-top: 2px solid var(--cc-color, #fff);
  border-right: 2px solid var(--cc-color, #fff);
}

.cc-bl {
  bottom: -10px;
  left: -10px;
  border-bottom: 2px solid var(--cc-color, #fff);
  border-left: 2px solid var(--cc-color, #fff);
}

.cc-br {
  bottom: -10px;
  right: -10px;
  border-bottom: 2px solid var(--cc-color, #fff);
  border-right: 2px solid var(--cc-color, #fff);
}

.crop-corners:hover .cc {
  opacity: 1;
}

.crop-corners:hover .cc-tl {
  transform: translate(-3px, -3px);
}

.crop-corners:hover .cc-tr {
  transform: translate(3px, -3px);
}

.crop-corners:hover .cc-bl {
  transform: translate(-3px, 3px);
}

.crop-corners:hover .cc-br {
  transform: translate(3px, 3px);
}

.t1-dim-h {
  position: absolute;
  top: -32px;
  left: 0;
  right: 0;
  height: 1px;
  border-top: 1px dashed var(--t1-accent2);
  opacity: .75;
}

.t1-dim-h::before,
.t1-dim-h::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 1px;
  height: 9px;
  background: var(--t1-accent2);
}

.t1-dim-h::before {
  left: 0;
}

.t1-dim-h::after {
  right: 0;
}

.t1-dim-label-h {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--t1-bg);
  padding: 0 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--t1-accent2);
  direction: ltr;
  white-space: nowrap;
}

.t1-dim-v {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -34px;
  width: 1px;
  border-left: 1px dashed var(--t1-accent2);
  opacity: .75;
}

.t1-dim-v::before,
.t1-dim-v::after {
  content: '';
  position: absolute;
  left: -4px;
  width: 9px;
  height: 1px;
  background: var(--t1-accent2);
}

.t1-dim-v::before {
  top: 0;
}

.t1-dim-v::after {
  bottom: 0;
}

.t1-dim-label-v {
  position: absolute;
  top: 50%;
  left: -6px;
  transform: translate(-50%, -50%) rotate(-90deg);
  background: var(--t1-bg);
  padding: 0 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--t1-accent2);
  white-space: nowrap;
  direction: ltr;
}

.t1-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 820px;
  margin: 44px auto 0;
  padding: 24px 20px;
  border-top: 1px solid var(--t1-line);
}

.t1-meta-block h4 {
  font-size: 11px;
  color: var(--t1-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 6px;
  font-weight: 400;
  text-transform: uppercase;
}

.t1-meta-block p {
  font-size: 14px;
  margin: 0;
  color: var(--t1-text);
}

.t1-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.t1-tags span {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--t1-bg2);
  border: 1px solid var(--t1-line);
  color: var(--t1-text);
}

.t1-editorial-content {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 0 20px;
  font-size: 16px;
  line-height: 2;
  color: var(--t1-text);
}

.t1-editorial-content h2,
.t1-editorial-content h3 {
  color: var(--t1-accent2);
  margin-top: 30px;
  margin-bottom: 15px;
}

.t1-editorial-content p {
  margin-bottom: 20px;
}

.t1-comments-section {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 0 20px;
  border-top: 1px solid var(--t1-line);
  padding-top: 35px;
}

@media (max-width: 760px) {
  .t1-dim-h,
  .t1-dim-v {
    display: none;
  }
  .t1-stage {
    padding: 30px 10px 10px;
  }
}
/* web */
/* photograpy */
#tpl-2-custom {
  --t2-bg: var(--bg-body);
  --t2-panel: var(--hover-bg);
  --t2-text: var(--text-body);
  --t2-muted: var(--text-menu);
  --t2-accent: var(--main-color);
  --t2-accent2: var(--heading-special);
  --t2-line: var(--border-color);
  background: radial-gradient(ellipse at 50% -10%, var(--t2-panel) 0%, var(--t2-bg) 55%);
  color: var(--t2-text);
  padding: 20px 0 60px;
}

.t2-hero {
  text-align: center;
  margin-bottom: 30px;
}

.t2-hero .eyebrow {
  color: var(--t2-accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .06em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.t2-hero .eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.t2-hero h1 {
  font-weight: 400;
  font-size: clamp(26px, 5vw, 48px);
  line-height: 1.35;
  margin: 16px auto 14px;
  max-width: 760px;
  color: var(--t2-accent2);
}

.t2-viewer-wrap {
  margin-top: 26px;
}

.t2-viewer {
  position: relative;
  aspect-ratio: 16/8.2;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--t2-line);
  --cc-size: 26px;
  --cc-color: var(--t2-accent);
  background: #000;
}

.t2-viewer-img {
  position: absolute;
  inset: 0;
  background-position: center !important;
  background-size: cover !important;
  transition: background 0.5s ease-in-out;
}

.t2-grain {
  position: absolute;
  inset: 0;
  filter: url(#t2-grain);
  mix-blend-mode: overlay;
  opacity: .5;
  pointer-events: none;
}

.t2-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 45%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.t2-viewer-idx {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.45);
  padding: 4px 9px;
  border-radius: 5px;
  backdrop-filter: blur(3px);
  direction: ltr;
}

.t2-viewer-safelight {
  position: absolute;
  top: 14px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: rgba(255,255,255,0.75);
}

.t2-viewer-safelight i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--t2-accent);
  box-shadow: 0 0 8px var(--t2-accent);
  animation: t2blink 2.6s infinite;
}

@keyframes t2blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.t2-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 5px;
}

.t2-meta h3 {
  font-size: 20px;
  margin: 0 0 5px 0;
  transition: opacity .3s;
  color: var(--t2-text);
}

.t2-meta .mono {
  font-size: 11px;
  color: var(--t2-accent);
}

.t2-exif {
  font-size: 11.5px;
  color: var(--t2-muted);
  direction: ltr;
  transition: opacity .3s;
}

.crop-corners {
  position: relative;
}

.cc {
  position: absolute;
  width: var(--cc-size, 20px);
  height: var(--cc-size, 20px);
  opacity: .5;
  transition: opacity .35s, transform .35s;
  pointer-events: none;
}

.cc-tl {
  top: -10px;
  left: -10px;
  border-top: 2px solid var(--cc-color, #fff);
  border-left: 2px solid var(--cc-color, #fff);
}

.cc-tr {
  top: -10px;
  right: -10px;
  border-top: 2px solid var(--cc-color, #fff);
  border-right: 2px solid var(--cc-color, #fff);
}

.cc-bl {
  bottom: -10px;
  left: -10px;
  border-bottom: 2px solid var(--cc-color, #fff);
  border-left: 2px solid var(--cc-color, #fff);
}

.cc-br {
  bottom: -10px;
  right: -10px;
  border-bottom: 2px solid var(--cc-color, #fff);
  border-right: 2px solid var(--cc-color, #fff);
}

.crop-corners:hover .cc {
  opacity: 1;
}

.t2-filmstrip {
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 0 20px;
}

.t2-film-inner {
  background: #0B0806;
  border-radius: 8px;
  overflow: hidden;
}

.t2-film-edge {
  height: 13px;
  background-image: radial-gradient(circle at 9px 6.5px, var(--t2-bg) 3px, transparent 3.4px);
  background-size: 20px 13px;
  background-repeat: repeat-x;
}

.t2-film-track {
  display: flex;
  gap: 10px;
  padding: 14px 12px;
  overflow-x: auto;
}

.t2-film-track::-webkit-scrollbar {
  height: 5px;
}

.t2-film-track::-webkit-scrollbar-thumb {
  background: var(--t2-line);
  border-radius: 5px;
}

.t2-film-thumb {
  position: relative;
  flex: 0 0 118px;
  height: 80px;
  border: 2px solid transparent;
  opacity: .65;
  transition: .25s;
  padding: 0;
  cursor: pointer;
  background: transparent;
}

.t2-film-thumb:hover {
  opacity: 1;
}

.t2-film-thumb.active {
  border-color: var(--t2-accent);
  opacity: 1;
}

.t2-thumb-ph {
  position: absolute;
  inset: 0;
  background-position: center !important;
  background-size: cover !important;
}

.t2-thumb-idx {
  position: absolute;
  bottom: 4px;
  left: 6px;
  font-size: 9px;
  color: rgba(255,255,255,0.85);
  direction: ltr;
}

.dogear {
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%);
}

.dogear::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 13px 13px 0 0;
  border-color: var(--t2-accent) var(--t2-accent) transparent transparent;
}

.t2-editorial-content {
  max-width: 820px;
  margin: 50px auto 0;
  padding: 0 20px;
  font-size: 15px;
  line-height: 2.1;
  color: var(--t2-text);
}

.t2-editorial-content h2,
.t2-editorial-content h3 {
  color: var(--t2-accent2);
  margin-top: 30px;
  margin-bottom: 15px;
}

.t2-editorial-content p {
  margin-bottom: 20px;
}

.t2-comments-section {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 0 20px;
  border-top: 1px solid var(--t2-line);
  padding-top: 35px;
}
/* photograpy */
nav.breadcrumb {
    gap: 10px;
    padding-top: 10px;
    padding-right: 5px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.95rem;
    color: var(--btn-bg);
    margin: 0;
    font-weight: 300;
}
nav.breadcrumb a {
    color: var(--text-body);
    text-decoration: none;
    transition: color 0.2s;
}
nav.breadcrumb a:hover {
    color: var(--main-color);
    text-decoration: underline;
}
nav.breadcrumb .breadcrumb-current {
    color: var(--text-body);
    font-weight: 500;
}
/* Bread */
/* ==========================================================================
   دکمه شناور تماس (Floating Action Button)
   ========================================================================== */
.custom-floating-btn-wrapper {
    position: fixed;
    bottom: 30px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.custom-floating-btn-wrapper.fab-left { left: 30px; }
.custom-floating-btn-wrapper.fab-right { right: 30px; }

/* انیمیشن پالس پویا با متغیر CSS */
.custom-floating-btn-wrapper.fab-pulse-effect .custom-floating-btn {
    animation: fabPulse 2s infinite ease-in-out;
}

@keyframes fabPulse {
    0% { box-shadow: 0 0 0 0 var(--fab-pulse-color, rgba(0, 0, 0, 0.4)); }
    70% { box-shadow: 0 0 0 24px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

/* دارک مود */
.dark-mode .custom-floating-btn-wrapper,
[data-theme="dark"] .custom-floating-btn-wrapper {
    --fab-main-bg: var(--fab-main-bg-dark);
    --fab-main-icon: var(--fab-main-icon-dark);
    --fab-pulse-color: var(--fab-pulse-color-dark);
    --fab-channel-bg: var(--fab-channel-bg-dark);
    --fab-channel-icon: var(--fab-channel-icon-dark);
}

/* دکمه اصلی کروی */
.custom-floating-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--fab-btn-size, 70px);
    height: var(--fab-btn-size, 70px);
    border-radius: 50%;
    background-color: var(--fab-main-bg);
    background-image: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
    color: var(--fab-main-icon);
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 15px 35px -5px rgba(0, 0, 0, 0.3),
        0 5px 15px 0 rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.45),
        inset 0 -1px 2px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
    text-decoration: none;
    outline: none;
}

.custom-floating-btn:hover {
    transform: scale(1.05) translateY(-2px);
}

.custom-floating-btn i {
    font-size: calc(var(--fab-btn-size, 70px) * 0.45);
    line-height: 1;
}

.custom-floating-btn .fab-image-icon {
    width: calc(var(--fab-btn-size, 70px) * 0.45);
    height: calc(var(--fab-btn-size, 70px) * 0.45);
    object-fit: contain;
}

/* آیکون اصلی و ضربدر بستن */
.fab-icon-trigger {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1) rotate(0);
    opacity: 1;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    color: var(--fab-main-icon);
}

.fab-icon-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0) rotate(-90deg);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    color: var(--fab-main-icon);
    font-size: calc(var(--fab-btn-size, 70px) * 0.45);
}

.custom-floating-btn-wrapper.active .fab-icon-trigger {
    transform: scale(0) rotate(90deg);
    opacity: 0;
}

.custom-floating-btn-wrapper.active .fab-icon-close {
    transform: scale(1) rotate(0);
    opacity: 1;
}

/* منوی کانال‌ها */
.fab-menu-channels {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), 
                transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                visibility 0.35s;
}

.custom-floating-btn-wrapper.active .fab-menu-channels {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.fab-channel-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-floating-btn-wrapper.active .fab-channel-item {
    opacity: 1;
    transform: translateY(0);
}

.fab-channel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--fab-btn-size, 70px) * 0.75);
    height: calc(var(--fab-btn-size, 70px) * 0.75);
    border-radius: 50%;
    background-color: var(--fab-channel-bg);
    background-image: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.22) 0%, rgba(0, 0, 0, 0.22) 100%);
    color: var(--fab-channel-icon);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.fab-channel-btn:hover {
    transform: scale(1.08);
    filter: brightness(1.08);
}

.fab-channel-btn i {
    font-size: calc(var(--fab-btn-size, 70px) * 0.75 * 0.45);
}

.fab-channel-img {
    width: 40%;
    height: 40%;
    object-fit: contain;
}

/* تولتیپ */
.fab-channel-tooltip {
    position: absolute;
    background-color: var(--fab-channel-bg);
    color: var(--fab-channel-icon);
    padding: 8px 16px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-channel-tooltip::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: inherit;
    transform: translateY(-50%) rotate(45deg);
    top: 50%;
}

.fab-right .fab-channel-tooltip {
    right: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%) translateX(15px);
}
.fab-right .fab-channel-tooltip::after { right: -5px; }

.fab-left .fab-channel-tooltip {
    left: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%) translateX(-15px);
}
.fab-left .fab-channel-tooltip::after { left: -5px; }

.fab-channel-item:hover .fab-channel-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .custom-floating-btn-wrapper.fab-hide-mobile { display: none !important; }
    .custom-floating-btn-wrapper { bottom: 100px !important; }
}

@media (min-width: 769px) {
    .custom-floating-btn-wrapper.fab-hide-desktop { display: none !important; }
}
/* float */
