/* 🏛️ Dövüş Arena | Premium Store Custom Styles */

@font-face {
    font-family: 'UFC';
    src: url('../fonts/ufc2.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-main: #090909;
    --bg-surface: #111214;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --text-primary: #F5F7FA;
    --text-secondary: #9AA0AA;
    --accent-red: #E50914;
}

body {
    background-color: var(--bg-main) !important;
    color: var(--text-primary) !important;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    overflow-x: hidden;
}

.store-title {
    font-family: 'UFC', sans-serif !important;
    font-weight: normal !important;
    letter-spacing: -1px !important;
    line-height: 0.95 !important;
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.2'/%3E%3C/svg%3E"),
        linear-gradient(to bottom, #FFFFFF 20%, #B0B3B8 100%);
    background-size: auto, 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.012'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* Subtle Vignette */
.vignette {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, transparent 40%, rgba(9,9,9,0.85) 100%);
    pointer-events: none;
    z-index: 99;
}

/* Base Overrides for glow removal */
.neon-glow-red {
    box-shadow: none !important;
    border-color: var(--border-subtle) !important;
}

.hover-neon-red:hover {
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Background Smoke Canvas */
#smokeCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.06; /* Extremely subtle */
}

/* Hide standard horizontal scrolls */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Custom Image Sweep Shine Animation */
.shine-sweep {
    position: relative;
    overflow: hidden;
}
.shine-sweep::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    transition: none;
    pointer-events: none;
}
.shine-sweep:hover::after {
    left: 150%;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hero Section */
.hero-section {
    position: relative;
    background-image: url('../images/magaza-asset/hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 380px !important;
    display: flex;
    align-items: flex-end;
    padding-bottom: 3.5rem !important;
}

.top-smoke-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 9, 9, 1) 0%, rgba(9, 9, 9, 0.4) 50%, rgba(9, 9, 9, 0.8) 100%);
    pointer-events: none;
    z-index: 5;
}

/* Sidebar Categories */
.category-card {
    background-color: transparent !important;
    border: 1px solid transparent !important;
    color: var(--text-secondary) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.category-card:hover {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    color: var(--text-primary) !important;
    transform: translateX(4px) !important;
}

.category-card.active {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--text-primary) !important;
    border-left: 2px solid var(--accent-red) !important;
    font-weight: 800 !important;
    transform: translateX(4px) !important;
}

.category-card.active i {
    color: var(--accent-red) !important;
}

/* Champion Series Card (Koleksiyon Kartı) */
.champion-series {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.9)), url('../images/magaza-asset/champion-series-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid var(--border-subtle);
    border-radius: 5px;
    padding: 1.5rem;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

/* Nike Showcase Product Cards */
.product-card {
    background-color: var(--bg-surface) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto !important;
    min-height: 420px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: none !important;
}

.product-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4) !important;
}

.product-card-img-wrap {
    aspect-ratio: 1 / 1;
    width: 100%;
    background: radial-gradient(circle at center, #26272b 0%, #0f1012 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.product-card-img-wrap img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-card:hover .product-card-img-wrap img {
    transform: scale(1.04) !important;
}

.product-card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: none !important;
    opacity: 0 !important;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.product-card:hover .product-card-overlay {
    opacity: 1 !important;
}

.product-card-overlay span {
    background-color: #F5F7FA !important;
    color: #090909 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 18px !important;
    border-radius: 5px !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform: translateY(10px) !important;
}

.product-card:hover .product-card-overlay span {
    transform: translateY(0) !important;
}

.add-to-cart-btn {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background-color: transparent !important;
    color: var(--text-primary) !important;
    width: 34px;
    height: 34px;
    border-radius: 100% !important;
    transition: all 0.3s ease !important;
}

.add-to-cart-btn:hover {
    background-color: var(--text-primary) !important;
    color: var(--bg-main) !important;
    border-color: var(--text-primary) !important;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(9, 9, 9, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    border-top: 1px solid var(--border-subtle) !important;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7) !important;
    height: 72px !important;
}

/* Global 5px Border Radius */
.category-card,
.champion-series,
.product-card,
.product-card-overlay,
.product-card img,
.product-card span,
.mobile-bottom-nav,
.price-range-pill,
.grid-toggle-btn,
select,
input,
button,
a,
div[class*="rounded"],
span[class*="rounded"] {
    border-radius: 5px !important;
}

/* Mobile Categories Slider */
.kategoriler {
    background-color: var(--bg-main) !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    position: sticky;
    top: 80px;
    z-index: 40;
}

.kategoriler .mobile-cat-tab {
    background-color: transparent !important;
    color: var(--text-secondary) !important;
    border-bottom: 2px solid transparent !important;
    transition: all 0.3s ease !important;
}

.kategoriler .mobile-cat-tab.active {
    border-color: var(--accent-red) !important;
    color: var(--text-primary) !important;
    font-weight: 800 !important;
}

/* List View Layout Overrides */
.list-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
}
.list-view .product-card {
    flex-direction: row !important;
    height: 180px !important;
    min-height: 180px !important;
    padding: 1rem !important;
    gap: 1.5rem !important;
}
.list-view .product-card-img-wrap {
    width: 140px !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    flex: none !important;
}
.list-view .product-card img {
    max-height: 90% !important;
    max-width: 90% !important;
    object-fit: contain !important;
}
.list-view .product-card-overlay {
    display: none !important;
}
.list-view .product-card > div:last-child {
    flex: 1 !important;
    justify-content: center !important;
    padding: 0.5rem 0 !important;
    background: transparent !important;
    margin-top: 0 !important;
}

/* Unified Price Range Pill */
.price-range-pill {
    background-color: var(--bg-surface) !important;
    border: 1px solid var(--border-subtle) !important;
    height: 36px;
    padding: 0 10px;
    gap: 6px;
    transition: all 0.3s ease;
}
@media (max-width: 640px) {
    .price-range-pill {
        padding: 0 6px;
        gap: 4px;
        height: 32px;
    }
}
.price-range-pill:focus-within {
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
}
.price-range-pill .currency-symbol {
    color: var(--accent-red);
    font-weight: 900;
    font-size: 11px;
}
.price-range-pill .divider {
    color: rgba(255, 255, 255, 0.1);
    font-size: 12px;
    user-select: none;
}
.price-range-pill input {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    width: 50px !important;
    height: 100% !important;
    text-align: center !important;
    color: var(--text-primary) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    padding: 0 !important;
}
@media (max-width: 640px) {
    .price-range-pill input {
        width: 38px !important;
    }
}
.price-range-pill input::placeholder {
    color: rgba(255, 255, 255, 0.25) !important;
}
.price-range-pill input::-webkit-outer-spin-button,
.price-range-pill input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}
.price-range-pill input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Grid Layout View Toggle Buttons */
.grid-toggle-btn {
    background-color: var(--bg-surface) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-secondary) !important;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}
@media (max-width: 640px) {
    .grid-toggle-btn {
        width: 32px;
        height: 32px;
    }
}
.grid-toggle-btn:hover {
    color: var(--text-primary) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}
.grid-toggle-btn.active {
    color: var(--text-primary) !important;
    border-color: var(--text-primary) !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
}

/* Premium CTA Buttons */
.btn-premium-primary {
    background-color: var(--text-primary) !important;
    color: var(--bg-main) !important;
    font-weight: 900 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    border: 1px solid var(--text-primary) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: none !important;
}
.btn-premium-primary:hover {
    background-color: transparent !important;
    color: var(--text-primary) !important;
    border-color: var(--text-primary) !important;
}

.btn-premium-secondary {
    background-color: transparent !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-subtle) !important;
    font-weight: 800 !important;
    transition: all 0.3s ease !important;
}
.btn-premium-secondary:hover {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Custom Accent color helpers */
.text-accentred {
    color: var(--accent-red) !important;
}
.bg-accentred {
    background-color: var(--accent-red) !important;
}

/* Slide-over Cart Drawer customization */
#cartDrawer > div:last-child {
    background-color: var(--bg-main) !important;
    border-left: 1px solid var(--border-subtle) !important;
    color: var(--text-primary) !important;
}
#cartDrawer .border-bordercolor,
#cartDrawer .border-b,
#cartDrawer .border-t {
    border-color: var(--border-subtle) !important;
}
#cartDrawer .bg-black\/40 {
    background-color: rgba(17, 18, 20, 0.4) !important;
}

/* Mobile Upward Cart Dropdown customization */
#mobileCartDropdown {
    background-color: var(--bg-main) !important;
    border-top: 1px solid var(--border-subtle) !important;
}
#mobileCartDropdown .border-b,
#mobileCartDropdown .border-t {
    border-color: var(--border-subtle) !important;
}
#mobileCartDropdown .bg-black\/40 {
    background-color: rgba(17, 18, 20, 0.4) !important;
}

/* Checkout Modal Custom styling */
#checkoutModal > div:last-child {
    background-color: var(--bg-main) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 5px !important;
}
#checkoutModal .border-b,
#checkoutModal .border-t,
#checkoutModal .border-bordercolor {
    border-color: var(--border-subtle) !important;
}

/* Form Inputs, Select, Textareas inside Checkout Modal */
#checkoutModal input,
#checkoutModal select,
#checkoutModal textarea {
    background-color: #0b0b0c !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-primary) !important;
    font-size: 11px !important;
    border-radius: 5px !important;
    transition: border-color 0.3s ease, background-color 0.3s ease !important;
}
#checkoutModal input:focus,
#checkoutModal select:focus,
#checkoutModal textarea:focus {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.01) !important;
}
