* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0e14;
    --bg-secondary: #11161e;
    --bg-card: #161c26;
    --bg-card-hover: #1c2330;
    --text-primary: #e8e6e3;
    --text-secondary: #b0b8c1;
    --text-muted: #7a8290;
    --accent-purple: #a855f7;
    --accent-cyan: #22d3ee;
    --accent-pink: #ec4899;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    --gradient-btn: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    --gradient-btn-hover: linear-gradient(135deg, #c084fc 0%, #8b5cf6 100%);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.7), 0 2px 12px rgba(168, 85, 247, 0.25);
    --shadow-neon: 0 0 20px rgba(168, 85, 247, 0.3);
    --shadow-cyan: 0 0 16px rgba(34, 211, 238, 0.25);
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particles-bg span {
    position: absolute;
    display: block;
    width: 3px;
    height: 3px;
    background: var(--accent-purple);
    border-radius: 50%;
    animation: floatUp linear infinite;
    opacity: 0;
}
@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.1; }
    100% { transform: translateY(-10vh) scale(1.4); opacity: 0; }
}
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 20, 0.82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.18);
    transition: var(--transition);
}
.header.scrolled {
    background: rgba(10, 14, 20, 0.93);
    border-bottom-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
}
.logo i {
    font-size: 2rem;
    background: linear-gradient(135deg, #22d3ee, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.5));
}
.logo span {
    background: linear-gradient(135deg, #c084fc, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 6px;
    align-items: center;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.93rem;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
}
.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(168, 85, 247, 0.12);
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--accent-cyan);
    border-radius: 3px;
    box-shadow: var(--shadow-cyan);
}
.nav-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cart-icon-wrap {
    position: relative;
    cursor: pointer;
    color: #fff;
    font-size: 1.3rem;
    transition: var(--transition);
    padding: 8px;
    text-decoration: none;
}
.cart-icon-wrap:hover {
    color: var(--accent-cyan);
    text-shadow: var(--shadow-cyan);
}
.cart-count {
    position: absolute;
    top: -2px;
    right: -6px;
    background: var(--accent-pink);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.5);
}
.btn-login {
    background: var(--gradient-btn);
    color: #fff;
    border: none;
    padding: 9px 22px;
    border-radius: 25px;
    font-weight: 600;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}
.btn-login:hover {
    background: var(--gradient-btn-hover);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5);
    transform: translateY(-2px);
}
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 6px;
}
.main-content {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 24px 40px;
}
.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}
.breadcrumb a:hover {
    color: var(--accent-cyan);
}
.breadcrumb i {
    font-size: 0.7rem;
    margin: 0 4px;
}
.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 30px;
    border: 1px solid rgba(168, 85, 247, 0.15);
    box-shadow: var(--shadow-card);
}
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.product-image-main {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.2);
    position: relative;
    cursor: pointer;
}
.product-image-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 400px;
}
.product-image-main .no-image {
    font-size: 8rem;
    color: rgba(168, 85, 247, 0.5);
}
.product-image-main .badges {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}
.image-zoom-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.product-image-main:hover .image-zoom-hint {
    opacity: 1;
}
.badge {
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    text-align: center;
}
.badge-hot {
    background: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.5);
}
.badge-sale {
    background: var(--accent-green);
    color: #fff;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.5);
}
.badge-new {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.5);
}
.badge-featured {
    background: var(--accent-orange);
    color: #000;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.5);
}
.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;
}
.product-thumbnails .thumb {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    height: 70px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-thumbnails .thumb:hover {
    border-color: rgba(168, 85, 247, 0.3);
}
.product-thumbnails .thumb.active {
    border-color: var(--accent-purple);
}
.product-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-thumbnails .thumb .no-image-thumb {
    font-size: 1.5rem;
    color: rgba(168, 85, 247, 0.3);
}
.product-info h1 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.product-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.product-meta .rating {
    color: var(--accent-orange);
    font-weight: 700;
}
.product-meta .category {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}
.product-description {
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 0.95rem;
}
.price-box {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    background: var(--bg-secondary);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.price-box .current-price {
    font-size: 1.9rem;
    font-weight: 900;
    color: #fff;
}
.price-box .old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1rem;
}
.price-box .discount-badge {
    background: var(--accent-red);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}
.stock-status {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.in-stock {
    background: var(--accent-green);
    color: #fff;
}
.out-of-stock {
    background: var(--accent-red);
    color: #fff;
}
.low-stock {
    background: var(--accent-orange);
    color: #000;
}
.variation-selector {
    margin: 16px 0;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.variation-group {
    margin-bottom: 12px;
}
.variation-group:last-child {
    margin-bottom: 0;
}
.variation-group label {
    display: block;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 6px;
}
.variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.variation-options>div {
    display: flex;
    align-items: center;
    gap: 4px;
}
.variation-option {
    padding: 6px 16px;
    border-radius: 20px;
    background: var(--bg-secondary);
    border: 2px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.85rem;
    transition: var(--transition);
    min-width: 44px;
    text-align: center;
}
.variation-option:hover {
    border-color: rgba(168, 85, 247, 0.3);
    color: #fff;
}
.variation-option.active {
    border-color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.15);
    color: #fff;
}
.variation-option.disabled {
    opacity: 0.4;
    cursor: not-allowed !important;
    pointer-events: none !important;
    text-decoration: line-through;
    background: rgba(255, 0, 0, 0.05);
    border-color: rgba(255, 0, 0, 0.15);
    color: var(--text-muted);
}
.variation-option.disabled:hover {
    border-color: rgba(255, 0, 0, 0.15);
    color: var(--text-muted);
    transform: none;
    box-shadow: none;
}
.selected-variation-price {
    display: none;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin: 12px 0 16px;
    border: 1px solid rgba(34, 211, 238, 0.15);
}
.selected-variation-price.show {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.selected-variation-price .label {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.selected-variation-price .price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}
.selected-variation-price .stock-status {
    font-size: 0.8rem;
    padding: 2px 12px;
    border-radius: 12px;
}
.add-to-cart-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.qty-selector {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.3);
}
.qty-btn {
    background: transparent;
    color: #fff;
    border: none;
    width: 40px;
    height: 44px;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
    transition: var(--transition);
}
.qty-btn:hover {
    background: rgba(168, 85, 247, 0.2);
}
.qty-input {
    width: 50px;
    text-align: center;
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Vazirmatn', sans-serif;
}
.btn-add-to-cart {
    background: var(--gradient-btn);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    white-space: nowrap;
}
.btn-add-to-cart:hover {
    background: var(--gradient-btn-hover);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.55);
    transform: translateY(-2px);
}
.btn-add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-modal.active {
    display: flex;
    opacity: 1;
}
.gallery-modal .modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10;
}
.gallery-modal .modal-close:hover {
    background: var(--accent-red);
    transform: rotate(90deg);
}
.gallery-modal .modal-image {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
    transition: opacity 0.2s ease;
}
.gallery-modal .modal-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 18px;
    border-radius: 20px;
}
.gallery-modal .modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 16px 22px;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(4px);
}
.gallery-modal .modal-nav:hover {
    background: rgba(168, 85, 247, 0.3);
}
.gallery-modal .modal-nav.prev {
    right: 30px;
}
.gallery-modal .modal-nav.next {
    left: 30px;
}
.gallery-modal .modal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}
.custom-modal-overlay.active {
    display: flex;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.custom-modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    position: relative;
}
.custom-modal .modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.15);
    border: 2px solid rgba(168, 85, 247, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.custom-modal .modal-icon i {
    font-size: 2.5rem;
    color: var(--accent-orange);
}
.custom-modal h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.custom-modal p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.8;
}
.custom-modal .modal-variations-list {
    text-align: right;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}
.custom-modal .modal-variations-list .item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.custom-modal .modal-variations-list .item:last-child {
    border-bottom: none;
}
.custom-modal .modal-variations-list .item .label {
    color: var(--text-muted);
}
.custom-modal .modal-variations-list .item .value {
    color: #fff;
    font-weight: 600;
}
.custom-modal .btn-modal-close {
    background: var(--gradient-btn);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}
.custom-modal .btn-modal-close:hover {
    background: var(--gradient-btn-hover);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.5);
    transform: translateY(-2px);
}
.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title i {
    color: var(--accent-purple);
    text-shadow: var(--shadow-neon);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}
.feature-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}
.feature-item:hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: var(--shadow-card-hover);
}
.feature-item i {
    font-size: 1.6rem;
    color: var(--accent-cyan);
    margin-top: 4px;
}
.feature-item h4 {
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}
.feature-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.variations-section {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.variation-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.variation-item:last-child {
    border-bottom: none;
}
.variation-attributes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.variation-attr {
    background: var(--bg-secondary);
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.reviews-summary {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.avg-rating {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent-orange);
}
.review-stars i {
    color: var(--accent-orange);
    font-size: 1.2rem;
}
.review-verified {
    background: var(--accent-green);
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}
.review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}
.review-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.reviewer-name {
    font-weight: 700;
    color: #fff;
}
.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.review-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.review-pros-cons {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.review-pros {
    color: var(--accent-green);
}
.review-cons {
    color: var(--accent-red);
}
.review-form {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 30px;
    border: 1px solid rgba(168, 85, 247, 0.2);
}
.review-form h4 {
    margin-bottom: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.review-form h4 i {
    color: var(--accent-purple);
}
.form-group {
    margin-bottom: 14px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-secondary);
}
.form-group label .required {
    color: var(--accent-red);
    margin-right: 4px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 25px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.2);
}
textarea.form-control {
    border-radius: 14px;
    resize: vertical;
}
.star-rating-input {
    display: flex;
    gap: 6px;
    direction: rtl;
}
.star-rating-input i {
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.star-rating-input i.active,
.star-rating-input i:hover {
    color: var(--accent-orange) !important;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}
.btn-submit-review {
    background: var(--gradient-btn);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}
.btn-submit-review:hover {
    background: var(--gradient-btn-hover);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.5);
    transform: translateY(-2px);
}
.review-login-prompt {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid rgba(168, 85, 247, 0.15);
}
.review-login-prompt i {
    font-size: 3rem;
    color: var(--accent-purple);
    margin-bottom: 10px;
    display: block;
}
.review-login-prompt a {
    color: var(--accent-cyan);
    text-decoration: none;
}
.review-login-prompt a:hover {
    text-decoration: underline;
}
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
    margin-bottom: 30px;
}
.game-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.game-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(168, 85, 247, 0.35);
}

.game-card:hover .game-card-img i {
    color: var(--accent-purple);
    transform: scale(1.1);
    text-shadow: var(--shadow-neon);
}
.game-card-body {
    padding: 16px 18px;
    flex-grow: 1;
}
.game-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}
.game-card-body .genre {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    gap: 8px;
}
.price {
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}
.price .old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-left: 6px;
}
.btn-add-cart-small {
    background: var(--accent-purple);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.75rem;
    transition: var(--transition);
}
.btn-add-cart-small:hover {
    background: var(--accent-cyan);
    color: #000;
}
.cart-sidebar {
    position: fixed;
    top: 0;
    left: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 2000;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.8);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(168, 85, 247, 0.25);
}
.cart-sidebar.open {
    left: 0;
}
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}
.cart-overlay.show {
    opacity: 1;
    pointer-events: all;
}
.cart-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cart-header h3 {
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-close-cart {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
}
.btn-close-cart:hover {
    color: var(--accent-red);
}
.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cart-item {
    display: flex;
    gap: 14px;
    align-items: center;
    background: var(--bg-card);
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.cart-item-icon {
    font-size: 2rem;
    color: var(--accent-purple);
    width: 44px;
    text-align: center;
}
.cart-item-info {
    flex-grow: 1;
}
.cart-item-info h5 {
    font-size: 0.9rem;
    color: #fff;
}
.cart-item-info .ci-price {
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 0.9rem;
}
.btn-remove-item {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}
.btn-remove-item:hover {
    color: var(--accent-red);
}
.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: #fff;
}
.btn-checkout {
    width: 100%;
    background: var(--gradient-btn);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.btn-checkout:hover {
    background: var(--gradient-btn-hover);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.55);
}
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    margin-top: 50px;
    padding: 30px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer .socials {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 14px;
}
.footer .socials a {
    color: var(--text-muted);
    font-size: 1.3rem;
    transition: var(--transition);
}
.footer .socials a:hover {
    color: var(--accent-cyan);
    text-shadow: var(--shadow-cyan);
}
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    color: #fff;
    padding: 14px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 3000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--accent-green);
    animation: slideInToast 0.4s ease-out, fadeOutToast 0.4s 1.8s ease-out forwards;
}
@keyframes slideInToast {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOutToast {
    to { opacity: 0; transform: translateY(20px); }
}

/* ===== توضیحات محصول پیشرفته ===== */
.product-description-wrapper {
    margin: 16px 0 24px;
}

.description-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.description-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(168, 85, 247, 0.12);
    border-radius: 50%;
    color: var(--accent-purple);
    font-size: 0.9rem;
}

.description-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.product-description {
    font-size: 0.95rem;
    line-height: 2;
    color: var(--text-secondary);
background: linear-gradient(135deg, #3a425c 0%, rgba(58, 66, 92, 0.03) 100%);
    padding: 22px 28px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(168, 85, 247, 0.08);
    margin: 0 0 16px;
    position: relative;
    transition: all 0.4s ease;
    text-align: justify;
}

.product-description:hover {
    border-color: rgba(168, 85, 247, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.product-description i.fa-quote-right {
    color: var(--accent-purple);
    opacity: 0.3;
    font-size: 0.8rem;
    margin-left: 6px;
}

.product-description i.fa-quote-left {
    color: var(--accent-purple);
    opacity: 0.3;
    font-size: 0.8rem;
    margin-right: 6px;
}

.product-description .highlight {
    color: var(--accent-cyan);
    font-weight: 600;
}

.description-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.2);
    transform: translateY(-2px);
}

.feature-tag i {
    color: var(--accent-purple);
    font-size: 0.65rem;
}