@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* Custom Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.05) transparent;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Slick Carousel Customization */
.slick-dots {
    display: flex !important;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    gap: 8px;
}
.slick-dots li { margin: 0; }
.slick-dots li button {
    font-size: 0; line-height: 0; display: block; width: 8px; height: 8px;
    padding: 0; cursor: pointer; color: transparent; border: 0; outline: none;
    background: rgba(255,255,255,0.3); border-radius: 50%; transition: all 0.3s ease;
}
.slick-dots li.slick-active button {
    background: var(--color-primary);
    transform: scale(1.3);
}

:root {
    --color-primary: #3B82F6; /* Vibrant but soft Gmod-style blue */
    --color-primary-hover: #2563EB;
    --color-bg: #080c10;
    --color-brighter-bg: rgba(22, 28, 36, 0.65); /* Translucent dark slate */
    --color-text: #e2e8f0;
    --color-text-secondary: #94a3b8;
    --color-primary-text: #ffffff;
    --tebex-legal-footer-background-color: transparent;
    --tebex-legal-footer-border-color: rgba(255, 255, 255, 0.05);
    --btn-size: 36px;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #080c10 0%, #161c24 100%);
    background-attachment: fixed;
    color: var(--color-text);
    position: relative;
    min-height: 100vh;
}

body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 800px;
    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;
    z-index: -1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

body::before {
    display: none;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
    border-radius: 50px;
    font-size: 13px;
    padding: 0 16px;
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus {
    box-shadow: 0 0 6px rgb(from var(--btn-color-bg-hover) r g b/0.6);
}

.quantity-field {
    border-radius: 5px;
}

.site-header-inner .info .image {
    border-radius: 5px;
}

.site-sale-banner {
    border-radius: 5px;
}

.site-home-categories .category {
    border-radius: 5px;
    padding: 20px var(--widget-padding);
    background: var(--color-brighter-bg);
    transition: color 0.15s ease-in-out;
}

.site-home-categories .category:hover {
    color: var(--color-primary);
}

.category-description {
    border-radius: 8px;
    background: var(--color-brighter-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.store-text {
    border-radius: 8px;
    background: var(--color-brighter-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
    text-align: center;
}

.store-products-list .store-product,
.store-products-images .store-product {
    border-radius: 8px;
    background: var(--color-brighter-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.store-products-images .store-product {
    text-align: center;
}

.widget-title {
    text-align: center;
}

.widget .store-product {
    text-align: center;
}

.no-products {
    color: var(--color-text-secondary);
    background: var(--color-brighter-bg);
    border-radius: 5px;
}

.store-product-full {
    border-radius: 5px;
    background: var(--color-brighter-bg);
}

.store-product .quantity-field {
    border-radius: 5px;
    background: var(--color-brighter-bg);
}

.store-product .quantity-field input[type=number] {
    border: none;
}

@media (width > 960px) {
    .navigation-horizontal>ul {
        border-radius: 5px;
    }
}

.navigation-horizontal .has-children>ul {
    border-radius: 5px;
}

.widget {
    border-radius: 8px; /* Modern slightly larger radius */
    background: var(--color-brighter-bg);
    backdrop-filter: blur(12px); /* Glassmorphism */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Subtle edge */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

@media (width <=960px) {
    .widget.site-navigation {
        border-radius: 0;
        background: var(--color-bg); /* Opaque for mobile menu */
        backdrop-filter: none;
        border: none;
    }
}

.widget-gift-card .gift-card-input {
    border-radius: 2px;
}

.widget-top-donator .avatar {
    border-radius: 50%;
}

.widget-community-goal .progress,
.widget-goal .progress {
    border-radius: 2px;
}

.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
    border-radius: 2px;
}

/* Modern Product Page Layout */
.store-product-modern {
    display: grid;
    grid-template-columns: 1.2fr 400px;
    gap: 50px;
    align-items: start;
    width: 100%;
}

@media (max-width: 1024px) {
    .store-product-modern {
        grid-template-columns: 1fr;
    }
}

.modern-product-media {
    width: 100%;
    min-width: 0; /* Prevents CSS Grid blowout when Swiper tries to expand */
}

.modern-product-sidebar {
    position: sticky;
    top: 100px; /* Offset for header */
}

/* Multi-media Slider Fixes */
.modern-product-media .media-slider {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    /* Box shadow removed here since it's applied in HTML wrapper */
}

.modern-product-media swiper-container {
    width: 100% !important;
    aspect-ratio: 16/9;
}

.modern-product-media .slide-image,
.modern-product-media .slide-frame,
.modern-product-media iframe {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border: none;
}

.modern-product-media .thumbs {
    display: flex !important;
    gap: 12px;
    margin-top: 15px;
    overflow-x: auto;
    padding: 5px 0 10px 0;
    list-style: none;
}

.modern-product-media .thumb {
    width: 120px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    border: 2px solid transparent;
}

.modern-product-media .thumb:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.2);
}

.modern-product-media .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modern-product-media .thumb-youtube {
    width: 100%;
    height: 100%;
    position: relative;
}

.modern-product-media .open-lightbox {
    display: none !important; /* Hide generic lightbox button */
}


/* Actions formatting */
.modern-actions-wrapper .product-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.modern-actions-wrapper .product-actions .price {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-primary-text);
    margin: 0 0 10px 0;
    line-height: 1;
}

.modern-actions-wrapper .product-actions .price strong {
    font-weight: 800;
}

.modern-actions-wrapper .product-actions .btn-primary,
.modern-actions-wrapper .product-actions .add {
    width: 100%;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    background: #ffffff;
    color: #000000;
    text-align: center;
    box-shadow: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modern-actions-wrapper .product-actions .btn-primary:hover,
.modern-actions-wrapper .product-actions .add:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}

.modern-actions-wrapper .product-actions .gift {
    width: 100%;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-primary-text);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

.modern-actions-wrapper .product-actions .gift:hover {
    background: rgba(255,255,255,0.08);
}

.modern-actions-wrapper .quantity-field {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.modern-description-desktop {
    margin-top: 40px;
    background: var(--color-brighter-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .modern-description-desktop {
        display: none;
    }
    .modern-description-mobile {
        display: block !important;
        margin-top: 40px;
        background: var(--color-brighter-bg);
        padding: 30px;
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.05);
    }
}

.popup-content {
    border-radius: 8px;
    background: var(--color-brighter-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.popup-close {
    border-radius: 0 8px 0 8px;
}

.basket-popup-content {
    border-radius: 8px;
    background: var(--color-brighter-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.basket-popup-content .popup-close {
    border-radius: 0 8px 0 8px;
}

.basket-items {
    padding: var(--widget-padding) calc(var(--content-padding) - var(--widget-padding));
}

.basket-item {
    border-radius: 5px;
}

.basket-item .quantity {
    border-radius: 2px;
}

.toast {
    border-radius: 6px;
}

.toast-close {
    border-radius: 2px;
}

.store-category-tiered {
    border-radius: 5px;
    background: var(--color-brighter-bg);
}

.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6 {
    text-align: center;
}

.store-product-tiered {
    border-radius: 5px;
    background: rgb(from var(--color-bg) r g b/0.5);
}

.media-slider .slider,
.media-slider .thumb {
    border-radius: 5px;
}

.media-slider .open-lightbox {
    border-radius: 2px;
}

.popup.popup-media-slider .thumb {
    border-radius: 5px;
}

.popup.popup-media-slider .popup-close {
    border-radius: 5px;
}

/* Header Logo + Social Group */
.header-logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row;
    order: 1;
}

.header-logo-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.header-social-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    height: 30px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.social-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.social-btn:hover {
    transform: translateY(-1px);
}

.social-btn--discord:hover {
    background: #5865F2;
    border-color: #5865F2;
    color: #fff;
}

.social-btn--youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: #fff;
}

/* Header Layout Overrides */
@media (width > 960px) {
    .site-header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: auto;
        padding: 20px 0;
    }
    
    .site-header-inner .site-title {
        position: static;
        inset: auto;
        margin: 0;
        width: auto;
        height: auto;
        line-height: normal;
        order: 1;
    }

    .header-logo-group .site-title {
        order: 0;
    }
    
    .site-header-inner .site-title img {
        max-height: 60px; /* Adjust as needed */
        margin: 0;
    }
    
    .site-header-inner .site-navigation {
        position: static;
        order: 2; /* Middle */
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .navigation-horizontal .menu {
        background: var(--color-brighter-bg);
        border-radius: 50px;
        padding: 4px;
        display: flex;
        align-items: center;
        gap: 2px;
        margin: 0;
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        height: var(--btn-size);
        box-sizing: border-box;
    }
    
    .navigation-horizontal .menu li {
        margin: 0;
    }
    
    .navigation-horizontal .menu li a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: calc(var(--btn-size) - 8px);
        padding: 0 16px;
        border-radius: 50px;
        color: var(--color-text);
        text-decoration: none;
        font-weight: 600;
        font-size: 13px;
        text-transform: lowercase;
        transition: background 0.2s, color 0.2s;
    }
    
    .navigation-horizontal .menu li a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .navigation-horizontal .menu li.active > a {
        background: var(--color-primary);
        color: #fff;
    }
    
    .site-header-inner .user-actions,
    .site-header-inner .log-in {
        position: static;
        top: auto;
        right: auto;
        order: 3; /* Right */
    }
    
    body.is-navigation-horizontal .site-header-inner {
        height: auto;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5); /* Match the new primary vibe but slightly transparent */
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Custom Homepage Features */
.custom-features {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.features-header {
    margin-bottom: 40px;
}
.features-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-primary-text);
}
.features-header p {
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.6;
    max-width: 900px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-card {
    background: transparent;
}
.feature-card .card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.feature-card .feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.2); /* Match primary */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 1px solid rgba(59, 130, 246, 0.4);
}
.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}
.feature-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* Custom FAQ */
.custom-faq {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
}
.custom-faq h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-primary-text);
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    background: var(--color-brighter-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}
.faq-item summary {
    padding: 20px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--color-text);
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item .faq-icon {
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
}
.faq-item .faq-icon::before {
    content: '+';
}
.faq-item[open] .faq-icon::before {
    content: '×';
}
.faq-item[open] summary {
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.faq-answer {
    padding: 20px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

/* Premium Modals (Login, Checkout, Products) */
.modal-content, .popup-content, .checkout-modal, .tebex-modal .content {
    background: var(--color-brighter-bg) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    color: var(--color-text) !important;
}
.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.modal-title {
    color: var(--color-primary-text) !important;
    font-weight: 700 !important;
}
/* Fix Modals sticking to the left */
.modal-dialog, .popup-dialog {
    margin: 10vh auto !important; /* Centered horizontally, pushed down 10% */
}

/* Homepage Layout Structure */
.homepage-layout {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    align-items: flex-start;
}
.homepage-main {
    flex: 1;
    min-width: 0; /* Prevents flex children from overflowing */
}
.homepage-sidebar {
    width: 300px;
    flex-shrink: 0;
}
@media (max-width: 960px) {
    .homepage-layout {
        flex-direction: column;
    }
    .homepage-sidebar {
        width: 100%;
    }
}

/* Adjust feature and faq padding when inside main layout */
.homepage-main .custom-features,
.homepage-main .custom-faq {
    padding: 0;
    margin-bottom: 60px;
}

/* Custom Latest Releases Cards */
.latest-releases-custom {
    margin-bottom: 60px;
}
.latest-releases-custom h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1;
    color: var(--color-primary-text);
}
.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 25px;
    width: 100%;
}


.release-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    text-decoration: none;
    border: none;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    cursor: pointer;
}
.release-card .image-link {
    display: block;
    width: 100%;
    aspect-ratio: 800 / 416;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.release-card .image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.release-card:hover .image-link img {
    transform: scale(1.05);
}
/* Overlay Styling */
.release-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    box-sizing: border-box;
    transition: background 0.3s;
}
.release-card:hover .release-overlay {
    background: rgba(0,0,0,0.4);
}
.release-overlay-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.view-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.1);
}
.view-indicator svg {
    width: 16px;
    height: 16px;
}
.release-card:hover .view-indicator {
    opacity: 1;
    transform: translateY(0);
}

.release-overlay .product-price {
    background: rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    white-space: nowrap;
    transition: transform 0.3s ease;
}
.release-card:hover .product-price {
    transform: scale(1.05);
}
.release-overlay .product-price del {
    font-size: 11px;
    opacity: 0.7;
    margin-right: 5px;
}
.countdown-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ef4444;
    color: white;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}
/* For Recent Payments list */
.store-sidebar .payment {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    text-align: left;
}
.store-sidebar .payment:last-child {
    margin-bottom: 0;
}
.store-sidebar .avatar {
    width: 40px;
    height: 40px;
    border-radius: 4px;
}
.store-sidebar .info {
    display: flex;
    flex-direction: column;
}
.store-sidebar .ign {
    font-weight: 700;
    color: var(--color-text);
    font-size: 14px;
}
.store-sidebar .packages {
    color: var(--color-text-secondary);
    font-size: 13px;
}

/* Category Page Redesign */
.category-page-wrapper {
    max-width: 1400px;
    width: 95%;
    margin: 40px auto;
    padding: 0 20px;
}
.category-hero {
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 20px 0 40px 0;
    text-align: left;
    margin-bottom: 0;
    box-shadow: none;
}
.category-hero h1, .category-hero h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0 0 15px 0;
    color: var(--color-primary-text);
}
.category-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}
.search-box {
    flex: 1;
    max-width: 400px;
    position: relative;
}
.search-box svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--color-text-secondary);
}
.search-box input {
    width: 100%;
    background: var(--color-brighter-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 15px 12px 45px;
    color: var(--color-text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.search-box input:focus {
    border-color: var(--color-primary);
}
.sort-box {
    position: relative;
}
.sort-box svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    pointer-events: none;
}
.sort-box select {
    background: var(--color-brighter-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 20px 12px 45px;
    color: var(--color-text);
    font-size: 14px;
    outline: none;
    cursor: pointer;
    appearance: none;
    min-width: 200px;
}



/* User actions lowercase */
.user-actions a,
.user-actions button {
    text-transform: lowercase;
}

/* Dynamic Page Loader Bar */
#page-loader-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary);
    z-index: 999999;
    width: 0%;
    opacity: 0;
    pointer-events: none;
}

/* Hide Top Customer as requested */
.widget-top-donator {
    display: none !important;
}