* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    transition: background 0.3s;
}

body.dark-mode {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

/* Dark Mode Elements */

body.dark-mode .hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
}

body.dark-mode .product-card,
body.dark-mode .category-card {
    background: #2d3748;
}

body.dark-mode .product-title,
body.dark-mode .category-card h3 {
    color: #e2e8f0;
}

body.dark-mode .product-meta,
body.dark-mode .category-card p {
    color: #a0aec0;
}

body.dark-mode .mobile-menu {
    background: rgba(26, 32, 44, 0.95);
}

body.dark-mode header {
    background: rgba(26, 32, 44, 0.98);
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
}

body.dark-mode .mobile-menu-overlay.active {
    background: rgba(0, 0, 0, 0.7);
}

body.dark-mode .mobile-menu-header {
    border-bottom-color: #374151;
}

body.dark-mode .mobile-close-btn {
    color: #a0aec0;
}

body.dark-mode .mobile-close-btn:hover {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.2);
}

body.dark-mode .nav-links a {
    color: #f7fafc;
}

body.dark-mode .nav-links a:hover {
    color: #a0b4ff;
}

body.dark-mode .filter-sort-bar {
    background: #2d3748;
}

body.dark-mode .filter-select {
    background: #1a202c;
    border-color: #374151;
    color: #f7fafc;
}

body.dark-mode .sort-btn {
    background: #1a202c;
    border-color: #374151;
    color: #f7fafc;
}

body.dark-mode .product-card {
    background: #2d3748;
}

body.dark-mode .product-meta {
    color: #a0aec0;
}

body.dark-mode .page-btn {
    background: #1a202c;
    border-color: #374151;
    color: #f7fafc;
}

body.dark-mode .mobile-menu-item {
    color: #f7fafc;
    border-bottom-color: #374151;
}

body.dark-mode .mobile-menu-item:hover,
body.dark-mode .mobile-menu-item.active {
    color: #a0b4ff;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.15) 0%, transparent 100%);
}

/* Animations */

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideshow {
    0% { opacity: 0; }
    33.33% { opacity: 1; }
    66.66% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-20px); }
}

/* Header & Navigation */

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    z-index: 1001;
    letter-spacing: -0.03em;
}

.logo::before {
    content: "🏹";
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
    transition: color 0.3s;
    position: relative;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #667eea;
}

.nav-links a.active {
    color: #667eea;
}

.nav-links a.active::after {
    width: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Theme Toggle */

.theme-toggle {
    background: transparent;
    border: 2px solid rgba(102, 126, 234, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
    margin-right: 0.5rem;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

/* Mobile Menu */

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0;
    margin-left: 1rem;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 70px 2rem 2rem;
    transition: right 0.4s ease-out;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.mobile-menu-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mobile-close-btn {
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-close-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-item {
    display: block;
    padding: 1.3rem 0;
    color: #2d3748;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mobile-menu-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-item:hover::before,
.mobile-menu-item.active::before {
    width: 12px;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
    color: #667eea;
    padding-left: 1.2rem;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.08) 0%, transparent 100%);
    border-left: 3px solid #667eea;
}

.mobile-btn-primary {
    display: none;
    background: var(--primary-gradient);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 30px;
    border: none;
    width: 100%;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    margin-top: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mobile-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
}

.mobile-btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

/* Hero Section */

.hero {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: slideshow 15s infinite;
}

.hero-slide:nth-child(1) {
    background-image: url('images/hero-1.jpg');
}

.hero-slide:nth-child(2) {
    background-image: url('images/hero-2.jpg');
    animation-delay: -5s;
}

.hero-slide:nth-child(3) {
    background-image: url('images/hero-3.jpg');
    animation-delay: -10s;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            linear-gradient(135deg, rgba(102,126,234,.22) 0%, rgba(118,75,162,.22) 100%),
            linear-gradient(0deg, rgba(0,0,0,.12), rgba(0,0,0,.12));
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    font-size: 15rem;
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    color: white;
    position: relative;
    z-index: 3;
    animation: fadeIn 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: white;
    position: relative;
    z-index: 3;
    animation: fadeIn 1s ease-out 0.2s both;
}

/* Search Bar */

.search-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 3;
    animation: fadeIn 1s ease-out 0.4s both;
}

.search-box {
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.search-box:focus-within {
    transform: scale(1.02);
}

.search-box input {
    flex: 1;
    padding: 1.2rem 2rem;
    border: none;
    font-size: 1.1rem;
    outline: none;
}

.search-box button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0 2.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.search-box button:hover {
    opacity: 0.9;
}

/* Home Filter Chips */

.filter-bar {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.filter-btn {
    background: white;
    border: 2px solid #e9ecef;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Categories */

.categories {
    padding: 4rem 2rem;
    background: var(--primary-gradient);
}

.categories h2 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.category-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(5deg);
}

.category-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Products (Shared Base) */

.products {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
}

.products h2 {
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
    animation: slideInUp 0.6s ease-out backwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.product-card:hover::after {
    opacity: 0.05;
}

.product-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.product-card:hover .product-image::before {
    transform: translateX(100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.product-card:hover .product-title {
    color: var(--primary-color);
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.condition-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.condition-badge.new {
    background: #e3f2fd;
    color: #1976d2;
}

.condition-badge.used {
    background: #fff3e0;
    color: #f57c00;
}

/* İlanlar Page Header & Filters */

.page-header {
    padding: 4rem 2rem 2rem;
    text-align: center;
    background: var(--primary-gradient);
    color: white;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.filter-sort-bar {
    max-width: 1400px;
    margin: 0 auto 2rem;
    padding: 2rem 2rem 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.filter-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-select {
    padding: 0.6rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    background: white;
    transition: all 0.3s;
}

.filter-select:hover {
    border-color: var(--primary-color);
}

.sort-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.sort-btn {
    padding: 0.6rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
}

.sort-btn:hover {
    border-color: var(--primary-color);
}

.sort-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* Pagination */

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.page-btn {
    padding: 0.8rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 45px;
    text-align: center;
}

.page-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.page-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* Scroll to Top */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-gradient);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Footer */

footer {
    background: var(--primary-gradient);
    color: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: all 0.3s;
}

.footer-section a:hover {
    opacity: 1;
    transform: translateX(5px);
}

/* Responsive */

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: flex;
        gap: 0.5rem;
    }

    .nav-links a:not(.btn-primary) {
        display: none;
    }

    header .btn-primary {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-btn-primary {
        display: block;
    }

    .hero {
        min-height: 450px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .categories .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .filter-bar {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .filter-bar::-webkit-scrollbar {
        height: 5px;
    }

    .filter-bar::-webkit-scrollbar-thumb {
        background: var(--primary-gradient);
        border-radius: 5px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .filter-sort-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-group,
    .sort-group {
        width: 100%;
    }

    .products .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.8rem 1rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .mobile-menu {
        width: 100%;
    }

    .hero {
        padding: 4rem 1rem;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 1.7rem;
        padding: 0 1rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .search-container {
        padding: 0 1.5rem;
    }
}
 /* Breadcrumb */
        .breadcrumb {
            max-width: 1400px;
            margin: 1.5rem auto;
            padding: 0 2rem;
        }

        .breadcrumb a {
            color: #667eea;
            text-decoration: none;
            font-size: 0.9rem;
        }

        .breadcrumb span {
            color: #666;
        }

        /* Product Detail Container */
        .product-detail {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 3rem;
        }

        body.dark-mode .product-detail {
            color: #e2e8f0;
        }

        /* Image Gallery */
        .product-gallery {
            position: sticky;
            top: 100px;
            height: fit-content;
        }

        .main-image {
            width: 100%;
            height: 500px;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 8rem;
            margin-bottom: 1rem;
            overflow: hidden;
            cursor: pointer;
            position: relative;
        }

        .main-image:hover {
            transform: scale(1.02);
            transition: transform 0.3s;
        }

        .thumbnail-images {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
        }

        .thumbnail {
            width: 100%;
            height: 100px;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            border-radius: 10px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            transition: all 0.3s;
            border: 3px solid transparent;
        }

        .thumbnail:hover, .thumbnail.active {
            border-color: var(--primary-color);
            transform: scale(1.05);
        }

        /* Product Info */
        .product-info-detail {
            background: white;
            padding: 2rem;
            border-radius: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }

        body.dark-mode .product-info-detail {
            background: #2d3748;
        }

        .product-title-detail {
            font-size: 2rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 1rem;
        }

        body.dark-mode .product-title-detail {
            color: #f7fafc;
        }

        .product-price-detail {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
        }

        .product-meta-detail {
            display: flex;
            gap: 2rem;
            padding-bottom: 2rem;
            border-bottom: 2px solid #e9ecef;
            flex-wrap: wrap;
        }

        body.dark-mode .product-meta-detail {
            border-bottom-color: #374151;
        }

        .meta-item {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
        }

        .meta-label {
            font-size: 0.85rem;
            color: #666;
            font-weight: 500;
        }

        body.dark-mode .meta-label {
            color: #a0aec0;
        }

        .meta-value {
            font-size: 1rem;
            font-weight: 600;
            color: #333;
        }

        body.dark-mode .meta-value {
            color: #e2e8f0;
        }



        .product-description h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .product-description p {
            line-height: 1.8;
            color: #555;
            margin-bottom: 1rem;
        }

        body.dark-mode .product-description p {
            color: #a0aec0;
        }

        /* Action Buttons */
        .action-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        .btn-contact {
            flex: 1;
            padding: 1.2rem;
            background: var(--primary-gradient);
            color: white;
            border: none;
            border-radius: 15px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.3s;
            min-width: 200px;
        }

        .btn-contact:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
        }

        .btn-favorite {
            padding: 1.2rem 2rem;
            background: white;
            border: 2px solid #e9ecef;
            border-radius: 15px;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s;
        }

        body.dark-mode .btn-favorite {
            background: #1a202c;
            border-color: #374151;
        }

        .btn-favorite:hover {
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        /* Seller Info */
        .seller-card {
            background: white;
            padding: 2rem;
            border-radius: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            margin-top: 2rem;
        }

        body.dark-mode .seller-card {
            background: #2d3748;
        }

        .seller-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .seller-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--primary-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .seller-name {
            font-weight: 700;
            font-size: 1.2rem;
            margin-bottom: 0.3rem;
        }

        .seller-location {
            font-size: 0.9rem;
            color: #666;
        }

        body.dark-mode .seller-location {
            color: #a0aec0;
        }

        .seller-stats {
            display: flex;
            gap: 2rem;
            padding-top: 1.5rem;
            border-top: 2px solid #e9ecef;
        }

        body.dark-mode .seller-stats {
            border-top-color: #374151;
        }

        .stat-item {
            text-align: center;
        }

        .stat-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
        }

        .stat-label {
            font-size: 0.85rem;
            color: #666;
            margin-top: 0.3rem;
        }

        body.dark-mode .stat-label {
            color: #a0aec0;
        }

        /* Footer */
        footer {
            background: var(--primary-gradient);
            color: white;
            padding: 3rem 2rem;
            margin-top: 4rem;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .footer-section h3 {
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .footer-section a {
            color: white;
            text-decoration: none;
            display: block;
            margin-bottom: 0.5rem;
            opacity: 0.8;
            transition: all 0.3s;
        }

        .footer-section a:hover {
            opacity: 1;
            transform: translateX(5px);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .product-detail {
                grid-template-columns: 1fr;
            }

            .product-gallery {
                position: relative;
                top: 0;
            }

            .main-image {
                height: 400px;
            }
        }

        @media (max-width: 768px) {
            nav {
                padding: 1rem 1.5rem;
            }

            .product-detail {
                padding: 1rem;
            }

            .product-title-detail {
                font-size: 1.5rem;
            }

            .product-price-detail {
                font-size: 2rem;
            }

            .thumbnail-images {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
     