/* ============================================================
   COCOONED - Custom Styles
   ============================================================ */

/* ==================== ==================== */
/*              SITE HEADER                 */
/* ==================== ==================== */
.site-header {
    background: #fff;
    z-index: 1030;
}

/* Topbar */
.site-header .topbar {
    background: var(--theme-color, #6a1e55);
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

.site-header .topbar a {
    color: #fff;
}

/* Mainbar */
.site-header .mainbar {
    background: #fff;
    padding: 1.25rem 0;
    border-bottom: 1px solid #ececec;
}

.site-header .navbar-brand img {
    display: block;
    height: 50px;
    width: auto;
}

/* Search */
.site-header .search-input-group {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header .search-input-group:focus-within {
    border-color: var(--theme-color, #6a1e55);
    box-shadow: 0 0 0 3px rgba(var(--theme-color-rgb, 106, 30, 85), 0.08);
}

.site-header .search-input-group .form-control {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
}

.site-header .search-input-group .form-control::placeholder {
    color: #999;
}

.site-header .search-input-group .btn-search {
    background: var(--theme-color1, #deb887);
    color: #fff;
    border: none;
    padding: 0 1.25rem;
    border-radius: 0 8px 8px 0;
    transition: background 0.2s ease;
}

.site-header .search-input-group .btn-search:hover {
    background: var(--theme-color, #6a1e55);
}

/* Phone */
.site-header .phone-link {
    color: #222;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.site-header .phone-link:hover {
    background: #f8f8f8;
}

.site-header .phone-link svg {
    color: var(--theme-color, #6a1e55);
    flex-shrink: 0;
}

.site-header .phone-link .phone-info {
    line-height: 1.2;
    font-size: 0.85rem;
}

.site-header .phone-link .phone-info small {
    color: #999;
    display: block;
    font-size: 0.75rem;
}

.site-header .phone-link .phone-info strong {
    color: #222;
    font-weight: 600;
}

/* Cart */
.site-header .cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f8f8f8;
    color: #222;
    transition: all 0.2s ease;
    border: none;
    position: relative;
    padding: 0;
}

.site-header .cart-btn:hover {
    background: rgba(var(--theme-color-rgb, 106, 30, 85), 0.08);
    color: var(--theme-color, #6a1e55);
}

.site-header .cart-btn .badge {
    background: var(--theme-color, #6a1e55) !important;
    color: #fff;
}

/* User */
.site-header .dropdown-toggle-user {
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.site-header .dropdown-toggle-user img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(var(--theme-color-rgb, 106, 30, 85), 0.15);
    transition: border-color 0.2s ease;
}

.site-header .dropdown-toggle-user:hover img {
    border-color: var(--theme-color, #6a1e55);
}

/* User Dropdown */
.site-header .user-dropdown {
    min-width: 290px;
    padding: 0;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 0.75rem;
}

.site-header .user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, rgba(var(--theme-color-rgb, 106, 30, 85), 0.05), rgba(var(--theme-color-rgb, 106, 30, 85), 0.01));
    border-bottom: 1px solid #f0f0f0;
}

.site-header .user-dropdown-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.site-header .user-dropdown-info {
    flex: 1;
    min-width: 0;
}

.site-header .user-dropdown-name {
    font-weight: 700;
    color: #222;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-header .user-dropdown-phone {
    font-size: 0.8rem;
    color: #999;
    direction: ltr;
    text-align: right;
}

.site-header .user-dropdown-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.1rem;
    background: rgba(var(--theme-color-rgb, 106, 30, 85), 0.03);
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.site-header .user-dropdown-balance span {
    color: #666;
}

.site-header .user-dropdown-balance strong {
    color: var(--theme-color, #6a1e55);
    font-weight: 700;
}

.site-header .user-dropdown-menu {
    padding: 0.5rem;
}

.site-header .user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    color: #222;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.site-header .user-dropdown-item:hover {
    background: rgba(var(--theme-color-rgb, 106, 30, 85), 0.06);
    color: var(--theme-color, #6a1e55);
    padding-inline-start: 1rem;
}

.site-header .user-dropdown-item svg {
    color: #999;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.site-header .user-dropdown-item:hover svg {
    color: var(--theme-color, #6a1e55);
}

.site-header .user-dropdown-footer {
    padding: 0.5rem;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.site-header .user-dropdown-logout {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #dc3545;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: right;
}

.site-header .user-dropdown-logout:hover {
    background: rgba(220, 53, 69, 0.08);
}

/* ==================== ==================== */
/*           DESKTOP MENU                   */
/* ==================== ==================== */
.navbar-desktop {
    background: #fff;
    border-bottom: 3px solid var(--theme-color1, #deb887);
}

.navbar-desktop .nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.navbar-desktop .nav-item {
    position: relative;
}

.navbar-desktop .nav-item.dropdown-mega {
    position: static;
}

.navbar-desktop .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #222;
    font-weight: 600;
    padding: 0.9rem 1.1rem;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
    white-space: nowrap;
    text-decoration: none;
}

.navbar-desktop .nav-link:hover,
.navbar-desktop .nav-link:focus {
    color: var(--theme-color, #6a1e55);
}

.navbar-desktop .arrow-icon {
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0.6;
}

.navbar-desktop .nav-item:hover>.nav-link .arrow-icon {
    transform: rotate(180deg);
    opacity: 0;
}

.navbar-desktop .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--theme-color, #6a1e55);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.navbar-desktop .nav-link:hover::after {
    width: 24px;
}

.navbar-desktop .dropdown-toggle::after {
    display: none;
}

/* Dropdown Vertical */
.navbar-desktop .dropdown-vertical {
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 240px;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    list-style: none;
}

.navbar-desktop .dropdown:hover .dropdown-vertical {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-desktop .dropdown-vertical li {
    display: block !important;
    width: 100% !important;
    float: none !important;
}

.navbar-desktop .dropdown-vertical .dropdown-item {
    display: block !important;
    width: 100% !important;
    padding: 0.65rem 0.9rem !important;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #222;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: right;
}

.navbar-desktop .dropdown-vertical .dropdown-item:hover {
    background: rgba(var(--theme-color-rgb, 106, 30, 85), 0.06);
    color: var(--theme-color, #6a1e55);
    padding-inline-start: 1.1rem !important;
}

.navbar-desktop .dropdown-vertical .dropdown-divider {
    margin: 0.4rem 0;
    opacity: 0.1;
}

/* Mega Menu */
.navbar-desktop .dropdown-toggle-mega::after {
    display: none;
}

.navbar-desktop .dropdown-mega:hover .dropdown-toggle-mega {
    color: var(--theme-color, #6a1e55);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border-top: 1px solid #f0f0f0;
    padding: 2.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1000;
}

.navbar-desktop .dropdown-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--theme-color, #6a1e55);
    margin-bottom: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--theme-color1, #deb887);
    display: inline-block;
}

.mega-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

.mega-list li {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin-bottom: 0.15rem !important;
}

.mega-list li a {
    display: block !important;
    color: #666;
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    padding: 0.4rem 0;
    position: relative;
}

.mega-list li a::before {
    content: "›";
    color: var(--theme-color1, #deb887);
    margin-inline-end: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease, margin 0.2s ease;
    font-size: 1rem;
    font-weight: 700;
}

.mega-list li a:hover {
    color: var(--theme-color, #6a1e55);
    padding-inline-start: 0.5rem !important;
}

.mega-list li a:hover::before {
    opacity: 1;
}

/* Mega Promo */
.mega-promo {
    display: block;
    color: #fff !important;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 130px;
    padding: 1.5rem;
}

.mega-promo:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(var(--theme-color-rgb, 106, 30, 85), 0.25);
}

.mega-promo-large {
    min-height: 230px;
    display: flex;
    align-items: center;
    padding: 2rem;
}

.mega-promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--theme-color-rgb, 106, 30, 85), 0.9) 0%, rgba(var(--theme-color-rgb, 106, 30, 85), 0.6) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.mega-promo-alt .mega-promo-overlay {
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.85) 0%, rgba(44, 44, 44, 0.5) 100%);
}

.mega-promo-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.mega-promo-shape {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -70px;
    left: -70px;
    z-index: 1;
}

.mega-promo-shape::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    top: 100px;
    left: 100px;
}

.mega-promo-badge {
    display: inline-block;
    background: var(--theme-color1, #deb887);
    color: #fff;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(222, 184, 135, 0.3);
}

.mega-promo h5 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mega-promo h6 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.mega-promo p {
    font-size: 0.85rem;
    opacity: 0.95;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.mega-promo-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
    transition: all 0.25s ease;
}

.mega-promo:hover .mega-promo-link {
    padding-inline-start: 0.5rem;
    border-bottom-color: #fff;
}

.mega-promo-small {
    padding: 1.1rem;
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mega-promo-small h6 {
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Nav Actions */
.navbar-desktop .nav-actions {
    padding: 0.5rem 0;
}

.navbar-desktop .btn-outline-primary {
    border-color: var(--theme-color1, #deb887);
    color: var(--theme-color, #6a1e55);
    font-weight: 600;
    border-radius: 8px;
    padding: 0.45rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.navbar-desktop .btn-outline-primary:hover {
    background: var(--theme-color1, #deb887);
    border-color: var(--theme-color1, #deb887);
    color: #fff;
}

.navbar-desktop .btn-outline-secondary {
    border-color: #e5e5e5;
    color: #666;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}

.navbar-desktop .btn-outline-secondary:hover {
    background: var(--theme-color, #6a1e55);
    border-color: var(--theme-color, #6a1e55);
    color: #fff;
}

/* ==================== ==================== */
/*           MOBILE OFF-CANVAS              */
/* ==================== ==================== */
.site-header .mobile-nav .nav-link {
    color: #222;
    font-weight: 500;
    padding: 1rem 1.25rem;
    transition: all 0.2s ease;
    display: block;
    text-decoration: none;
}

.site-header .mobile-nav .nav-link:hover {
    background: rgba(var(--theme-color-rgb, 106, 30, 85), 0.06);
    color: var(--theme-color, #6a1e55);
}

.site-header .mobile-nav .nav-link[aria-expanded="true"] {
    color: var(--theme-color, #6a1e55);
}

.site-header .mobile-nav .nav-link[aria-expanded="true"] .mobile-arrow {
    transform: rotate(180deg);
}

.site-header .mobile-arrow {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.site-header .mobile-submenu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    display: block !important;
}

.site-header .mobile-submenu li {
    display: block !important;
    width: 100% !important;
}

.site-header .mobile-submenu li a {
    display: block !important;
    padding: 0.75rem 1.75rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

.site-header .mobile-submenu li a:hover {
    color: var(--theme-color, #6a1e55);
    background: #fff;
    padding-inline-start: 2rem;
}

.site-header .mobile-submenu li:last-child a {
    border-bottom: none;
}

/* ==================== ==================== */
/*                RESPONSIVE                */
/* ==================== ==================== */
@media (max-width: 1399.98px) {
    .site-header .phone-link .phone-info {
        display: none !important;
    }

    .navbar-desktop .nav-link {
        padding: 0.9rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 991.98px) {
    .site-header .mainbar {
        padding: 0.85rem 0;
    }

    .site-header .navbar-brand img {
        height: 40px;
    }
}

@media (max-width: 575.98px) {
    .site-header .mainbar {
        padding: 0.65rem 0;
    }

    .site-header .navbar-brand img {
        height: 36px;
    }

    .site-header .cart-btn,
    .site-header .dropdown-toggle-user img {
        width: 38px;
        height: 38px;
    }
}

/* ==================== ==================== */
/*           BREADCRUMB                     */
/* ==================== ==================== */
.breadcrumb-section {
    background: #f8f8f8;
    border-bottom: 1px solid #ececec;
    padding: 1rem 0;
}

.breadcrumb-section h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
}

.breadcrumb-section .breadcrumb {
    --bs-breadcrumb-divider: "/";
    font-size: 0.875rem;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb-section .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: #4a5568;
}

.breadcrumb-section .breadcrumb-item a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-section .breadcrumb-item a:hover {
    color: var(--theme-color, #6a1e55);
}

.breadcrumb-section .breadcrumb-item.active {
    color: var(--theme-color, #6a1e55);
    font-weight: 600;
}

[dir="rtl"] .breadcrumb-item+.breadcrumb-item {
    padding-left: 0;
    padding-right: 0.5rem;
}

[dir="rtl"] .breadcrumb-item+.breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
    padding-right: 0;
}

/* ==================== ==================== */
/*           MOBILE BOTTOM NAV              */
/* ==================== ==================== */
.mobile-menu {
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    width: 100%;
    background: var(--theme-color, #6a1e55);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1030;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-menu ul {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    margin: 0;
    padding: 8px 0 10px;
    list-style: none;
}

.mobile-menu li {
    flex: 1;
    display: flex;
    text-align: center;
}

.mobile-menu li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 4px 2px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.25s ease;
    position: relative;
}

.mobile-menu li a:hover,
.mobile-menu li a:focus {
    color: #fff;
}

.mobile-menu li a svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    transition: transform 0.25s ease;
}

.mobile-menu li a span {
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1;
}

.mobile-menu li.active a {
    color: #fff;
}

.mobile-menu li.active a svg {
    transform: scale(1.1);
}

.mobile-menu li.active a::after {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: var(--theme-color1, #deb887);
    border-radius: 0 0 4px 4px;
}

@media (min-width: 992px) {
    .mobile-menu {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 72px;
    }
}

@media (max-width: 767px) {
    .cart-item-mobile {
        display: block !important;
    }
}

/* ==================== ==================== */
/*           SITE FOOTER                    */
/* ==================== ==================== */
.site-footer {
    background: #f8f8f8;
    padding-top: 50px;
    margin-top: 50px;
}

.footer-services {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ececec;
}

.footer-service-item {
    display: flex !important;
    align-items: center;
    gap: 12px;
}

.footer-service-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-service-item span {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    color: #222;
}

.footer-main {
    padding: 40px 0 30px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

.footer-desc {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-address,
.footer-contact,
.footer-links {
    display: block !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-address li,
.footer-contact>li,
.footer-links li {
    display: block !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}

.footer-address li {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    color: #4a5568;
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-address li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--theme-color, #6a1e55);
}

.footer-contact>li {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px !important;
}

.footer-contact>li svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--theme-color, #6a1e55);
}

.footer-contact small {
    display: block;
    color: #4a5568;
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.footer-contact a {
    color: #222;
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-contact a:hover {
    color: var(--theme-color, #6a1e55);
}

.footer-enamad img {
    max-height: 90px;
    width: auto;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #222;
}

.footer-links a {
    color: #4a5568;
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-inline-start 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--theme-color, #6a1e55);
    padding-inline-start: 5px;
}

.footer-bottom {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid #ececec;
}

.footer-copy {
    margin: 0;
    color: #4a5568;
    font-size: 0.85rem;
}

.footer-social {
    display: flex !important;
    align-items: center;
    gap: 12px;
}

.footer-social span {
    color: #4a5568;
    font-size: 0.85rem;
}

.footer-social ul {
    display: flex !important;
    gap: 8px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-social ul li {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
}

.footer-social a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(var(--theme-color-rgb, 106, 30, 85), 0.08);
    color: var(--theme-color, #6a1e55);
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--theme-color, #6a1e55);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    .footer-services {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-service-item span {
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .site-header .navbar-brand img {
        height: 36px !important;
    }
}

/* ==================== MOBILE BOTTOM MENU OVERRIDE ==================== */
.mobile-menu {
    display: none !important;
}

@media (max-width: 991.98px) {
    .mobile-menu {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: var(--theme-color, #6a1e55) !important;
        z-index: 1030 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mobile-menu ul {
        display: flex !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        width: 100% !important;
    }

    .mobile-menu li {
        flex: 1 !important;
        display: flex !important;
        text-align: center !important;
        margin: 0 !important;
        width: auto !important;
    }

    .mobile-menu li a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 8px 4px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        text-decoration: none !important;
    }

    .mobile-menu li.active a {
        color: #fff !important;
    }

    .mobile-menu li a svg {
        width: 24px !important;
        height: 24px !important;
        margin-bottom: 4px !important;
    }

    .mobile-menu li a span {
        font-size: 0.7rem !important;
        font-weight: 500 !important;
        color: #fff !important;
    }

    /* Body padding */
    body {
        padding-bottom: 72px !important;
    }
}

/* بالاتر از ۹۹۲ نمایش داده نشه */
@media (min-width: 992px) {
    .mobile-menu {
        display: none !important;
    }
}

/* ==================== FIX OFFCANVAS POSITION (RTL) ==================== */
@media (max-width: 1199.98px) {

    /* Offcanvas از راست باز بشه */
    .site-header .offcanvas.offcanvas-start {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        bottom: 0 !important;
        width: 320px !important;
        max-width: 90vw !important;
        transform: translateX(100%) !important;
        transition: transform 0.3s ease-in-out !important;
        z-index: 1080 !important;
    }

    .site-header .offcanvas.offcanvas-start.show {
        transform: translateX(0) !important;
    }
}

/* ============================================================
   COURSE CARD
   ============================================================ */
.course-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(106, 30, 85, 0.1);
    border-color: rgba(106, 30, 85, 0.2);
}

/* ==================== Image ==================== */
.course-card__image-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f8f8f8;
}

.course-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.course-card:hover .course-card__image {
    transform: scale(1.06);
}

.course-card__image--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

/* Badges */
.course-card__badges-top {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
    z-index: 2;
}

.course-card__badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.2px;
}

.course-card__badge--free {
    background: rgba(57, 218, 138, 0.95);
}

.course-card__badge--discount {
    background: rgba(220, 53, 69, 0.95);
}

.course-card__badge--status {
    background: rgba(255, 179, 33, 0.95);
}

/* ==================== Body ==================== */
.course-card__body {
    padding: 16px 18px 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Tags */
.course-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.course-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: rgba(106, 30, 85, 0.06);
    color: #6a1e55;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
    line-height: 1.4;
}

.course-card__tag:hover {
    background: rgba(106, 30, 85, 0.12);
    color: #6a1e55;
}

.course-card__tag--level {
    background: rgba(222, 184, 135, 0.15);
    color: #a07a3e;
}

.course-card__tag--level:hover {
    background: rgba(222, 184, 135, 0.25);
}

/* Title */
.course-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 8px;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3rem;
}

.course-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.course-card__title a:hover {
    color: #6a1e55;
}

/* Excerpt */
.course-card__excerpt {
    font-size: 0.82rem;
    color: #777;
    line-height: 1.6;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Stats */
.course-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed #f0f0f0;
}

.course-card__stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
}

.course-card__stat svg {
    color: #deb887;
    flex-shrink: 0;
}

/* ==================== Footer ==================== */
.course-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 18px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

/* Coach */
.course-card__coach {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.course-card__coach-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.course-card__coach-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.course-card__coach-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-card__coach-role {
    font-size: 0.68rem;
    color: #999;
}

/* Price */
.course-card__price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
    text-align: left;
}

.course-card__price-old {
    font-size: 0.75rem;
    color: #bbb;
    text-decoration: line-through;
}

.course-card__price-new {
    font-size: 1rem;
    font-weight: 800;
    color: #6a1e55;
    direction: ltr;
}

.course-card__price-currency {
    font-size: 0.7rem;
    color: #999;
    font-weight: 500;
}

.course-card__price-free {
    font-size: 0.95rem;
    font-weight: 800;
    color: #39da8a;
}

/* ==================== CTA ==================== */
.course-card__cta-wrap {
    padding: 0 18px 16px;
}

.course-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 16px;
    background: #6a1e55;
    color: #fff;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
}

.course-card__cta:hover {
    background: #8a2e75;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(106, 30, 85, 0.25);
}

.course-card__cta svg {
    transition: transform 0.25s ease;
}

.course-card__cta:hover svg {
    transform: translateX(-3px);
}

/* CTA variants */
.course-card__cta--coach {
    background: #ffb321;
    color: #fff;
}

.course-card__cta--coach:hover {
    background: #e69d0e;
    box-shadow: 0 8px 20px rgba(255, 179, 33, 0.3);
}

.course-card__cta--student {
    background: #39da8a;
    color: #fff;
}

.course-card__cta--student:hover {
    background: #2bb972;
    box-shadow: 0 8px 20px rgba(57, 218, 138, 0.3);
}

/* ==================== Responsive ==================== */
@media (max-width: 575.98px) {
    .course-card__body {
        padding: 12px 14px 10px;
    }

    .course-card__footer {
        padding: 10px 14px;
    }

    .course-card__cta-wrap {
        padding: 0 14px 14px;
    }

    .course-card__title {
        font-size: 0.92rem;
        min-height: 2.7rem;
    }

    .course-card__excerpt {
        display: none;
    }

    .course-card__stat {
        font-size: 0.7rem;
    }

    .course-card__price-new {
        font-size: 0.9rem;
    }

    .course-card__coach-name {
        font-size: 0.75rem;
    }

    .course-card__cta {
        font-size: 0.8rem;
        padding: 9px 12px;
    }
}

/* ============================================================
   ACADEMY HERO - CONCEPT DESIGN
   ============================================================ */
.academy-hero {
    position: relative;
    background: linear-gradient(135deg, #2a0d20 0%, #4a1538 50%, #6a1e55 100%);
    color: #fff;
    padding: 4rem 0 3rem;
    margin-bottom: 2rem;
    overflow: hidden;
    min-height: 420px;
}

/* Decorative background */
.academy-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.academy-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.academy-hero__blob--1 {
    width: 400px;
    height: 400px;
    background: #deb887;
    top: -100px;
    right: -100px;
    opacity: 0.15;
}

.academy-hero__blob--2 {
    width: 350px;
    height: 350px;
    background: #a855f7;
    bottom: -100px;
    left: -80px;
    opacity: 0.2;
}

.academy-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}

/* Inner layout */
.academy-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .academy-hero__inner {
        grid-template-columns: 1.3fr 1fr;
    }
}

/* Content */
.academy-hero__content {
    max-width: 620px;
}

.academy-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 16px;
    background: rgba(222, 184, 135, 0.15);
    border: 1px solid rgba(222, 184, 135, 0.4);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #deb887;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.academy-hero__badge svg {
    color: #deb887;
}

.academy-hero__title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: #fff;
    letter-spacing: -0.5px;
}

.academy-hero__title-highlight {
    position: relative;
    display: inline-block;
    color: #deb887;
}

.academy-hero__title-highlight::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(222, 184, 135, 0.25);
    border-radius: 4px;
    z-index: -1;
}

.academy-hero__subtitle {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 520px;
}

/* Stats */
.academy-hero__stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.academy-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.academy-hero__stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #deb887;
    line-height: 1;
    letter-spacing: -0.5px;
}

.academy-hero__stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Actions */
.academy-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.academy-hero__btn {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem !important;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px !important;
    transition: all 0.25s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.academy-hero__btn--primary {
    background: #deb887 !important;
    border-color: #deb887 !important;
    color: #2a0d20 !important;
}

.academy-hero__btn--primary:hover {
    background: #fff !important;
    border-color: #fff !important;
    color: #6a1e55 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(222, 184, 135, 0.35);
}

.academy-hero__btn--outline {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

.academy-hero__btn--outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #fff !important;
}

/* Visual - cards */
.academy-hero__visual {
    display: none;
    position: relative;
    height: 320px;
}

@media (min-width: 992px) {
    .academy-hero__visual {
        display: block;
    }
}

.academy-hero__card {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 130px;
    transition: transform 0.4s ease;
}

.academy-hero__card:hover {
    transform: translateY(-8px) scale(1.05);
}

.academy-hero__card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #deb887, #a07a3e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2a0d20;
    box-shadow: 0 8px 20px rgba(222, 184, 135, 0.3);
}

.academy-hero__card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.academy-hero__card-line {
    width: 24px;
    height: 3px;
    background: #deb887;
    border-radius: 2px;
}

/* Card positioning */
.academy-hero__card--1 {
    top: 20px;
    right: 20px;
    animation: float1 6s ease-in-out infinite;
    transform: rotate(-6deg);
}

.academy-hero__card--1:hover {
    transform: rotate(-6deg) translateY(-8px) scale(1.05);
}

.academy-hero__card--2 {
    top: 110px;
    left: 30px;
    animation: float2 7s ease-in-out infinite;
    transform: rotate(5deg);
}

.academy-hero__card--2:hover {
    transform: rotate(5deg) translateY(-8px) scale(1.05);
}

.academy-hero__card--3 {
    bottom: 20px;
    right: 100px;
    animation: float3 8s ease-in-out infinite;
    transform: rotate(-3deg);
}

.academy-hero__card--3:hover {
    transform: rotate(-3deg) translateY(-8px) scale(1.05);
}

/* Floating badge */
.academy-hero__floating-badge {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #deb887, #a07a3e);
    color: #2a0d20;
    padding: 0.75rem 1.25rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(222, 184, 135, 0.4);
    z-index: 3;
    animation: floatBadge 5s ease-in-out infinite;
}

.academy-hero__floating-badge-value {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.academy-hero__floating-badge-label {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.8;
    margin-top: 2px;
}

/* Animations */
@keyframes float1 {

    0%,
    100% {
        transform: rotate(-6deg) translateY(0);
    }

    50% {
        transform: rotate(-6deg) translateY(-12px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: rotate(5deg) translateY(0);
    }

    50% {
        transform: rotate(5deg) translateY(-15px);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: rotate(-3deg) translateY(0);
    }

    50% {
        transform: rotate(-3deg) translateY(-10px);
    }
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .academy-hero {
        padding: 3rem 0 2.5rem;
    }

    .academy-hero__stats {
        gap: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .academy-hero {
        padding: 2.5rem 0 2rem;
    }

    .academy-hero__badge {
        font-size: 0.72rem;
        padding: 5px 12px;
    }

    .academy-hero__stats {
        gap: 1.25rem;
        padding: 1rem 0;
    }

    .academy-hero__stat-value {
        font-size: 1.35rem;
    }

    .academy-hero__stat-label {
        font-size: 0.72rem;
    }

    .academy-hero__actions {
        flex-direction: column;
    }

    .academy-hero__btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9rem;
    }
}

/* ============================================================
   COURSE FILTER
   ============================================================ */
.course-filter {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.course-filter__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.course-filter__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.course-filter__title svg {
    color: #6a1e55;
}

.course-filter__reset {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.course-filter__reset:hover {
    background: #dc3545;
    color: #fff;
}

.course-filter__body {
    padding: 1.25rem;
}

.course-filter__search {
    margin-bottom: 1rem;
}

.course-filter__search .input-group {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.course-filter__search .input-group:focus-within {
    border-color: #6a1e55;
    box-shadow: 0 0 0 3px rgba(106, 30, 85, 0.08);
}

.course-filter__search .input-group-text {
    background: transparent;
    border: none;
    color: #999;
    padding-left: 1rem;
    padding-right: 0.5rem;
}

.course-filter__search .form-control {
    border: none;
    box-shadow: none;
    padding: 0.7rem 1rem 0.7rem 0.5rem;
    font-size: 0.9rem;
}

.course-filter__search .form-control:focus {
    box-shadow: none;
}

.course-filter__search .clear-btn {
    cursor: pointer;
    color: #999;
    padding-right: 1rem;
    transition: color 0.2s ease;
}

.course-filter__search .clear-btn:hover {
    color: #dc3545;
}

.course-filter__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.course-filter__row .form-select {
    padding: 0.65rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    font-size: 0.9rem;
    background-position: left 0.75rem center;
    transition: border-color 0.2s ease;
}

.course-filter__row .form-select:focus {
    border-color: #6a1e55;
    box-shadow: 0 0 0 3px rgba(106, 30, 85, 0.08);
}

.course-filter__submit {
    margin-top: 1rem;
}

@media (max-width: 991.98px) {
    .course-filter__row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .course-filter__row {
        grid-template-columns: 1fr;
    }

    .course-filter__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .course-filter__reset {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   COURSE TOOLBAR
   ============================================================ */
.course-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem 0 1.25rem;
}

.course-toolbar__count {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    color: #666;
    font-size: 0.9rem;
}

.course-toolbar__count strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: #6a1e55;
}

.course-toolbar__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    background: rgba(106, 30, 85, 0.06);
    color: #6a1e55;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.filter-chip__close {
    color: #6a1e55;
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.filter-chip__close:hover {
    color: #dc3545;
}

/* ============================================================
   COURSE GRID
   ============================================================ */
.course-grid {
    min-height: 200px;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #fafafa;
    border-radius: 16px;
    border: 2px dashed #ececec;
}

.empty-state__icon {
    color: #d0d0d0;
    margin-bottom: 1.5rem;
}

.empty-state__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #666;
    margin-bottom: 0.5rem;
}

.empty-state__text {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.empty-state .btn {
    border-radius: 10px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
}

/* ============================================================
   COURSE HERO
   ============================================================ */
.course-hero {
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    padding: 2rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.course-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Desktop: 3 columns */
@media (min-width: 992px) {
    .course-hero__grid {
        grid-template-columns: 1.2fr 1.5fr 1fr;
        align-items: start;
        gap: 2rem;
    }
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 991.98px) {
    .course-hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .course-hero__main {
        grid-column: 1 / -1;
    }
}

/* Main */
.course-hero__main {
    min-width: 0;
}

.course-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.course-hero__badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(106, 30, 85, 0.08);
    color: #6a1e55;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    white-space: nowrap;
}

.course-hero__badge--level {
    background: rgba(222, 184, 135, 0.2);
    color: #a07a3e;
}

.course-hero__badge--discount {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.course-hero__title {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #222;
    letter-spacing: -0.3px;
}

.course-hero__subtitle {
    font-size: 0.92rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.25rem;
}

.course-hero__coach {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: #fafafa;
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.course-hero__coach-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.course-hero__coach-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.course-hero__coach-label {
    font-size: 0.72rem;
    color: #999;
    font-weight: 500;
}

.course-hero__coach-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #222;
    text-decoration: none;
}

.course-hero__coach-name:hover {
    color: #6a1e55;
}

/* Stats */
.course-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.course-hero__stat {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.course-hero__stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(106, 30, 85, 0.08);
    color: #6a1e55;
    border-radius: 10px;
    flex-shrink: 0;
}

.course-hero__stat-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1;
}

.course-hero__stat-value {
    font-size: 0.9rem;
    font-weight: 800;
    color: #222;
}

.course-hero__stat-label {
    font-size: 0.68rem;
    color: #999;
    font-weight: 500;
}

/* Media */
.course-hero__media {
    min-width: 0;
}

.course-hero__video {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.course-hero__video video,
.course-hero__video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.course-hero__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    transition: background 0.3s ease;
    cursor: pointer;
}

.course-hero__play:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* ============================================================
   BUY CARD
   ============================================================ */
.course-buy-card {
    background: #fff;
    border: 2px solid rgba(106, 30, 85, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(106, 30, 85, 0.06);
    position: sticky;
    top: 100px;
}

.course-buy-card__header {
    background: linear-gradient(135deg, #6a1e55 0%, #8a2e75 100%);
    padding: 0.75rem 1.25rem;
    text-align: center;
}

.course-buy-card__header-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.course-buy-card__price {
    text-align: center;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px dashed #f0f0f0;
}

.course-buy-card__price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.course-buy-card__price-old {
    font-size: 0.85rem;
    color: #bbb;
    text-decoration: line-through;
}

.course-buy-card__price-percent {
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 50px;
}

.course-buy-card__price-final {
    font-size: 1.65rem;
    font-weight: 900;
    color: #6a1e55;
    line-height: 1;
    letter-spacing: -0.5px;
}

.course-buy-card__price-currency {
    font-size: 0.78rem;
    font-weight: 500;
    color: #999;
    margin-inline-start: 4px;
}

.course-buy-card__price-free {
    font-size: 1.5rem;
    font-weight: 900;
    color: #39da8a;
    display: block;
}

.course-buy-card__actions {
    padding: 1rem 1.25rem;
    border-bottom: 1px dashed #f0f0f0;
}

.course-buy-card__actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-weight: 700;
    border-radius: 10px;
    font-size: 0.9rem;
}

.course-buy-card__features {
    list-style: none;
    padding: 1rem 1.25rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.course-buy-card__features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0;
    font-size: 0.82rem;
    color: #555;
    font-weight: 500;
}

.course-buy-card__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(57, 218, 138, 0.12);
    color: #2bb972;
    border-radius: 7px;
    flex-shrink: 0;
}

/* ============================================================
   COURSE DETAIL
   ============================================================ */
.course-detail {
    padding-top: 2rem;
}

/* Tabs */
.course-tabs {
    display: flex;
    gap: 0.35rem;
    padding: 0.4rem;
    background: #fafafa;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
}

.course-tabs::-webkit-scrollbar {
    display: none;
}

.course-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
}

.course-tabs .nav-link:hover {
    background: rgba(106, 30, 85, 0.05);
    color: #6a1e55;
}

.course-tabs .nav-link.active {
    background: #6a1e55;
    color: #fff;
    box-shadow: 0 6px 20px rgba(106, 30, 85, 0.25);
}

.course-tabs .nav-link svg {
    flex-shrink: 0;
}

/* Content Box */
.course-content-box {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.course-content-box__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1.25rem;
}

.course-content-box__body {
    font-size: 0.95rem;
    line-height: 2;
    color: #444;
}

.course-content-box__body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0;
}

/* Tags */
.course-content-box--tags {
    margin-top: 1rem;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.course-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(106, 30, 85, 0.06);
    color: #6a1e55;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.course-tag:hover {
    background: #6a1e55;
    color: #fff;
    transform: translateY(-2px);
}


/* ============================================================
   COURSE CHAPTERS (RTL Fix)
   ============================================================ */
.course-chapters {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.course-chapter {
    display: block;
    width: 100%;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    /* ❌ overflow: hidden رو حذف کن - این باگ RTL رو ایجاد می‌کنه */
    /* overflow: hidden; */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    /* ← برای z-index کنترل */
}

.course-chapter.is-open {
    border-color: rgba(106, 30, 85, 0.25);
    box-shadow: 0 4px 20px rgba(106, 30, 85, 0.06);
}

/* ✅ Header - گردی گوشه‌های بالا (RTL: بالا-راست + بالا-چپ) */
.course-chapter__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    background: #fff;
    border: none;
    border-radius: 13px 13px 0 0;
    /* ← 13px چون border 1px */
    text-align: right;
    cursor: pointer;
    transition: background 0.2s ease;
}

.course-chapter__header:hover {
    background: #fafafa;
}

/* وقتی باز نشده - گردی کامل */
.course-chapter:not(.is-open) .course-chapter__header {
    border-radius: 13px;
}

/* وقتی باز شد - فقط بالا گرد */
.course-chapter.is-open .course-chapter__header {
    background: linear-gradient(135deg, rgba(106, 30, 85, 0.06), rgba(106, 30, 85, 0.02));
    border-radius: 13px 13px 0 0;
    background-clip: padding-box;
    /* ← مهم: gradient به border نچسبه */
}

/* ✅ Body - گردی گوشه‌های پایین */
.course-chapter__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fff;
    padding: 0;
    margin: 0;
    border-radius: 0 0 13px 13px;
    /* ← پایین گرد */
}

.course-chapter.is-open .course-chapter__body {
    max-height: 5000px;
}

.course-chapter__info {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    flex: 1;
}

.course-chapter__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6a1e55, #8a2e75);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(106, 30, 85, 0.2);
}

.course-chapter__title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
    font-weight: 700;
    color: #222;
    line-height: 1.5;
}

.course-chapter__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.82rem;
    color: #999;
    font-weight: 600;
    flex-shrink: 0;
}

.course-chapter__count {
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 50px;
    font-size: 0.75rem;
    white-space: nowrap;
}

.course-chapter__arrow {
    transition: transform 0.3s ease;
    color: #999;
    flex-shrink: 0;
}

.course-chapter.is-open .course-chapter__arrow {
    transform: rotate(180deg);
    color: #6a1e55;
}

/* ✅ Episode List - بدون فاصله */
.course-chapter__body .episode-list {
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0 0 13px 13px;
    /* ← پایین گرد */
    overflow: hidden;
}

.course-chapter__body .episode-item:first-child {
    border-top: none;
}

.course-chapter__body .episode-item:last-child {
    border-bottom: none;
    border-radius: 0 0 13px 13px;
    /* ← پایین گرد */
}

/* Responsive */
@media (max-width: 575.98px) {
    .course-chapter {
        border-radius: 12px;
    }

    .course-chapter__header {
        padding: 0.85rem 1rem;
        border-radius: 11px 11px 0 0;
    }

    .course-chapter:not(.is-open) .course-chapter__header {
        border-radius: 11px;
    }

    .course-chapter.is-open .course-chapter__header {
        border-radius: 11px 11px 0 0;
    }

    .course-chapter__body {
        border-radius: 0 0 11px 11px;
    }

    .course-chapter__number {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .course-chapter__title {
        font-size: 0.88rem;
    }

    .course-chapter__count {
        display: none;
    }
}

/* ============================================================
   EPISODES (Fixed Layout)
   ============================================================ */
.course-episodes {
    display: block !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    background: #fff;
}

.course-episodes li,
.course-episode {
    display: block !important;
    width: 100% !important;
    float: none !important;
    list-style: none !important;
    border-bottom: 1px solid #f5f5f5;
}

.course-episode:last-child {
    border-bottom: none;
}

.course-episode__link {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    width: 100% !important;
    padding: 1rem 1.25rem !important;
    text-decoration: none !important;
    color: #222 !important;
    transition: background 0.2s ease;
    float: none !important;
}

.course-episode__link:hover {
    background: #fafafa;
}

.course-episode__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: linear-gradient(135deg, rgba(106, 30, 85, 0.1), rgba(106, 30, 85, 0.05));
    color: #6a1e55 !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

.course-episode__info {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    min-width: 0 !important;
    flex-grow: 1 !important;
}

.course-episode__title {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #222 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.course-episode__meta {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 0.75rem !important;
    color: #999 !important;
}

.course-episode__free {
    display: inline-block !important;
    padding: 2px 10px !important;
    background: rgba(57, 218, 138, 0.15) !important;
    color: #2bb972 !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
}

.course-episode__status {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    color: #999 !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease;
}

.course-episode__link:hover .course-episode__status {
    background: rgba(106, 30, 85, 0.1) !important;
    color: #6a1e55 !important;
}

.course-episode--empty {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    padding: 1.5rem !important;
    text-align: center !important;
    color: #999 !important;
    font-size: 0.85rem !important;
}

/* ============================================================
   FAQs
   ============================================================ */
.course-faqs .accordion-item {
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.course-faqs .accordion-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #222;
    background: #fff;
    border: none;
    box-shadow: none;
}

.course-faqs .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(106, 30, 85, 0.06), rgba(106, 30, 85, 0.02));
    color: #6a1e55;
}

.course-faqs .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.course-faqs__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(106, 30, 85, 0.1);
    color: #6a1e55;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 0;
}

.course-faqs .accordion-body {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.88rem;
    line-height: 1.9;
    color: #666;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.course-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 100px;
}

.course-sidebar__card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.course-sidebar__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #f0f0f0;
}

.course-sidebar__title svg {
    color: #6a1e55;
}

.course-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.course-info-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.course-info-list li:hover {
    background: #fafafa;
}

.course-info-list__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
}

.course-info-list__icon--coach {
    background: rgba(106, 30, 85, 0.1);
    color: #6a1e55;
}

.course-info-list__icon--category {
    background: rgba(222, 184, 135, 0.2);
    color: #a07a3e;
}

.course-info-list__icon--level {
    background: rgba(57, 218, 138, 0.15);
    color: #2bb972;
}

.course-info-list__icon--status {
    background: rgba(75, 181, 255, 0.15);
    color: #3b9eff;
}

.course-info-list__icon--episodes {
    background: rgba(255, 179, 33, 0.15);
    color: #e69d0e;
}

.course-info-list__icon--time {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.course-info-list__icon--students {
    background: rgba(138, 46, 117, 0.1);
    color: #8a2e75;
}

.course-info-list__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.course-info-list__label {
    font-size: 0.72rem;
    color: #999;
    font-weight: 500;
}

.course-info-list__value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.course-info-list__value:hover {
    color: #6a1e55;
}

/* Share */
.course-share {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.course-share__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #666;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.course-share__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.course-share__link--telegram:hover {
    background: #0088cc;
    color: #fff;
}

.course-share__link--whatsapp:hover {
    background: #25d366;
    color: #fff;
}

.course-share__link--copy:hover {
    background: #6a1e55;
    color: #fff;
}

/* ============================================================
   MOBILE CTA
   ============================================================ */
.course-mobile-cta {
    position: fixed;
    bottom: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1025;
}

.course-mobile-cta__price {
    display: flex;
    flex-direction: column;
    min-width: 100px;
}

.course-mobile-cta__price-new {
    font-size: 1.1rem;
    font-weight: 800;
    color: #6a1e55;
    line-height: 1;
}

.course-mobile-cta__price-old {
    font-size: 0.72rem;
    color: #bbb;
    text-decoration: line-through;
    margin-top: 2px;
}

.course-mobile-cta__price-free {
    font-size: 1.1rem;
    font-weight: 800;
    color: #39da8a;
}

.course-mobile-cta__price-currency {
    font-size: 0.72rem;
    color: #999;
    margin-inline-start: 4px;
}

.course-mobile-cta__action {
    flex-grow: 1;
}

.course-mobile-cta .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    padding: 0.7rem 1rem;
    border-radius: 10px;
}

/* ============================================================
   PAYMENT MODAL
   ============================================================ */
.course-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.course-modal__summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fafafa;
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.course-modal__thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.course-modal__info h6 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #222;
}

.course-modal__price {
    font-size: 1rem;
    font-weight: 800;
    color: #6a1e55;
}

.wallet-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(106, 30, 85, 0.05), rgba(106, 30, 85, 0.02));
    border: 1px solid rgba(106, 30, 85, 0.15);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.wallet-card__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6a1e55;
}

.wallet-card__amount {
    font-size: 0.95rem;
    font-weight: 800;
    color: #2bb972;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .course-detail {
        padding-top: 1.5rem;
    }

    .course-content-box {
        padding: 1.25rem;
    }

    .course-hero__grid {
        gap: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .course-tabs {
        padding: 0.3rem;
        gap: 0.2rem;
    }

    .course-tabs .nav-link {
        padding: 0.6rem 0.85rem;
        font-size: 0.82rem;
    }

    .course-tabs .nav-link svg {
        display: none;
    }

    .course-content-box {
        padding: 1rem;
        border-radius: 12px;
    }

    .course-chapter__header {
        padding: 0.85rem 1rem;
    }

    .course-chapter__number {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .course-chapter__title {
        font-size: 0.88rem;
    }

    .course-chapter__count {
        display: none;
    }

    .course-episode__link {
        padding: 0.85rem 1rem !important;
    }

    .course-episode__icon {
        width: 34px !important;
        height: 34px !important;
    }

    .course-info-list__icon {
        width: 34px;
        height: 34px;
    }
}

/* ============================================================
   BUTTONS (Bootstrap 5 Override)
   ============================================================ */

/* Primary Button */
.btn-primary {
    --bs-btn-bg: #6a1e55;
    --bs-btn-border-color: #6a1e55;
    --bs-btn-hover-bg: #8a2e75;
    --bs-btn-hover-border-color: #8a2e75;
    --bs-btn-active-bg: #8a2e75;
    --bs-btn-active-border-color: #8a2e75;
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    --bs-btn-disabled-bg: #6a1e55;
    --bs-btn-disabled-border-color: #6a1e55;
    --bs-btn-disabled-color: #fff;
    --bs-btn-focus-shadow-rgb: 106, 30, 85;
    background-color: #6a1e55;
    border-color: #6a1e55;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #8a2e75;
    border-color: #8a2e75;
    color: #fff;
}

/* Success Button */
.btn-success {
    --bs-btn-bg: #39da8a;
    --bs-btn-border-color: #39da8a;
    --bs-btn-hover-bg: #2bb972;
    --bs-btn-hover-border-color: #2bb972;
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    background-color: #39da8a;
    border-color: #39da8a;
    color: #fff;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: #2bb972;
    border-color: #2bb972;
    color: #fff;
}

/* Outline Primary */
.btn-outline-primary {
    --bs-btn-color: #6a1e55;
    --bs-btn-border-color: #6a1e55;
    --bs-btn-hover-bg: #6a1e55;
    --bs-btn-hover-border-color: #6a1e55;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #6a1e55;
    --bs-btn-active-border-color: #6a1e55;
    --bs-btn-active-color: #fff;
    background-color: transparent;
    border-color: #6a1e55;
    color: #6a1e55;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #6a1e55;
    border-color: #6a1e55;
    color: #fff;
}

/* Outline Secondary */
.btn-outline-secondary {
    --bs-btn-color: #666;
    --bs-btn-border-color: #e5e5e5;
    --bs-btn-hover-bg: #6a1e55;
    --bs-btn-hover-border-color: #6a1e55;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #6a1e55;
    --bs-btn-active-border-color: #6a1e55;
    --bs-btn-active-color: #fff;
    background-color: transparent;
    border-color: #e5e5e5;
    color: #666;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    background-color: #6a1e55;
    border-color: #6a1e55;
    color: #fff;
}

/* Dark Button */
.btn-dark {
    --bs-btn-bg: #2a2a2a;
    --bs-btn-border-color: #2a2a2a;
    --bs-btn-hover-bg: #1a1a1a;
    --bs-btn-hover-border-color: #1a1a1a;
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    background-color: #2a2a2a;
    border-color: #2a2a2a;
    color: #fff;
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

/* Large Button */
.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Small Button */
.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

/* Default Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
    border-width: 1px;
    border-style: solid;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1.4;
}

.btn:focus-visible {
    outline: 2px solid #deb887;
    outline-offset: 2px;
    box-shadow: none;
}

/* ============================================================
   EPISODE PAGE
   ============================================================ */
.episode-page {
    padding-top: 2rem;
}

/* ==================== Player ==================== */
.episode-player {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.episode-player__video {
    position: relative;
    background: #000;
    aspect-ratio: 16 / 9;
}

.episode-player__video video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.episode-player__info {
    padding: 1.5rem;
}

.episode-player__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.episode-player__title {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 800;
    color: #222;
    margin: 0;
    line-height: 1.5;
}

.episode-player__badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 50px;
}

.episode-player__badge--free {
    background: rgba(57, 218, 138, 0.15);
    color: #2bb972;
}

.episode-player__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px dashed #f0f0f0;
}

.episode-player__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.episode-player__meta-item svg {
    color: #deb887;
}

.episode-player__meta-item a {
    color: #6a1e55;
    text-decoration: none;
    font-weight: 600;
}

.episode-player__meta-item a:hover {
    text-decoration: underline;
}

.episode-player__description {
    font-size: 0.9rem;
    line-height: 1.9;
    color: #555;
}

/* ==================== Sidebar ==================== */
.episode-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 100px;
}

.episode-sidebar__course {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(106, 30, 85, 0.05), rgba(106, 30, 85, 0.02));
    border: 1px solid rgba(106, 30, 85, 0.1);
    border-radius: 14px;
}

.episode-sidebar__thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.episode-sidebar__course-info {
    min-width: 0;
    flex: 1;
}

.episode-sidebar__course-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 4px;
}

.episode-sidebar__course-title:hover {
    color: #6a1e55;
}

.episode-sidebar__course-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #999;
    font-weight: 500;
}

.episode-sidebar__list {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 1.25rem;
}

.episode-sidebar__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed #f0f0f0;
}

.episode-sidebar__title svg {
    color: #6a1e55;
}

/* ==================== Chapters (in sidebar) ==================== */
.episode-chapters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.episode-chapter {
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s ease;
}

.episode-chapter.is-active {
    border-color: rgba(106, 30, 85, 0.2);
}

.episode-chapter.is-open {
    border-color: rgba(106, 30, 85, 0.3);
    box-shadow: 0 4px 15px rgba(106, 30, 85, 0.06);
}

.episode-chapter__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: #fafafa;
    border: none;
    text-align: right;
    cursor: pointer;
    transition: background 0.2s ease;
}

.episode-chapter__header:hover {
    background: #f5f5f5;
}

.episode-chapter.is-open .episode-chapter__header {
    background: linear-gradient(135deg, rgba(106, 30, 85, 0.08), rgba(106, 30, 85, 0.03));
}

.episode-chapter__info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    flex: 1;
}

.episode-chapter__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #6a1e55, #8a2e75);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 8px;
    flex-shrink: 0;
}

.episode-chapter__title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.82rem;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
}

.episode-chapter__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: #999;
    font-weight: 600;
    flex-shrink: 0;
}

.episode-chapter__arrow {
    transition: transform 0.3s ease;
    color: #999;
}

.episode-chapter.is-open .episode-chapter__arrow {
    transform: rotate(180deg);
    color: #6a1e55;
}

.episode-chapter__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.episode-chapter.is-open .episode-chapter__body {
    max-height: 3000px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .episode-sidebar {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .episode-player__info {
        padding: 1rem;
    }

    .episode-player__title {
        font-size: 1rem;
    }

    .episode-player__meta {
        gap: 0.85rem;
    }

    .episode-player__meta-item {
        font-size: 0.78rem;
    }

    .episode-sidebar__list {
        padding: 1rem;
    }
}

/* ============================================================
   EPISODE ITEM (Shared Component)
   ============================================================ */
.episode-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff;
}

.episode-item {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid #f5f5f5;
    margin: 0 !important;
}

.episode-item:last-child {
    border-bottom: none;
}

.episode-item.is-current {
    background: linear-gradient(135deg, rgba(106, 30, 85, 0.06), rgba(106, 30, 85, 0.02));
}

.episode-item__link {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
    padding: 0.85rem 1rem !important;
    text-decoration: none !important;
    color: #222 !important;
    transition: background 0.2s ease;
}

.episode-item__link:hover {
    background: #fafafa;
}

.episode-item.is-current .episode-item__link:hover {
    background: transparent;
}

.episode-item__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    background: rgba(106, 30, 85, 0.08);
    color: #6a1e55 !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

.episode-item.is-current .episode-item__icon {
    background: #6a1e55;
    color: #fff !important;
}

.episode-item__info {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    min-width: 0 !important;
    flex-grow: 1 !important;
}

.episode-item__title {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #222 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.episode-item.is-current .episode-item__title {
    color: #6a1e55 !important;
}

.episode-item__meta {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    font-size: 0.7rem !important;
    color: #999 !important;
}

.episode-item__free {
    display: inline-block !important;
    padding: 1px 8px !important;
    background: rgba(57, 218, 138, 0.15) !important;
    color: #2bb972 !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
}

.episode-item__status {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    color: #ccc !important;
    flex-shrink: 0 !important;
    transition: color 0.2s ease;
}

.episode-item__link:hover .episode-item__status {
    color: #6a1e55 !important;
}

.episode-item--empty {
    padding: 1rem;
    text-align: center;
    color: #999;
    font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 575.98px) {
    .episode-item__link {
        padding: 0.7rem 0.85rem !important;
    }

    .episode-item__icon {
        width: 30px !important;
        height: 30px !important;
    }

    .episode-item__title {
        font-size: 0.8rem !important;
    }
}


/* TEST - حذف کامل border و background */
.course-chapter {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.course-chapter__header {
    background: #f5f5f5 !important;
    border: 2px solid red !important;
}

.course-chapter__body {
    background: lightblue !important;
    border: 2px solid blue !important;
}

/* ==================== MODAL FIX ==================== */
.modal-backdrop {
    z-index: 1040 !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.modal {
    z-index: 1050 !important;
}

.modal-backdrop.show {
    opacity: 0.5 !important;
    background-color: #000 !important;
}


/* ============================================================
   COACH PROFILE
   ============================================================ */

/* ==================== Hero ==================== */
.coach-hero {
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    padding: 2rem 0;
}

.coach-hero__card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

@media (max-width: 767.98px) {
    .coach-hero__card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.25rem;
    }
}

/* Avatar */
.coach-hero__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.coach-hero__avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 8px 30px rgba(106, 30, 85, 0.15);
}

@media (max-width: 767.98px) {
    .coach-hero__avatar {
        width: 110px;
        height: 110px;
    }
}

.coach-hero__verified {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: #39da8a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(57, 218, 138, 0.3);
}

/* Info */
.coach-hero__info {
    flex: 1;
    min-width: 0;
}

.coach-hero__name {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #222;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.coach-hero__role {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(106, 30, 85, 0.08);
    color: #6a1e55;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.coach-hero__bio {
    font-size: 0.92rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.25rem;
    max-width: 600px;
}

/* Stats */
.coach-hero__stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .coach-hero__stats {
        justify-content: center;
        gap: 1.5rem;
    }
}

.coach-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.coach-hero__stat strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: #6a1e55;
    line-height: 1;
}

.coach-hero__stat span {
    font-size: 0.78rem;
    color: #999;
    font-weight: 500;
}

/* Actions */
.coach-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .coach-hero__actions {
        flex-direction: row;
        width: 100%;
    }

    .coach-hero__actions .btn {
        flex: 1;
    }
}

.coach-hero__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-weight: 700;
    border-radius: 10px;
    white-space: nowrap;
}

/* ==================== Tabs ==================== */
.coach-detail {
    padding-top: 2rem;
}

.coach-tabs {
    display: flex;
    gap: 0.35rem;
    padding: 0.4rem;
    background: #fafafa;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
}

.coach-tabs::-webkit-scrollbar {
    display: none;
}

.coach-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
}

.coach-tabs .nav-link:hover {
    background: rgba(106, 30, 85, 0.05);
    color: #6a1e55;
}

.coach-tabs .nav-link.active {
    background: #6a1e55;
    color: #fff;
    box-shadow: 0 6px 20px rgba(106, 30, 85, 0.25);
}

.coach-tabs .nav-link svg {
    flex-shrink: 0;
}

/* ==================== Content Box ==================== */
.coach-content-box {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.coach-content-box__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed #f0f0f0;
}

.coach-content-box__body {
    font-size: 0.95rem;
    line-height: 2;
    color: #444;
}

/* ==================== Sidebar ==================== */
.coach-sidebar-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.coach-sidebar-card__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #f0f0f0;
}

.coach-sidebar-card__title svg {
    color: #6a1e55;
}

.coach-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.coach-info-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.coach-info-list li:hover {
    background: #fafafa;
}

.coach-info-list__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
}

.coach-info-list__icon--instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
}

.coach-info-list__icon--site {
    background: rgba(75, 181, 255, 0.15);
    color: #3b9eff;
}

.coach-info-list__icon--students {
    background: rgba(106, 30, 85, 0.1);
    color: #6a1e55;
}

.coach-info-list__link,
.coach-info-list__value {
    font-size: 0.88rem;
    font-weight: 600;
    color: #222;
    text-decoration: none;
}

.coach-info-list__link:hover {
    color: #6a1e55;
}

/* ==================== Certificates ==================== */
.coach-certificates {
    padding: 0.5rem 0;
}

.coach-certificate {
    display: block;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s ease;
}

.coach-certificate:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(106, 30, 85, 0.1);
    border-color: rgba(106, 30, 85, 0.2);
}

.coach-certificate__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.coach-certificate__title {
    display: block;
    padding: 0.65rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #222;
    text-align: center;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

/* ==================== Responsive ==================== */
@media (max-width: 575.98px) {
    .coach-tabs {
        padding: 0.3rem;
        gap: 0.2rem;
    }

    .coach-tabs .nav-link {
        padding: 0.6rem 0.85rem;
        font-size: 0.82rem;
    }

    .coach-tabs .nav-link svg {
        display: none;
    }
}




/* ============================================================
   SHOP — v2 Luxury Edition
   ============================================================ */

:root {
  --shop-primary: #6a1e55;
  --shop-primary-light: #8a2e75;
  --shop-primary-dark: #4a1540;
  --shop-gold: #deb887;
  --shop-danger: #e74c3c;
  --shop-success: #27ae60;
  --shop-text: #222;
  --shop-text-soft: #666;
  --shop-text-mute: #999;
  --shop-bg: #fff;
  --shop-bg-soft: #f8f8f8;
  --shop-border: #ececec;
  --shop-radius: 14px;
  --shop-radius-lg: 18px;
  --shop-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shop-shadow-md: 0 4px 8px rgba(106, 30, 85, 0.06), 0 16px 40px rgba(106, 30, 85, 0.1);
  --shop-shadow-lg: 0 8px 16px rgba(106, 30, 85, 0.08), 0 24px 60px rgba(106, 30, 85, 0.14);
}

/* ═══════════════════════════════════════════════
   بنر جشنواره
   ═══════════════════════════════════════════════ */
.shop-banner {
  margin-bottom: 24px;
}

.shop-banner__inner {
  background: linear-gradient(135deg, #6a1e55 0%, #4a1540 60%, #2d0e28 100%);
  border-radius: var(--shop-radius-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.shop-banner__inner::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--shop-gold);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  top: -60px;
  right: -40px;
  pointer-events: none;
}

.shop-banner__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.shop-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--shop-gold);
}

.shop-banner__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

/* اسلایدر افقی */
.shop-banner__slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  position: relative;
  z-index: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.shop-banner__slider::-webkit-scrollbar { height: 4px; }
.shop-banner__slider::-webkit-scrollbar-track { background: transparent; }
.shop-banner__slider::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.shop-banner__card {
  flex: 0 0 200px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.shop-banner__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.shop-banner__card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--shop-bg-soft);
  overflow: hidden;
}

.shop-banner__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-banner__card-off {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 8px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 6px;
  direction: ltr;
}

.shop-banner__card-body {
  padding: 10px 12px 12px;
}

.shop-banner__card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--shop-text);
  margin: 0 0 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-banner__card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.shop-banner__card-old {
  font-size: 0.68rem;
  color: #bbb;
  text-decoration: line-through;
  direction: ltr;
}

.shop-banner__card-new {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--shop-primary);
  direction: ltr;
}

.shop-banner__card-unit {
  font-size: 0.65rem;
  color: var(--shop-text-mute);
}

@media (max-width: 767.98px) {
  .shop-banner__inner { padding: 14px; }
  .shop-banner__title { font-size: 0.9rem; }
  .shop-banner__badge { font-size: 0.65rem; padding: 4px 10px; }
  .shop-banner__card { flex: 0 0 160px; }
  .shop-banner__card-title { font-size: 0.72rem; }
  .shop-banner__card-new { font-size: 0.8rem; }
}

/* ═══════════════════════════════════════════════
   Layout
   ═══════════════════════════════════════════════ */
.shop-section { padding-bottom: 60px; }

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 991.98px) {
  .shop-layout { grid-template-columns: 1fr; gap: 12px; }
  .shop-sidebar { display: none; }
}

/* ═══════════════════════════════════════════════
   Mobile bar
   ═══════════════════════════════════════════════ */
.shop-mobile-bar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  padding: 10px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--shop-border);
}

@media (max-width: 991.98px) {
  .shop-mobile-bar { display: block; }
}

.shop-mobile-bar__inner {
  display: flex;
  gap: 10px;
  align-items: center;
}

.shop-mobile-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--shop-bg-soft);
  border: 1px solid var(--shop-border);
  border-radius: 10px;
  color: var(--shop-text);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  font-family: inherit;
}

.shop-mobile-bar__btn:hover {
  background: var(--shop-primary);
  color: #fff;
  border-color: var(--shop-primary);
}

.shop-mobile-bar__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--shop-danger);
  color: #fff;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
}

.shop-mobile-bar__search {
  flex: 1;
  position: relative;
  display: flex;
}

.shop-mobile-bar__input {
  width: 100%;
  padding: 9px 38px 9px 14px;
  background: var(--shop-bg-soft);
  border: 1px solid var(--shop-border);
  border-radius: 10px;
  font-size: 0.85rem;
  font-family: inherit;
}

.shop-mobile-bar__input:focus {
  outline: none;
  border-color: var(--shop-primary);
  background: #fff;
}

.shop-mobile-bar__submit {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--shop-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════
   Sidebar / Filters
   ═══════════════════════════════════════════════ */
.shop-sidebar {
  position: sticky;
  top: 16px;
}

.shop-filters {
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius-lg);
  padding: 16px;
  box-shadow: var(--shop-shadow-sm);
}

.shop-filters__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--shop-border);
}

.shop-filters__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--shop-primary);
  margin: 0;
}

.shop-filters__reset {
  font-size: 0.72rem;
  color: var(--shop-danger);
  text-decoration: none;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.shop-filters__reset:hover {
  background: rgba(231, 76, 60, 0.08);
}

/* details/summary به عنوان accordion */
.shop-filters__group {
  border-bottom: 1px dashed var(--shop-border);
  padding: 10px 0;
}

.shop-filters__group:last-of-type {
  border-bottom: none;
}

.shop-filters__group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 4px 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--shop-text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.shop-filters__group-title::-webkit-details-marker { display: none; }

.shop-filters__group-title svg {
  transition: transform 0.3s ease;
  color: var(--shop-text-mute);
}

.shop-filters__group[open] .shop-filters__group-title svg {
  transform: rotate(180deg);
}

.shop-filters__group:not([open]) .shop-filters__group-title svg {
  transform: rotate(-90deg);
}

.shop-filters__list {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shop-filters__list--scroll {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.shop-filters__list--scroll::-webkit-scrollbar { width: 4px; }
.shop-filters__list--scroll::-webkit-scrollbar-thumb {
  background: var(--shop-border);
  border-radius: 4px;
}

.shop-filters__item[data-depth="1"] { padding-right: 14px; }
.shop-filters__item[data-depth="2"] { padding-right: 28px; }
.shop-filters__item[data-depth="3"] { padding-right: 42px; }

.shop-filters__check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.shop-filters__check:hover { background: var(--shop-bg-soft); }

.shop-filters__checkbox { display: none; }

.shop-filters__box {
  width: 16px;
  height: 16px;
  border: 2px solid #ddd;
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}

.shop-filters__checkbox:checked + .shop-filters__box {
  background: var(--shop-primary);
  border-color: var(--shop-primary);
}

.shop-filters__checkbox:checked + .shop-filters__box::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.shop-filters__label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--shop-text-soft);
}

.shop-filters__checkbox:checked ~ .shop-filters__label .shop-filters__name {
  color: var(--shop-primary);
  font-weight: 700;
}

.shop-filters__count {
  font-size: 0.7rem;
  color: var(--shop-text-mute);
  background: var(--shop-bg-soft);
  padding: 1px 6px;
  border-radius: 6px;
}

.shop-filters__price {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
}

.shop-filters__input {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  background: var(--shop-bg-soft);
  border: 1px solid var(--shop-border);
  border-radius: 8px;
  font-size: 0.8rem;
  text-align: center;
  font-family: inherit;
}

.shop-filters__input:focus {
  outline: none;
  border-color: var(--shop-primary);
  background: #fff;
}

.shop-filters__price-sep {
  color: var(--shop-text-mute);
}

.shop-filters__switch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
}

.shop-filters__switch input { display: none; }

.shop-filters__switch-track {
  width: 34px;
  height: 20px;
  background: #ddd;
  border-radius: 100px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.shop-filters__switch-track::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  right: 3px;
  transition: transform 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.shop-filters__switch input:checked + .shop-filters__switch-track {
  background: var(--shop-primary);
}

.shop-filters__switch input:checked + .shop-filters__switch-track::after {
  transform: translateX(-14px);
}

.shop-filters__switch-label {
  font-size: 0.82rem;
  color: var(--shop-text-soft);
  font-weight: 500;
}

.shop-filters__switch input:checked ~ .shop-filters__switch-label {
  color: var(--shop-primary);
  font-weight: 700;
}

.shop-filters__actions {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--shop-border);
}

/* ═══════════════════════════════════════════════
   Offcanvas
   ═══════════════════════════════════════════════ */
.shop-filters-offcanvas {
  width: min(360px, 90vw) !important;
}

.shop-filters-offcanvas .offcanvas-header {
  background: linear-gradient(135deg, var(--shop-primary), var(--shop-primary-light));
  color: #fff;
  padding: 16px 20px;
}

.shop-filters-offcanvas .offcanvas-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
}

.shop-filters-offcanvas .btn-close {
  filter: invert(1) brightness(2);
}

.shop-filters-offcanvas .offcanvas-body { padding: 0; }

.shop-filters-offcanvas .shop-filters {
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 16px 20px;
}

.shop-filters-offcanvas .offcanvas-footer {
  padding: 12px 20px;
  background: var(--shop-bg-soft);
  border-top: 1px solid var(--shop-border);
  display: flex;
  gap: 8px;
}

/* ═══════════════════════════════════════════════
   Toolbar
   ═══════════════════════════════════════════════ */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.shop-toolbar__search {
  flex: 1;
  min-width: 220px;
  max-width: 400px;
}

.shop-toolbar__search-wrap {
  position: relative;
  display: flex;
}

.shop-toolbar__search-wrap > svg {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--shop-text-mute);
  pointer-events: none;
}

.shop-toolbar__input {
  width: 100%;
  padding: 9px 38px 9px 36px;
  background: var(--shop-bg-soft);
  border: 1px solid var(--shop-border);
  border-radius: 10px;
  font-size: 0.85rem;
  font-family: inherit;
}

.shop-toolbar__input:focus {
  outline: none;
  background: #fff;
  border-color: var(--shop-primary);
}

.shop-toolbar__clear {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--shop-border);
  border-radius: 50%;
  color: var(--shop-text-soft);
}

.shop-toolbar__clear:hover {
  background: var(--shop-danger);
  color: #fff;
}

.shop-toolbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.shop-toolbar__count {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--shop-text-soft);
}

.shop-toolbar__count strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--shop-primary);
}

.shop-toolbar__sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--shop-bg-soft);
  border: 1px solid var(--shop-border);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--shop-text);
  cursor: pointer;
  font-family: inherit;
}

.shop-toolbar__sort-btn:hover {
  background: #fff;
  border-color: var(--shop-primary);
  color: var(--shop-primary);
}

.shop-toolbar__sort-btn::after { display: none; }

.shop-toolbar .dropdown-menu {
  border: 1px solid var(--shop-border);
  border-radius: 12px;
  box-shadow: var(--shop-shadow-md);
  padding: 6px;
  min-width: 160px;
}

.shop-toolbar .dropdown-item {
  border-radius: 8px;
  font-size: 0.82rem;
  padding: 8px 12px;
}

.shop-toolbar .dropdown-item.active {
  background: var(--shop-primary);
  color: #fff;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════
   Chips
   ═══════════════════════════════════════════════ */
.shop-chips {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(106, 30, 85, 0.04), rgba(222, 184, 135, 0.08));
  border: 1px solid rgba(106, 30, 85, 0.1);
  border-radius: var(--shop-radius);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.shop-chips__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: #fff;
  border: 1px solid rgba(106, 30, 85, 0.15);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--shop-text);
}

.shop-chip__label { color: var(--shop-text-mute); font-weight: 500; }
.shop-chip__value { color: var(--shop-primary); }

.shop-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: rgba(106, 30, 85, 0.1);
  color: var(--shop-primary);
  border-radius: 50%;
}

.shop-chip__remove:hover {
  background: var(--shop-danger);
  color: #fff;
}

.shop-chips__reset {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--shop-danger);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 8px;
}

.shop-chips__reset:hover { background: rgba(231, 76, 60, 0.1); }

/* ═══════════════════════════════════════════════
   PRODUCT CARD — فقط grid
   ═══════════════════════════════════════════════ */
.pc {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  height: 100%;
  box-shadow: var(--shop-shadow-sm);
}

.pc:hover {
  border-color: rgba(106, 30, 85, 0.15);
  transform: translateY(-6px);
  box-shadow: var(--shop-shadow-lg);
}

.pc__img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--shop-bg-soft);
}

.pc__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s;
}

.pc__img--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
}

.pc:hover .pc__img--hover { opacity: 1; }
.pc:hover .pc__img:not(.pc__img--hover) { transform: scale(1.07); }

.pc__img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d0d0d0;
}

.pc__discount {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
  z-index: 2;
  direction: ltr;
}

.pc__out {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shop-text-soft);
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 2;
}

.pc__wishlist {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  color: var(--shop-text-mute);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pc__wishlist:hover {
  color: var(--shop-danger);
  transform: scale(1.12);
}

.pc__wishlist.is-active { color: var(--shop-danger); }

.pc__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.pc__title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  color: var(--shop-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pc__title a {
  color: inherit;
  text-decoration: none;
}

.pc__title a:hover { color: var(--shop-primary); }

.pc__meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--shop-text-mute);
}

.pc__dot { color: #ddd; }

.pc__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--shop-text-soft);
}

.pc__rating svg { color: #ffb321; }
.pc__rating-count { color: var(--shop-text-mute); }

.pc__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--shop-border);
}

.pc__price {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.pc__price-old {
  font-size: 0.68rem;
  color: #c0c0c0;
  text-decoration: line-through;
  direction: ltr;
  text-align: right;
}

.pc__price-new {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--shop-primary);
  direction: ltr;
}

.pc__price-unit {
  font-size: 0.65rem;
  color: var(--shop-text-mute);
}

.pc__cart-form { display: contents; }

.pc__cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--shop-primary), var(--shop-primary-light));
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(106, 30, 85, 0.25);
  font-family: inherit;
}

.pc__cart-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(106, 30, 85, 0.4);
}

.pc__cart-btn--out {
  background: #f5f5f5;
  color: var(--shop-text-mute);
  box-shadow: none;
  cursor: not-allowed;
}

.pc__cart-btn--out:hover {
  transform: none;
  box-shadow: none;
}

/* ═══════════════════════════════════════════════
   Pagination
   ═══════════════════════════════════════════════ */
.shop-pagination {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.shop-pagination__list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: 10px;
  color: var(--shop-text);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.shop-pagination__link:hover {
  background: var(--shop-primary);
  border-color: var(--shop-primary);
  color: #fff;
  transform: translateY(-2px);
}

.shop-pagination__link--active {
  background: linear-gradient(135deg, var(--shop-primary), var(--shop-primary-light));
  border-color: var(--shop-primary);
  color: #fff;
}

.shop-pagination__dots {
  color: var(--shop-text-mute);
  padding: 0 6px;
}

.shop-pagination__info {
  font-size: 0.8rem;
  color: var(--shop-text-mute);
}

/* ═══════════════════════════════════════════════
   Empty state
   ═══════════════════════════════════════════════ */
.shop-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border: 1px dashed var(--shop-border);
  border-radius: var(--shop-radius-lg);
}

.shop-empty__icon {
  color: var(--shop-border);
  margin-bottom: 16px;
}

.shop-empty__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--shop-text);
  margin-bottom: 8px;
}

.shop-empty__text {
  font-size: 0.85rem;
  color: var(--shop-text-mute);
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════
   Responsive موبایل
   ═══════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .shop-toolbar { padding: 10px 12px; }
  .shop-toolbar__right { width: 100%; justify-content: space-between; }

  .pc__body { padding: 10px 10px 12px; gap: 5px; }
  .pc__title { font-size: 0.78rem; -webkit-line-clamp: 2; }
  .pc__meta { font-size: 0.65rem; }
  .pc__rating { font-size: 0.68rem; }
  .pc__price-new { font-size: 0.85rem; }
  .pc__price-old { font-size: 0.62rem; }
  .pc__cart-btn { width: 34px; height: 34px; padding: 7px; }
  .pc__wishlist { width: 28px; height: 28px; }
  .pc__discount { font-size: 0.62rem; padding: 3px 7px; }

  .shop-pagination__link { min-width: 34px; height: 34px; font-size: 0.78rem; }
}