@font-face {
font-family: "IRANSans";
src: url("../fonts/IRANSans/IRANSansWeb(FaNum)_Bold.woff2") format("woff2");
}
body,
html {

scroll-behavior: smooth;
direction: rtl;
}


body {
  background: rgba(24, 52, 53, 0.9) !important;
    color: #F0F5F0;
    position: relative;

    width: 100%;

}
.IRANSans{
font-family: 'IRANSans' !important;
}
/* ═══ Glass Card ═══ */
.glass-card {
background: rgba(27, 48, 34, 0.25);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(180, 205, 184, 0.1);
transition: all 0.3s ease-in-out;
}

.glass-card:hover {
background: rgba(27, 48, 34, 0.4);
border-color: #f9faf5;
box-shadow: 0 0  10px rgba(176, 213, 0, 0.05);
transform: translateY(-2px);
}

.lime-glow-hover:hover {
box-shadow: 0 0 15px rgba(176, 213, 0, 0.05);;
}

/* ═══ Material Icons ═══ */
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ═══ Nav ═══ */
.nav-item {
color: #cbf231;
font-weight: 600;
margin-right: 4vw;
margin-left: 4vw;
border-bottom: 2px solid #cbf231;
padding-bottom: 4px;
}

.nav-link-hover {
font-weight: 700;
position: relative;
padding-bottom: 6px;
}

.nav-link-hover:hover {
color: #eaee0c;
}
.bg-gold {
    background: repeating-radial-gradient(#fde507, #e6e63d);
    border: 1px solid rgb(249, 249, 250);
}
/* ═══ Active Nav Indicator ═══ */
.nav-link-hover::after {
content: '';
position: absolute;
bottom: 0;
right: 0;
width: 0;
height: 2px;
background: #cbf231;
border-radius: 2px;
transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.icon-sm{width:1.6rem;margin-right: 4px;
animation:icon-sm 2s infinite 2s alternate}
@keyframes icon-sm {
  0%,100%{transform: translateX(0);}
  50%{transform: translateX(-10px);filter:invert(110)}
}
.nav-link-hover:hover::after {
width: 100%;
}

.nav-link-hover.active {
color: #cbf231 !important;
}

button {
cursor: pointer;
color: #fff;
font-weight: bold !important;
}
 .section-tag {
 font-weight: 900;
 letter-spacing: .12em;
 background: linear-gradient(135deg, #ffffff, #970435);
 background-clip: text;
 -webkit-text-fill-color: transparent;
 text-transform: uppercase;
 margin-bottom: .8rem;
 }
  .section-tag-reverse {
  font-weight: bold;
  letter-spacing: .12em;
  background: linear-gradient(135deg, #d17980, #fdfdfd);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  margin-bottom: .8rem;
  }
.nav-link-hover.active::after {
width: 100%;
background: linear-gradient(90deg, transparent 0%, #313ef2 20%, #ffffff 50%, #cbf231 80%, transparent 100%);
background-size: 200% 100%;
animation: navLightSweep 2.5s ease-in-out infinite;
box-shadow: 0 0 8px rgba(203, 242, 49, 0.6), 0 0 20px rgba(203, 242, 49, 0.3);
}

/* ═══ Scrollbar ═══ */
::-webkit-scrollbar {
width: 8px;
}

::-webkit-scrollbar-track {
background: #150c10;
}

::-webkit-scrollbar-thumb {
background: #5b03a3;
border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
background: rgba(176, 213, 0, 0.05);;
}

/* ═══ Hero Slider ═══ */
.slider-container {
position: absolute;
inset: 0;
z-index: 0;
}

.slide {
position: absolute;
inset: 0;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
opacity: 0;
transition: opacity 1.8s ease-in-out;
}

.slide.active {
opacity: 1;
}

.hero-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.50) 100%);
z-index: 1;
}

.hero-swiper-desktop {
position: absolute;
inset: 0;
z-index: 0;
width: 100%;
}

.swiper-slide {
background-size: cover;
background-position: center;
width: 100% !important;
}

/* ═══ AI Chat ═══ */
.ai-chat-icon {
width: 50px;
position: fixed;
bottom: 50px;
right: 30px;
z-index: 999;
}

.ai-fab {
max-width: 70px;
height: 70px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
z-index: 8;
}

.ai-chat-box {
direction: rtl;
position: fixed;
bottom: 100px;
right: 30px;
width: 380px;
height: 450px;
background: rgba(57, 65, 83, 0.7);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 20px;
display: none;
flex-direction: column;
z-index: 8;
backdrop-filter: blur(15px);
overflow: hidden;
}

.chat-header {
padding: 15px;
background: rgba(112, 221, 10, 0.3);
font-weight: bold;
display: flex;
justify-content: space-between;
}

.chat-messages {
flex: 1;
padding: 4px;
overflow-y: auto;
font-size: 0.9rem;
color: #fffffc;
}

.message {
margin-bottom: 10px;
padding: 6px 12px;
border-radius: 4px;
max-width: 80%;
}

.bot-msg {
background: rgba(255, 255, 255, 0.1);
align-self: flex-start;
}

.user-msg {
background: var(--primary);
color: white;
margin-right: auto;
}

.chat-input-area {
padding: 10px;
display: flex;
gap: 1px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
width: 100%;
align-items: center;
}

.chat-input-area input {
padding: 0 6px;
border-radius: 3px;
background-color: rgba(255, 255, 252, .8);
height: 45px;
flex: 1;
border: none !important;
outline: none !important;
font-size: .8rem !important;
}

.glass-card-white {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.4);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
transition: all 0.4s ease;
}

.text-shadow {
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.bg-transparent{background:transparent}

.text-gold {color:gold !important}
.text-red {
color: rgb(116, 7, 7) !important;
}

/* ═══ Utilities ═══ */
.rtl {
direction: rtl !important;
}

.ltr {
direction: ltr;
}

.bold {
font-weight: 500;
}
.z-100{z-index: 100;}
.align-center {
text-align: center;
}

.text-body {
font-size: 1.6rem;
font-weight: 700;
}

.text-dark {
color: #1a1a1a !important;
}
.text-aqua{color:aqua}
.text-green {
color: rgb(5, 75, 5) !important;
}

.z-20 {
z-index: 20;
}

.mt-50 {
margin-top: 6rem;
}

.icons-sm {
cursor: pointer;
width: .8rem !important;
height: .8rem;
}
.icons {
width: 1.7rem !important;
height: 1.7rem !important;
cursor: pointer;
}

.icons-lg {
width: 60px !important;
}

.icons-md {
width: 3rem;
cursor: pointer;
}

.mid-icon {
width: 10rem;
border : 0.5px solid gold;
border-radius: 60rem;
padding:5px;
}
.glass-card-blue{background: rgba(34, 210, 223, 0.3);}
.glass-card-red{background: rgba(221, 9, 15, 0.5);}
.image {
width: 90%;
}

.bg-green {
background: linear-gradient(#079231, rgba(30, 200, 200, .5))
}
.btn{background-color: #5c2b66;margin:2rem 1rem ;padding:6px 16px; border-radius:16px; transition: .4s ease-in;}
.btn:hover{
color:rgb(2, 71, 2); background-color: #2daadb;
}
.btn:focus{border:1px groove #fff}
.mt-1 {
margin-top: 1rem
}

.mb-1 {
margin-top: 1rem
}

.mt-2 {
margin-top: 2.5rem
}

.mb-2 {
margin-bottom: 2rem
}

.ml-2 {
margin-left: 2.5rem
}

.mr-2 {
margin-right: 2rem
}

.mt-4 {
margin-top: 4rem
}
.mt-5 {
margin-top: 5rem
}

.mb-4 {
margin-bottom: 4rem
}
.mb-5 {
margin-bottom: 5rem
}

.pointer {
cursor: pointer;
}

h1 {
font-size: clamp(20pt, 9vw, 32pt)
}

h2 {
font-size: clamp(17pt, 7vw, 26pt)
}

h3 {
font-size: clamp(14pt, 5vw, 20pt)
}

h4 {
font-size: clamp(11pt, 4vw, 17pt)
}

h5 {
font-size: clamp(9pt, 3vw, 14pt)
}

h6 {
font-size: clamp(6pt, 2vw, 11pt)
}

/* ═══ Caption Rainbow ═══ */
.caption {
font-weight: 800;
letter-spacing: 1px;
animation: rainbow 25s infinite;
background: linear-gradient(42deg, #1f0111, #ac4f8d, #5c2b66, #065f6e, #6d0906, #99a33d, #580315, #9e222c, #e9eaec, #d69bc7, #601074, #ad2e37, #1f0111);
background-size: 260% auto;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
border-bottom: 2px solid gold;
width: fit-content;
}

/* ═══ Cart Scrollbar ═══ */
#cartModalPanel .custom-scrollbar {
scrollbar-width: thin;
scrollbar-color: rgba(203, 242, 49, 0.3) transparent;
}

#cartModalPanel .custom-scrollbar::-webkit-scrollbar {
width: 5px;
}

#cartModalPanel .custom-scrollbar::-webkit-scrollbar-thumb {
background: rgba(203, 242, 49, 0.3);
border-radius: 10px;
}

#cartModalPanel .custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}

/* ═══ Modal ═══ */
.close-btn {
cursor: pointer;
line-height: 1;
color: #fff;
font-size: 1.5rem;
}

.close-btn:hover {
color: #bd8a8a;
}

.modal-body {
padding: 20px;
}

.form-group {
margin-bottom: 15px;
}

label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #ffffff;
}

.form-input {
width: 100%;
padding: 10px;
border: 1px solid #555;
border-radius: 6px;
background: rgba(255, 255, 255, 0.1);
color: #fff;
}

.form-input:focus {
border-color: #edf0f3;
outline: none;
}

.radio-group {
display: flex;
gap: 35px;
}

.radio-label {
display: flex;
align-items: center;
gap: 5px;
cursor: pointer;
font-weight: normal;
}

.submit-btn {
width: 100%;
padding: 12px;
background-color: #3498db;
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
margin-top: 10px;
}

.submit-btn:hover {
background-color: #2980b9;
}



footer {
position: relative;
}

.d-flex {
display: flex
}

.justify-between {
justify-content: space-between
}

/* ═══ Animations (با @ escape شده برای Blade) ═══ */
@keyframes navLightSweep {
0% {
background-position: 200% center;
}

100% {
background-position: -200% center;
}
}

@keyframes rainbow {
0% {
background-position: 0% center;
}

100% {
background-position: 200% center;
}
}

@keyframes animate-pulse {

0%,
100% {
background: #fffffc;
}

50% {
background: rgba(255, 255, 255, 0.1);
}
}

.animate-pulse {
animation: animate-pulse 2s infinite 1s alternate;
color: darkred;
}

/* ═══ Responsive ═══ */
@media (max-width: 768px) {
.nav-link-hover.active::after {
width: 6px;
height: 6px;
border-radius: 50%;
right: 50%;
transform: translateX(50%);
animation: none;
background: #0777e0;
box-shadow: 0 0 10px rgba(203, 242, 49, 0.8);
}
}

/* ═══ Profile Dropdown — Click-based ═══ */
.profile-dropdown {
opacity: 0;
visibility: hidden;
transform: translateY(8px) scale(0.97);
transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
pointer-events: none;
}

.profile-dropdown.active {
opacity: 1;
visibility: visible;
transform: translateY(0) scale(1);
pointer-events: auto;
}

/* ═══ Profile Dropdown ═══ */
#profileMenu a {
display: flex !important;
align-items: center;
gap: 12px;
}

#profileMenu a img {
width: 20px;
height: 20px;
flex-shrink: 0;
object-fit: contain;
}

.material-symbols-outlined {
font-family: 'Material Symbols Outlined' !important;
font-weight: normal !important;
font-style: normal !important;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
vertical-align: middle;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* حالت توپر (برای قلب، ستاره و...) */
.material-symbols-outlined.filled {
font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
  .button-r {
  transition: 0.5s ease-in-out;border:.5px solid #fff;
box-shadow: 2px 2px 6px rgba(176, 213, 0, 0.05);
  }

  button:hover {
  box-shadow: 2px 2px 6px rgba(16, 13, 20, 0.75) !important;
  }

@media(max-width : 1320px) {
h1 {
font-size: clamp(17pt, 7vw, 28pt)
}

h2 {
font-size: clamp(14pt, 7vw, 22pt)
}

h3 {
font-size: clamp(12pt, 5vw, 18pt)
}

h4 {
font-size: clamp(11pt, 4vw, 17pt)
}

h5 {
font-size: clamp(9pt, 3vw, 14pt)
}

h6 {
font-size: clamp(6pt, 2vw, 11pt)
}

}
option{color:#1f0111 !important}
.light{transition: .4s ease-in-out;
border-radius: 9999px;padding:20px;}
.light:hover{
transform: scale(1.1);
}
@media (max-width: 1150px) {
.d-md-none{display:none; }
}
.d-md-none{font-size: clamp(0.45rem, 2.6cqi, 1rem);
white-space: nowrap;}
.modal-header {
background-color: #264e77;
color: white;
padding: 15px 20px;
display: flex;
justify-content: space-between;
align-items: center;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}
/* ═══ Timeline Vertical - بین سکشن‌ها ═══ */
.timeline-divider {
display: flex;
justify-content: center;
align-items: center;
padding: 40px 0;
position: relative;
z-index: 1;
}

.timeline-track {
position: relative;
width: 3px;
height: 300px;
background: rgba(255, 255, 255, 0.08);
border-radius: 3px;
overflow: hidden;
}

.timeline-fill {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(180deg,
transparent 0%,
rgba(203, 242, 49, 0.4) 20%,
#f2ef31 60%,
gold 100%);
border-radius: 3px;
transform-origin: top center;
transform: scaleY(0);
box-shadow: 0 0 12px rgba(203, 242, 49, 0.6);
}

/* نقطه درخشان در انتهای خط */
.timeline-dot {
position: absolute;
bottom: -8px;
left: 50%;
transform: translateX(-50%) scale(0);
width: 16px;
height: 16px;
background: #cbf231;
border-radius: 50%;
box-shadow:
0 0 0 4px rgba(203, 242, 49, 0.2),
0 0 20px rgba(203, 242, 49, 0.8);
opacity: 0;
}

/* نقطه شروع در بالای خط */
.timeline-dot-top {
position: absolute;
top: -8px;
left: 50%;
transform: translateX(-50%) scale(0.5);
width: 8px;
height: 8px;
background: rgba(255, 255, 255, 0.3);
border-radius: 50%;
}

/* انیمیشن pulse برای نقطه انتهایی */
@keyframes timeline-pulse {

0%,
100% {
box-shadow: 0 0 0 4px rgba(203, 242, 49, 0.2), 0 0 20px rgba(203, 242, 49, 0.8);
}

50% {
box-shadow: 0 0 0 8px rgba(203, 242, 49, 0.1), 0 0 30px rgba(203, 242, 49, 1);
}
}

.timeline-dot.active {
animation: timeline-pulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
.timeline-track {
height: 200px;
}

.timeline-divider {
padding: 20px 0;
}
}