/* ============================================
   فایل استایل اصلی فروشگاه اسلاهی استور
   eslahi-store.ir
   ============================================ */

/* ============================================
   تنظیمات پایه و متغیرها
   ============================================ */
:root {
    --primary: #2563EB;
    --dark: #111827;
    --light: #F9FAFB;
    --accent: #F59E0B;
    --success: #22C55E;
    --danger: #EF4444;
    --text-color: #1F2937;
    --text-light: #6B7280;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    color: var(--text-color);
    background-color: var(--light);
    line-height: 1.6;
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: var(--shadow-sm);
}

.header.sticky {
    box-shadow: var(--shadow-md);
}

/* Top Bar */
.top-bar {
    background: var(--dark);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-right span {
    margin-left: 20px;
}

.top-bar-right i {
    margin-left: 8px;
}

.top-bar-left a {
    color: white;
    margin-right: 15px;
    opacity: 0.8;
}

.top-bar-left a:hover {
    opacity: 1;
    color: var(--accent);
}

/* Main Header */
.main-header {
    padding: 15px 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
    position: relative;
}

.search-bar form {
    display: flex;
    align-items: center;
    background: var(--light);
    border-radius: 50px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.search-bar form:focus-within {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-family: 'Vazirmatn', sans-serif;
}

.search-bar input:focus {
    outline: none;
}

.search-bar button {
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.search-bar button:hover {
    background: var(--dark);
}

/* Search Results */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 100;
    margin-top: 5px;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--light);
}

.search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    margin-left: 15px;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 500;
    font-size: 14px;
}

.search-result-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
}

.search-empty {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
}

.search-view-all {
    padding: 10px 15px;
    text-align: center;
    background: var(--light);
}

.search-view-all a {
    color: var(--primary);
    font-weight: 500;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions a {
    position: relative;
    font-size: 24px;
    color: var(--text-color);
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.header-actions a:hover {
    background: var(--light);
    color: var(--primary);
}

.header-actions .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Main Navigation */
.main-nav {
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.nav-menu > li > a:hover {
    color: var(--primary);
    background: var(--light);
}

.nav-menu > li > a i {
    margin-left: 8px;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: white;
    padding: 30px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    min-width: 800px;
    z-index: 999;
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mega-menu-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--dark);
}

.mega-menu-column h4 a {
    color: var(--dark);
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
}

.mega-menu-column ul li {
    margin-bottom: 8px;
}

.mega-menu-column ul li a {
    color: var(--text-light);
    font-size: 14px;
}

.mega-menu-column ul li a:hover {
    color: var(--primary);
}

/* ============================================
   Hero Slider
   ============================================ */
.hero-slider {
    margin: 30px 0;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 400px;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slider-slide.active {
    opacity: 1;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-content {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    color: white;
    max-width: 500px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slider-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.slider-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.slider-content .btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.slider-content .btn:hover {
    background: var(--dark);
    transform: translateY(-2px);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary);
}

.slider-prev {
    right: 20px;
}

.slider-next {
    left: 20px;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
}

.section-title i {
    color: var(--primary);
    margin-left: 10px;
}

.section-link {
    color: var(--primary);
    font-weight: 500;
}

.section-link i {
    margin-right: 5px;
    transition: var(--transition);
}

.section-link:hover i {
    transform: translateX(-5px);
}

/* ============================================
   Categories Grid
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.category-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.category-card span {
    display: block;
    font-weight: 600;
    font-size: 16px;
}

/* ============================================
   Product Grid & Card
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.product-badge.discount {
    background: var(--danger);
    color: white;
}

.product-badge.new {
    background: var(--success);
    color: white;
}

.product-badge.featured {
    background: var(--accent);
    color: white;
}

.product-wishlist {
    position: absolute;
    top: 10px;
    left: 10px;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
    box-shadow: var(--shadow-sm);
}

.product-wishlist:hover {
    background: var(--danger);
    color: white;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.product-title a {
    color: var(--text-color);
}

.product-title a:hover {
    color: var(--primary);
}

.product-brand {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.product-price .current {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.product-price .original {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-price .discount-percent {
    font-size: 13px;
    color: var(--danger);
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #16A34A;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.product-stock {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.product-stock .in-stock {
    color: var(--success);
}

.product-stock .out-of-stock {
    color: var(--danger);
}

.product-stock .low-stock {
    color: var(--accent);
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 40px 0;
    background: white;
    border-top: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
}

.feature-item i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 600;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
    padding: 60px 0;
    background: var(--dark);
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.testimonial-card .stars {
    color: var(--accent);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-card .author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card .author .name {
    font-weight: 600;
}

.testimonial-card .author .role {
    font-size: 13px;
    opacity: 0.7;
}

/* ============================================
   Brands
   ============================================ */
.brands {
    padding: 40px 0;
    background: white;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
}

.brand-item {
    text-align: center;
    padding: 15px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.brand-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.brand-item img {
    max-width: 100%;
    height: 50px;
    object-fit: contain;
}

.brand-item span {
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   Banner
   ============================================ */
.banner-section {
    padding: 20px 0;
}

.banner-image {
    width: 100%;
    border-radius: var(--radius);
    transition: var(--transition);
}

.banner-image:hover {
    opacity: 0.95;
    transform: scale(1.01);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-column p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: var(--primary);
    padding-right: 5px;
}

.footer-column ul li i {
    margin-left: 8px;
    color: var(--primary);
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social 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);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Newsletter */
.newsletter {
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.newsletter h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
}

.newsletter-form button {
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--accent);
}

/* Copyright */
.copyright {
    padding: 20px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* ============================================
   Buttons & Components
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    list-style: none;
    padding: 15px 0;
    background: transparent;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-right: 10px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb .active {
    color: var(--text-light);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark);
    transform: translateY(-5px);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 80px;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 15px 25px;
    border-radius: var(--radius);
    color: white;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    transform: translateX(100px);
    opacity: 0;
    transition: all 0.3s ease;
    min-width: 250px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    background: var(--success);
}

.toast-error {
    background: var(--danger);
}

.toast-warning {
    background: var(--accent);
}

.toast-info {
    background: var(--primary);
}

/* ============================================
   Glass Effect
   ============================================ */
.glass {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* ============================================
   Alert Messages
   ============================================ */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.alert-success {
    background: #DCFCE7;
    color: #166534;
    border: 1px solid #86EFAC;
}

.alert-danger {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.alert-warning {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FCD34D;
}

.alert-info {
    background: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #93C5FD;
}

/* ============================================
   Auth Pages (Login & Register)
   ============================================ */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.auth-box {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 480px;
    width: 100%;
}

.auth-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
}

.auth-box .form-group {
    margin-bottom: 20px;
}

.auth-box label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.auth-box .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Vazirmatn', sans-serif;
    transition: var(--transition);
    font-size: 14px;
}

.auth-box .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.auth-box .btn-block {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.auth-links a {
    color: var(--primary);
    font-size: 14px;
}

.required {
    color: var(--danger);
}

.form-text {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   About Page
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-title {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-text {
    font-size: 16px;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 30px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.about-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-list li i {
    color: var(--success);
    font-size: 20px;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list li i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 3px;
    width: 25px;
}

.contact-social {
    margin-top: 20px;
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--light);
    border-radius: 50%;
    margin-left: 10px;
    transition: var(--transition);
    color: var(--dark);
}

.contact-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Vazirmatn', sans-serif;
    transition: var(--transition);
    font-size: 14px;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ============================================
   Shop Page
   ============================================ */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.shop-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.filter-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.filter-card h4 {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    background: white;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-range input {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    width: 80px;
}

.price-range input:focus {
    outline: none;
    border-color: var(--primary);
}

.price-range span {
    color: var(--text-light);
}

.filter-card .btn {
    width: 100%;
    margin-top: 5px;
}

.filter-card .btn-outline {
    margin-top: 10px;
}

.search-info {
    background: white;
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.empty-state i {
    font-size: 60px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-light);
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: white;
}

.main-image img {
    width: 100%;
    height: 500px;
    object-fit: contain;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding: 5px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

.thumbnail.active {
    border-color: var(--primary);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-detail {
    padding: 20px 0;
}

.product-title-detail {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-brand-detail {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.product-brand-detail a {
    color: var(--primary);
    font-weight: 500;
}

.product-sku {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-price-detail {
    margin: 20px 0;
}

.price-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
}

.original-price {
    font-size: 20px;
    color: var(--text-light);
    text-decoration: line-through;
}

.discount-badge {
    background: var(--danger);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.product-stock-detail {
    margin: 15px 0;
}

.stock-label {
    font-weight: 500;
}

.stock-status {
    font-weight: 600;
}

.stock-status.success {
    color: var(--success);
}

.stock-status.danger {
    color: var(--danger);
}

.stock-status.warning {
    color: var(--accent);
}

.product-warranty {
    background: var(--light);
    padding: 12px 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.product-warranty i {
    color: var(--primary);
    margin-left: 10px;
}

.product-short-description {
    color: var(--text-light);
    line-height: 1.8;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.product-quantity label {
    font-weight: 500;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    padding: 8px 15px;
    border: none;
    background: var(--light);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary);
    color: white;
}

.quantity-control input {
    width: 60px;
    padding: 8px;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-size: 16px;
    font-family: 'Vazirmatn', sans-serif;
}

.quantity-control input:focus {
    outline: none;
}

.product-actions-detail {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

/* Product Tabs */
.product-tabs {
    margin-top: 50px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    list-style: none;
    border-bottom: 2px solid var(--border-color);
    padding: 0;
    margin: 0;
}

.tab-link {
    padding: 15px 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.tab-link:hover {
    color: var(--primary);
}

.tab-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    padding: 30px;
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-bottom: 15px;
}

.product-description {
    line-height: 2;
}

.product-description p {
    margin-bottom: 15px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table td {
    padding: 12px 15px;
}

.specs-table td:first-child {
    font-weight: 600;
    width: 40%;
    color: var(--text-light);
}

/* Related Products */
.related-products {
    margin-top: 50px;
}

.related-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* ============================================
   Cart Page
   ============================================ */
.cart-section {
    padding: 40px 0;
}

.cart-table {
    width: 100%;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cart-table th {
    padding: 15px 20px;
    text-align: right;
    background: var(--light);
    font-weight: 600;
}

.cart-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.cart-item {
    transition: var(--transition);
}

.cart-item-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-product .name {
    font-weight: 500;
}

.cart-item-product .sku {
    font-size: 13px;
    color: var(--text-light);
}

.cart-quantity {
    width: 70px;
    padding: 8px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
}

.cart-quantity:focus {
    outline: none;
    border-color: var(--primary);
}

.cart-remove {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.cart-remove:hover {
    transform: scale(1.2);
}

.cart-totals {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-top: 30px;
}

.cart-totals h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.cart-totals table {
    width: 100%;
}

.cart-totals td {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-totals td:last-child {
    text-align: left;
    font-weight: 500;
}

.cart-totals .total-row td {
    font-size: 20px;
    font-weight: 700;
    border-bottom: none;
    padding-top: 20px;
}

.cart-totals .total-row td:last-child {
    color: var(--primary);
}

.coupon-form {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.coupon-form input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Vazirmatn', sans-serif;
}

.coupon-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.cart-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* ============================================
   Checkout Page
   ============================================ */
.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.checkout-form {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.checkout-form .form-group {
    margin-bottom: 20px;
}

.checkout-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.checkout-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Vazirmatn', sans-serif;
    transition: var(--transition);
}

.checkout-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.checkout-summary {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    align-self: start;
    position: sticky;
    top: 100px;
}

/* ============================================
   Responsive
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    .top-bar {
        display: none;
    }
    
    .search-bar {
        margin: 0 15px;
    }
    
    .mega-menu {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .slider-content h2 {
        font-size: 28px;
    }
    
    .shop-layout {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar {
        position: static;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        position: static;
    }
    
    .main-image img {
        height: 350px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .logo {
        order: 1;
    }
    
    .header-actions {
        order: 2;
    }
    
    .search-bar {
        order: 3;
        flex: 0 0 100%;
        margin: 5px 0;
    }
    
    .nav-menu {
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 10px;
    }
    
    .nav-menu > li > a {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .hero-slider {
        height: 200px;
        margin: 15px 0;
    }
    
    .slider-content {
        right: 20px;
        max-width: 80%;
    }
    
    .slider-content h2 {
        font-size: 20px;
    }
    
    .slider-content p {
        font-size: 14px;
        display: none;
    }
    
    .slider-prev,
    .slider-next {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .product-card .product-title {
        font-size: 13px;
        min-height: 38px;
    }
    
    .product-card .product-price .current {
        font-size: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 50px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 50px;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-box {
        padding: 20px;
    }
    
    .cart-table {
        font-size: 13px;
    }
    
    .cart-table th,
    .cart-table td {
        padding: 10px;
    }
    
    .cart-item-product img {
        width: 50px;
        height: 50px;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .price-wrapper {
        flex-wrap: wrap;
    }
    
    .current-price {
        font-size: 24px;
    }
    
    .product-actions-detail {
        flex-direction: column;
    }
    
    .product-actions-detail .btn {
        width: 100%;
    }
    
    .tabs-nav {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .tab-link {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .tab-content {
        padding: 15px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card .product-info {
        padding: 10px;
    }
    
    .product-card .product-title {
        font-size: 12px;
        min-height: 34px;
    }
    
    .product-card .product-price .current {
        font-size: 13px;
    }
    
    .product-card .product-actions .btn {
        font-size: 11px;
        padding: 6px;
    }
    
    .header-actions a {
        font-size: 18px;
        padding: 5px;
    }
    
    .header-actions .badge {
        font-size: 9px;
        width: 16px;
        height: 16px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-card {
        padding: 15px 10px;
    }
    
    .category-card i {
        font-size: 28px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Animations
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: white;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    font-weight: 500;
}

.page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-link.active:hover {
    background: var(--dark);
    border-color: var(--dark);
}

/* ============================================
   Scrollbar Styling
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark);
}
/* ============================================
   Checkout Page
   ============================================ */
.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.checkout-form {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.checkout-form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkout-form .form-group {
    margin-bottom: 20px;
}

.checkout-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.checkout-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Vazirmatn', sans-serif;
    transition: var(--transition);
    font-size: 14px;
}

.checkout-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.checkout-summary {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    align-self: start;
    position: sticky;
    top: 100px;
}

.checkout-summary h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.summary-items {
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.summary-item-name {
    color: var(--text-color);
}

.summary-item-price {
    font-weight: 500;
}

.summary-totals {
    margin-top: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.summary-row.total {
    font-size: 20px;
    font-weight: 700;
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
    margin-top: 10px;
}

.summary-row.total span:last-child {
    color: var(--primary);
}

.text-success {
    color: var(--success);
}

.checkout-login {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 14px;
}

.checkout-login a {
    color: var(--primary);
    font-weight: 500;
}

/* Coupon Section */
.coupon-section {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

/* Responsive Checkout */
@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-form .row {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary {
        position: static;
    }
}
/* ============================================
   Profile Page
   ============================================ */
.profile-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding: 40px 0;
    min-height: 80vh;
}

.profile-sidebar {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 25px;
    align-self: start;
    position: sticky;
    top: 100px;
}

.profile-avatar {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.profile-avatar i {
    font-size: 80px;
    color: var(--primary);
}

.profile-avatar h3 {
    margin: 10px 0 5px;
    font-size: 18px;
}

.profile-avatar p {
    color: var(--text-light);
    font-size: 14px;
}

.profile-nav {
    margin-top: 20px;
}

.profile-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--text-color);
    transition: var(--transition);
    margin-bottom: 5px;
}

.profile-nav a:hover {
    background: var(--light);
    color: var(--primary);
}

.profile-nav a.active {
    background: var(--primary);
    color: white;
}

.profile-nav a i {
    width: 20px;
}

.profile-content {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 30px;
}

.profile-section {
    display: none;
}

.profile-section.active {
    display: block;
}

.profile-section h2 {
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.profile-section h2 i {
    color: var(--primary);
    margin-left: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Orders */
.orders-list {
    display: grid;
    gap: 15px;
}

.order-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 15px 20px;
    transition: var(--transition);
}

.order-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.order-number {
    font-weight: 600;
    color: var(--primary);
}

.order-date {
    font-size: 13px;
    color: var(--text-light);
    margin-right: 15px;
}

.order-status {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
}

.status-pending {
    background: #FEF3C7;
    color: #92400E;
}

.status-processing {
    background: #DBEAFE;
    color: #1E40AF;
}

.status-shipped {
    background: #DCFCE7;
    color: #166534;
}

.status-delivered {
    background: #D1FAE5;
    color: #065F46;
}

.status-cancelled {
    background: #FEE2E2;
    color: #991B1B;
}

.order-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.order-total {
    font-size: 14px;
}

.order-total strong {
    font-size: 18px;
    color: var(--dark);
}

.btn-sm {
    padding: 6px 15px;
    font-size: 13px;
}

/* Responsive Profile */
@media (max-width: 992px) {
    .profile-container {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        position: static;
    }
    
    .profile-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .profile-nav a {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .order-body {
        flex-direction: column;
        gap: 10px;
    }
}
/* ============================================
   پایان فایل
   ============================================ */