/* تنظیمات کلی */
:root {
    --primary: #2c3e50;
    --secondary: #34495e;
    --accent: #3498db;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --gold: #f1c40f;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --radius: 10px;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* دکمه‌ها */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #229954;
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);
    color: var(--dark);
}

.btn-gold:hover {
    background: #f39c12;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 18px;
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border: none;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

/* سیستم نوتیفیکیشن */
.notification {
    position: fixed;
    top: 20px;
    left: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transform: translateX(-400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-right: 4px solid var(--primary);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-right-color: var(--success);
    background: linear-gradient(to left, #ffffff, #f0fff4);
}

.notification-error {
    border-right-color: var(--danger);
    background: linear-gradient(to left, #ffffff, #fff5f5);
}

.notification-warning {
    border-right-color: var(--warning);
    background: linear-gradient(to left, #ffffff, #fffbf0);
}

.notification-info {
    border-right-color: var(--accent);
    background: linear-gradient(to left, #ffffff, #f0f9ff);
}

.notification span {
    flex: 1;
    font-weight: 500;
    color: var(--dark);
    font-size: 14px;
}

.close-notification {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 50%;
}

.close-notification:hover {
    background: rgba(0,0,0,0.05);
    color: var(--dark);
}

/* هدر */
header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark);
}

.logo-icon {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
}

.logo-tagline {
    font-size: 12px;
    color: var(--accent);
    margin-top: -5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: var(--transition);
}

nav a:hover,
nav a.active {
    color: var(--accent);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* بخش اصلی */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.highlight {
    color: var(--gold);
    font-weight: 900;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* ماشین حساب */
.income-calculator {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.calculator-card {
    background: var(--light);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.calculator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.calc-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.calculator-card h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.number-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: var(--radius);
    font-size: 16px;
    font-family: 'Vazirmatn', sans-serif;
    text-align: center;
}

.input-label {
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius);
    min-width: 70px;
}

.calc-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--success);
    margin: 10px 0;
}

.calc-note {
    color: #666;
    font-size: 0.9rem;
}

.reward-info {
    margin-top: 20px;
}

.reward-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.reward-item:last-child {
    border-bottom: none;
}

.reward-count {
    color: var(--primary);
    font-weight: 600;
}

.reward-amount {
    color: var(--success);
    font-weight: 700;
}

.calculator-note {
    background: #e8f4fc;
    padding: 20px;
    border-radius: var(--radius);
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 40px;
}

.calculator-note i {
    color: var(--accent);
    font-size: 1.5rem;
}

/* نحوه کار */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--accent);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
}

.step-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.step-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* داشبورد */
.dashboard-section {
    padding: 80px 0;
    background: var(--light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin: 10px 0;
}

.progress-bar {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--success);
    border-radius: 4px;
    width: 0%;
    transition: width 1s ease;
}

.next-reward {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    padding: 10px;
    background: #fff8e1;
    border-radius: var(--radius);
}

.next-reward i {
    color: var(--gold);
}

.stages {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.stage {
    padding: 5px 15px;
    background: #eee;
    border-radius: 20px;
    font-size: 0.9rem;
}

.stage.completed {
    background: var(--success);
    color: white;
}

.referral-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 40px;
}

.referral-code {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: var(--radius);
    font-size: 2rem;
    font-family: monospace;
    letter-spacing: 2px;
    margin: 20px 0;
    border: 2px dashed rgba(255,255,255,0.3);
}

.referral-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.referrals-table {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.table-responsive {
    overflow-x: auto;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: var(--light);
    padding: 15px;
    text-align: right;
    font-weight: 600;
    color: var(--primary);
    border-bottom: 2px solid #ddd;
}

td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.text-center {
    text-align: center;
}

.withdrawal-form {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: var(--radius);
    font-size: 16px;
    font-family: 'Vazirmatn', sans-serif;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.9rem;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* فوتر */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--gold);
}

.footer-col p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-right: 5px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--gold);
    min-width: 30px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item i {
    color: var(--gold);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}

.demo-note {
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0.7;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.auth-tabs {
    display: flex;
    background: var(--light);
}

.auth-tab {
    flex: 1;
    padding: 20px;
    border: none;
    background: transparent;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.auth-tab.active {
    background: white;
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.auth-forms {
    padding: 30px;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h3 {
    margin-bottom: 20px;
    color: var(--primary);
    text-align: center;
}

.auth-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: var(--radius);
    font-size: 16px;
    font-family: 'Vazirmatn', sans-serif;
}

.auth-form input:focus {
    border-color: var(--accent);
    outline: none;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .referral-actions {
        flex-direction: column;
    }
    
    .referral-actions .btn {
        width: 100%;
    }
}
       #nishx-widget {
  position: fixed;
  bottom: 20px;
  right: 20px; /* اگر سمت چپ می‌خواهی: left:20px */
  width: 300px;
  background: #161a22;
  color: #e8eaed;
  border: 1px solid #232732;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  font-family: "Vazirmatn", sans-serif;
  z-index: 9999;
}

.widget-header {
  padding: 12px;
  border-bottom: 1px solid #232732;
  text-align: center;
}
.widget-header h3 {
  margin: 0;
  font-weight: 800;
  color: #7c5cff;
}
.widget-header p {
  margin: 0;
  font-size: 12px;
  color: #9aa0a6;
}

.widget-body {
  padding: 12px;
}
label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}
input {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #232732;
  background: #0c0e13;
  color: #ffffff;
}
button {
  margin-top: 8px;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #7c5cff;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
button:hover {
  filter: brightness(1.1);
}
h4 {
  margin-top: 12px;
  font-size: 14px;
  color: #22c55e;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul li {
  background: #0c0e13;
  padding: 6px;
  margin-bottom: 4px;
  border-radius: 6px;
  font-size: 13px;
}
/* دکمه‌ی شناور */
#nishx-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #7c5cff;
  color: #fff;
  font-size: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(0,0,0,0.4);
  z-index:10000;
}

/* ویجت */
#nishx-widget {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background: #161a22;
  color: #e8eaed;
  border: 1px solid #232732;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  font-family: "Vazirmatn", sans-serif;
  z-index: 9999;
  transition: all 0.3s ease;
}
.hidden {
  display: none;
}

.widget-header {
  padding: 12px;
  border-bottom: 1px solid #232732;
  text-align: center;
}
.widget-header h3 {
  margin: 0;
  font-weight: 800;
  color: #7c5cff;
}
.widget-header p {
  margin: 0;
  font-size: 12px;
  color: #9aa0a6;
}

.widget-body {
  padding: 12px;
}
label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}
input {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #232732;
  background: #0c0e13;
  color: #e8eaed;
}
button {
  margin-top: 8px;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #7c5cff;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
button:hover {
  filter: brightness(1.1);
}
h4 {
  margin-top: 12px;
  font-size: 14px;
  color: #22c55e;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul li {
  background: #7d6e83;
  padding: 6px;
  margin-bottom: 4px;
  border-radius: 6px;
  font-size: 13px;
}
#nishx-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #7c5cff;
  color: #fff;
  font-size: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(0,0,0,0.4);
  z-index:10000;
}
#nishx-toggle i {
  font-size: 22px;
}
/* Variables */
:root {
    --primary: #7B1FA2;
    --primary-dark: #4A148C;
    --accent: #FF4081;
    --gold: #FFC107;
    --success: #4CAF50;
    --warning: #FF9800;
    --light: #F3E5F5;
    --dark: #212121;
    --gray: #757575;
    --light-gray: #F5F5F5;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--dark);
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.products-header {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
}

.logo-icon {
    font-size: 2.2rem;
    color: var(--gold);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(to right, var(--gold), #FFEB3B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-tagline {
    font-size: 0.8rem;
    opacity: 0.9;
}

.products-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.products-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 25px;
    transition: var(--transition);
}

.products-nav a:hover,
.products-nav a.active {
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.products-hero {
    padding: 4rem 0;
    background: linear-gradient(rgba(123, 31, 162, 0.9), rgba(74, 20, 140, 0.9)), url('https://images.unsplash.com/photo-1541643600914-78b084683601?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: 2rem;
}

.products-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.products-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.stat i {
    font-size: 2.5rem;
    color: var(--gold);
}

.stat h3 {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.stat p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Filter Section */
.products-filter {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.filter-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 31, 162, 0.1);
}

.search-box button {
    padding: 0 30px;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 31, 162, 0.3);
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.filter-group {
    flex: 1;
    min-width: 300px;
}

.filter-label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn,
.scent-btn {
    padding: 10px 20px;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.scent-btn:hover,
.filter-btn.active,
.scent-btn.active {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Products Grid */
.products-grid-section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
}

.badge-male {
    background: linear-gradient(45deg, #2196F3, #1976D2);
    color: white;
}

.badge-female {
    background: linear-gradient(45deg, var(--accent), #E91E63);
    color: white;
}

.badge-unisex {
    background: linear-gradient(45deg, var(--success), #388E3C);
    color: white;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.product-type {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-scent {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.scent-tag {
    background: var(--light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
}

.product-notes {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.note-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.note-label {
    font-weight: 600;
    color: var(--primary);
}

.note-value {
    color: var(--dark);
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.commission-badge {
    background: var(--light);
    padding: 8px 15px;
    border-radius: var(--radius);
    color: var(--success);
    font-weight: 600;
    font-size: 0.9rem;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-details {
    background: var(--light-gray);
    color: var(--dark);
}

.btn-details:hover {
    background: #e0e0e0;
}

.btn-buy {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 31, 162, 0.3);
}

/* Product Modal */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-header h3 {
    font-size: 1.8rem;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.modal-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.spec-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.spec-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.modal-notes {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.modal-price {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    border-radius: var(--radius);
    margin-top: 2rem;
}

.modal-price h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.price-display {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1rem;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

/* Footer */
.products-footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--gold);
    padding-right: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .products-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-options {
        flex-direction: column;
    }
    
    .modal-content {
        padding: 10px;
    }
}

.nishx-logo {
    font-family: 'Montserrat', 'IranSans', sans-serif;
    background: linear-gradient(135deg, #7B1FA2, #4A148C);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
    font-size: 2.5rem;
    position: relative;
}

.nishx-logo::before {
    content: "👑";
    position: absolute;
    right: -30px;
    top: 0;
    font-size: 1.8rem;
}

.nishx-logo::after {
    content: "نیش-ایکس";
    display: block;
    font-family: 'BNazanin', serif;
    font-size: 1rem;
    color: #FF4081;
    margin-top: -5px;
}
.product-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px;
  width: 260px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* اضافه شد */
}

.product-card:hover {
  transform: translateY(-6px) scale(1.03); /* کمی بالا و بزرگ‌تر */
  box-shadow: 0 8px 20px rgba(0,0,0,0.15); /* سایه‌ی نرم */
  border-color: var(--primary); /* تغییر رنگ بوردر */
}
/* تنظیمات کلی */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f7f3;
    color: #333;
    line-height: 1.6;
}

/* هدر */
header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-container h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.header-container p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* کانتینر اصلی */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* بخش فیلتر */
.filter-section {
    background: rgba(0, 0, 0, 0);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.filter-section h2 {
    margin-bottom: 1rem;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    background-color: #0000001c;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn:hover {
    background-color: #000000;
}

.filter-btn.active {
    background-color: #3498db;
    color: rgb(0, 0, 0);
}

.search-box {
    position: relative;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
}

#searchInput {
    width: 100%;
    padding: 0.8rem 2.5rem 0.8rem 1rem;
    border: 2px solid #000000;
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

#searchInput:focus {
    outline: none;
    border-color: #3498db;
}

/* آمار */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #3498db;
}

.stat-card span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #4fb912;
}

.stat-card p {
    color: #7f8c8d;
    font-weight: 600;
}

/* شبکه محصولات */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: rgb(0, 0, 0);
    text-align: center;
}

.product-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-gender {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
}

.product-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.detail-label {
    color: #7f8c8d;
    font-weight: 600;
}

.detail-value {
    color: #2c3e50;
    font-weight: 600;
}

.notes-section {
    margin-top: auto;
}

.notes-title {
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.note-item {
    background: #799ddf;
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

.note-type {
    font-weight: 600;
    color: #3498db;
    margin-bottom: 0.3rem;
}

.note-content {
    color: #555;
}

.product-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    text-align: center;
    border-top: 1px solid #eee;
}

.volume {
    font-weight: 700;
    color: #c4b109;
    font-size: 1.1rem;
}

/* فوتر */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #2c3e50;
    color: rgb(0, 0, 0);
    margin-top: 2rem;
}

/* رنگ‌های جنسیت */
.gender-male {
    color: #3498db !important;
}

.gender-female {
    color: #e84393 !important;
}

.gender-unisex {
    color: #9b59b6 !important;
}

/* واکنش‌گرا */
@media (max-width: 768px) {
    .header-container h1 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-options {
        justify-content: center;
    }
}
/* اضافه کردن استایل برای بخش قیمت */
.price-row {
  background-color: #806060;
  border-radius: 8px;
  margin-top: 10px;
  padding: 10px !important;
}

.price-value {
  color: #27ae60 !important;
  font-weight: 700;
  font-size: 1.1rem;
}

.volume-price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.volume-price .volume {
  font-weight: 700;
  color: #3e6b97;
  font-size: 1.1rem;
}

.volume-price .price {
  font-weight: 700;
  color: #27ae60;
  font-size: 1.1rem;
}

.volume-price .separator {
  color: #bdc3c7;
}

/* استایل برای کارت ارزش کل */
.stat-card.total-value i {
  color: #27ae60 !important;
}

.stat-card.total-value span {
  color: #27ae60 !important;
}

/* بهبود کارت محصول */
.product-footer {
  padding: 1.2rem 1.5rem;
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
}

/* استایل برای موبایل */
@media (max-width: 768px) {
  .volume-price {
    flex-direction: column;
    gap: 5px;
  }
  
  .volume-price .separator {
    display: none;
  }
}
/* استایل‌های جدید برای تصاویر */
.product-image-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(135deg, #ffffff 0%, #0044ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.05);
}

.product-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgb(24, 196, 47);
  height: 100%;
}

.product-image-placeholder i {
  font-size: 4rem;
  margin-bottom: 10px;
  opacity: 0.7;
}

.product-image-placeholder span {
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.8;
}

/* استایل‌های قیمت متفاوت */
.perfume-price {
  color: #e74c3c !important;
  background: rgba(231, 76, 60, 0.1) !important;
  border: 1px solid rgba(231, 76, 60, 0.3) !important;
}

.eau-de-parfum-price {
  color: #27ae60 !important;
  background: rgba(39, 174, 96, 0.1) !important;
  border: 1px solid rgba(39, 174, 96, 0.3) !important;
}

/* بهبود استایل فوتر */
.footer-content .price {
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  text-align: center;
  min-width: 180px;
}
/* تب‌های اصلی */
.main-tabs {
    display: flex;
    justify-content: center;
    background: rgb(91, 94, 223);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-tab {
    flex: 1;
    max-width: 300px;
    padding: 1.5rem 2rem;
    border: none;
    background: transparent;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-bottom: 3px solid transparent;
}

.main-tab:hover {
    background-color: #6558d1;
}

.main-tab.active {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: rgb(146, 107, 236);
    border-bottom: 3px solid #3498db;
}

.main-tab.active i {
    color: #3498db;
}

.tab-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.main-tab.active .tab-count {
    background: rgba(52, 152, 219, 0.3);
    color: #3498db;
}

/* تب ادوپرفیوم */
.main-tab[data-type="eau"] i {
    color: #27ae60;
}

.main-tab.active[data-type="eau"] {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-bottom-color: #27ae60;
}

/* تب پرفیوم */
.main-tab[data-type="perfume"] i {
    color: #e74c3c;
}

.main-tab.active[data-type="perfume"] {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-bottom-color: #e74c3c;
}

/* استایل‌های قبلی بدون تغییر باقی می‌مانند */

/* بهبود بخش فیلتر برای هماهنگی با تب‌ها */
.filter-section {
    margin-top: 2rem;
}

/* واکنش‌گرایی تب‌ها */
@media (max-width: 768px) {
    .main-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .main-tab {
        max-width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
}
/* استایل‌های جدید */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(148, 27, 27, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close {
    float: left;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: #2462a0;
}

.modal-content form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.modal-footer {
    text-align: center;
    margin-top: 1rem;
    color: #666;
}

.modal-footer a {
    color: #3498db;
    text-decoration: none;
}

/* استایل‌های ماشین حساب */
.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.input-group .form-control {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

.input-label {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* استایل‌های داشبورد */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.guest-buttons {
    display: flex;
    gap: 10px;
}

.table-container {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
}

.table-container th {
    background: #f8f9fa;
    padding: 15px;
    text-align: right;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #ddd;
}

.table-container td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.table-container tr:hover {
    background: #f9f9f9;
}

.text-center {
    text-align: center;
}

/* استایل فرم درخواست برداشت */
.withdrawal-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #96b6d6;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.referral-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}
/* سیستم پورسانت */
.commission-system {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

.commission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.commission-card {
    background: rgba(185, 24, 24, 0.363);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s;
}

.commission-card:hover {
    transform: translateY(-10px);
}

.commission-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffd700;
}

.commission-price {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

.commission-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 8px 16px;
    border-radius: 50px;
    margin-top: 15px;
    font-weight: bold;
}

/* ماشین حساب ساده */
.calculator-simple {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.calc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.calc-input {
    width: 100px;
    padding: 10px;
    border: 2px solid #667eea;
    border-radius: 10px;
    text-align: center;
    font-size: 18px;
}

.calc-unit {
    margin: 0 20px;
    font-weight: bold;
}

.calc-subtotal {
    font-weight: bold;
    color: #667eea;
    min-width: 150px;
    text-align: left;
}

.calc-total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    text-align: center;
}

.total-amount {
    font-size: 48px;
    font-weight: bold;
    margin: 20px 0;
    color: #ffd700;
}

.total-note {
    opacity: 0.9;
    font-size: 14px;
}
/* سیستم پورسانت */
.commission-system {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

.commission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.commission-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s;
}

.commission-card:hover {
    transform: translateY(-10px);
}

.commission-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffd700;
}

.commission-price {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

.commission-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 8px 16px;
    border-radius: 50px;
    margin-top: 15px;
    font-weight: bold;
}

.payment-schedule {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.schedule-icon {
    font-size: 36px;
    color: #ffd700;
}

.schedule-content h4 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

/* ماشین حساب پورسانت */
.calculator-simple {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.calc-inputs {
    margin-bottom: 30px;
}

.calc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.calc-item label {
    font-weight: 600;
    color: #333;
    flex: 1;
}

.calc-input {
    width: 100px;
    padding: 10px;
    border: 2px solid #667eea;
    border-radius: 10px;
    text-align: center;
    font-size: 18px;
    font-family: inherit;
}

.calc-unit {
    margin: 0 20px;
    font-weight: bold;
    color: #666;
    min-width: 50px;
}

.calc-subtotal {
    font-weight: bold;
    color: #667eea;
    min-width: 150px;
    text-align: left;
}

.calc-total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.total-label {
    font-size: 18px;
    opacity: 0.9;
}

.total-amount {
    font-size: 48px;
    font-weight: bold;
    margin: 20px 0;
    color: #ffd700;
}

.total-note {
    opacity: 0.9;
    font-size: 14px;
}

/* توضیحات ساده */
.simple-explanation {
    background: #f8f9fa;
    padding: 60px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.simple-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 30px auto 0;
}

.simple-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
}

.simple-list li:last-child {
    border-bottom: none;
}

.simple-list i {
    color: #27ae60;
    font-size: 20px;
}

/* داشبورد */
.dashboard-section {
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 36px;
    color: #667eea;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0;
    color: #2c3e50;
}

.commission-rate {
    color: #27ae60;
    font-weight: 600;
}

/* استایل‌های عمومی */
.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-primary {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-primary:hover {
    background: #5a6fd8;
}

.btn-gold {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-weight: 600;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .commission-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-item {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .calc-subtotal {
        margin-top: 10px;
    }
    
    .payment-schedule {
        flex-direction: column;
        text-align: center;
    }
}
/* نوتیفیکیشن‌ها */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 300px;
    max-width: 400px;
    z-index: 3000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    border-right: 4px solid #3498db;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-right-color: #27ae60;
}

.notification-error {
    border-right-color: #e74c3c;
}

.notification-warning {
    border-right-color: #f39c12;
}

.close-notification {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #7f8c8d;
    margin-right: 10px;
}

/* سبد خرید */
.cart-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
}

/* کیف پول */
.wallet-balance {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    margin-bottom: 30px;
}

.balance-amount {
    font-size: 36px;
    font-weight: bold;
    margin-top: 10px;
    color: #ffd700;
}

/* محصولات */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* هدر */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* دکمه تستر */
.tester-btn {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.tester-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .notification {
        left: 20px;
        right: 20px;
        max-width: none;
        min-width: auto;
    }
    
    .shopping-cart-btn {
        bottom: 20px;
        left: 20px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .tester-btn {
        width: 100%;
        justify-content: center;
    }
}
/* حل مشکل هدر بنفش */
.user-welcome {
    position: relative;
    z-index: 10;
    margin-bottom: 40px !important;
}

/* استایل جدید برای هدر */
.products-header {
    position: relative;
    z-index: 5;
}

/* فیکس کردن مشکل اسکرول */
main.container {
    position: relative;
    padding-top: 20px;
}

/* استایل بهبود یافته برای بنر خوش‌آمدگویی */
.user-welcome-improved {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 20px;
    margin: 30px 0 50px 0;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-welcome-improved::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.user-welcome-content {
    position: relative;
    z-index: 2;
}

/* استایل برای دکمه کیف پول در هدر */
.header-wallet-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.header-wallet-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}
/* بزرگ‌تر کردن فضای محصولات */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #eef2f7;
    min-height: 700px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* تصویر محصول بزرگتر */
.product-image-container {
    height: 320px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-image:hover {
    transform: scale(1.05);
}

/* بهبود بخش بدنه محصول */
.product-body {
    padding: 25px;
    flex-grow: 1;
}

.product-details {
    background: #f8fafc;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    border: 1px solid #eef2f7;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eef2f7;
}

.detail-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-label {
    font-weight: 700;
    color: #4a5568;
    font-size: 15px;
    min-width: 120px;
}

.detail-value {
    color: #2d3748;
    font-size: 15px;
    text-align: right;
    flex: 1;
    font-weight: 600;
}

/* بهبود بخش نت‌های عطر */
.notes-section {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-top: 25px;
    border: 1px solid #eef2f7;
}

.notes-title {
    font-size: 18px;
    color: #2d3748;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.note-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
    transition: all 0.3s;
}

.note-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.note-type {
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.note-content {
    color: #2d3748;
    line-height: 1.7;
    font-size: 14.5px;
    font-weight: 500;
}

/* بهبود فوتر محصول */
.product-footer {
    padding: 25px;
    background: #f8fafc;
    border-top: 1px solid #eef2f7;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.volume {
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    color: #4a5568;
    border: 2px solid #e2e8f0;
    font-size: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.price {
    font-size: 22px;
    font-weight: 800;
}

.eau-de-parfum-price {
    color: #3498db;
    text-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

.perfume-price {
    color: #9b59b6;
    text-shadow: 0 2px 4px rgba(155, 89, 182, 0.2);
}

/* ==================== بهبود بخش دکمه‌های خرید ==================== */
.add-to-cart-section {
    padding: 30px 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border-top: 1px solid #e2e8f0;
}

.add-to-cart-section h4 {
    font-size: 18px;
    color: #2d3748;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.add-to-cart-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.product-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    font-size: 16px;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

.product-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
}

.product-action-btn i {
    font-size: 28px;
    margin-bottom: 12px;
}

.product-action-btn span {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

.btn-tester {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

.btn-tester:hover {
    background: linear-gradient(135deg, #219653 0%, #27ae60 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(39, 174, 96, 0.4);
}

.btn-edp {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.btn-edp:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.4);
}

.btn-perfume {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.3);
}

.btn-perfume:hover {
    background: linear-gradient(135deg, #8e44ad 0%, #7d3c98 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(155, 89, 182, 0.4);
}

/* اطلاعات پورسانت */
.commission-info {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
}

.commission-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.commission-item i {
    font-size: 20px;
    color: #f39c12;
}

.commission-item span {
    font-size: 14px;
    color: #4a5568;
    font-weight: 600;
}

.commission-amount {
    font-size: 18px;
    font-weight: 800;
    color: #27ae60;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .product-card {
        min-height: auto;
    }
    
    .product-image-container {
        height: 280px;
    }
    
    .add-to-cart-buttons {
        grid-template-columns: 1fr;
    }
    
    .commission-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .user-welcome-improved {
        padding: 20px;
        margin: 20px 0 40px 0;
    }
}

/* انیمیشن برای اضافه شدن به سبد خرید */
@keyframes addToCart {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.product-action-btn.added {
    animation: addToCart 0.5s ease;
}
/* استایل‌های محصولات */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.product-image-container {
    height: 250px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6a4c93;
    font-size: 4rem;
}

.product-image-placeholder span {
    font-size: 1rem;
    margin-top: 10px;
}

.product-name {
    font-size: 1.3rem;
    margin: 1rem 1rem 0.5rem;
    color: #3a2c5f;
    text-align: center;
}

.product-gender {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.gender-male {
    color: #1e88e5;
}

.gender-female {
    color: #e91e63;
}

.gender-unisex {
    color: #8e24aa;
}

.product-body {
    padding: 0 1.5rem;
    flex-grow: 1;
}

.product-details {
    margin-bottom: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.detail-label {
    color: #666;
    font-weight: 500;
}

.detail-value {
    color: #333;
    font-weight: 600;
}

.notes-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.notes-title {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #3a2c5f;
    display: flex;
    align-items: center;
    gap: 8px;
}

.note-item {
    margin-bottom: 0.5rem;
}

.note-type {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 2px;
}

.note-content {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.no-notes {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 1rem;
}

.product-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.volume {
    background: #e3f2fd;
    color: #1565c0;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
}

.price.eau {
    color: #27ae60;
}

.price.perfume {
    color: #9b59b6;
}

/* استایل‌های تب‌ها */
.products-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 2rem;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
}

.tab-btn:hover {
    border-color: #6a4c93;
    color: #6a4c93;
}

.tab-btn.active {
    background: #6a4c93;
    color: white;
    border-color: #6a4c93;
}

/* استایل‌های سبد خرید */
.add-to-cart-section {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #eee;
}

.add-to-cart-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 1rem 0;
}

.product-action-btn {
    padding: 12px 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s;
    color: white;
}

.product-action-btn i {
    font-size: 1.2rem;
}

.product-action-btn span {
    font-size: 0.85rem;
    font-weight: 700;
}

.btn-tester {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.btn-edp {
    background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
}

.btn-perfume {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.product-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.commission-info {
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.commission-item {
    display: flex; 
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #000000;
}

.commission-item:last-child {
    border-bottom: none;
}

.commission-item i {
    color: #000000;
    width: 20px;
}

.commission-amount {
    font-weight: 700;
    color: #27ae60;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .add-to-cart-buttons {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}
/* استایل‌های محصولات */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card {
    background: rgb(255, 255, 255);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.2rem;
}

.product-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #333;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.gender {
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.gender-male {
    background: #e3f2fd;
    color: #1976d2;
}

.gender-female {
    background: #fce4ec;
    color: #c2185b;
}

.gender-unisex {
    background: #f3e5f5;
    color: #7b1fa2;
}

.volume {
    color: #666;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 4px;
}

.fragrance-details {
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #555;
}

.fragrance-details p {
    margin: 0.3rem 0;
}

.notes-preview {
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-right: 3px solid #6a4c93;
}

.product-price {
    margin: 1rem 0;
    text-align: center;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.price.perfume {
    color: #c2185b;
}

.price.eau {
    color: #1976d2;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.product-actions .btn {
    flex: 1;
    padding: 0.7rem;
    font-size: 0.9rem;
}
/* ==================== طراحی شیک محصولات ==================== */

.products-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  padding: 2rem 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #6a4c93, #3498db);
  border-radius: 2px;
}

/* تب‌های اصلی */
.main-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.main-tab {
  background: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.main-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.main-tab.active {
  background: linear-gradient(135deg, #6a4c93, #3498db);
  color: white;
}

.main-tab i {
  font-size: 1.3rem;
}

.tab-count {
  background: rgba(255,255,255,0.2);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* فیلترها */
.filter-section {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.filter-section h2 {
  color: #2c3e50;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-options {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.7rem 1.5rem;
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #555;
}

.filter-btn:hover {
  border-color: #3498db;
  color: #3498db;
}

.filter-btn.active {
  background: #3498db;
  border-color: #3498db;
  color: white;
}

.search-box {
  position: relative;
  max-width: 400px;
}

.search-box i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #95a5a6;
}

.search-box input {
  width: 100%;
  padding: 12px 45px 12px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 30px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* آمار */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card i {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: #6a4c93;
}

.stat-card span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: #7f8c8d;
  margin: 0;
}

/* گرید محصولات */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* کارت محصول */
.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-type-badge {
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.perfume-badge {
  background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.eau-badge {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.gender-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.gender-male {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.gender-female {
  background: linear-gradient(135deg, #e84393, #fd79a8);
}

.gender-unisex {
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

.product-content {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 700;
}

.product-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #7f8c8d;
  font-size: 0.9rem;
}

.meta-item i {
  color: #6a4c93;
}

.product-details {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detail-card {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 10px;
  border-right: 4px solid #6a4c93;
}

.detail-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.detail-header i {
  color: #6a4c93;
}

.detail-header h4 {
  margin: 0;
  font-size: 0.9rem;
  color: #2c3e50;
}

.detail-card p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

/* بخش نت‌های عطر */
.notes-section {
  margin-bottom: 1.5rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #2c3e50;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.section-title i {
  color: #6a4c93;
}

.notes-grid {
  display: grid;
  gap: 0.8rem;
}

.note-card {
  padding: 0.8rem;
  border-radius: 10px;
  background: #f8f9fa;
}

.note-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.note-header i {
  color: #6a4c93;
}

.note-header h5 {
  margin: 0;
  font-size: 0.9rem;
  color: #2c3e50;
}

.note-content {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* بخش گزینه‌های خرید */
.purchase-section {
  margin-bottom: 1.5rem;
}

.options-grid {
  display: grid;
  gap: 1rem;
}

.option-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: right;
  width: 100%;
}

.option-btn:hover {
  border-color: #3498db;
  transform: translateX(-5px);
}

.option-btn.clicked {
  animation: pulse 0.3s ease;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.98); }
  100% { transform: scale(1); }
}

.option-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.tester-btn .option-icon {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.edp-btn .option-icon {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.perfume-btn .option-icon {
  background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.option-content {
  flex: 1;
}

.option-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: #2c3e50;
}

.plus-sign {
  color: #27ae60;
  font-size: 1.2rem;
  font-weight: bold;
}

.option-price {
  color: #7f8c8d;
  font-size: 0.9rem;
}

/* بخش پورسانت */
.commission-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px dashed #e0e0e0;
}

.commission-grid {
  display: grid;
  gap: 0.8rem;
}

.commission-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: linear-gradient(135deg, #6558d1,#6558d1);
  border-radius: 10px;
  border-right: 3px solid #27ae60;
}

.commission-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #27ae60;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.commission-details {
  flex: 1;
}

.commission-title {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.2rem;
}

.commission-amount {
  font-weight: 700;
  color: #27ae60;
  font-size: 1rem;
}

/* دکمه ورود برای خرید */
.btn-login-required {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #6a4c93, #3498db);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-login-required:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(106, 76, 147, 0.3);
}

/* پیام عدم وجود محصول */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: #95a5a6;
}

.no-products i {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: #ddd;
}

.no-products h3 {
  color: #7f8c8d;
  margin-bottom: 0.5rem;
}

.no-products p {
  color: #bdc3c7;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .main-tab {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .stat-card span {
    font-size: 1.5rem;
  }
  
  .product-image {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .main-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  
  .main-tab {
    width: 100%;
    justify-content: center;
  }
  
  .filter-options {
    justify-content: center;
  }
  
  .product-content {
    padding: 1rem;
  }
}

/* ==================== استایل‌های پروفایل کاربری ==================== */

/* داشبورد درآمد */
.income-dashboard {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 25px;
    margin-bottom: 40px;
}

.income-header {
    text-align: center;
    margin-bottom: 40px;
}

.income-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: white;
}

.income-header p {
    opacity: 0.9;
    font-size: 16px;
}

.income-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.income-stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.income-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.income-stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    color: #ffd700;
}

.income-stat-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.income-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 5px;
}

.income-stat-change {
    font-size: 13px;
    opacity: 0.8;
}

.income-stat-change.positive {
    color: #2ecc71;
}

.income-stat-change.negative {
    color: #e74c3c;
}

/* نمودار ساده درآمد */
.income-chart {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.income-chart h3 {
    margin-bottom: 25px;
    font-size: 20px;
    color: white;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 200px;
    padding: 20px 0;
}

.chart-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.bar-container {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px 10px 0 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.bar-fill {
    width: 100%;
    background: linear-gradient(to top, #ffd700, #f39c12);
    border-radius: 10px 10px 0 0;
    transition: height 0.6s ease;
    position: relative;
}

.bar-value {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 700;
    color: #ffd700;
    white-space: nowrap;
}

.bar-label {
    font-size: 13px;
    color: white;
    opacity: 0.9;
    text-align: center;
}

/* میله پیشرفت */
.progress-section {
    margin-top: 30px;
}

.progress-item {
    margin-bottom: 20px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.progress-bar-container {
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(to left, #ffd700, #f39c12);
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* بهبود ریسپانسیو موبایل برای پروفایل */
@media (max-width: 768px) {
    .notification {
        left: 10px;
        right: 10px;
        min-width: auto;
        max-width: none;
    }
    
    .income-dashboard {
        padding: 25px 20px;
        border-radius: 20px;
    }
    
    .income-header h2 {
        font-size: 24px;
    }
    
    .income-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .income-stat-card {
        padding: 20px;
    }
    
    .income-stat-value {
        font-size: 24px;
    }
    
    .chart-bars {
        height: 150px;
        gap: 8px;
    }
    
    .bar-label {
        font-size: 11px;
    }
    
    .bar-value {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .income-stat-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .income-stat-value {
        font-size: 20px;
    }
    
    .chart-bars {
        height: 120px;
    }
}
/* هوش مصنوعی نیش-اکس */
.ai-consultant {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.ai-consultant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.ai-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .ai-container {
        grid-template-columns: 1fr;
    }
}

.ai-input-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-input-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ai-title h3 {
    margin: 0;
    font-size: 1.3rem;
}

.ai-title p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.ai-chat-box {
    min-height: 250px;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.ai-message, .user-message, .ai-response {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: #3498db;
}

.message-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    flex: 1;
}

.user-message .message-content {
    background: rgba(52, 152, 219, 0.2);
    text-align: left;
}

.ai-response .message-content {
    background: rgba(46, 204, 113, 0.1);
}

.ai-response h4 {
    margin-top: 0;
    color: #2ecc71;
}

.similar-products {
    margin-top: 1rem;
}

.similar-product {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.similar-product-info h5 {
    margin: 0;
    font-size: 1rem;
}

.similar-product-info p {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.ai-buy-btn {
    background: #f39c12;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.ai-buy-btn:hover {
    background: #e67e22;
}

.ai-buy-btn.disabled {
    background: #7f8c8d;
    cursor: not-allowed;
}

.ai-input-form {
    margin-top: 1.5rem;
}

.input-group {
    display: flex;
    gap: 0.5rem;
}

.ai-input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
}

.ai-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.ai-send-btn {
    background: #9b59b6;
    color: white;
    border: none;
    padding: 0 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.ai-send-btn:hover {
    background: #8e44ad;
}

.ai-examples {
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.example-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.example-tag:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ai-features {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.features-list li i {
    color: #2ecc71;
}

.ai-login-notice {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.4);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.notice-icon {
    width: 50px;
    height: 50px;
    background: rgba(231, 76, 60, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #e74c3c;
}

.notice-content h5 {
    margin: 0;
    color: #e74c3c;
}

.notice-content p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}
/* بهبود‌های هوش مصنوعی */
.ai-textarea {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    resize: vertical;
    min-height: 80px;
}

.ai-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.ai-quick-questions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.quick-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.info-example {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.info-example ul {
    padding-right: 1.5rem;
    margin: 0.5rem 0 0;
}

.info-example li {
    margin-bottom: 0.3rem;
    opacity: 0.9;
}

.chat-message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.3s ease;
}

.chat-message.user .message-content {
    background: rgba(52, 152, 219, 0.2);
    text-align: left;
}

.chat-message.ai .message-content {
    background: rgba(46, 204, 113, 0.1);
}

.chat-message.ai .message-avatar {
    background: rgba(155, 89, 182, 0.3);
    color: #9b59b6;
}

.personality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

.personality-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.6rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.personality-item i {
    color: #f39c12;
}

.ai-analysis-result {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}

.ai-suggestion-header {
    color: #2ecc71;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.perfume-match-score {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.product-match-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin: 0.5rem 0;
}

.match-reason {
    color: #3498db;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}