@charset "utf-8";
/* CSS Document */
/********* Font Faces - Start *********/
@font-face {  font-family: Kalameh-M;  src: url("Assets/fonts/Kalameh/Kalameh-Medium.ttf");}
@font-face {  font-family: Kalameh-SB;  src: url("Assets/fonts/Kalameh/Kalameh-SemiBold.ttf");}
@font-face {  font-family: Kalameh-B;  src: url("Assets/fonts/Kalameh/Kalameh-Bold.ttf");}
@font-face {  font-family: IRANSansDN_FaNum-B;  src: url("Assets/fonts/IranSansDN/IRANSansDN_FaNum-Bold.ttf");}
@font-face {  font-family: Samim-FD;  src: url("Assets/fonts/Samim/Samim-FD.ttf");}
@font-face {  font-family: Samim-FD-M;  src: url("Assets/fonts/Samim/Samim-Medium-FD.ttf");}
@font-face {  font-family: Block-RD;  src: url("Assets/fonts/Block-round-RD.ttf");}
@font-face {  font-family: Morabbeh-SM;  src: url("Assets/fonts/Morabba_Pro/Morabba-SemiBold.ttf");}
@font-face {  font-family: Kahroba-B;  src: url("Assets/fonts/Kahroba/Kahroba-B.ttf");}
@font-face {  font-family: Kahroba-RG;  src: url("Assets/fonts/Kahroba/Kahroba-RG.ttf");}
@font-face {  font-family: IRANSansFA-B;  src: url("Assets/fonts/IRANSansFaNum/IRANSans(FaNum)_Bold.ttf");}
@font-face {  font-family: IRANSansFA-M;  src: url("Assets/fonts/IRANSansFaNum/IRANSans(FaNum)_Medium.ttf");}
/********* Font Faces - End *********/
:root {
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --pink: #ed1864;
  --darkpink: #a60840;
  --green: #70982b;
  --darkgreen: #486c0b;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --gray: #696969;
  --lightgray: #727272;
  --superlightgray: #f5f5f5;
  --bg-light: #eaeaea;
  --border-radius: 1.5rem;
}

/********* PAGE TRANSITIONS - Start *********/
.page-enter {
  animation: pageEnter 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: bodyFadeIn .5s ease forwards;
}
@keyframes bodyFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.slide-in-right {
  animation: slideInRight 0.5s ease forwards;
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-8px);
  }
  40% {
    transform: translateX(8px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(5px);
  }
}
/********* PAGE TRANSITIONS - End *********/

/********* CSS Reset Codes - Start *********/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0px;
  padding: 0px;
  border: 0;
  font-size: 100%;
  font: inherit;
  font-family: /*Kalameh-M*/ Morabbeh-SM;
  text-decoration: none;
  scroll-behavior: smooth;
  transition: var(--transition);
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, hgroup, menu, section {
  display: block;
}

body {
  font-family: /*Kalameh-M*/ Morabbeh-SM;
  overflow-x: hidden;
  min-height: 100vh;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a, form, button, input {
  transition: var(--transition);
}
/********* CSS Reset Codes - End *********/

/* =========================================
   Header Styles (Bootstrap Compatible)
   ========================================= */
.top_header {
  background-color: var(--green);
  z-index: 9999;
  /*box-shadow: 0 4px 10px rgba(0,0,0,0.15);*/
  box-shadow: 0rem -2rem 2rem 2rem black;
  padding-top: .3rem;
}

/* استایل‌دهی به دکمه‌های منو */
.custom-nav-link {
  color: white !important;
  padding: 0.5rem 1rem !important;
  margin: 0 0.2rem;
  border-radius: 2rem;
  transition: var(--transition);
  white-space: nowrap;
}

.custom-nav-link:hover {
  background-color: var(--pink);
  color: white !important;
}

/* استایل دکمه همبرگری موبایل */
.navbar-toggler {
  border-color: rgba(255,255,255,0.5) !important;
}

/* در حالت موبایل که منو باز می‌شود، دکمه‌ها را زیباتر نمایش دهد */
@media screen and (max-width: 991px)
{
	.navbar-collapse
	{
		background-color: rgba(0, 0, 0, 0.05); /* پس زمینه کمی تاریک‌تر برای منوی باز شده */
		border-radius: 1rem;
		padding: 1rem;
		margin-top: 1rem;
	}
	.custom-nav-link
	{
		text-align: center;
		margin-bottom: 0.5rem;
	}
}

/* =========================================
   Cart Dropdown Customizations
   ========================================= */

/* تنظیم عرض منو (در موبایل تمام صفحه و در دسکتاپ سایز ثابت) */
.cart-dropdown-menu {
  width: 350px;
  max-width: 95vw;
  /* حل مشکل بیرون زدن از سمت چپ در زبان‌های راست‌چین */
  left: 0 !important;
  right: auto !important;
}

/* هاور باز شدن منو در صفحات بزرگ (دسکتاپ) */
@media (min-width: 992px) {
  .custom-cart-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  /* ایجاد یک پل نامرئی تا در هنگام جابه‌جایی موس منو بسته نشود */
  .custom-cart-dropdown::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
  }
}

/* اسکرول داخلی لیست محصولات */
.cart-items-wrapper {
  max-height: 320px;
  overflow-x: hidden;
  overflow-y: auto;
}

/* زیباسازی یا مخفی کردن اسکرول‌بار در پنل سبد خرید */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1; 
  border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #ccc; 
  border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--pink); 
}

.text-muted
{
	font-family: Samim-FD-M; 
}

.btn2:hover
{
	background-color: var(--darkpink) !important;
}

/* =========================================
   Footer Styles (Bootstrap Compatible)
   ========================================= */
.bottom_footer {
  background-color: var(--green);
  width: 100%;
  margin-top: 0 !important;
}

.footer-menu
{
	text-align: right;
}

/* استایل لینک‌های منوی فوتر (رفع مشکل رنگ آبی) */
.footer-menu li {
  margin-bottom: 0.8rem;
}
.footer-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition);
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 2rem;
}
.footer-menu i {
  color: var(--pink);
  font-size: 0.7rem;
  margin-left: 0.5rem; /* فاصله آیکون مربع با متن */
  transition: var(--transition);
}
.footer-menu a:hover {
  background-color: var(--pink);
  color: white;
	padding-right: .5rem;
}
.footer-menu a:hover i {
  color: white;
}

/* خطوط عمودی جداکننده */
.vertical_line {
  border-left: 2px solid rgba(255,255,255,0.4);
  height: 120px;
}

/* بخش خبرنامه */
.newsletter p {
  color: white;
  font-family: IRANSansDN_FaNum-B;
  font-size: 0.95rem;
}
.newsletter form {
  background-color: #fff;
  border-radius: 5rem;
  padding: 0.3rem;
  max-width: 450px; /* جلوگیری از کش آمدن بیش از حد فرم */
  font-family: IRANSansDN_FaNum-B;
}
.newsletter form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 1rem;
  min-width: 0; /* جلوگیری از غیب شدن کادر در صفحه کوچک */
}
.newsletter form button {
  background-color: var(--pink);
  color: #fff;
  border: none;
  border-radius: 5rem;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.newsletter form button:hover {
  background-color: #CB0D51;
}

.mt-3
{
	text-align: center;
}

/* بخش شبکه‌های اجتماعی */

.social_media
{
	justify-content: space-between !important;
}

.social_media h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1rem;
	text-align: center;
}
.social_media a {
  color: white;
  font-size: 1.8rem;
  margin: 0 0.5rem;
  transition: var(--transition);
  display: inline-block;
	padding: 0 .5rem;
}
.social_media a:hover {
  color: var(--pink);
  transform: translateY(-3px);
}

/* بخش کپی‌رایت */
.copyrights {
  background-color: #58595b;
}
.copyrights p {
  font-family: Samim-FD !important;
  font-size: 1rem;
  color: white;
}

/* =========================================
   Index Page Styles (Bootstrap Compatible)
   ========================================= */

.main-title {
  font-family: Morabbeh-SM;
  /* سایز فونت داینامیک: در موبایل 3rem و در دسکتاپ 6rem */
  font-size: clamp(3rem, 6vw, 6rem) !important;
  line-height: 1.3;
  color: var(--darkgreen);	
}

.top-image {
  max-width: 100%;
  border-radius: 2rem;
  /* انیمیشن نرم برای ظاهر شدن عکس */
  animation: fadeIn 1s ease-in-out; 
}

.steps-title {
  font-family: Kalameh-B;
  font-size: clamp(2rem, 4vw, 4rem) !important;
  color: #333;
}

/* کانتینر اصلی هر آیتم */
.step-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 18rem;
  margin: 0 auto;
}

/* باکس لوزی بیرونی (سبز رنگ) */
.rhombus-box {
  position: relative;
  width: 7.5rem;
  height: 7.5rem;
  background-color: #00cd99;
  border-radius: 2rem;
  transform: rotate(45deg);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto 3rem auto;
}

/* لوزی داخلی (سفید رنگ) */
.rhombus-box::before {
  content: '';
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  background-color: white;
  border-radius: 1.5rem;
}

/* محتوای داخل لوزی (عدد) */
.rhombus-content {
  position: relative;
  z-index: 2;
  font-size: 3rem;
  font-family: Kalameh-B;
  color: black;
  transform: rotate(-45deg); /* خنثی کردن چرخش ۴۵ درجه */
}

/* خط عمودی اتصال دهنده زیر لوزی */
.rhombus-box::after {
  content: '';
  position: absolute;
  bottom: 0 /*-0.5rem*/;
  right: 0.05rem;
  left: 0;
  top: 6.75rem;
  width: 0.2rem;
  height: 1.2rem;
  background-color: #ccc;
  z-index: -1;
  transform: rotate(-45deg); /* خنثی کردن چرخش لوزی */
}

/* لوزی کوچک آویزان در انتهای خط */
.step-text::before {
  content: '';
  display: block;
  width: 1rem;
  height: 1rem;
  background-color: #fff;
  border: 0.2rem solid #00cd99;
  border-radius: 0.2rem;
  transform: rotate(45deg);
  margin: -1rem auto 1.5rem auto; /* تنظیم موقعیت دقیق روی خط */
}

/* استایل متن‌های زیرین */
.step-text p {
  font-family: Kalameh-B;
  font-size: 1.3rem;
  color: #000;
  line-height: 1.6;
  margin-bottom: 0.5rem !important;
}

.step-text span {
  font-size: 1rem;
  color: #6C6C6C;
}

/* بخش پایینی */
.bottom-title {
  font-family: Kalameh-B;
  font-size: clamp(2rem, 4vw, 3.5rem) !important;
  line-height: 1.5;
  color: #333;
}

.bottom_images img {
  border-radius: 1.8rem;
  box-shadow: 0 1rem 3rem rgba(0,0,0,0.15);
  transition: var(--transition);
}
.bottom_images img:hover {
  transform: translateY(-10px);
}

 /* =========================================
     استایل‌های اختصاصی بخش هدر تمام‌صفحه
     ========================================= */
  .hero-section {
    position: relative;
    overflow: visible; 
    min-height: 90vh; 
    display: flex;
    align-items: center;
    padding-top: 6rem; 
  }
  
  .hero-container {
    max-width: 1700px;
    width: 100%;
    margin: 0 auto;
  }
  
  #parallax-img {
    will-change: transform;
    /* به جای Scale، عرض عکس را از ابتدا بزرگتر می‌دهیم تا افت کیفیت نداشته باشد */
    width: 115%; 
    max-width: none !important; /* خنثی کردن محدودیت‌های بوت‌استرپ */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    z-index: 2;
    transition: none !important; 
  }

  .hero-text-box {
    z-index: 3;
    position: relative;
  }

  .main-title {
    font-size: clamp(3.5rem, 7vw, 6.5rem) !important; 
    line-height: 1.3 !important;
    font-weight: 900;
    color: #2c3e50;
  }

  .hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem); 
    line-height: 1.8;
  }

  /* بزرگتر کردن ذاتی عکس در مانیتورهای عریض (بدون افت کیفیت) */
  @media (min-width: 1200px) {
    #parallax-img {
        width: 130%; 
    }
  }

/* =========================================
   Login Page Styles (Bootstrap Compatible)
   ========================================= */

.login-form-container {
  width: 100%;
  max-width: 450px; /* فرم در دسکتاپ بیش از حد کش نیاید */
  margin: 0 auto;
  animation: fadeIn 0.4s ease forwards;
}

.login-badge {
  display: inline-block;
  background-color: var(--pink);
  color: white;
  padding: 0.5rem 2rem;
  border-radius: 5rem;
  font-family: Kalameh-B;
  font-size: 1.2rem;
}

/* استایل اختصاصی اینپوت‌های فرم لاگین */
.custom-login-input {
  border: 2px solid var(--pink) !important;
  border-radius: 2rem !important;
  padding: 0.8rem 1.5rem !important;
  font-family: Kalameh-M;
  transition: var(--transition);
}

.text-danger
{
	background-color: white !important;
	border-radius: var(--border-radius) !important;
	background: rgba(248, 215, 218, 0.85) !important;
	backdrop-filter: blur(5px) !important;
}

.form-check-label a
{
	color: white !important;
}

.form-check-label a:hover
{
	color: var(--pink) !important;
}

.custom-login-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(237, 24, 100, 0.25) !important;
  border-color: var(--darkpink) !important;
}

/* استایل دکمه‌های صورتی لاگین و ثبت‌نام */
.btn-pink {
  background-color: var(--pink) !important;
  color: white !important;
  border: 2px solid var(--pink) !important;
  transition: var(--transition) !important;
  padding: 0.8rem !important;
}

.btn-pink:hover {
  background-color: white !important;
  color: var(--pink) !important;
}

.text-pink {
  color: var(--pink) !important;
}

/* استایل لینک‌های پایین فرم */
.login-link {
  color: white;
  cursor: pointer;
  transition: var(--transition) !important;
  font-family: Kalameh-M !important;
  font-size: 1.1rem;
	font-synthesis: none;
}

.login-link:hover {
  color: var(--pink) !important;
}

.login_image
{
	background-image: url('Assets/images/Login_back.webp');
	background-attachment: fixed;
	background-origin: inherit;
	background-repeat: repeat;
	background-position: center;
	background-size: cover;
}

/* ==========================================
     استایل‌های افکت شیشه‌ای (Glassmorphism)
     ========================================== */
  .glass-panel {
    background: rgba(255, 255, 255, 0.1); /* سفید نیمه‌شفاف */
    backdrop-filter: blur(0.2rem); /* مات کردن بک‌گراند */
    -webkit-backdrop-filter: blur(0.2rem); /* پشتیبانی سافاری */
    border: 0.1rem solid rgba(255, 255, 255, 0.6); /* حاشیه براق شیشه‌ای */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); /* سایه عمق‌دهنده */
  }

  .glass-input {
    background: rgba(255, 255, 255, 0.6) !important; /* فیلد ورودی کمی شفاف */
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    color: #212529 !important;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
	  font-size: 1rem !important;
  }

  .glass-input:focus {
    background: rgba(255, 255, 255, 0.9) !important; /* هنگام تایپ، سفیدتر می‌شود */
    border-color: var(--pink) !important;
    box-shadow: 0 0 12px rgba(226, 24, 91, 0.4) !important;
  }

  .glass-input::placeholder {
    color: #6c757d !important;
    opacity: 0.8;
  }

.alert
{
	background-color: white !important;
}


/* =========================================
   Calculator Page Styles (Bootstrap Compatible)
   ========================================= */

.calc-image {
  max-width: 80%;
  animation: fadeIn 1s ease-in-out;
}

.calc-title {
  background-color: var(--pink);
  text-align: center;
  border-radius: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.calc-title h1 {
  font-family: Block-RD;
  color: white;
  /* سایز هوشمند: در موبایل کوچکتر و در مانیتور تا 3.5rem بزرگ می‌شود */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin: 0;
}

.calc-title span {
  color: rgba(255, 255, 255, 0.9);
  display: block;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* استایل اختصاصی اینپوت‌ها و سلکت‌های فرم ماشین حساب */
.calc-input {
  border: 2px solid var(--pink) !important;
  border-radius: 1rem !important;
  padding: 0.8rem 1rem !important;
  font-family: Kalameh-M;
  transition: var(--transition);
}

.calc-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(237, 24, 100, 0.25) !important;
  border-color: var(--darkpink) !important;
}

/* بخش نتیجه نهایی */
.result-value {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  text-align: center;
  margin-top: 0.5rem;
  color: var(--pink);
  min-height: 4rem; /* برای جلوگیری از پرش صفحه هنگام محاسبه */
  display: flex;
  align-items: center;
  justify-content: center;
}

.unit {
  text-align: center;
  font-size: 1.1rem;
  color: #58595b;
}

.calc-detail {
  font-size: 0.9rem;
  color: gray;
  text-align: center;
  line-height: 1.8;
}

/********* Product Page - Start *********/
.product_page {
  padding: 6rem 4rem 2rem 4rem; /* پدینگ پایین کمتر شد تا به بخش محصولات نزدیکتر شود */
  display: flex;
  justify-content: center;
  align-items: center;
}
.title h1 {
  background-color: var(--pink);
  font-size: 4rem;
  color: white;
  padding: 1rem 13rem;
  text-align: center;
  border-radius: 2rem;
  display: inline-block;
}
/* کانتینر اصلی که کارت‌ها را کنار هم به صورت ریسپانسیو می‌چیند */
.product_section {
  display: flex;
  justify-content: center;
  gap: 2rem; /* ایجاد فاصله بین کارت‌های محصولات */
  flex-wrap: wrap; /* در مانیتورهای کوچک، کارت‌ها خودکار به ردیف بعد می‌روند */
  padding: 2rem;
  direction: rtl;
}
/* باکس اصلی هر کارت محصول (مطابق تصویر لبه‌های بالایی گردتر هستند) */
.product_card {
  background-color: #ffffff;
  width: 24rem; /* عرض استاندارد برای هر کارت */
  border-radius: 3rem 3rem 1.5rem 1.5rem; /* لبه‌های بالای کارت گردتر هستند */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* سایه ملایم زیر کارت */
  overflow: hidden; /* برای اینکه تصویر از لبه‌های گرد بیرون نزند */
  display: flex;
  flex-direction: column;
  margin: 0 3rem !important;
}
/* باکس تصویر محصول */
.primage {
  width: 100%;
  height: 24rem; /* ارتفاع مشخص برای تصویر */
}
.primage img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* تصویر بدون دفرمه شدن، کل باکس را پر می‌کند */
}
/* نوار صورتی رنگ نام محصول (دقیقاً چسبیده زیر عکس) */
.product_title_bar {
  background-color: var(--pink);
  color: white;
  text-align: center;
  padding: 0.8rem 0;
}
.product_title_bar h2 {
  font-family: Kalameh-B;
  font-size: 1.8rem;
}
/* بخش توضیحات متنی زیر نوار صورتی */
.product_details {
  padding: 1.5rem;
  text-align: center;
}
.product_details h3 {
  font-family: Kalameh-M;
  font-size: 1.3rem;
  color: #000000;
  margin-bottom: 0.5rem !important;
}
.product_details p {
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.6rem;
  text-align: justify;
}
/* کانتینر همتراز کننده ساختار صفحه‌بندی */
.pagination_container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 0; /* دادن فاصله مناسب از محصولات بالایی و فوتر پایین صفحه */
  width: 100%;
  direction: rtl;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* فاصله یکنواخت بین شماره‌ها و متون چپ و راست */
  font-family: Kalameh-M;
}
/* استایل عمومی شماره صفحات */
.pagination .page_number {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  color: #58595b;
  text-decoration: none !important;
  width: 2.4rem;
  height: 2.4rem;
  transition: var(--transition);
}
/* استایل شماره صفحه فعال (کپسول صورتیِ منطبق بر عکس شما) */
.pagination .page_number.active {
  background-color: var(--pink);
  color: white;
  border-radius: 0.6rem; /* لبه‌های مربع‌گرد ملایم */
  font-family: Kalameh-B;
}
/* افکت هاور روی بقیه شماره‌ها */
.pagination a.page_number:hover {
  color: var(--pink);
}
/* استایل متون ناوبری (صفحه اول / صفحه آخر) */
.pagination .page_arrow {
  font-size: 1.3rem;
  color: #777777;
  text-decoration: none !important;
  transition: var(--transition);
}
.pagination a.page_arrow:hover {
  color: #000000;
}

/* =========================================
   Pricelist Page Styles (Bootstrap Compatible)
   ========================================= */

.font-kalameh-b {
  font-family: Kalameh-B !important;
}

/* استایل کادر جستجو */
.border-pink {
  border: 2px solid var(--pink) !important;
  transition: var(--transition);
}

.border-pink:focus {
  box-shadow: 0 0 0 0.25rem rgba(237, 24, 100, 0.25) !important;
  border-color: var(--darkpink) !important;
}

/* استایل اختصاصی جدول قیمت‌ها */
.custom-price-table th {
  background-color: #1a1a1a !important; /* رنگ تیره هدر جدول */
  color: white !important;
  font-family: Kalameh-B;
  white-space: nowrap; /* جلوگیری از دو خطی شدن تیترهای جدول */
}

.custom-price-table td {
  font-family: Kalameh-M;
}

/* رنگ سبز ملایم هنگام هاور شدن روی ردیف‌های جدول */
.custom-price-table tr:hover td {
  background-color: #eaf4dc !important;
  transition: background 0.2s ease-in-out;
}

/* =========================================
   About Page Styles (Bootstrap Compatible)
   ========================================= */

.about-title {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-family: Kalameh-B;
  color: var(--green);
}

.about-subtitle {
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-family: Kalameh-M;
}

.font-kalameh-b {
  font-family: Kalameh-B !important;
  color: var(--pink) !important;
}

.about-content-box {
  background: #ffffff;
  border-radius: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  /* پدینگ هوشمند: در موبایل کمتر و در دسکتاپ بیشتر */
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.8s ease forwards;
}

/* یک نوار تزئینی بالای باکس */
.about-content-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--green), var(--pink));
}

.about-text {
  font-size: 1.15rem;
  line-height: 2.2;
  color: #444;
  text-align: justify;
  margin-bottom: 1.5rem;
}

.core-values-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-family: Kalameh-B;
  color: var(--pink);
}

.value-card {
  background: var(--superlightgray);
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid #eee;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--green);
}

.value-card i {
  font-size: 3rem;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.value-card h4 {
  font-size: 1.4rem;
  font-family: Kalameh-B;
  color: #222;
  margin-bottom: 1rem;
}

.value-card p {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 0;
}

/* =========================================
   User Area Styles (Bootstrap Compatible)
   ========================================= */

.panel_container {
  background-color: #f5f5f5; /* همرنگ کردن بک گراند برای ظاهر یکپارچه‌تر */
}

/* --- استایل سایدبار --- */
.sidebar {
  background-color: var(--green);
  border-radius: var(--border-radius);
  padding: 1rem ;
  /*position: sticky;*/
  /* کدهای عرض ثابت و Position پاک شد تا بوت‌استرپ خودش تنظیم کند */
}

.avatar_wrap {
  width: 5rem; /* در موبایل کوچکتر */
  height: 5rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  color: white;
}
@media (min-width: 992px) {
  .avatar_wrap {
    width: 7rem;
    height: 7rem;
    font-size: 3rem;
  }
}

.user_name {
  font-family: Kalameh-M;
  color: white !important;
	line-height: .9rem;
	padding-top: .8rem;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

.user_name p
{
	color: white !important;
}

/* شخصی‌سازی اسکرول‌بار افقی موبایل */
.sidebar_nav_scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.4) transparent;
}
.sidebar_nav_scroll::-webkit-scrollbar {
  height: 6px;
}
.sidebar_nav_scroll::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.4);
  border-radius: 10px;
}

/* استایل دکمه‌های منو */
.nav_btn {
  background: none;
  border: none;
  padding: 0.8rem 1.2rem;
  color: white;
  font-size: 1.1rem;
  border-radius: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.nav_btn:hover, .nav_btn.active {
  background-color: var(--pink);
}

.logout_btn {
  background-color: #558b2f;
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 0.8rem;
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition);
  border: none !important;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.logout_btn:hover {
  background-color: var(--darkgreen) !important;
}

/* --- بخش محتوا --- */
.content_area {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-right: 1rem;
  min-height: 500px; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
@media (min-width: 992px) {
  .content_area {
    padding: 2.5rem;
  }
}

.panel_section {
  display: none;
  width: 100%;
  opacity: 0; 
  transform: translateY(10px); 
  transition: opacity 0.4s ease, transform 0.4s ease; 
}
.panel_section.active {
  display: block;
}
.panel_section.fade_in {
  opacity: 1;
  transform: translateY(0);
}

.section_title {
  font-size: 1.5rem;
  font-family: Kalameh-B;
  color: #000;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: .3rem solid var(--pink);
}

/* فرم‌ها */
.form_group label {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 0.5rem;
  display: block;
  font-family: Kalameh-SB;
}
.form_group input, .form_control_input, .form_control_select, .form_control_textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  border: 1px solid #ddd;
  background-color: #fdfdfd;
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}
.form_group input:focus, .form_control_input:focus, .form_control_textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 0.2rem rgba(237, 24, 100, 0.15);
}

.edit_info {
  background-color: var(--pink);
  border: none;
  color: white;
  border-radius: 0.8rem;
  transition: var(--transition);
  font-family: Kalameh-SB;
}
.edit_info:hover {
  background-color: var(--darkpink);
}

/* بدج‌ها (تگ‌های فیلتر تعداد) */
.badge_container {
  display: flex;
  gap: 0.5rem;
}
.badge_container .badge {
  padding: 0.6rem 1rem;
  font-family: Kalameh-M;
  font-size: 0.95rem;
  transition: var(--transition);
}
.badge_container a:hover {
  opacity: 0.8;
}

/* استایل جدول‌ها */
.panel_table th {
  background-color: #f8f9fa;
  color: #555;
  font-family: Kalameh-SB;
  border-bottom: 2px solid #eee;
  padding: 1rem;
  white-space: nowrap;
}
.panel_table td {
  padding: 1rem;
  vertical-align: middle;
}

/* کارت کیف پول */
.wallet_card {
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  background-color: #fff;
}
.wallet_card h3 {
  font-family: Kalameh-B;
  font-size: 1.3rem;
}

/* تیکت‌ها */
.submit_ticket_btn {
  background-color: var(--pink);
  color: #fff;
  border: none;
  padding: 0.7rem 2rem;
  border-radius: 0.8rem;
  font-size: 1.1rem;
  font-family: Kalameh-SB;
  transition: var(--transition);
}
.submit_ticket_btn:hover {
  background-color: var(--darkpink);
}

.cancel_ticket_btn {
  background-color: #757575;
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 0.8rem;
  font-size: 1.1rem;
  transition: var(--transition);
  text-align: center;
}
.cancel_ticket_btn:hover {
  background-color: #555;
}

/* چت‌ها */
.chat-container {
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}
.msg-bubble {
  max-width: 85%;
  border-radius: 1.5rem;
}
@media (min-width: 768px) {
  .msg-bubble {
    max-width: 70%;
  }
}
.msg-user {
  background-color: var(--pink);
  color: #ffffff;
  align-self: flex-start;
  border-bottom-right-radius: 0;
}
.msg-admin {
  background-color: #f0f0f0;
  border: 1px solid #e0e0e0;
  align-self: flex-end;
  border-bottom-left-radius: 0;
}

/********* Admin Area - Start *********/
/* ابزار سرچ و هدر سه‌کشن مدیریت */
.section_header_flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.search_box {
  display: flex;
  background-color: white;
  border-radius: 0.8rem;
  border: 1px solid #ccc;
  overflow: hidden;
}
.search_box input {
  border: none;
  padding: 0.5rem 1rem;
  outline: none;
  font-size: 1rem;
}
.search_box .search_btn {
  background-color: var(--pink);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
/* کارت‌های آمار بالای داشبورد */
.stats_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.stat_card {
  background-color: white;
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.stat_icon {
  font-size: 2.5rem;
  background-color: var(--bg-light);
  width: 65px;
  height: 65px;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.stat_info h3 {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 0.3rem;
}
.stat_number {
  font-size: 1.6rem;
  font-weight: bold;
}
.stat_number span {
  font-size: 1rem;
  color: #888;
}
/* برچسب وضعیت‌های سفارشات */
.status_badge {
  padding: 0.3rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: bold;
}
.status_badge.success {
  background-color: #d4edda;
  color: #155724;
}
.status_badge.pending {
  background-color: #fff3cd;
  color: #856404;
}
/* سایر باکس‌های کمکی */
.admin_invoice_box {
  background-color: white;
  border-radius: 1.5rem;
  padding: 2rem;
  line-height: 2.5rem;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.action_icon_btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}
.text_green {
  color: var(--green);
}
.chat-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 15px;
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 20px;
  border: 1px solid #ddd;
}
.msg-bubble {
  max-width: 75%;
  padding: 12px 18px;
  border-radius: 20px;
  position: relative;
  font-size: 1.1rem;
  line-height: 1.6;
}
.msg-user {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  align-self: flex-start;
  border-bottom-right-radius: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  color: var(--pink);
}
.msg-admin {
  background-color: var(--pink);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-left-radius: 0;
  box-shadow: 0 2px 5px rgba(237, 24, 100, 0.2);
}
.msg-sender {
  font-size: 0.9rem;
  margin-bottom: 5px;
  font-family: Kalameh-B;
  display: block;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  padding-bottom: 5px;
}
.msg-admin .msg-sender {
  color: #ffe6ee;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}
.msg-user .msg-sender {
  color: #555;
}
.msg-time {
  font-size: 0.75rem;
  text-align: left;
  opacity: 0.7;
  margin-top: 5px;
  display: block;
}
/* استایل دکمه‌های فیلتر */
.filter-btn {
  border: none;
  cursor: pointer;
  transition: 0.3s;
  padding: 0.5rem 1rem;
  border-radius: 0.8rem;
  font-family: Kalameh-B;
  font-size: 1rem;
}
.filter-btn:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}
/********* Admin Area - End *********/

/********* Terms - Start *********/
.terms-container {
  width: 90vw;
  margin: 4rem auto;
  padding: 6rem 3rem 3rem;
  background-color: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  line-height: 2.2;
  color: #444;
}
.terms-container h1 {
  font-family: Kalameh-B;
  color: var(--green);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.terms-container .subtitle {
  text-align: center;
  color: #888;
  font-size: 1.1rem;
  margin-bottom: 1rem !important;
  border-bottom: 2px dashed #eee;
  padding-bottom: 1.5rem;
}
.terms-list {
  list-style-type: none;
  padding: 0;
}
.terms-list h2
{
	font-family: Kahroba-B;
	color: var(--pink);
	padding-bottom: .8rem;
	font-size: 1.2rem;
}

.terms-list p
{
	font-family: Kahroba-B;
	font-size: 1rem
}
.terms-list strong
{
	font-family: Kahroba-B;
	color: var(--pink);
}

/********* Terms - End *********/

/********* Chat - Start *********/

.chat-container {
	display: flex;
	flex-direction: column;
	gap: 15px;
	background: #f8f9fa;
	padding: 20px;
	border-radius: 15px;
	max-height: 400px;
	overflow-y: auto;
	margin-bottom: 20px;
	border: 1px solid #ddd;
}
.msg-bubble {
	max-width: 75%;
	padding: 12px 18px;
	border-radius: 20px;
	position: relative;
	font-size: 1.1rem;
	line-height: 1.6;
}
.msg-user {
	background-color: var(--pink);
	color: #ffffff;
	align-self: flex-start;
	border-bottom-right-radius: 0;
	box-shadow: 0 2px 5px rgba(237, 24, 100, 0.2);
}
.msg-admin {
	background-color: #ffffff;
	border: 1px solid #e0e0e0;
	align-self: flex-end;
	border-bottom-left-radius: 0;
	box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.msg-sender {
	font-size: 0.9rem;
	margin-bottom: 5px;
	font-family: Kalameh-B;
	display: block;
	border-bottom: 1px dashed rgba(0,0,0,0.1);
	padding-bottom: 5px;
}
.msg-user .msg-sender {
	color: #ffe6ee;
	border-bottom-color: rgba(255,255,255,0.2);
}
.msg-admin .msg-sender {
	color: #555;
}
.msg-time {
	font-size: 0.75rem;
	text-align: left;
	opacity: 0.7;
	margin-top: 5px;
	display: block;
}
/********* Chat - End *********/

/* =========================================
   404 Page Styles (Bootstrap Compatible)
   ========================================= */

  .error-page-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-start; /* قرار دادن محتوا در نیمه بالایی صفحه */
    padding-top: 12vh; /* فاصله از سقف صفحه */
  }

  /* باکسی که انیمیشن در آن لود می‌شود (به عنوان پس‌زمینه) */
  #lottie-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* رفتن به زیر لایه متن */
    pointer-events: none; /* کلیک‌های موس از روی انیمیشن رد شود */
  }

  /* تنظیمات باکس متن‌ها */
  .error-content {
    position: relative;
    z-index: 1; /* قرار گرفتن روی انیمیشن */
    text-align: center;
    width: 100%;
    max-width: 600px;
    /* انتقال باکس به سمت چپ صفحه */
    margin-right: auto; 
    margin-left: 12%; 
  }

  .error-title {
    font-size: clamp(4.5rem, 8vw, 7rem);
    font-family: IRANSansFA-B;
    color: var(--pink);
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 5px 15px rgba(237, 24, 100, 0.2);
  }

  .error-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-family: IRANSansFA-B;
    color: #000000;
    margin-bottom: 1rem;
  }

  .error-desc {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
	font-family: IRANSansFA-M;
  }

  /* استایل دکمه برگشت */
  .back-btn {
    display: inline-block;
    background-color: var(--pink);
    color: white;
    font-size: 1.2rem;
    font-family: IRANSansFA-B;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2.5rem;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(237, 24, 100, 0.3);
    transition: all 0.3s ease;
  }

  .back-btn:hover {
    background-color: /*var(--darkpink)*/ white;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(237, 24, 100, 0.4);
    color: var(--pink);
  }

  /* تنظیمات واکنش‌گرا (Responsive) برای موبایل و تبلت */
  @media (max-width: 991px) {
    .error-content {
      margin-right: auto; 
      margin-left: auto; /* در موبایل کاملاً وسط‌چین می‌شود */
      padding: 0 1.5rem;
    }
  }



