﻿:root {
    --bg-dark: #090613;
    --bg-dark-2: #130b22;
    --bg-dark-3: #1b1230;
    --text-light: #f5f2ff;
    --text-muted: #b8aecf;
    --text-soft: #d8d0ea;
    --primary-purple: #8b5cf6;
    --primary-purple-dark: #5b21b6;
    --primary-purple-soft: #a78bfa;
    --primary-purple-light: #c4b5fd;
    --glass-bg: rgba(24, 16, 40, 0.62);
    --glass-bg-strong: rgba(17, 11, 30, 0.82);
    --glass-border: rgba(255, 255, 255, 0.09);
    --glow-shadow: 0 0 24px rgba(139, 92, 246, 0.35);
    --glow-shadow-strong: 0 0 32px rgba(139, 92, 246, 0.5);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.38);
    --radius-sm: 5px;
    --radius-md: 6px;
    --radius-lg: 7px;
    --radius-xl: 10px;
    --transition-fast: 0.25s ease;
    --transition-normal: 0.35s ease;
}

@font-face {
    font-family: iransan;
    src: url(Yekan.woff);
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--text-light);
    font-family: iransan, sans-serif;
    background: white;
    min-height: 100vh;
}

a {
    text-decoration: none;
    transition: all var(--transition-fast);
}

img {
    max-width: 100%;
}

.text-muted-custom,
.results-meta {
    color: white;
}

.glass-panel,
.feature-box,
.product-card,
.hero-caption,
.dropdown-menu,
.navbar-collapse,
footer {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.glass-panel {
    background: rgba(100, 33, 233, 0.61);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
}

/* =========================
   Navbar
========================= */
.navbar-custom {
    background: rgb(150, 126, 249);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
   
}

.navbar-brand,
.nav-link {
    color: #ffffff !important;
}

    .navbar-brand:hover,
    .nav-link:hover,
    .nav-link:focus {
        color: var(--primary-purple-soft) !important;
    }

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.14);
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

.navbar-collapse {
    background: transparent;
}

/* =========================
   Dropdown
========================= */
.dropdown-menu {
    background: rgb(150, 126, 249);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    min-width: 230px;
    padding: 10px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.4);
}

.dropdown-item {
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    transition: all var(--transition-fast);
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        background: rgb(116, 86, 240);
        color: #ffffff;
        padding-right: 18px;
    }

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        right: 100%;
        margin-top: -1px;
        display: none;
    }

    .dropdown-submenu > .submenu-toggle::before {
        content: "‹";
        transform: rotateY(180deg);
        float: left;
        color: var(--primary-purple-soft);
        font-size: 18px;
        line-height: 1;
    }

/* =========================
   Hero / Slider
========================= */
.hero-slider .carousel-item img {
    width: 100%;
    object-fit: contain;
    border-radius: var(--radius-xl);
    display: block;
}

.hero-caption {
    background: rgba(18, 12, 32, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

    .hero-caption h2,
    .hero-caption p {
        color: #ffffff;
    }

.hero-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--card-shadow);
}

.swiper {
    padding: 10px 4px 46px;
}

.swiper-wrapper {
    height: auto !important;
}

.swiper-main {
    height: 400px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.swiper-thumbs {
    height: 100px;
    cursor: pointer;
}

    .swiper-thumbs .swiper-slide {
        border-radius: 12px;
        border: 2px solid transparent;
        overflow: hidden;
    }

    .swiper-thumbs .swiper-slide-thumb-active {
        border-color: var(--primary-purple);
    }

/* =========================
   Titles / Section
========================= */
.section-title {
    position: relative;
    margin-bottom: 26px;
    padding-right: 16px;
    font-weight: 400;
    color: black;
    display: flex;
    align-items: center;
    gap: 14px;
}

    .section-title::before {
        content: "";
        width: 6px;
        height: 28px;
        border-radius: 10px;
        background: linear-gradient(180deg, var(--primary-purple-light), var(--primary-purple-dark));
        box-shadow: var(--glow-shadow);
        flex: 0 0 auto;
    }

    .section-title::after {
        content: "";
        height: 1px;
        flex: 1;
        background: linear-gradient(to left, rgba(139, 92, 246, 0.45), transparent);
    }

/* =========================
   Feature Box
========================= */
.feature-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 22px;
    text-align: center;
    height: 100%;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

    .feature-box:hover {
        transform: translateY(-6px);
        border-color: rgba(139, 92, 246, 0.35);
        box-shadow: var(--glow-shadow);
    }

    .feature-box p {
        color: var(--text-muted);
        margin-bottom: 0;
    }

/* =========================
   Product Card
========================= */
.product-card {
    position: relative;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(167, 139, 250, 0.10);
    border-radius: 9px;
    box-shadow: 0px 2px 10px #00000085;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
      min-height: 460px;
}
    .product-card .btn-red, .product-card-lg .btn-red {
        position: absolute;
        left: 5%;
        right: 5%;
        width: 90% !important;
        bottom: 10px;
    }

    .product-card:hover {
        transform: translateY(-10px);
        border-color: rgba(139, 92, 246, 0.45);
        box-shadow: var(--glow-shadow-strong);
    }

.product-thumb-wrap {
    position: relative;
    overflow: hidden;
    background: white;
}

.product-thumb {
    width: 100%;
    height: 240px;
    object-fit: contain;
    display: block;
    transition: transform 0.45s ease;
}

.product-card:hover .product-thumb {
    transform: translateY(-3);
}

.product-body {
    padding: 16px;
}

.product-category {
    color: var(--primary-purple-soft);
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: inline-block;
}

.product-title {
    color: black;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.8;
    min-height: 58px;
    margin-bottom: 10px;
    max-height:80px;
    overflow-y:hidden;
}

.product-rating {
    color: #ffce4a;
    font-size: 0.88rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .product-rating span {
        color: var(--text-muted);
    }

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.price-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.old-price {
    color: #7f8799;
    font-size: 0.9rem;
    text-decoration: line-through;
}

.product-price {
    color: var(--primary-purple-dark);
    font-size: 1.05rem;
    font-weight: 400;
}

.price-tag {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary-purple-soft);
}

.stock-status {
    font-size: 0.82rem;
    color: #63d18a;
    white-space: nowrap;
}

.product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: linear-gradient(135deg, var(--primary-purple-light), #6d28d9);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(109, 40, 217, 0.35);
}

.product-actions {
    position: absolute;
    left: 14px;
    top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.28s ease;
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   Buttons
========================= */
.btn-red {
    background: linear-gradient(180deg, #b79bff 0%, #9b78ec 20%, #5b21b6 100%);
    border: none;
    color: #fff;
    border-radius: -4px;
    padding: 10px 18px;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
    transition: all var(--transition-fast);
}

    .btn-red:hover {
        color: #fff;
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 0 26px rgba(139, 92, 246, 0.58);
    }

.btn-glow {
    background: linear-gradient(135deg, var(--primary-purple), #6d28d9);
    border: none;
    padding: 15px 30px;
    border-radius: 15px;
    font-weight: 700;
    color: #fff;
    transition: 0.3s;
}

    .btn-glow:hover {
        box-shadow: var(--glow-shadow);
        transform: translateY(-3px);
    }

.btn-outline-light-custom {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 10px 18px;
    transition: all var(--transition-fast);
}

    .btn-outline-light-custom:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.18);
    }

.icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 14, 24, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

    .icon-btn:hover {
        color: #fff;
        background: rgba(139, 92, 246, 0.88);
        box-shadow: var(--glow-shadow);
    }

/* =========================
   Tabs
========================= */
.nav-tabs {
    border: none;
    margin-bottom: 20px;
}

    .nav-tabs .nav-link {
        color: var(--text-muted) !important;
        border: none !important;
        font-weight: 600;
        padding: 10px 20px;
    }

        .nav-tabs .nav-link.active {
            color: #fff !important;
            border-bottom: 2px solid var(--primary-purple) !important;
            background: transparent !important;
        }

/* =========================
   Swiper Controls
========================= */
.swiper-button-next,
.swiper-button-prev {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: all var(--transition-fast);
}

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: rgba(139, 92, 246, 0.92);
        box-shadow: var(--glow-shadow);
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
        font-weight: 700;
    }

.swiper-pagination-bullet {
    background:  var(--primary-purple-light);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary-purple);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.7);
}

.related-swiper {
    padding: 20px 0;
}

/* =========================
   Pagination
========================= */
.pagination-custom .page-link {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px !important;
    margin: 0 4px;
}

    .pagination-custom .page-link:hover {
        background: rgba(139, 92, 246, 0.18);
        border-color: rgba(139, 92, 246, 0.28);
        color: #fff;
    }

.pagination-custom .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-purple-light), var(--primary-purple-dark));
    border-color: transparent;
    box-shadow: var(--glow-shadow);
}

/* =========================
   Toolbar / Sidebar
========================= */
.toolbar {
    background: rgba(156, 107, 255, 0.62);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--card-shadow);
  margin:5px
}

.sticky-sidebar {
    position: static;
}

/* =========================
   Footer
========================= */
footer {
    margin-top: 50px;
    background: rgba(82, 4, 147, 0.88);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

    footer a {
        color: #fff;
    }

        footer a:hover {
            color: var(--primary-purple-soft);
        }

.footer-divider,
hr.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* =========================
   Tables / Custom
========================= */
.custom-gaming-table td {
    background: transparent;
    color: var(--text-light);
}

/* =========================
   Responsive
========================= */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .navbar .dropdown-menu li:hover > .dropdown-menu {
        display: block;
    }

    .sticky-sidebar {
        position: sticky;
        top: 100px;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(10, 12, 18, 0.92);
        padding: 14px;
        border-radius: 18px;
        margin-top: 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        margin-top: 8px;
    }

    .dropdown-submenu > .dropdown-menu {
        right: 0;
        margin-right: 0;
        margin-top: 8px;
        padding-right: 12px;
        display: none;
    }

        .dropdown-submenu > .dropdown-menu.show {
            display: block;
        }

    .dropdown-submenu > .submenu-toggle::before {
        content: "+";
    }

    .hero-slider .carousel-item img {
        height: 340px;
    }

    .product-thumb {
        height: 220px;
    }
}

@media (max-width: 575.98px) {
    .hero-slider .carousel-item img {
        height: 230px;
    }

    .hero-box {
        padding: 20px;
    }

    .toolbar {
        padding: 14px;
    }

    .product-thumb {
        height: 190px;
        object-fit: contain;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .hero-caption {
        padding: 16px;
    }

        .hero-caption h2 {
            font-size: 1.15rem;
        }

        .hero-caption p {
            font-size: 0.9rem;
        }

    .product-title {
        min-height: auto;
    }

    .price-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

.custom-pagination .page-link {
	background: white;
	border: 1px solid var(--primary-purple-dark);
	color: var(--primary-purple-dark);
	min-width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 0px !important;
	margin: 0 4px;
}

    .custom-pagination .page-link:hover {
        background: var(--primary-purple-dark);
        border-color: var(--primary-purple-dark);
        color: #fff;
    }

.custom-pagination .page-item.active .page-link {
 
	background: linear-gradient(180deg, #b79bff 0%, #9b78ec 20%, #5b21b6 100%);
	border: none;
	color: #fff;
	border-radius: 0px;
	padding: 10px 18px;
	box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
	transition: all var(--transition-fast);

}

.container p ,.container strong
{
color:var(--primary-purple-dark) !important;
}

.disabled > .page-link, .page-link.disabled
{

}
.page-link .page-link.active
{

}

.page-link
{

}