@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://pro.fontawesome.com/releases/v5.13.1/css/all.css');

:root {
    --bg-main: #000000;
    --bg-soft: #0a0a0b;
    --bg-card: #0f1012;
    --text-main: #ffffff;
    --text-soft: #617292;
    --border-color: rgba(255, 255, 255, 0.08);
    --accent-blue: #0062ff;
    --accent-green: #10b981;
    --primary: #0062ff;
    --success: #22da8d;
    --dark: #000000;
    --dark2: #050505;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

body.light-theme {
    --bg-main: #ffffff;
    --bg-soft: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-soft: #64748b;
    --border-color: rgba(0, 0, 0, 0.08);
    --dark: #ffffff;
    --dark2: #f1f5f9;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

body {
    background: var(--bg-main);
    color: var(--text-soft);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: background 0.3s ease, color 0.3s ease;
}

.text-dark {
    color: var(--dark);
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background: var(--primary) !important;
}

.bg-dark2 {
    background: var(--dark2) !important;
}

.nav-item {
    color: #617292;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.nav-item:hover,
.nav-link:hover {
    color: var(--primary) !important;
    text-shadow: 0px 0px 10px var(--primary);
    border-bottom: .5px solid var(--primary);
}

.button {
    display: inline-block;
    color: white;
    text-align: center;
    vertical-align: center;
    align-items: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    padding: .375rem .75rem;
    font-weight: 700;
    letter-spacing: .5px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .45rem;
    border: none;
    font-family: 'Montserrat', sans-serif;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.button-classic {
    border: 1px solid rgba(255, 255, 255, 0.041);
    background-color: transparent !important;
}

.button-classic:hover {
    box-shadow: unset;
    border: 1px solid rgba(255, 255, 255, 0.141);
}

.button-primary {
    box-shadow: 0px 0px 8px 0px var(--primary);
    background: var(--primary);
}

.button-primary:hover {
    box-shadow: 0px 0px 10px 0px var(--primary);
    background: #0056e0;
}


.button-success {
    box-shadow: 0px 0px 8px 0px var(--success);
    background: var(--success);
}

.button-success:hover {
    box-shadow: 0px 0px 10px 0px var(--success);
    background: #14c078;
}

.font-oswald {
    font-family: 'Montserrat', sans-serif;
}

.font-teko {
    font-family: 'Montserrat', sans-serif;
}

.text-spacing-05 {
    letter-spacing: .5px;
}

.text-spacing-1 {
    letter-spacing: 1px;
}

.title {
    color: white;
    border-radius: 2px;
    padding-left: 12px;
    padding-top: 3px;
    border-left: 4px solid var(--primary);
}

.product-card-img {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px;
}

.product-page-img {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px;
}

.product-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-soft);
}

.product-page-content {
    display: block;
}

.product-page-card {
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

hr {
    margin-top: 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.041);
}

.footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-main);
}

.form-control {
    padding: .85rem;
    color: var(--text-main);
    height: unset;
    border-radius: 7px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-main) !important;
}

.form-control:focus {
    box-shadow: unset;
    border: 1px solid #0062ff;
}

/* Consolidating and using theme variables */
:root {
    --bs-blue: #3b82f6;
    --bs-primary: #0062ff;
}

.fp-product-item {
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-soft);
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.fp-product-item .img {
    display: block;
    overflow: hidden;
    position: relative;
    padding-bottom: 100%;
}

.fp-product-item .img .img-aspect {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.fp-product-item .img img {
    transition: 0.2s;
    object-fit: cover;
}

.fp-product-item .img:hover img {
    transform: scale(1.05);
}

.fp-product-item .content {
    padding: 10px;
}

.fp-product-item .content .product-name {
    font-size: 14px;
    display: block;
    color: var(--text-main);
    font-weight: 500;
    transition: 0.2s;
    height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fp-product-item .content .product-name:hover {
    color: #0089FF;
}

.fp-product-item .price {
    margin-top: 5px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.fp-product-item .price .price-new {
    font-weight: 500;
}

.fp-product-item .price .price-old {
    font-weight: 400;
    text-decoration: line-through;
    color: #C9C9C9;
    font-size: 14px;
    margin-left: 8px;
    position: relative;
    bottom: 0.5px;
}

.fp-product-item .seller {
    margin-top: 10px;
    background-color: var(--bg-white-2);
    color: var(--text-color);
    padding: 4px 10px;
    border-radius: 6px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.fp-product-item .seller .img-seller {
    height: 28px;
    width: 28px;
    min-width: 28px;
    object-fit: cover;
    border-radius: 100%;
    margin-right: 8px;
}

.fp-product-item .seller .seller-content .key {
    color: #656565;
    font-size: 12px;
    margin-bottom: -2px;
}

.fp-product-item .seller .seller-content .value {
    font-size: 13px;
}

.fp-product-item .seller .icon {
    color: #B4B4B4;
    right: 8px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.button:hover {
    text-decoration: none;
    color: white;
}


.fp-categories-item {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: 0.2s;
}

.fp-categories-item:hover {
    transform: translateY(-5px);
}

.fp-categories-item::before {
    content: "";
    display: block;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
    z-index: 2;
    position: absolute;
    bottom: 0;
    left: 0;
}

.fp-categories-item .img {
    padding-bottom: 125%;
    position: relative;
    z-index: 1;
}

.fp-categories-item .img img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-categories-item .name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    color: #fff;
    padding: 10px;
    text-align: center;
}



/* --- Precice Site Header Reconstruction --- */

.site-header {
    background: var(--bg-soft);
    font-family: 'Inter', sans-serif;
    border-bottom: 1px solid var(--border-color);
}

.header-top {
    height: 36px;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.header-top-link {
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}

.header-top-link i {
    color: var(--accent-blue);
    font-size: 15px;
}

.header-top-link:hover {
    color: var(--accent-blue);
}

.header-top-link:hover i {
    filter: brightness(1.2);
}

.top-divider {
    width: 1.5px;
    height: 14px;
    background: var(--border-color);
    margin: 0 5px;
}

/* Header Middle */
.header-middle {
    padding: 20px 0;
    background: var(--bg-soft);
}

.logo-box img {
    height: 38px;
    width: auto;
    transition: filter 0.3s ease;
}

body.light-theme .logo-box img,
body.light-theme .sidebar-header img {
    filter: brightness(0) invert(0);
}

@media (max-width: 991px) {
    .logo-box img {
        height: 28px;
    }
}

/* Search Redesign */
.search-wrapper {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
}

.modern-search {
    position: relative;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 2px;
    transition: all 0.3s ease;
}

.modern-search:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.modern-search input {
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 12px 20px;
    font-size: 14px;
    width: 100%;
    outline: none !important;
}

.modern-search input::placeholder {
    color: #555;
}

.search-action-btn {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-action-btn:hover {
    background: #2563eb;
    transform: scale(1.05);
}

/* User Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-icon-btn {
    width: 42px;
    height: 42px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.action-icon-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary-blue);
}

@media (max-width: 991px) {
    .header-actions {
        gap: 8px;
    }

    .action-icon-btn {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
}

.badge-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid var(--bg-soft);
}

.auth-btns {
    display: flex !important;
    gap: 12px;
    flex-wrap: nowrap;
    align-items: center;
    flex-shrink: 0;
}

.btn-modern {
    height: 44px;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none;
}

@media (max-width: 991px) {
    .btn-modern {
        height: 38px;
        padding: 0 12px;
        font-size: 13px;
        border-radius: 10px;
    }

    .auth-btns {
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .btn-modern {
        padding: 0 8px;
        font-size: 11px;
        gap: 4px;
        height: 34px;
    }

    .header-actions {
        gap: 4px;
    }

    .logo-box img {
        height: 22px;
    }
}

.btn-login {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue) !important;
}

.btn-login:hover {
    background: var(--accent-blue);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

.btn-register {
    background: var(--accent-green);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.btn-register:hover {
    background: #0d9668;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
    transform: translateY(-2px);
}

/* Header Bottom / Nav */
.header-bottom {
    background: var(--bg-soft);
    border-top: 1px solid var(--border-color);
    padding: 0;
}

.nav-container {
    display: flex;
    align-items: center;
}

.all-cats-dropdown {
    background: #0089FF;
    color: #fff !important;
    height: 44px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 137, 255, 0.2);
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.all-cats-dropdown:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 137, 255, 0.3);
    filter: brightness(1.05);
}

.all-cats-dropdown i {
    font-size: 18px;
}

.main-nav-wrapper {
    flex: 1;
    overflow: hidden;
}

.main-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 20px;
    gap: 5px;
    width: 100%;
}

.nav-item-modern {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 12px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    gap: 8px;
    position: relative;
    white-space: nowrap;
}

.nav-item-modern:hover {
    color: var(--accent-blue);
}

.nav-icon-box {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(120, 120, 128, 0.1);
    transition: all 0.2s ease;
}

.light-theme .nav-icon-box {
    background: rgba(0, 0, 0, 0.04);
}

.nav-item-modern:hover .nav-icon-box {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.nav-item-modern .nav-icon-box img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.nav-item-modern .nav-icon-box i {
    font-size: 20px;
    color: var(--accent-blue);
}

.nav-arrow {
    font-size: 16px;
    opacity: 0.3;
    margin-left: -2px;
    transition: all 0.2s ease;
}

.nav-item-modern:hover .nav-arrow {
    opacity: 0.8;
    transform: translateY(1px);
}

.nav-badge {
    position: absolute;
    top: 8px;
    right: 0;
    background: var(--primary-blue);
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
}

.nav-badge.orange {
    background: #f59e0b;
}

.nav-badge.cyan {
    background: #06b6d4;
}

/* Sticky Header Effect */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .search-wrapper {
        display: none;
    }

    .header-bottom {
        display: none;
    }

    .header-middle {
        padding: 15px 0;
    }

    .no-scrollbar::-webkit-scrollbar {
        display: none;
    }

    .no-scrollbar {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

}

.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block;
}

@media (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }
}

.mobile-sidebar {
    display: none;
}

/* --- Mobile Optimization --- */
@media (max-width: 991px) {
    .header-top {
        display: none;
    }

    .header-middle {
        padding: 25px 0;
    }

    .header-middle .container {
        padding: 0 15px !important;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-header-row {
        width: 100%;
        display: flex !important;
        flex-direction: column;
        gap: 40px;
        /* Maximum vertical gap for complete separation */
        padding: 0 5px;
    }

    .mobile-header-row .square-btn {
        height: 36px;
        padding: 0 10px;
        font-size: 10px;
        border-radius: 8px;
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
        z-index: 9998;
        display: none;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }

    .mobile-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 360px;
        height: 100vh;
        background: rgba(10, 10, 11, 0.95);
        backdrop-filter: blur(20px);
        z-index: 9999;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: block !important;
        overflow-y: auto;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.9);
    }

    .mobile-sidebar.active {
        right: 0;
    }

    .sidebar-header {
        padding: 20px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.01);
    }

    .sidebar-close-btn {
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar-close-btn:hover {
        background: rgba(59, 130, 246, 0.15);
        border-color: #3b82f6;
        color: #3b82f6;
        transform: rotate(90deg);
    }

    .user-sidebar-box {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        border-radius: 16px !important;
        padding: 24px !important;
        margin-bottom: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .sidebar-auth-btns {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }

    .sidebar-btn-login {
        background: #1a1c22;
        color: #3b82f6;
        height: 52px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        text-decoration: none !important;
        font-size: 16px;
        transition: 0.2s;
    }

    .sidebar-btn-register {
        background: #10b981;
        color: #fff;
        height: 52px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        text-decoration: none !important;
        font-size: 16px;
        transition: 0.2s;
    }

    .sidebar-nav-link {
        margin-bottom: 10px;
        padding: 16px 20px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.03) !important;
        display: flex;
        align-items: center;
        gap: 15px;
        text-decoration: none !important;
        transition: all 0.2s ease;
    }

    .sidebar-nav-link span {
        font-weight: 600;
        font-size: 15px;
        color: #fff;
    }

    .sidebar-nav-link i {
        font-size: 20px;
        color: #3b82f6;
    }

}

body.body-lock {
    overflow: hidden !important;
}

@media (min-width: 992px) {
    .mobile-only {
        display: none !important;
    }
}

/* --- End Site Header Reconstruction --- */


.sidebar {
    width: 100%;
    min-height: 100vh;
    background: #1e232d;
}

.sidebar .nav-link {
    color: #adb5bd;
    border-radius: 6px;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    background: #0d6efd;
    color: #fff !important;
}

.content {
    padding: 25px;
}



/* popup modal */

.urunpopup.modal .modal-content {
    background-color: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.urunpopup .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #71767d;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.urunpopup .close-btn:hover {
    color: #ffffff;
    transform: rotate(90deg);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.urunpopup .header {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.urunpopup .logo-box {
    width: 50px;
    height: 50px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    overflow: hidden;
}

.urunpopup .logo-box img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.urunpopup .title-area h2 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.urunpopup .title-area p {
    color: #8a8f98;
    font-size: 13px;
}

.urunpopup .product-preview {
    margin: 0 24px 20px 24px;
    padding: 16px;
    background-color: #181b1f;
    border-radius: 14px;
    border: 1px solid #2a2d31;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.urunpopup .product-preview:hover {
    border-color: #ff4655;
    transform: translateY(-2px);
}

.urunpopup .product-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-main);
}

.urunpopup .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.urunpopup .product-img i {
    color: var(--accent-blue);
    font-size: 24px;
}

.urunpopup .product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.urunpopup .product-info .p-name {
    color: var(--text-main);
    font-weight: 700;
    font-size: 15px;
}

.urunpopup .product-info .p-price {
    color: var(--accent-blue);
    font-weight: 800;
    font-size: 18px;
}

.urunpopup .content {
    padding: 10px 24px 24px 24px;
    text-align: center;
}

.urunpopup .content p {
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.6;
}

.urunpopup .content a {
    color: #3b82f6;
    text-decoration: none;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    transition: 0.3s;
}

.urunpopup .footer-btns {
    padding: 0 24px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.urunpopup .btn-group {
    display: flex;
    gap: 12px;
    width: 100%;
}

.urunpopup .btn {
    flex: 1;
    padding: 15px;
    border-radius: 12px;
    font-size: 14px;


    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.urunpopup .btn:active {
    transform: scale(0.96);
}

.urunpopup .btn-card {
    background-color: rgba(0, 123, 255, 0.1);
    color: #58a6ff;
    border-color: rgba(0, 123, 255, 0.2);
}

.urunpopup .btn-card:hover {
    background-color: rgba(0, 123, 255, 0.2);
    border-color: #007bff;
    color: #fff;
}

.urunpopup .btn-balance {
    background-color: rgba(0, 255, 157, 0.08);
    color: #00ff9d;
    border-color: rgba(0, 255, 157, 0.15);
}

.urunpopup .btn-balance:hover {
    background-color: rgba(0, 255, 157, 0.15);
    border-color: #00ff9d;
    color: #fff;
}

.urunpopup .btn-cart {
    background-color: rgba(250, 204, 21, 0.08);
    color: #facc15;
    border-color: rgba(250, 204, 21, 0.2);
    width: 100%;
}

.urunpopup .btn-cart:hover {
    background-color: rgba(250, 204, 21, 0.15);
    border-color: #facc15;
    color: #fff;
}

.urunpopup .btn-cart.added {
    background-color: rgba(0, 255, 157, 0.2) !important;
    color: #00ff9d !important;
    border-color: #00ff9d !important;
    pointer-events: none;
}

.urunpopup .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.6s;
}

.urunpopup .btn:hover::after {
    left: 100%;
}

.urunpopup .error-screen {
    display: none;
    padding: 30px;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.urunpopup .error-icon {
    color: #ff4655;
    font-size: 40px;
    margin-bottom: 12px;
}

.urunpopup .error-title {
    color: #ff4655;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.urunpopup .info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #1f2329;
    color: #9ca3af;
    font-size: 13px;
}

.urunpopup .btn-back {
    background: rgba(255, 255, 255, 0.05);
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.urunpopup .btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

body.light-theme .urunpopup .title-area h2,
body.light-theme .urunpopup .product-info .p-name,
body.light-theme .urunpopup .content p,
body.light-theme .urunpopup .info-row,
body.light-theme .urunpopup .btn-back {
    color: black;
}

body.light-theme .urunpopup.modal .modal-content {
    background-color: #f8f8f8;
    border: 1px solid #f8f8f8;
}

body.light-theme .urunpopup .product-preview {
    background-color: #eaeaea;
    border: 1px solid #d5d5d5;
}

body.light-theme .urunpopup .btn-cart:hover {
    color: rgba(255, 187, 0, 1);
}

body.light-theme .urunpopup .btn-balance {
    color: #0e4f36;
}

body.light-theme .urunpopup .btn-cart {
    color: #9b7e0d;
}



body.light-theme .urunpopup .close-btn:hover {
    color: #000000;
    background-color: rgba(0, 0, 0, 0.05);
}





/* Slider Area */
.fp-slider-area {
    padding: 30px 0 20px 0;
    position: relative;
    overflow: hidden;
}

.fp-slider-area .grid {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 20% 60% 20%;
    max-width: calc(100% - 20px);
}

@media (max-width: 768px) {
    .fp-slider-area {
        padding: 20px 0;
    }
}

@media (max-width: 992px) {
    .fp-swiper-home {
        margin-bottom: 15px;
    }
}

.fp-swiper-home-item {
    padding-bottom: 42.5%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.fp-swiper-home-item::before {
    content: '';
    height: 100%;
    width: 60%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.61) 0%, rgba(107, 107, 107, 0) 100%);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    left: 0;
    z-index: 2;
}

.fp-swiper-home-item .img-cover {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.fp-swiper-home-item .content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 400px;
    left: 40px;
    color: #fff;
    z-index: 3;
}

@media (max-width: 576px) {
    .fp-swiper-home-item .content {
        left: 24px;
    }
}

@media (max-width: 576px) {
    .fp-swiper-home-item .content .title {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .fp-swiper-home-item .content p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .fp-swiper-home-item .content .btn {
        height: 38px;
        font-size: 13px;
        padding: 5px 16px;
    }
}

.autoplay-progress {
    position: absolute;
    right: 30px;
    top: 30px;
    z-index: 10;
    width: 50px;
    height: 50px;


    display: flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
}

.autoplay-progress span {
    display: none;
}

@keyframes image-rotate {
    0% {
        transform: rotate(0deg);
    }

    98% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.autoplay-progress img {
    height: 34px;
    width: 34px;
    object-fit: contain;
    display: inline-block;
    animation: image-rotate 5s linear infinite;
}

@media (max-width: 1200px) {
    .autoplay-progress {
        left: 10px;
        bottom: 10px;
    }
}

@media (max-width: 576px) {
    .autoplay-progress {
        left: inherit;
        right: 10px;
    }
}

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 2px;
    stroke: #fff;
    fill: none;
    stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}

@media (max-width: 992px) {
    .fp-home-slider-mini-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
    }
}

.fp-home-slider-mini {
    padding-bottom: calc(65.5% - 10px);
    position: relative;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 992px) {
    .fp-home-slider-mini {
        margin-bottom: 0;
        padding-bottom: 56.25%;
    }
}

.fp-home-slider-mini::before {
    content: '';
    height: 100%;
    width: 60%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(107, 107, 107, 0) 100%);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    left: 0;
    z-index: 2;
}

.fp-home-slider-mini .img-cover {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.fp-home-slider-mini .content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 190px;
    left: 30px;
    color: #fff;
    z-index: 3;
}

@media (max-width: 1200px) {
    .fp-home-slider-mini .content {
        left: 20px;
    }
}

@media (max-width: 576px) {
    .fp-home-slider-mini .content {
        left: 12px;
    }
}

.fp-home-slider-mini .content .title {
    font-size: 20px;
    font-weight: 500;
}

@media (max-width: 576px) {
    .fp-home-slider-mini .content .title {
        font-size: 14px;
        margin-bottom: 5px;
    }
}

.fp-home-slider-mini .content p {
    font-size: 14px;
}

.fp-home-slider-mini-grid a:last-child .fp-home-slider-mini {
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .fp-home-slider-mini .content p {
        font-size: 10px;
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
    .fp-home-slider-mini .content .btn {
        height: 24px;
        font-size: 10px;
        padding: 2px 10px;
    }
}

@media (max-width: 992px) {
    .fp-slider-area .grid {
        grid-template-columns: 100%;
        max-width: 100%;
    }

    .fp-home-slider-mini-grid {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-gap: 1em;
        max-width: calc(100% - 1em);
    }
}


.slider-background {
    position: absolute;
    top: 140px;
    left: 0;
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    z-index: 0;
    transition: background-image 0.5s ease-in-out;
}

@media screen and (max-width: 768px) {
    .slider-background {
        height: 200px;
        top: 280px;
    }
}

.menulink {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menulink img {
    height: 20px;
}


/* Force Swiper Horizontal Layout */
.fp-swiper-home {
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.fp-swiper-home .swiper-wrapper {
    display: flex;
    flex-direction: row;
    /* Ensure row direction */
    width: 100%;
    height: 100%;
    box-sizing: content-box;
}

.fp-swiper-home .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;

}


/* New Category Bar Style */
.category-block {
    margin-bottom: 50px;
}

.category-bar-new {
    background: var(--bg-card);
    padding: 18px 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.category-bar-new .cat-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.category-img-box {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
}

.category-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-title-new {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

.category-desc-new {
    font-size: 13px;
    color: var(--text-soft);
    margin-top: 2px;
}

.category-btn-new {
    background: var(--accent-green);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.category-btn-new:hover {
    background: #0d9668;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35);
}

.category-btn-new i {
    font-size: 20px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.category-btn-new:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .category-block {
        margin-bottom: 30px;
    }

    .category-bar-new {
        padding: 12px 18px;
        border-radius: 12px;
    }

    .category-title-new {
        font-size: 14px;
    }

    .category-desc-new {
        display: none;
    }

    .category-bar-new .cat-info {
        gap: 12px;
    }

    .category-img-box {
        width: 38px;
        height: 38px;
        border-radius: 8px;
    }

    .category-btn-new {
        padding: 10px 16px;
        font-size: 11px;
        border-radius: 8px;
    }

    .category-btn-new i {
        font-size: 16px;
        margin-left: 6px;
    }

}

/* Giveaway Styles */
.giveaway-card {
    background: #111111;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.giveaway-card:hover {
    transform: translateY(-5px);
}

.giveaway-header {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.announcer-img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

.announcer-info .badge-streamer {
    display: inline-flex;
    align-items: center;
    background: #0062ff;
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.announcer-info .streamer-name {
    display: block;
    color: white;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
}

.announcer-info .giveaway-title {
    display: block;
    color: #22da8d;
    font-size: 12px;
    font-weight: 600;
}

.giveaway-timer {
    background: #1a1a1a;
    padding: 8px 15px;
    text-align: center;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 500;
}

.giveaway-rewards-grid {
    padding: 20px;
    background: #0a0a0a;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.reward-card {
    position: relative;
    width: calc(33.33% - 7px);
    aspect-ratio: 1/1;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.reward-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reward-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #22da8d;
    color: #000;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
}

.reward-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 9px;
    padding: 4px;
    text-align: center;
    font-weight: 600;
}

.giveaway-footer-info {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item {
    text-align: center;
}

.info-val {
    display: block;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.info-label {
    display: block;
    color: #617292;
    font-size: 11px;
}

.giveaway-actions {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
}

/* Premium Product Card Updates - Compact & Elegant */
.fp-product-item {
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.fp-product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-blue);
}

.fp-product-item .img {
    position: relative;
    overflow: hidden;
}

.fp-product-item .img img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fp-product-item:hover .img img {
    transform: scale(1.1);
}

.fp-product-item .content {
    padding: 16px !important;
    background: var(--bg-card);
}

.fp-product-item .product-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 38px !important;
    overflow: hidden;
    color: var(--text-main) !important;
    line-height: 1.3 !important;
    transition: color 0.3s ease;
}

.fp-product-item:hover .product-name {
    color: var(--accent-blue) !important;
}

.price-box-new {
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    transition: all 0.3s ease;
}

.price-box-new .current-price {
    color: var(--text-main);
    font-size: 16px;
    font-weight: 800;
}

.price-box-new .old-price {
    color: var(--text-soft);
    font-size: 12px;
    text-decoration: line-through;
    opacity: 0.7;
    font-weight: 400;
}

.btn-buy-premium {
    background: linear-gradient(135deg, #1ed785 0%, #17b870 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 9px !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(30, 215, 133, 0.3) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-buy-premium:hover {
    transform: scale(1.02) translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(30, 215, 133, 0.5) !important;
    filter: brightness(1.1);
}

.btn-buy-premium i {
    font-size: 16px;
    margin-right: 6px;
}

/* Card image adjustments */
.fp-product-item {
    background: #0f1012;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.fp-product-item:hover {
    transform: translateY(-5px);
}

.badge-frame {
    width: 100%;
    padding: 10px 5px;
    text-align: center;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

/* Sharp Shining Text (No Blur) */
.badge-frame span {
    display: inline-block;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(110deg, #ffffff 40%, #cccccc 50%, #ffffff 60%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 1.5s infinite linear;
    filter: none;
    letter-spacing: 0.5px;
}

@keyframes textShine {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}