:root {
    /* Color Palette */
    --primary-blue: #0085FF;
    --primary-orange: #FF9900;
    
    /* Light Theme Theme */
    --bg-color: #f6f8fa;
    --header-bg: rgba(255, 255, 255, 0.8);
    --text-color: #1a1d21;
    --text-muted: #64748b;
    --border-color: rgba(0, 0, 0, 0.05);
    --card-bg: #ffffff;
    --input-bg: #f1f5f9;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --hero-overlay: transparent;
    /* RGB for opacity */
    --primary-blue-rgb: 0, 133, 255;
    --primary-orange-rgb: 255, 153, 0;
    /* Card Gradients */
    --pubg-grad: linear-gradient(135deg, #1e1e1e 0%, #3e3e3e 100%);
    --valorant-grad: linear-gradient(135deg, #1e1e1e 0%, #bd3944 100%);
    --lol-grad: linear-gradient(135deg, #1e1e1e 0%, #005a82 100%);
    --mlbb-grad: linear-gradient(135deg, #1e1e1e 0%, #ff9a00 100%);
}

[data-theme="dark"] {
    /* Dark Theme */
    --bg-color: #08090a;
    --header-bg: rgba(18, 18, 18, 0.8);
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.05);
    --input-bg: #1e1e1e;
    --card-bg: #121212;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --hero-overlay: transparent;
    /* RGB for opacity */
    --primary-blue-rgb: 0, 133, 255;
    --primary-orange-rgb: 255, 153, 0;

    --pubg-grad: linear-gradient(135deg, #121212 0%, #2a2a2a 100%);
    --valorant-grad: linear-gradient(135deg, #121212 0%, #6e1c24 100%);
    --lol-grad: linear-gradient(135deg, #121212 0%, #00364e 100%);
    --mlbb-grad: linear-gradient(135deg, #121212 0%, #633c00 100%);
}

.hidden {
    display: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-announcement {
    background: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1001;
}

.logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
    display: block;
}

.container {
    max-width: 1600px; /* Ultra-wide for modern monitors */
    margin: 0 auto;
    padding: 0 60px;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Modernization */
.main-header {
    width: 100%;
    background-color: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Visibility Rules */
.mobile-header, 
.mobile-sidebar, 
.mobile-sidebar-overlay { 
    display: none !important; 
}

.desktop-header { 
    display: block !important; 
}

/* Header Top Section */
.header-top {
    padding: 16px 0;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    cursor: pointer;
    user-select: none;
}

.logo-text-orange { color: var(--primary-orange); }
.logo-text-blue { color: var(--primary-blue); }

.search-container {
    flex: 1;
    max-width: 460px;
    display: flex;
    align-items: center;
    background-color: var(--input-bg);
    border-radius: 12px;
    padding: 4px 12px;
    height: 44px;
    margin: 0 32px;
    transition: all 0.2s ease;
}

.search-container:focus-within {
    box-shadow: 0 0 0 2px var(--primary-blue);
    background-color: var(--card-bg);
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-color);
    padding: 0 12px;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
}

.search-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background-color: var(--input-bg);
    transform: translateY(-1px);
}

.btn-login {
    background-color: var(--primary-blue);
    color: white;
    padding: 0 20px;
    height: 40px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 4px;
}

.btn-login:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 133, 255, 0.3);
}

/* Header Navigation Section */
.header-nav {
    padding-bottom: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    width: fit-content;
}

.btn-categories {
    background-color: transparent;
    border: none;
    color: var(--text-color);
    font-size: 14.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 10px;
    transition: background-color 0.2s ease;
    margin-right: 8px;
    text-transform: uppercase;
    position: relative;
}

.btn-categories::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    height: 15px;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.btn-categories svg {
    width: 20px;
    height: 20px;
}

.btn-categories:hover {
    background-color: var(--input-bg);
}

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    position: relative;
    padding: 6px 4px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap;
}

.nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    height: 14px;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.nav-item-icon {
    height: 20px !important;
    width: auto !important;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-item:hover {
    color: var(--text-color) !important;
}

.nav-item-icon {
    height: 20px !important;
    width: auto !important;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.nav-item:hover .nav-item-icon {
    transform: translateY(-2px);
}

/* Hero Section Styling */
.hero-section {
    margin-top: 30px;
    margin-bottom: 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 16px;
    height: 480px;
}

.hero-main {
    height: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.main-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.main-slide.active {
    opacity: 1;
    pointer-events: all;
    z-index: 10;
}

.hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 100%;
}

.hero-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.hero-card:hover {
    transform: scale(1.005);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.hero-main .card-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
    max-width: 400px;
    line-height: 1.1;
}

.hero-main .card-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 380px;
}

.btn-hero {
    background-color: var(--primary-blue);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    width: fit-content;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* Side Card Styles */
.side-card .card-overlay {
    padding: 24px;
}

.side-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.side-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.btn-side-hero {
    background-color: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
    transition: all 0.2s ease;
}

.btn-side-hero:hover {
    background-color: white;
    color: black;
}

/* Slider Progress Animation */
.slider-progress-wrapper {
    position: absolute;
    bottom: 40px;
    left: 40px;
}

.progress-circle {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-chart {
    display: block;
    margin: 10px auto;
    max-width: 100%;
    max-height: 100%;
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 2.5;
}

.circle-progress {
    fill: none;
    stroke: white;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dasharray 0.05s linear;
}

.progress-text {
    position: absolute;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

/* Featured Categories Styling */
.featured-section {
    margin-bottom: 50px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.featured-card {
    position: relative;
    height: 85px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.featured-card:hover .char-img {
    transform: scale(1.1) translateX(-5px);
}

.logo-area {
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    z-index: 2;
}

.card-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.info-area {
    z-index: 2;
    flex: 1;
}

.info-area h4 {
    font-size: 13px;
    font-weight: 800;
    color: white;
    margin-bottom: 2px;
}

.info-area p {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.2px;
}

.char-area {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 1;
}

.char-img {
    height: 140%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
}

/* Card Specifics */
.pubg-card { background: var(--pubg-grad); }
.valorant-card { background: var(--valorant-grad); }
.lol-card { background: var(--lol-grad); }
.mlbb-card { background: var(--mlbb-grad); }

/* Mobile optimization */
@media (max-width: 1100px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Section Styling */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.btn-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.btn-text:hover {
    opacity: 1;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.blog-card {
    position: relative;
    height: 240px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: scale(1.02);
}

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    z-index: 2;
}

.blog-date span:first-child {
    font-size: 16px;
    font-weight: 800;
}

.blog-date span:last-child {
    font-size: 10px;
    font-weight: 600;
    opacity: 0.7;
    margin-top: 2px;
}

.blog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.blog-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.read-more {
    font-size: 11px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

/* Trust Benefits Styling */
.trust-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-item {
    display: flex;
    gap: 15px;
}

.trust-icon {
    font-size: 26px;
    color: var(--primary-blue);
    width: 60px;
    min-width: 60px;
    height: 60px;
    background: rgba(var(--primary-blue-rgb), 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.trust-item:hover .trust-icon {
    transform: rotateY(180deg);
    background: var(--primary-blue);
    color: white;
}

.trust-info h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.trust-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer Styling */
.main-footer {
    background: var(--card-bg);
    padding: 80px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(to right, var(--primary-blue), #5ac2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
}

.footer-socials a:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.footer-chevron {
    display: none !important; /* Force hide on desktop */
    font-size: 14px;
    transition: transform 0.3s ease;
}

.footer-col-content {
    opacity: 1;
    max-height: none;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 18px;
    color: var(--primary-blue);
    margin-top: 3px;
}

.contact-item strong {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Final Responsiveness */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .footer-col h4 { margin-top: 20px; }
}

/* Showcase Section - Vitrin */
.showcase-section {
    margin-bottom: 60px;
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.showcase-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.showcase-title-icon {
    width: 32px;
    height: 32px;
    background-color: var(--primary-orange);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 16px;
}

.showcase-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-color);
}

.showcase-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.showcase-tab {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.showcase-tab:hover {
    background: var(--input-bg);
    border-color: var(--primary-orange);
}

.showcase-tab.active {
    background: var(--primary-orange);
    color: black;
    border-color: var(--primary-orange);
}

.view-all-link {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.view-all-link:hover {
    background: var(--input-bg);
    border-color: var(--primary-orange);
}

/* Modern Product Card Grid - Optimized for Premium Look */
.product-grid-modern {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

@media (max-width: 1400px) { .product-grid-modern { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1200px) { .product-grid-modern { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 992px) { .product-grid-modern { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .product-grid-modern { grid-template-columns: repeat(2, 1fr); } }

.product-card-modern {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card-modern:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(255, 152, 0, 0.2);
}

.product-badge {
    position: relative;
    background: #e11d48;
    color: white;
    padding: 2px 0; /* Ultra-slim padding */
    z-index: 20;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

.badge-marquee {
    display: inline-flex;
    animation: marquee-anim 10s linear infinite;
    gap: 15px;
}

@keyframes marquee-anim {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.badge-item {
    font-size: 8.5px; /* Slightly reduced font size */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.product-image-area {
    position: relative;
    width: 100%;
    padding: 0;
    background: #000;
    aspect-ratio: 1 / 1.15;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-char-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.5s ease;
}

.product-card-modern:hover .product-char-img {
    transform: scale(1.08);
    opacity: 1;
}

.product-char-overlay-text {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.5);
    pointer-events: none;
    line-height: 0.9;
    z-index: 10;
    padding: 0 5px;
}

.product-info-area {
    padding: 15px 12px;
    background: var(--card-bg);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-name-small {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 12px;
    height: 32px;
    overflow: hidden;
    text-transform: uppercase;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price-box {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.old-price {
    font-size: 10px;
    color: #f43f5e; /* Rose-Red */
    text-decoration: line-through;
    opacity: 0.8;
    margin-bottom: 2px;
}

.current-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.btn-buy-modern {
    background-color: #10b981; /* Emerald Green */
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-buy-modern:hover {
    background-color: #059669;
    box-shadow: 0 5px 15px -3px rgba(16, 185, 129, 0.4);
}

.tab-grid { display: none; }
.tab-grid.active { display: grid; }


/* Category Page Layout */
.category-grid-container {
    display: grid;
    grid-template-areas: 
        "sidebar main"
        "comments main";
    grid-template-columns: 320px 1fr;
    grid-auto-rows: min-content;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.category-sidebar { grid-area: sidebar; }
.category-main { grid-area: main; }
.category-comments-section { grid-area: comments; }

@media (max-width: 992px) {
    .category-grid-container { 
        grid-template-columns: 1fr; 
        grid-template-areas: 
            "sidebar"
            "main"
            "comments";
        gap: 20px;
    }
}

/* Category Sidebar Card */
.category-sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
}

.category-card-image-wrap {
    position: relative;
    aspect-ratio: 1 / 1.3;
}

.category-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 30px;
    text-align: center;
}

.category-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.category-card-title {
    font-size: 28px;
    font-weight: 900;
    color: #fff; /* Always white on dark image overlay */
    margin-bottom: 10px;
    text-transform: uppercase;
}

.category-card-info {
    padding: 25px;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
    border-top: 1px solid #1a1a1a;
}

/* Category Comments */
.category-comments-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-top: 0;
}

.comments-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-empty-msg {
    color: #64748b;
    font-size: 14px;
}

/* Subcategory Grid & Premium Vertical Cards */
.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

@media (max-width: 1200px) { .subcategory-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .subcategory-grid { grid-template-columns: repeat(2, 1fr); } }

.category-item-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 1 / 1.35;
    display: flex;
    flex-direction: column;
}

.category-item-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -10px rgba(255,152,0,0.2);
}

.item-card-image-area {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(255,152,0,0.1) 0%, transparent 70%);
}

.item-card-char-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.5s ease;
}

.category-item-card:hover .item-card-char-img {
    transform: scale(1.1);
    opacity: 1;
}

.item-card-overlay-text {
    position: absolute;
    bottom: 45px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0,0,0,0.9);
    padding: 0 5px;
    opacity: 0.85;
}

.item-card-footer {
    padding: 12px;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    text-align: center;
    z-index: 10;
}

.item-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Listing Product Card - Premium Vertical Style */
.listing-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

@media (max-width: 1200px) { .listing-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .listing-product-grid { grid-template-columns: repeat(2, 1fr); } }

.listing-product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
}

.listing-product-card:hover { transform: translateY(-5px); }

/* Badge Header */
.listing-card-badge {
    background: #ff0000;
    color: white;
    padding: 2px 0; /* Ultra-slim padding to match homepage */
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

.listing-card-badge.orange { background: #ff9900; }

/* Image Area with Large Overlay Text */
.listing-card-image-wrap {
    position: relative;
    aspect-ratio: 1 / 1.25;
    background: #000;
    overflow: hidden;
}

.listing-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.listing-card-overlay-text {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.9);
    padding: 0 10px;
}

/* Info & Action Area */
.listing-card-info {
    padding: 15px 10px;
    text-align: center;
    background: #0d0d0d; /* Always dark for that premium contrast */
}

[data-theme="light"] .listing-card-info { background: #f8fafc; }

.listing-product-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    opacity: 0.9;
    height: 2.4em;
    overflow: hidden;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.listing-card-prices { margin-bottom: 15px; }
.listing-old-price { color: #ff0000; text-decoration: line-through; font-size: 12px; font-weight: 700; margin-bottom: 3px; display: block; }
.listing-new-price { color: white; font-size: 18px; font-weight: 800; }
[data-theme="light"] .listing-new-price { color: #000; }

/* Qty Selector UI */
.listing-qty-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 6px;
    margin-bottom: 12px;
    height: 38px;
    overflow: hidden;
}

[data-theme="light"] .listing-qty-wrap { background: #e2e8f0; }

.qty-btn {
    width: 35px;
    height: 100%;
    border: none;
    background: transparent;
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.qty-btn:hover { background: rgba(0, 133, 255, 0.1); }
.qty-input {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    color: white;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}
[data-theme="light"] .qty-input { color: #000; }

/* Buy Button */
.listing-buy-btn {
    background: #2563eb;
    color: white;
    width: 100%;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.listing-buy-btn:hover { background: #1d4ed8; }

.hidden { display: none !important; }

/* Product Detail Page Styles */
.product-detail-area {
    margin: 40px auto 80px;
    max-width: 1400px;
    padding: 0 20px;
}

.breadcrumb-nav {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.breadcrumb-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: var(--primary-orange);
}

.product-detail-grid {
    display: flex;
    gap: 40px;
    width: 100%;
    align-items: flex-start;
}

.product-detail-main {
    flex: 1;
}

.product-sidebar {
    width: 380px;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .product-detail-grid { flex-direction: column; }
    .product-sidebar { width: 100%; }
}

.product-main-view {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 35px;
    display: flex;
    gap: 40px;
    box-shadow: var(--shadow);
    align-items: flex-start;
}

.view-left-visual {
    width: 280px;
    flex-shrink: 0;
}

.view-right-info {
    flex: 1;
}

@media (max-width: 992px) {
    .product-main-view { flex-direction: column; padding: 20px; }
    .view-left-visual { width: 100%; }
}

/* Left Visual Area */
.view-left-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.view-img-box {
    width: 100%;
    aspect-ratio: 1 / 1.2;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.view-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trust-badges-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color);
}

[data-theme="light"] .trust-badge-item { background: #f1f5f9; }

.trust-badge-item i {
    width: 24px;
    color: var(--primary-blue);
    font-size: 16px;
}

/* Right Info Area Overhaul */
.view-right-info {
    display: flex;
    flex-direction: column;
}

.product-info-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 8px;
}

.product-rating-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.stars {
    color: #f59e0b;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-val {
    font-weight: 900;
    color: var(--text-color);
    margin-left: 5px;
}

.rating-count {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}

/* Urgent Insight Badge */
.urgent-insight-box {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    width: fit-content;
}

.urgent-insight-box i {
    color: var(--primary-blue);
    font-size: 14px;
}

.urgent-insight-box span {
    color: var(--text-color);
    font-size: 13px;
    font-weight: 600;
}

.urgent-insight-box strong {
    color: #f43f5e;
}

/* Marketplace Service Grid Refinement */
.marketplace-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.m-service-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.m-service-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px -5px rgba(37, 99, 235, 0.2);
}

.m-service-icon {
    width: 38px;
    height: 38px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 16px;
    transition: all 0.3s ease;
}

.m-service-item:hover .m-service-icon {
    background: var(--primary-blue);
    color: #fff;
    transform: scale(1.05);
}

.m-service-info span {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2px;
    opacity: 0.5;
}

.m-service-info h6 {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-color);
    margin: 0;
}

/* Horizontal Action Bar Refinement */
.horizontal-action-bar {
    background: #111111;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    padding: 8px;
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
}

.action-price-box {
    flex: 1;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
}

.action-price-box i {
    color: var(--primary-blue);
    font-size: 18px;
}

.action-price-box .prices {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-price-box .new-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary-blue);
}

.action-price-box .old-price {
    font-size: 12px;
    text-decoration: line-through;
    color: var(--text-muted);
    opacity: 0.5;
}

.action-qty-selector {
    display: flex;
    align-items: center;
    background: #000;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
}

.action-qty-selector button {
    width: 36px;
    height: 48px;
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.action-qty-selector button:hover {
    background: rgba(255,255,255,0.05);
}

.action-qty-selector input {
    width: 44px;
    background: rgba(255,255,255,0.03);
    border: none;
    border-left: 1px solid rgba(255,255,255,0.08);
    border-right: 1px solid rgba(255,255,255,0.08);
    height: 48px;
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.action-buy-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    height: 48px;
    padding: 0 30px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.action-buy-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Light Mode Overrides for Action Bar */
[data-theme="light"] .horizontal-action-bar {
    background: #f1f5f9;
    border-color: rgba(0,0,0,0.06);
}

[data-theme="light"] .action-price-box {
    background: rgba(0,0,0,0.02);
}

[data-theme="light"] .action-qty-selector {
    background: #fff;
    border-color: rgba(0,0,0,0.08);
}

[data-theme="light"] .action-qty-selector input {
    background: transparent;
    color: #1e293b;
    border-left-color: rgba(0,0,0,0.08);
    border-right-color: rgba(0,0,0,0.08);
}

[data-theme="light"] .action-qty-selector button:hover {
    background: #f8fafc;
}

/* Sidebar Overhaul for Reference Match */
.product-sidebar {
    width: 320px; /* Slimmer like in screenshot */
    flex-shrink: 0;
}

.sidebar-box {
    background: #111111;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 25px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-title::after {
    content: '8 Ürün';
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.5;
}

.similar-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    padding: 10px;
    border-radius: 12px;
    transition: 0.2s;
    background: rgba(255,255,255,0.01);
    margin-bottom: 10px;
    align-items: center;
}

.similar-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.similar-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
}

.similar-info h5 {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 4px;
    line-height: 1.3;
    text-transform: uppercase;
}

.similar-info .price-row {
    font-size: 12px;
    font-weight: 900;
}

.similar-info .new-price {
    color: #3b82f6;
    margin-right: 5px;
}

.similar-info .old-price {
    color: #f43f5e;
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 10px;
}

/* Tabs System */
.product-detail-tabs {
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 25px 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}

.tab-btn.active {
    color: var(--text-color);
}

/* Mobile Responsiveness Overhaul */
@media (max-width: 768px) {
    .product-detail-area {
        margin-top: 20px;
        padding: 0 15px;
    }

    .breadcrumb-nav {
        flex-wrap: wrap;
        gap: 5px;
        font-size: 11px;
    }

    .product-main-view {
        padding: 20px;
        border-radius: 20px;
    }

    .product-info-header h1 {
        font-size: 20px;
    }

    .urgent-insight-box {
        width: 100%;
        padding: 8px 15px;
    }

    .marketplace-service-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .horizontal-action-bar {
        flex-direction: column;
        align-items: stretch;
        background: transparent;
        border: none;
        padding: 0;
    }

    .action-price-box {
        background: #111111;
        border: 1px solid rgba(255,255,255,0.05);
        margin-bottom: 10px;
    }

    .action-qty-selector {
        background: #111111;
        margin-bottom: 10px;
        justify-content: space-between;
    }

    .action-qty-selector button {
        flex: 1;
    }

    .action-qty-selector input {
        flex: 2;
    }

    .action-buy-btn {
        width: 100%;
        justify-content: center;
        height: 54px;
        font-size: 16px;
    }

    .product-detail-tabs {
        margin-top: 40px;
    }

    .tabs-header {
        gap: 20px;
    }

    .tab-btn {
        font-size: 14px;
        padding: 15px 0;
    }

    .tabs-content {
        padding: 20px;
        border-radius: 16px;
    }

    .rich-content {
        font-size: 14px;
        line-height: 1.6;
    }

    .similar-img {
        width: 60px;
        height: 60px;
    }

    .sidebar-box {
        padding: 20px 15px;
    }

    .similar-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .similar-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .similar-img {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        margin-bottom: 8px;
    }

    .similar-info h5 {
        font-size: 10px;
        height: 2.6em;
        overflow: hidden;
    }

    .hide-on-mobile {
        display: none !important;
    }
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--text-color);
}

.tabs-content {
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    margin-top: 10px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.rich-content {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

.rich-content b { color: var(--text-color); }

.comments-placeholder {
    padding: 60px;
    text-align: center;
    color: var(--text-muted);
}

.comments-placeholder i {
    font-size: 40px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.feedback-field {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s;
}

.feedback-field:focus {
    border-color: var(--primary-blue);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.btn-quick-buy {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 16px;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}

.btn-quick-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.6);
    filter: brightness(1.1);
}

.qty-control {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    height: 44px;
    width: 140px;
    overflow: hidden;
}

.action-btns-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.btn-add-cart {
    background: #2563eb;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-add-cart:hover { background: #1d4ed8; }

.btn-quick-buy {
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 15px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 20px -5px rgba(16, 185, 129, 0.4);
    width: 100%;
    margin-top: 15px;
}

.btn-quick-buy:hover { transform: translateY(-2px); box-shadow: 0 8px 25px -5px rgba(16, 185, 129, 0.6); }

/* Sidebar Components */
.sidebar-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title i { color: var(--primary-blue); }

.similar-prod-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.similar-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: 0.2s;
    padding: 8px;
    border-radius: 10px;
}

.similar-item:hover { background: rgba(255, 255, 255, 0.03); }
[data-theme="light"] .similar-item:hover { background: #f1f5f9; }

.similar-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

/* Mobile Adjustments for Product Page */
@media (max-width: 768px) {
    .product-detail-area {
        padding: 0 15px;
        margin-top: 20px;
    }

    .breadcrumb-nav {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 11px;
    }

    .product-info-header h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .product-detail-grid {
        gap: 20px;
    }

    .view-img-box {
        aspect-ratio: 1 / 1.1; /* Slightly squarer on mobile to save vertical space */
    }

    .product-action-panel {
        padding: 20px;
        border-radius: 16px;
        margin-top: 30px;
    }

    .price-val {
        font-size: 22px;
    }

    .trust-badges-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .trust-badge-item {
        flex: 1;
        min-width: 140px;
        padding: 10px;
        font-size: 11px;
        justify-content: center;
    }

    .product-bottom-area {
        margin-top: 20px;
    }

    .product-desc-box {
        padding: 20px;
    }

    .similar-item {
        background: rgba(255, 255, 255, 0.03);
    }
    
    [data-theme="light"] .similar-item { background: #f1f5f9; }
}

@media (max-width: 480px) {
    .trust-badge-item {
        min-width: 100%; /* Stack on very small screens */
    }
    
    .price-display-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.similar-info h5 {
    font-size: 12px;
    color: var(--text-color);
    margin-bottom: 4px;
    line-height: 1.4;
}

.similar-info span {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-color);
}

/* Bottom Content Area */
.product-bottom-area {
    margin-top: 30px;
}

.product-desc-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
}

.desc-section-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.desc-section-title i { color: var(--primary-blue); }

.desc-content {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

.desc-content h4 {
    color: var(--text-color);
    margin: 30px 0 15px;
    font-size: 16px;
}

.desc-content ul {
    padding-left: 20px;
    margin-bottom: 30px;
}

.desc-content li {
    margin-bottom: 8px;
}

.desc-content b { color: var(--text-color); }

/* Sepet Page Styles */
.sepet-page-container {
    padding-top: 50px;
    padding-bottom: 100px;
}

.page-title-center {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.sepet-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.cart-left-col {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
}

.cart-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 50px;
    padding: 20px 30px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
}

.cart-item-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 50px;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.cart-item-row:last-child { border-bottom: none; }

.cart-item-product {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-item-img-large {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    background: #000;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.cart-item-price-block, .cart-item-subtotal {
    display: flex;
    flex-direction: column;
}

.cart-item-price-block .current, .cart-item-subtotal .total {
    font-size: 16px;
    font-weight: 800;
}

.cart-item-price-block .old, .cart-item-subtotal .old {
    font-size: 13px;
    text-decoration: line-through;
    color: #f43f5e;
    opacity: 0.6;
}

.qty-control-minimal {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 5px;
}

.qty-control-minimal .qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 16px;
}

.qty-control-minimal.locked {
    opacity: 0.8;
}

.qty-control-minimal.locked .qty-btn {
    cursor: not-allowed;
    opacity: 0.4;
}

.qty-control-minimal.locked .qty-val {
    color: var(--text-muted);
}

.btn-remove-cart {
    background: rgba(244, 63, 94, 0.1);
    color: #f43f5e;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-remove-cart:hover {
    background: #f43f5e;
    color: white;
}

.cart-empty-message {
    text-align: center;
    padding: 80px 40px;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cart-empty-message i {
    font-size: 64px;
    color: var(--primary-blue);
    opacity: 0.2;
    margin-bottom: 25px;
}

.cart-empty-message p {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cart-empty-message .btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 14px 40px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s;
    display: inline-block;
}

.cart-empty-message .btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 133, 255, 0.2);
}

/* Summary Card */
.checkout-summary-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px;
}

.checkout-summary-card h3 {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 30px;
}

.summary-total-row {
    text-align: center;
    margin-bottom: 30px;
}

.summary-total-row .label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.summary-total-row .value {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-blue);
}

.footer-logo {
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.coupon-input-group {
    display: flex;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 30px;
}

.coupon-input-group input {
    flex: 1;
    background: none;
    border: none;
    padding: 10px 15px;
    color: white;
    font-size: 13px;
}

.btn-apply-coupon {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary-blue);
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.payment-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-pay-balance {
    background: #10b981;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    transition: 0.2s;
    text-decoration: none;
}

.btn-pay-balance:hover { background: #059669; transform: translateY(-2px); }

.btn-pay-card {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    transition: 0.2s;
}

.btn-pay-card:hover { background: #2563eb; transform: translateY(-2px); }

.btn-main-text {
    display: block;
    font-size: 16px;
    font-weight: 800;
}

.btn-sub-text {
    display: block;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 4px;
}

.login-req {
    background: #475569;
}

@media (max-width: 1200px) {
    .sepet-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .cart-table-header { display: none; }
    .cart-item-row {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 20px;
    }
    .cart-item-product { grid-column: 1 / -1; }
    .cart-item-remove { grid-column: 1 / -1; text-align: right; }
}

/* Cart Drawer Styles */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px; /* Initially hidden */
    width: 420px;
    height: 100%;
    background: var(--bg-color);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
    transform: translateX(-450px);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-drawer-header {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    background: #000;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-blue);
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.cart-qty-control {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 2px;
}

.cart-qty-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    color: var(--text-color);
    cursor: pointer;
    font-weight: 800;
}

.cart-qty-val {
    width: 30px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.remove-item-btn {
    color: #f43f5e;
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.cart-empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
}

.cart-empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.2;
}

.cart-drawer-footer {
    padding: 25px;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--border-color);
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 15px;
}

.cart-info-text {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.4;
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.2s;
}

.btn-checkout:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-clear-cart {
    width: 100%;
    margin-top: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
}

/* Cart Badge */
.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-orange);
    color: white;
    font-size: 10px;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--header-bg);
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    .cart-drawer.open {
        transform: translateX(-100%);
    }
}

/* ==========================================================================
   MEGA-PATCH: MOBILE OPTIMIZATION (Responsiveness)
   ========================================================================== */

@media (max-width: 768px) {
    /* Container Global */
    .container { padding: 0 15px; }

    /* Header & Navigation */
    .header-top {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }
    
    /* Header Redesign */
    .desktop-header { display: none !important; }
    .mobile-header { display: block !important; padding: 0 15px; }
    
    .mobile-sidebar { display: flex !important; }
    .mobile-sidebar-overlay { display: none; } /* Initially hidden, JS will toggle active */
    .mobile-sidebar-overlay.active { display: block !important; }
    
    .mobile-header-row-1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .mobile-menu-btn, .mobile-cart-btn {
        background: rgba(255,255,255,0.05);
        border: none;
        color: white;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }
    
    .mobile-cart-btn { color: #f36f21 !important; } /* Reference Orange icon */
    
    .mobile-logo img {
        height: 60px; /* Increased from 28px */
        width: auto;
    }
    
    .mobile-header-row-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 12px 0;
    }
    
    .mobile-action-btn {
        height: 48px;
        border-radius: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-weight: 800;
        font-size: 13px;
        text-decoration: none;
        color: white;
        transition: all 0.3s ease;
    }
    
    .btn-register { background: #f36f21 !important; } /* Reference Orange */
    .btn-login-mobile { background: #27ae60 !important; } /* Reference Green */
    .btn-balance { background: #3498db !important; }
    .btn-account { background: rgba(255,255,255,0.05) !important; border: 1px solid rgba(255,255,255,0.1); }

    /* Mobile Sidebar */
    .mobile-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: #0f0f0f;
        z-index: 10000;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
    }
    
    .mobile-sidebar.active { left: 0; }
    
    .mobile-sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.8);
        z-index: 9999;
        display: none;
        backdrop-filter: blur(8px);
    }
    
    .mobile-sidebar-overlay.active { display: block; }
    
    .sidebar-header {
        padding: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .sidebar-title { font-weight: 800; letter-spacing: 1px; color: #f36f21; }
    
    .close-sidebar {
        background: rgba(255,255,255,0.05);
        border: none;
        color: white;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sidebar-content { 
        padding: 20px; 
        overflow-y: auto;
        flex: 1;
    }
    
    .sidebar-search { margin-bottom: 25px; }
    .mobile-search-input {
        width: 100%;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        padding: 12px 15px;
        border-radius: 12px;
        color: white;
        font-size: 14px;
    }
    
    .sidebar-section-title {
        font-size: 12px;
        font-weight: 800;
        color: rgba(255,255,255,0.4);
        margin: 20px 0 15px 0;
        letter-spacing: 1px;
    }
    
    .sidebar-item {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 14px 0;
        color: white;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        border-bottom: 1px solid rgba(255,255,255,0.03);
        transition: all 0.2s ease;
        cursor: pointer;
    }
    
    .sidebar-item:hover {
        background: rgba(255,255,255,0.02);
        padding-left: 5px;
    }

    .sidebar-whatsapp-item i { color: #25d366 !important; }
    .sidebar-moon-icon { color: #f1c40f !important; }
    .sidebar-sun-icon { color: #f39c12 !important; }
    .sidebar-theme-text { flex: 1; }
    
    .sidebar-icon { height: 20px; width: auto; opacity: 0.8; }
    .sidebar-item i { width: 20px; text-align: center; color: #f36f21; font-size: 16px; }

    /* Premium Sidebar Enhancements */
    .sidebar-user-section {
        margin-bottom: 25px;
        background: linear-gradient(135deg, rgba(243, 111, 33, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
        padding: 20px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .user-info-sidebar {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    .user-avatar i {
        font-size: 40px;
        color: #f36f21;
    }

    .user-details {
        display: flex;
        flex-direction: column;
    }

    .user-name-label {
        font-weight: 800;
        font-size: 16px;
        color: white;
    }

    .user-balance-label {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.6);
    }

    .user-balance-label strong {
        color: #27ae60;
        font-size: 14px;
    }

    .sidebar-balance-btn {
        width: 100%;
        height: 45px;
        background: linear-gradient(to right, #3498db, #2980b9);
        border: none;
        border-radius: 12px;
        color: white;
        font-weight: 700;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    }

    .sidebar-guest-header p {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.5);
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .guest-btns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .sidebar-guest-btn {
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
    }

    .sidebar-guest-btn.login {
        background: #27ae60;
        color: white;
    }

    .sidebar-guest-btn.register {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
    }

    .sidebar-whatsapp-section {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .whatsapp-sidebar-btn {
        width: 100%;
        height: 50px;
        background: linear-gradient(to right, #25d366, #128c7e);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: white;
        text-decoration: none;
        font-weight: 800;
        font-size: 14px;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    }

    /* Section Spacing Optimization - NO GAP POLICY */
    .hero-section { 
        margin-top: 10px !important; 
        margin-bottom: 10px !important; /* Reduced space between hero and categories */
        padding-bottom: 0 !important;
        height: auto !important;
        min-height: 0 !important;
    }
    .featured-section { 
        margin-top: 0 !important; 
        padding-top: 0 !important;
        margin-bottom: 60px !important; /* Keep the 60px space before showcase/vitrin */
    }
    
    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        height: max-content !important; /* Force fit content */
        margin-bottom: 0 !important;
    }
    
    .hero-main {
        width: 100%;
        height: 180px !important; /* Smaller, more elegant height */
        margin-bottom: 10px !important;
    }
    
    .hero-main .card-title {
        font-size: 16px !important; /* Even smaller title */
        margin-bottom: 5px !important;
        padding-left: 10px !important; /* Move left */
    }
    
    .hero-main .card-desc {
        font-size: 10px !important; /* Even smaller desc */
        line-height: 1.3 !important;
        max-width: 95% !important;
        margin-bottom: 12px !important;
        padding-left: 10px !important; /* Move left */
    }

    .hero-main .card-content {
        padding: 0 15px !important; /* Shift entire content left */
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Ensure left alignment */
        justify-content: center;
        height: 100%;
    }

    /* Slider Aesthetics Refinements */
    .slider-action-btn { 
        padding: 6px 14px !important; 
        font-size: 10px !important; 
        border-radius: 50px !important; 
        margin-left: 10px !important; /* Match title shift */
    }
    
    .progress-circle { width: 32px !important; height: 32px !important; }
    .progress-text { font-size: 8px !important; }

    .slider-progress-wrapper {
        left: 15px !important; /* Explicitly move progress bar left */
        bottom: 15px !important;
    }

    .hero-side {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto !important; /* Fix: Remove ghost second row from desktop */
        gap: 10px !important;
        height: auto !important;
        margin-bottom: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .side-card {
        height: 110px !important; /* Fix: Give height to cards so they don't collapse */
        border-radius: 12px !important;
    }
    
    .featured-grid {
        margin-top: 0 !important;
        padding-top: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* Featured Categories - Matching User Image 2 */
    .featured-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .featured-card {
        padding: 12px !important;
        height: 80px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        position: relative;
    }

    .featured-card .logo-area {
        width: 35px !important;
        height: 35px !important;
        flex-shrink: 0;
    }

    .featured-card .card-logo {
        width: 25px !important;
        height: auto;
    }

    .featured-card .info-area {
        margin-left: 10px;
        text-align: left !important;
        z-index: 2;
    }

    .featured-card .info-area h4 {
        font-size: 12px !important;
        margin-bottom: 2px !important;
        font-weight: 900 !important;
    }

    .featured-card .info-area p {
        font-size: 9px !important;
        line-height: 1.2 !important;
        text-transform: uppercase;
        font-weight: 700 !important;
    }

    .featured-card .char-area {
        position: absolute;
        right: 0;
        bottom: 0;
        height: 100%;
        width: 70% !important; /* Spread more to the left */
        overflow: hidden;
        border-radius: 0 12px 12px 0;
        z-index: 1;
        opacity: 0.7;
        /* Create a smooth transition to the content on the left */
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 60%);
        mask-image: linear-gradient(to right, transparent 0%, black 60%);
    }

    .featured-card .char-img {
        height: 120% !important; /* Make it slightly taller for better framing */
        width: auto !important;
        object-fit: contain !important;
        object-position: right center !important;
        transform: translateY(-5%) scale(1.1);
        filter: drop-shadow(-5px 0 15px rgba(0,0,0,0.5));
    }

    /* Cards */
    .product-card { padding: 10px; }
    .btn-buy { height: 40px; font-size: 13px; }

    /* Banner Stack (index.php) */
    .banner-row {
        flex-direction: column;
    }

    /* Product Detail */
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .purchase-area {
        flex-direction: column;
        align-items: stretch;
    }

    /* Homepage Blog Scrollable Mobile Only */
    .blog-grid-scroll {
        display: flex !important;
        overflow-x: auto !important;
        gap: 15px !important;
        padding: 5px 5px 20px 5px !important;
        margin-bottom: 40px !important;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .blog-grid-scroll::-webkit-scrollbar {
        display: none;
    }

    .blog-grid-scroll .blog-card {
        min-width: 290px !important;
        max-width: 290px !important;
        height: 200px !important;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    /* Normal Blog Grid for Archive */
    .blog-grid:not(.blog-grid-scroll) {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .blog-title {
        font-size: 14px !important;
    }

    /* Trust Section Card Layout Mobile */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding-top: 20px !important;
    }

    .trust-item {
        flex-direction: column !important;
        text-align: center !important;
        background: rgba(255, 255, 255, 0.03) !important;
        padding: 25px 15px !important;
        border-radius: 20px !important;
        border: 1px solid var(--border-color);
        height: 100% !important;
        transition: all 0.3s ease;
    }

    .trust-icon {
        margin: 0 auto 15px auto !important;
        width: 55px !important;
        min-width: 55px !important;
        height: 55px !important;
        font-size: 22px !important;
        border-radius: 15px !important;
    }

    .trust-info h4 {
        font-size: 12px !important;
        margin-bottom: 8px !important;
        letter-spacing: 0.5px;
    }

    .trust-info p {
        font-size: 10px !important;
        line-height: 1.5 !important;
        opacity: 0.7;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section { padding: 0 10px; }
    .footer-logo { display: flex; justify-content: center; }
    .footer-logo-img { height: 40px; }
    .footer-socials { justify-content: center; }
    .contact-item { justify-content: center; }

    /* Collapsible Footer Mobile */
    .footer-header-mobile {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        cursor: pointer;
        margin-bottom: 0 !important;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .footer-chevron {
        display: inline-block !important; /* Show only on mobile */
    }
    
    .footer-col.active .footer-chevron {
        transform: rotate(180deg);
    }
    
    .footer-col-content {
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
    }
    
    .footer-col.active .footer-col-content {
        max-height: 1000px;
        opacity: 1;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    .footer-col {
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .footer-col:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .header-top { gap: 10px; }
    
    .hero-main { height: 250px; }
    .hero-title { font-size: 24px; }
    
    .hero-subtitle { font-size: 13px; }
    
    .hero-side {
        grid-template-columns: 1fr 1fr; /* Keep 2 columns on small mobiles */
    }
    
    .product-grid, .listing-product-grid, .featured-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Keep 2 columns even on the smallest screens */
    }
    
    /* Cart (Sepet) Page Optimization */
    .sepet-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-table-header {
        display: none;
    }
    
    .cart-item-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
        border: 1px solid var(--border-color);
        margin-bottom: 10px;
        border-radius: 12px;
        background: rgba(255,255,255,0.02);
    }
    
    .cart-item-product {
        width: 100%;
        gap: 15px;
    }
    
    .cart-item-img-large {
        width: 80px;
        height: 60px;
    }

    .cart-item-price-block, .cart-item-qty, .cart-item-subtotal {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .cart-item-price-block::before { content: "Birim Fiyat: "; font-size: 11px; opacity: 0.6; }
    .cart-item-qty::before { content: "Adet: "; font-size: 11px; opacity: 0.6; }
    .cart-item-subtotal::before { content: "Toplam: "; font-size: 11px; opacity: 0.6; }

    .cart-item-remove {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .coupon-input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .coupon-input-group input, .coupon-input-group button {
        width: 100%;
    }
    
    /* Auth Form Refinements */
    .auth-container {
        padding: 40px 15px;
    }
}

/* Categories Page Modern Styles */
.categories-page-container {
    padding-top: 60px;
    padding-bottom: 100px;
}

.categories-header {
    text-align: center;
    margin-bottom: 50px;
}

.categories-header h1 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.categories-search-box {
    max-width: 800px;
    margin: 0 auto 50px;
    position: relative;
}

.categories-search-input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    padding: 16px 50px 16px 25px;
    border-radius: 12px;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.categories-search-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 133, 255, 0.1);
    outline: none;
    background: var(--card-bg);
}

.categories-search-box i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.categories-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.cat-tab-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-tab-btn:hover {
    color: var(--primary-blue);
    border-color: rgba(var(--primary-blue-rgb), 0.3);
    background: rgba(var(--primary-blue-rgb), 0.05);
}

.cat-tab-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(0, 133, 255, 0.3);
    transform: translateY(-2px);
}

.category-group-section {
    display: none;
    animation: fadeInCat 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 60px;
}

.category-group-section.active {
    display: block;
}

.cat-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    background: linear-gradient(to right, var(--card-bg), transparent);
    padding: 12px 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
}

.cat-section-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 133, 255, 0.1);
    border-radius: 8px;
    color: var(--primary-blue);
    font-size: 14px;
}

.cat-section-header h2 {
    font-size: 18px;
    font-weight: 900;
    margin: 0;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subcat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
}

.subcat-card {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.subcat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.subcat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(var(--primary-blue-rgb), 0.4);
}

.subcat-card:hover::before {
    opacity: 0.8;
}

.subcat-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    z-index: 2;
}

.subcat-name {
    color: white;
    font-weight: 800;
    font-size: 13px;
    text-align: center;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
}

.subcat-card:hover .subcat-name {
    transform: translateY(-5px);
    color: var(--primary-blue);
}

@keyframes fadeInCat {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .subcat-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-header h1 { font-size: 24px; }
}

@media (max-width: 480px) {
    .subcat-grid { grid-template-columns: 1fr; }
}

/* Okyia Branding Animation */
@keyframes okyia-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.okyia-anim {
    background: linear-gradient(90deg, #4680FF 0%, #fff 50%, #4680FF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: okyia-shimmer 3s linear infinite;
    display: inline-block;
}


