:root {
    --brand-orange: #F97316;
    --brand-orange-rgb: 249, 115, 22;
    --brand-dark: #111827;
    --deep-night: #0D1117;
    --text-gray: #9CA3AF;
    --text-main: #E5E7EB;

    --bg-main: var(--deep-night);
    --bg-header: rgba(13, 17, 23, 0.95);
    --bg-card: #161B22;
    --border-color: rgba(255, 255, 255, 0.1);
    --nav-hover: rgba(var(--brand-orange-rgb), 0.1);
    --transition-speed: 0.3s;
    --mesh-color: rgba(var(--brand-orange-rgb), 0.3);
    --bg-glass: rgba(13, 17, 23, 0.15);
}

[data-theme="light"] {
    --bg-main: #F9FAFB;
    --bg-header: rgba(255, 255, 255, 0.95);
    --bg-card: #FFFFFF;
    --text-main: #111827;
    --text-gray: #6B7280;
    --border-color: rgba(0, 0, 0, 0.1);
    --nav-hover: rgba(var(--brand-orange-rgb), 0.05);
    --mesh-color: rgba(var(--brand-orange-rgb), 0.18);
    --bg-glass: rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

::selection {
    background-color: var(--brand-orange);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-orange);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    filter: brightness(1.2);
}

html,
body {
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    background-color: var(--bg-main);
    color: var(--text-main);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

/* Custom Global Checkboxes */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

input[type="checkbox"]::before {
    content: "";
    width: 10px;
    height: 10px;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    transform: scale(0);
    transform-origin: center;
    transition: 120ms transform ease-in-out;
    background-color: white;
}

input[type="checkbox"]:checked {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
}

.mascot-skin {
    fill: #ed9da0 !important;
}

input[type="checkbox"]:checked::before {
    transform: scale(1.1);
}

input[type="checkbox"]:hover {
    border-color: var(--brand-orange);
}

input[type="checkbox"]:focus {
    box-shadow: 0 0 0 3px rgba(var(--brand-orange-rgb), 0.2);
}

/* Global Robust Switch Styles */
.switch {
    position: relative;
    display: inline-block !important;
    width: 44px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.05);
    transition: .4s;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-sizing: border-box !important;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 3px;
    background-color: var(--text-gray);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: rgba(var(--brand-orange-rgb), 0.2);
    border-color: var(--brand-orange);
}

input:checked + .slider:before {
    transform: translateX(20px);
    background-color: var(--brand-orange);
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    height: 72px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.logo-section {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: var(--brand-orange);
}

.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    padding: 8px 12px;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--brand-orange);
    background: var(--nav-hover);
}

.nav-link.active {
    color: var(--brand-orange);
    background: var(--nav-hover);
    font-weight: 600;
}

/* Text Accent Underline Effect */
.text-accent {
    position: relative;
    display: inline-block;
    color: var(--brand-orange);
    z-index: 1;
}

.text-accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, var(--brand-orange) 0%, rgba(var(--brand-orange-rgb), 0.4) 80%, transparent 100%);
    z-index: -1;
    border-radius: 4px;
    opacity: 0.4;
    transform: skewX(-15deg);
    transform-origin: left;
    transition: all 0.3s ease;
    animation: accent-grow 1.4s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes accent-grow {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 100%;
        opacity: 0.4;
    }
}

.text-accent:hover::after {
    opacity: 0.7;
    height: 15px;
    transform: skewX(-15deg) translateY(-2px);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 720px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}

.mega-item:hover {
    background: var(--nav-hover);
}

.mega-item img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.mega-content {
    display: flex;
    flex-direction: column;
}

.mega-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.mega-desc {
    font-size: 11px;
    color: var(--text-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

/* Mega Menu All Button */
.mega-all-btn {
    grid-column: span 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 5px 12px;
    margin-top: 8px;
    background: rgba(var(--brand-orange-rgb), 0.08);
    border: 1px solid rgba(var(--brand-orange-rgb), 0.15);
    color: var(--brand-orange);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mega-all-btn:hover {
    background: var(--brand-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--brand-orange-rgb), 0.2);
}

.mega-all-btn i {
    width: 14px;
    height: 14px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.theme-toggle:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}

.btn-login {
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
}

.btn-advanced {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 10px;
    z-index: 10;
}

.btn-advanced .btn-text {
    position: relative;
    z-index: 5;
}

.glass-overlay {
    position: absolute;
    top: 0;
    left: -110%;
    width: 120%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    transition: left 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
}

.glass-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: 0s;
}

.btn-advanced:hover .glass-overlay {
    left: 0%;
}

.btn-advanced:hover .glass-overlay::after {
    left: 100%;
    transition: left 0.8s ease-in-out;
    transition-delay: 0.1s;
}

.btn-register {
    background: var(--brand-orange);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    box-shadow: 0 4px 14px 0 rgba(var(--brand-orange-rgb), 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(var(--brand-orange-rgb), 0.4);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.mobile-toggle:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-actions {
        display: none;
    }
}

.mobile-nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--bg-main);
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 999;
}

.mobile-nav.open {
    height: calc(100vh - 72px);
    padding: 24px;
    border-top: 1px solid var(--border-color);
    overflow-y: auto;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-sub-menu.active {
    max-height: 500px;
    margin-top: 8px;
}

.mobile-nav .nav-link {
    font-size: 16px;
    padding: 10px;
    justify-content: space-between;
}

.mobile-nav .nav-link span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-section {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 60px 0 100px 0;
    background: radial-gradient(circle at top right, rgba(var(--brand-orange-rgb), 0.08) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

/* Hero Mesh Efekti */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--mesh-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--mesh-color) 1px, transparent 1px),
        linear-gradient(45deg, var(--mesh-color) 0.5px, transparent 0.5px);
    background-size: 60px 60px, 60px 60px, 84.85px 84.85px;
    /* Diagonal size is size * sqrt(2) */
    mask-image: radial-gradient(circle at center, black, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 90%);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-text {
    text-align: left;
    padding-left: 5vw;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-login-form {
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    isolation: isolate;
}

.hero-login-form::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: var(--brand-orange);
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.35;
    pointer-events: none;
    z-index: -1;
}

.hl-inputs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.hl-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0 16px;
    transition: all 0.3s ease;
}

.hl-input-wrapper:focus-within {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(var(--brand-orange-rgb), 0.15);
}

.hl-icon {
    width: 18px;
    height: 18px;
    color: var(--text-gray);
    transition: color 0.3s;
    flex-shrink: 0;
}

.hl-input-wrapper:focus-within .hl-icon {
    color: var(--brand-orange);
}

.hl-input-divider {
    width: 1px;
    height: 20px;
    background-color: var(--border-color);
    margin: 0 16px 0 12px;
}

.hl-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 14px 0;
    font-size: 14px;
    outline: none;
    width: 100%;
}

.hl-eye-btn {
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
    margin-left: 8px;
    transition: color 0.3s;
}

.hl-eye-btn:hover {
    color: var(--brand-orange);
}

.hl-eye-btn i {
    width: 18px;
    height: 18px;
}

.hl-btn {
    background: var(--brand-orange);
    color: white;
    border: none;
    width: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--brand-orange-rgb), 0.4);
    filter: brightness(1.1);
}

.hl-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hl-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

/* Inherits global custom checkbox styles */

.hl-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hl-underline-effect {
    position: relative;
    display: inline-block;
    transition: color 0.3s;
}

.hl-underline-effect::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--brand-orange);
    transition: width 0.3s ease;
}

.hl-underline-effect:hover::after {
    width: 100%;
}

.hl-forgot {
    color: var(--text-gray);
    font-size: 14px;
    text-decoration: none;
}

.hl-forgot:hover {
    color: var(--text-main);
}

.hl-divider {
    width: 4px;
    height: 4px;
    background: var(--border-color);
    border-radius: 50%;
}

.hl-register {
    color: var(--brand-orange);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.hl-register:hover {
    filter: brightness(1.2);
}

@media (max-width: 600px) {
    .hl-inputs {
        flex-direction: column;
    }

    .hl-btn {
        width: 100%;
        padding: 14px;
    }
}


.hero-mascot {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes container-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding-bottom: 120px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        text-align: center;
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-login-form {
        width: calc(100% - 32px);
        max-width: 500px;
        margin: 0 16px;
    }

    .hl-options {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hl-links {
        justify-content: center;
        width: 100%;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-mascot {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Categories Section */
.categories-section {
    padding: 100px 24px;
    background: var(--bg-main);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--mesh-color) 0.8px, transparent 0.8px),
        linear-gradient(to bottom, var(--mesh-color) 0.8px, transparent 0.8px),
        linear-gradient(45deg, var(--mesh-color) 0.5px, transparent 0.5px);
    background-size: 24px 24px, 24px 24px, 33.94px 33.94px;
    mask-image: radial-gradient(circle at top right, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at top right, black, transparent 80%);
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--brand-orange);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-indicator, #111827);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    /* Circle like stock */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 5px;
    /* Spacing for the image inside */
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.category-card:hover .category-icon {
    border-color: var(--brand-orange);
    background: rgba(var(--brand-orange-rgb), 0.1);
    transform: rotate(-10deg);
}

.category-info {
    flex-grow: 1;
}

.category-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.category-text {
    font-size: 14px;
    color: var(--text-gray);
}

.category-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(var(--brand-orange-rgb), 0.1);
    color: var(--brand-orange);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(var(--brand-orange-rgb), 0.2);
}

.category-card:hover .category-badge {
    background: var(--brand-orange);
    color: white;
}

@media (max-width: 1100px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Section Typography (Global) */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main);
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        padding: 24px;
    }
}

/* How It Works Section */
.how-it-works-section {
    padding: 100px 24px 60px 24px;
    /* Alt boşluk azaltıldı */
    background: radial-gradient(circle at bottom left, rgba(var(--brand-orange-rgb), 0.05) 0%, transparent 40%);
}

.how-it-works-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.how-text-side {
    flex: 1.2;
}

.how-mascot-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: mascot-float 6s ease-in-out infinite;
}

@keyframes mascot-float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--mesh-color) 0.8px, transparent 0.8px),
        linear-gradient(to bottom, var(--mesh-color) 0.8px, transparent 0.8px),
        linear-gradient(45deg, var(--mesh-color) 0.5px, transparent 0.5px);
    background-size: 20px 20px, 20px 20px, 28.28px 28.28px;
    mask-image: radial-gradient(circle at top right, black, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at top right, black, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--brand-orange);
    transform: translateX(10px);
}

.step-item:hover::before {
    opacity: 0.9;
}

.step-icon-small {
    width: 50px;
    height: 50px;
    background: var(--brand-orange);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(var(--brand-orange-rgb), 0.2);
}

.step-item-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.step-item-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

@media (max-width: 991px) {
    .how-it-works-container {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .how-text-side .section-header {
        text-align: center !important;
    }

    .step-item {
        text-align: left;
    }

    .how-mascot-side {
        max-width: 400px;
        order: -1;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 24px;
    background: var(--bg-main);
    overflow: hidden;
}

.testimonials-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.reviews-side {
    flex: 1.2;
    min-width: 0;
    /* Slider'ın flex içinde taşmasını önler */
}

.testi-mascot-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: mascot-float 6s ease-in-out infinite;
}

.reviews-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin-top: 20px;
}

.testimonialsSwiper {
    padding: 20px 10px 60px 10px !important;
    margin: -20px 0 -60px 0 !important;
    overflow: hidden !important;
}

.swiper-pagination-bullet-active {
    background: var(--brand-orange) !important;
}

.swiper-pagination-bullet {
    background: var(--text-gray);
    opacity: 0.5;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
    /* Kartları eşitle */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.review-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--mesh-color) 0.8px, transparent 0.8px),
        linear-gradient(to bottom, var(--mesh-color) 0.8px, transparent 0.8px),
        linear-gradient(45deg, var(--mesh-color) 0.5px, transparent 0.5px);
    background-size: 20px 20px, 20px 20px, 28.28px 28.28px;
    mask-image: radial-gradient(circle at top right, black, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at top right, black, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

.review-card:hover {
    border-color: var(--brand-orange);
    transform: scale(1.05);
    /* Daha belirgin büyüme */
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.review-card:hover::before {
    opacity: 1;
}


.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stars-pofuduk {
    color: #FBBF24;
    display: flex;
    gap: 4px;
}

.stars-pofuduk svg {
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.4));
}

.review-date {
    font-size: 12px;
    color: var(--text-gray);
}

.review-text {
    font-size: 15px;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
    min-height: 80px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Maksimum 3 satır */
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--brand-orange);
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(var(--brand-orange-rgb), 0.2);
}

.reviewer-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.reviewer-tag {
    font-size: 13px;
    color: var(--brand-orange);
}

/* Features Section (Why Us) */
.features-section {
    padding: 100px 24px 180px 24px;
    /* Footer wave'i için ekstra boşluk eklendi */
    background: var(--bg-main);
    position: relative;
}

.features-columns-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.features-text-side {
    flex: 1.2;
}

.features-mascot-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Dikeyde de ortalar */
    animation: mascot-float 6s ease-in-out infinite;
}

.features-2x2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px 30px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-orange);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

/* Örümcek ağı / Tech Mesh efekti */
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--mesh-color) 0.8px, transparent 0.8px),
        linear-gradient(to bottom, var(--mesh-color) 0.8px, transparent 0.8px),
        linear-gradient(45deg, var(--mesh-color) 0.5px, transparent 0.5px);
    background-size: 24px 24px, 24px 24px, 33.94px 33.94px;
    mask-image: radial-gradient(circle at top right, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at top right, black, transparent 80%);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(var(--brand-orange-rgb), 0.1);
    color: var(--brand-orange);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon-wrapper i {
    width: 28px;
    height: 28px;
}

.feature-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.card-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(var(--brand-orange-rgb), 0.08), transparent 60%);
    pointer-events: none;
}

@media (max-width: 991px) {
    .feature-card {
        align-items: center;
        text-align: center;
    }

    .feature-card::before,
    .review-card::before,
    .category-card::before,
    .step-item::before {
        mask-image: radial-gradient(circle at top right, black, transparent 150%);
        -webkit-mask-image: radial-gradient(circle at top right, black, transparent 150%);
        opacity: 0.6;
    }
}

@media (max-width: 600px) {
    .features-2x2-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {

    .testimonials-container,
    .features-columns-container {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .reviews-side .section-header,
    .features-text-side .section-header {
        text-align: center !important;
    }

    .testi-mascot-side,
    .features-mascot-side {
        order: -1;
        max-width: 400px;
    }
}

.main-footer {
    position: relative;
    background: var(--bg-card);
    margin-top: 160px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.footer-wave {
    position: absolute;
    top: -160px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.waves {
    position: relative;
    width: 100%;
    height: 160px;
    min-height: 100px;
    max-height: 200px;
}

.parallax>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-brand .logo-section {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--brand-orange);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: var(--brand-orange);
    padding-left: 5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    gap: 12px;
    color: var(--text-gray);
    font-size: 14px;
    align-items: center;
}

.contact-item i {
    width: 18px;
    height: 18px;
    color: var(--brand-orange);
    flex-shrink: 0;
}

.social-links {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    transition: all var(--transition-speed);
}

.social-btn:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.bottom-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-gray);
    font-size: 13px;
}

.payment-methods {
    display: flex;
    gap: 12px;
    align-items: center;
}

.payment-badge {
    height: 24px;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.3s;
}

.payment-badge:hover {
    filter: grayscale(0);
    opacity: 1;
}

@media (max-width: 991px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .bottom-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Category Page Styles */
.category-page {
    background: var(--bg-main);
    min-height: 100vh;
    padding-bottom: 100px;
}

.page-header {
    position: relative;
    background: radial-gradient(circle at top left, rgba(var(--brand-orange-rgb), 0.05) 0%, transparent 40%);
    padding: 20px 0 15px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--mesh-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--mesh-color) 1px, transparent 1px),
        linear-gradient(45deg, var(--mesh-color) 0.5px, transparent 0.5px);
    background-size: 60px 60px, 60px 60px, 84.85px 84.85px;
    mask-image: radial-gradient(circle at center, black, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 90%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.breadcrumbs a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--brand-orange);
}

.breadcrumbs .slash {
    opacity: 0.5;
}

.breadcrumbs .current {
    color: var(--text-main);
    font-weight: 600;
}

.page-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.page-subtitle {
    color: var(--text-gray);
    font-size: 16px;
}

.marketplace-container {
    display: grid;
    grid-template-columns: 305px 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* Sidebar */
.filters-sidebar {
    position: sticky;
    top: 112px;
}

.filters-scroll-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.filter-group {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 16px;
}

.filter-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

.filter-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.filter-link img {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.filter-link:hover,
.filter-link.active {
    background: var(--nav-hover);
    color: var(--brand-orange);
}

.price-inputs {
    display: flex;
    gap: 8px;
}

.price-inputs input {
    width: 100%;
}

/* Products Grid */
.products-grid {
    min-width: 0;
}

.grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.grid-header .count {
    font-size: 14px;
    color: var(--text-gray);
}

.grid-header .count strong {
    color: var(--text-main);
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 15px;
}

@media (max-width: 991px) {
    .items-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .marketplace-container.container {
        padding: 0 12px !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        max-width: 100vw !important;
        width: 100% !important;
        height: auto !important;
    }

    .products-grid {
        min-width: 0;
        overflow: visible !important;
        width: 100% !important;
        box-sizing: border-box !important;
        height: auto !important;
    }

    .product-card-link {
        min-width: 0;
        width: 100%;
        display: block;
    }

    .product-item {
        padding: 8px !important;
        min-width: 0;
        box-sizing: border-box;
        overflow: visible !important;
    }

    /* Do NOT use overflow:hidden here — it clips the bottom indicators */
    .product-img-wrapper {
        width: calc(100% + 16px) !important;
        margin: -8px -8px 25px -8px !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    /* Clip only the image itself using border-radius, not the wrapper */
    .product-main-img {
        border-radius: 12px 12px 0 0;
    }

    .vendor-indicator {
        max-width: calc(100% - 56px) !important;
        overflow: hidden;
    }

    .vendor-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 55px;
    }
}

.product-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    height: 100%;
}

.product-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 12px;
    position: relative;
    overflow: visible;
    /* To allow protruding badge */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    user-select: none;
    -webkit-user-select: none;
    margin-top: 15px;
    /* Spacing for the badge */
}

/* Standardized borders for all items */


.premium-comet {
    position: absolute;
    inset: -2px;
    padding: 2.2px;
    /* Static High-End Neon Glow: Only on Bottom-Right */
    background: conic-gradient(from 120deg,
            var(--brand-orange) 0%,
            transparent 20%,
            transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    border-radius: 17px;
    z-index: 105;
    pointer-events: none;
    filter: blur(0.4px);
    /* Professional neon blur */
}

.product-item:hover {
    transform: translateY(-8px);
    border-color: var(--brand-orange);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Removed specific item hover color overrides */

/* Badge Containers */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 50;
}

.p-badge {
    padding: 4px 10px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
    width: fit-content;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.badge-custom-tab {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) skewX(-15deg);
    height: 30px;
    padding: 0 22px;
    background: var(--tab-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    z-index: 100;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 25px var(--tab-shadow);
}

.badge-custom-tab span {
    transform: skewX(15deg);
    font-size: 11px;
    font-weight: 900;
    color: white;
    text-shadow:
        1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
        1.5px 1.5px 0 #000, -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000;
    margin-left: 6px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Cleaner static badges for all items */

.badge-custom-tab svg,
.badge-custom-tab i {
    width: 16px !important;
    height: 16px !important;
    color: white;
    transform: skewX(15deg);
    filter: drop-shadow(1px 0 0 #000) drop-shadow(-1px 0 0 #000) drop-shadow(0 1px 0 #000) drop-shadow(0 -1px 0 #000) drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
}

@media (max-width: 768px) {
    .badge-custom-tab {
        height: 26px;
        padding: 0 14px;
        top: -13px !important;
        transform: translateX(-50%) skewX(-15deg) !important;
        border-radius: 6px !important;
    }
    .badge-custom-tab span {
        font-size: 10px;
        margin-left: 6px;
        letter-spacing: 0.5px;
    }
    .badge-custom-tab svg,
    .badge-custom-tab i {
        width: 14px !important;
        height: 14px !important;
    }
}

@media (max-width: 480px) {
    .badge-custom-tab {
        height: 24px !important;
        padding: 0 12px !important;
        top: -12px !important;
        max-width: 95%;
    }
    .badge-custom-tab span {
        font-size: 9px !important;
        margin-left: 5px !important;
        letter-spacing: 0.3px !important;
    }
    .badge-custom-tab svg,
    .badge-custom-tab i {
        width: 12px !important;
        height: 12px !important;
    }
}

/* Cleanup old specific badges */
.badge-premium-red,
.badge-bestseller-yellow,
.badge-discount-green,
.badge-out-black {
    display: none;
}


.badge-sponsored,
.badge-bestseller,
.badge-discount {
    display: none;
}

/* Removed old versions */


/* Image Wrapper */
.product-img-wrapper {
    width: calc(100% + 24px);
    margin: -12px -12px 25px -12px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2; /* Ensures bottom indicators appear above product-info below */
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px 16px 0 0;
    border-bottom: 1px solid var(--border-color);
    overflow: visible; /* Must be visible so indicators protrude below */
}

@media (max-width: 991px) {
    .product-img-wrapper {
        width: calc(100% + 16px) !important;
        margin: -10px -8px 25px -8px !important; /* Pull up to top (-10px padding) and sides (-8px padding) */
        height: 105px !important;
        position: relative;
        overflow: visible !important;
        border-radius: 15px 15px 0 0 !important;
        z-index: 2;
    }
}

/* Clip only the image, not the wrapper — so indicators still show */
.product-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 15px rgba(var(--brand-orange-rgb), 0.2));
    border-radius: 16px 16px 0 0;
    clip-path: inset(0 0 0 0 round 16px 16px 0 0);
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.category-indicator,
.stock-indicator {
    position: absolute;
    width: 32px;
    /* Uniform Size */
    height: 32px;
    background: var(--bg-indicator, #111827);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 20;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-indicator:hover {
    transform: scale(1.15);
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.category-indicator {
    bottom: -16px;
    right: 12px;
    overflow: hidden;
    background: var(--bg-indicator, #111827);
    border: 1px solid var(--border-color);
}

.stock-indicator {
    bottom: 24px;
    /* Stacked above category-indicator */
    right: 12px;
    left: auto;
    color: var(--text-gray);
}

.stock-indicator svg {
    width: 14px;
    height: 14px;
}

.stock-indicator span {
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    margin-top: 1px;
}

.vendor-indicator {
    position: absolute;
    bottom: -16px;
    left: 12px;
    /* Fixed to left as requested */
    height: 32px;
    background: var(--bg-indicator, #111827);
    border: 1px solid var(--border-color);
    border-radius: 17px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 25;
}

.vendor-pfp {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--brand-orange);
    object-fit: cover;
}

.vendor-name {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: 0.2px;
    text-transform: none !important;
    /* Force lowercase/natural casing */
    font-variant: normal !important;
}

/* Removed rotating border animations for cleaner look */

.category-indicator img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    /* Contain for safety */
    border-radius: 50%;
    padding: 5px;
    /* Requested 5px padding */
    position: relative;
    z-index: 5;
}

.stock-indicator svg {
    width: 11px !important;
    height: 11px !important;
    color: #22c55e;
    margin-bottom: 2px;
}

.stock-indicator span {
    font-size: 10px;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
}

/* Info */
.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.title-stock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
}

.product-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
    line-height: 1.35;
    position: relative;
    padding-bottom: 2px;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 15px;
    height: 2px;
    background: var(--brand-orange);
    border-radius: 1px;
    opacity: 0.8;
}

.stock-status {
    font-size: 9px;
    font-weight: 800;
    color: var(--text-gray);
    white-space: nowrap;
}

.stock-status span {
    color: #22c55e;
}

.product-desc {
    font-size: 11px;
    color: var(--text-gray);
    line-height: 1.3;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.8;
    min-height: 30px; /* Her zaman 2 satırlık yer kaplar */
}


/* Footer Minimal */
.product-footer-minimal {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
}

.price-section {
    display: flex;
    flex-direction: column;
}

.old-price {
    font-size: 11px;
    color: var(--text-gray);
    text-decoration: line-through;
    opacity: 0.6;
    margin-bottom: 0px;
}

.current-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}

.current-price.discount {
    color: var(--brand-orange);
}

.buy-icon-btn {
    width: 32px;
    height: 32px;
    background: rgba(var(--brand-orange-rgb), 0.08);
    color: var(--brand-orange);
    border: 1px solid rgba(var(--brand-orange-rgb), 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.buy-icon-btn:hover {
    background: var(--brand-orange);
    color: white;
    transform: scale(1.1);
}

.buy-icon-btn svg {
    width: 16px;
    height: 16px;
}

.card-corner-pattern {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, transparent 80%, rgba(var(--brand-orange-rgb), 0.1) 100%);
    border-radius: 0 0 16px 0;
    pointer-events: none;
}

/* Favorite Button */
.fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    /* Positioned to the left of category box (right: 12px) with some gap */
    width: 32px;
    height: 32px;
    background: var(--bg-indicator, #111827);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 60;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.fav-btn:hover {
    transform: scale(1.15);
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.fav-btn svg {
    width: 16px !important;
    height: 16px !important;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5px;
    transition: all 0.3s;
}

.fav-btn.active {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.fav-btn.active svg {
    fill: white;
    stroke: white;
    animation: heartBeat 0.4s ease-out;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}


.card-corner-pattern {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(var(--brand-orange) 0.8px, transparent 0.8px);
    background-size: 8px 8px;
    mask-image: radial-gradient(circle at 100% 100%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 100% 100%, black 0%, transparent 70%);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

[data-theme="light"] .card-corner-pattern {
    opacity: 0.35;
    background-image: radial-gradient(var(--brand-orange) 1px, transparent 1px);
    mask-image: radial-gradient(circle at 100% 100%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 100% 100%, black 0%, transparent 70%);
}

[data-theme="light"] {
    --bg-indicator: #ffffff;
}

[data-theme="light"] .fav-btn:not(.active) {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .fav-btn:not(.active):hover {
    background: #f9fafb;
}

[data-theme="light"] .vendor-indicator,
[data-theme="light"] .stock-indicator,
[data-theme="light"] .category-indicator {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Mobile Filter Button */
.mobile-filter-trigger {
    display: none;
}

@media (max-width: 991px) {
    .marketplace-container {
        grid-template-columns: 1fr;
    }

    .mobile-filter-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        left: -23px;
        /* Moved another 5px left */
        top: 50%;
        transform: translateY(-50%) skewX(-15deg);
        width: 58px;
        height: 85px;
        background: var(--brand-orange);
        border: none;
        border-radius: 0 15px 15px 0;
        z-index: 3900;
        cursor: pointer;
        padding-left: 23px;
        /* Adjust internal padding to center icon */
        box-shadow: 10px 0 25px rgba(0, 0, 0, 0.3);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
    }

    .filters-sidebar.open+.mobile-filter-trigger {
        left: 295px;
        /* Moved another 5px left */
    }

    .trigger-glass {
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        clip-path: polygon(0 0, 100% 0, 50% 100%, 0 100%);
    }

    .mobile-filter-trigger svg {
        position: relative;
        z-index: 10;
        color: white;
        width: 26px;
        height: 26px;
        margin-left: 5px;
    }

    .filters-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: -310px !important;
        width: 310px !important;
        height: 100vh !important;
        background: var(--bg-card) !important;
        /* Theme adaptive background */
        z-index: 4000 !important;
        padding: 0 !important;
        border-right: 1px solid var(--border-color);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: visible !important;
        box-shadow: none !important;
        /* Removed huge shadow to keep button bright */
        border-right: 1px solid var(--brand-orange);
        /* Subtle glow instead */
    }

    .filters-sidebar.open {
        left: 0 !important;
    }

    .filters-scroll-area {
        width: 100%;
        height: 100%;
        overflow-y: auto;
        padding: 40px 20px 120px 20px; /* Added 120px bottom padding to clear the 100px mobile nav height */
        display: flex;
        flex-direction: column;
        gap: 25px;
        /* Added spacing between groups */
    }

    .mobile-sidebar-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        color: var(--text-gray);
        cursor: pointer;
    }

    .page-title {
        font-size: 28px;
    }
    
    .items-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 5px;
        overflow: visible !important;
        height: auto !important;
    }

    .product-item {
        padding: 10px 8px !important;
        margin-top: 15px !important;
        height: 265px !important;
        min-height: 265px !important;
        overflow: visible !important;
    }
    
    .product-title {
        font-size: 13px !important;
    }
    
    .product-desc {
        font-size: 11px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Category Header Responsive */
@media (max-width: 991px) {
    .page-header .container>div {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 20px !important;
    }

    .header-svg-side {
        margin-top: 0;
        display: flex;
        justify-content: center;
    }

    .header-svg-side svg {
        max-width: 250px !important;
        height: auto !important;
    }
    
    .custom-select-wrapper {
        width: 100% !important;
        max-width: 300px;
        margin: 0 auto;
    }
}

.header-bottom-aligned {
    padding-bottom: 0 !important;
}

@media (max-width: 768px) {
    .page-header {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

.header-bottom-aligned .header-svg-side svg {
    display: block;
    margin-bottom: -2px;
}

/* Marketplace Search & Pagination */
.search-box {
    display: flex;
    gap: 8px;
}

.search-box .hl-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px !important;
    padding: 0 16px;
    height: 48px;
    color: var(--text-main);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.search-box .hl-input:hover {
    border-color: rgba(var(--brand-orange-rgb), 0.4);
}

.search-box .hl-input:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 4px rgba(var(--brand-orange-rgb), 0.1),
        0 8px 25px rgba(var(--brand-orange-rgb), 0.2);
    background: rgba(var(--brand-orange-rgb), 0.02);
    outline: none;
}

.search-btn {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    box-shadow: 0 0 15px rgba(var(--brand-orange-rgb), 0.2);
}

.search-btn svg {
    width: 18px;
    height: 18px;
}

.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.page-btn:hover,
.page-btn.active {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: white;
    box-shadow: 0 5px 15px rgba(var(--brand-orange-rgb), 0.3);
}

.page-btn:not(.active):hover {
    transform: translateY(-2px);
}

.page-btn.next {
    background: var(--bg-card);
    color: var(--text-main);
}

.page-btn.next:hover {
    background: var(--brand-orange);
    color: white;
    box-shadow: 0 5px 15px rgba(var(--brand-orange-rgb), 0.3);
}

.page-dots {
    color: var(--text-gray);
    letter-spacing: 2px;
    font-weight: 800;
}

@media (max-width: 768px) {
    .pagination {
        gap: 6px;
        flex-wrap: wrap;
        padding: 0 10px;
        margin-top: 30px;
    }
    .page-btn {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }
}

/* Custom Select Dropdown */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 180px;
}

.custom-select {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select:hover {
    border-color: var(--brand-orange);
}

.custom-select.active {
    border-color: var(--brand-orange);
    border-radius: 12px 12px 0 0;
}

.custom-select .selected-val {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.custom-select svg {
    width: 16px;
    height: 16px;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}

.custom-select.active svg {
    transform: rotate(180deg);
}

.select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--brand-orange);
    border-top: none;
    border-radius: 0 0 12px 12px;
    z-index: 100;
    display: none;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.custom-select.active .select-dropdown {
    display: block;
}

.select-option {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-gray);
    transition: all 0.2s ease;
}

.select-option:hover {
    background: rgba(var(--brand-orange-rgb), 0.1);
    color: var(--brand-orange);
}

.select-option.active {
    background: var(--brand-orange);
    color: white;
}

/* Professional Price Filter */
.price-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-field {
    position: relative;
    flex: 1;
}

.price-field span {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-gray);
    pointer-events: none;
    font-weight: 800;
    opacity: 0.7;
}

.price-field input {
    width: 100% !important;
    padding-left: 42px !important;
    height: 48px !important;
    background: var(--bg-main) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    color: var(--text-main) !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.price-field input:focus {
    border-color: var(--brand-orange) !important;
    box-shadow: 0 0 0 4px rgba(var(--brand-orange-rgb), 0.1) !important;
    background: rgba(var(--brand-orange-rgb), 0.02) !important;
    outline: none !important;
}

.price-separator {
    color: var(--text-gray);
    font-weight: 800;
    font-size: 18px;
}

.filter-apply-btn {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.filter-apply-btn:hover {
    border-color: var(--brand-orange);
}

/* Alphabet Navigation Sidebar */
.categories-nav-wrapper {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.alphabet-sidebar {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 16px;
    border-right: 1px solid var(--border-color);
    max-height: 580px;
    /* Increased by another 50px */
    overflow-y: auto;
    scrollbar-width: none;
}

.alphabet-sidebar::-webkit-scrollbar {
    display: none;
}

.letter-link {
    font-size: 11px;
    font-weight: 900;
    color: #7f8c8d;
    text-decoration: none;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
}

.letter-link:hover {
    background: linear-gradient(145deg, #ecf0f1, #bdc3c7);
    /* Silver Gradient */
    color: #2c3e50;
    border-color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 5px rgba(255, 255, 255, 0.2);
}

.letter-link.active {
    background: var(--brand-orange);
    color: white;
    border-color: var(--brand-orange);
}

.filter-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Explicitly align contents to start */
    gap: 2px;
    /* Reverted per user request */
    max-height: 580px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
    padding-right: 5px;
    padding-left: 0;
}

.filter-links::-webkit-scrollbar {
    width: 4px;
}

.filter-links::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.filter-link {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 10px;
    padding: 8px 0 !important;
    /* Zeroed left padding */
    border-radius: 6px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    width: 100%;
}

.filter-link:hover,
.filter-link.active {
    background: transparent;
    /* Remove background if it affects alignment perception */
    color: var(--brand-orange);
}

.filter-link img {
    width: 18px;
    height: 18px;
    opacity: 0.8;
    flex-shrink: 0;
}

/* Premium Notification Enhancements */
.notif-thumb-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    z-index: 10;
}

.notif-thumb-wrapper.small {
    width: 40px;
    height: 40px;
}

.notif-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-main);
}

.notif-icon-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 2;
}

.notif-icon-badge.mini {
    width: 18px;
    height: 18px;
    bottom: -2px;
    right: -2px;
    border-width: 1.5px;
}

.notif-icon-badge i {
    width: 12px;
    height: 12px;
    stroke-width: 2.5px;
}

.notif-icon-badge.mini i {
    width: 10px;
    height: 10px;
}

/* Common notification Colors */
.notif-icon-badge.green { background: #10b981; color: white; }
.notif-icon-badge.blue { background: #3b82f6; color: white; }
.notif-icon-badge.orange { background: var(--brand-orange); color: white; }
.notif-icon-badge.red { background: #ef4444; color: white; }

/* Read/Unread Transitions */
.notif-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notif-card.unread {
    border-left: 3px solid var(--brand-orange);
}
