@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000000;
    --light-bg: #ffffff;
    --gray-bg: #f8f8f8;
    --dark-gray: #1a1a1a;
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #e8e8e8;
    --accent: #ff6b6b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

/* Announcement */
.announcement {
    background: linear-gradient(90deg, #000 0%, #1a1a1a 50%, #000 100%);
    color: var(--light-bg);
    padding: 14px 0;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    overflow: hidden;
    width: 100%;
}

.announcement p {
    margin: 0;
    animation: slideText 15s linear infinite;
    white-space: nowrap;
}

/* Header */
.header {
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    sticky: top;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    box-sizing: border-box;
}

.logo {
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    margin-left: -45px;
    margin-right: 20px;
}

.logo-img {
    height: 56px;
    width: auto;
    display: block;
}

.logo h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.navbar a .chev {
    font-size: 9px;
    opacity: 0.6;
    margin-left: 3px;
    display: inline-block;
    transition: transform 0.2s;
}

.navbar li:hover a .chev {
    transform: translateY(1px);
    opacity: 1;
}

/* Marka dropdown'u uzun olabilir — kaydırılabilir */
.dropdown-menu.brands-menu {
    max-height: 340px;
    overflow-y: auto;
    min-width: 200px;
}

.dropdown-menu .menu-empty {
    display: block;
    padding: 12px 20px;
    color: var(--text-light);
    font-size: 12px;
    font-style: italic;
}

.navbar a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.navbar li {
    position: relative;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -20px;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    min-width: 220px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.navbar li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    pointer-events: auto;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
    position: static;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: var(--gray-bg);
    padding-left: 24px;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-icons button {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-icons button:hover {
    color: var(--text-secondary);
}

/* SVG İkon Sistemi */
.icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Mobile Responsive Header */
@media (max-width: 768px) {
    .header-top {
        padding: 12px 20px;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    .navbar {
        display: block;
        width: 100%;
    }

    .navbar ul {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }

    .navbar a {
        font-size: 12px;
    }

    .search-box-header {
        width: 100%;
        display: block;
    }

    .search-form-header {
        max-width: 100%;
    }

    .header-icons {
        gap: 12px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-top {
        padding: 10px 15px;
        gap: 6px;
    }

    .navbar ul {
        gap: 10px;
    }

    .navbar a {
        font-size: 11px;
    }

    .header-icons {
        gap: 8px;
        font-size: 12px;
    }

    .logo-img {
        height: 40px;
    }

    .logo {
        margin-left: -20px;
    }
}

.cart-btn {
    position: relative;
}

#cartCount {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-black);
    color: var(--light-bg);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)), url('assets/banner.jpg') center/cover no-repeat;
    color: #fff;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before, .hero::after { display: none !important; }
.hero-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 12px 64px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background .2s;
}
.hero-btn:hover { background: #eee; }
.hero h2 { text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out;
    box-sizing: border-box;
}

.hero h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.1;
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-btn {
    background-color: var(--light-bg);
    color: var(--primary-black);
    border: none;
    padding: 16px 48px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    border-radius: 0;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* Section Title */
.section-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: -0.5px;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-black);
    margin: 20px auto 0;
}

/* Products Section */
.products {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.product-card {
    background-color: var(--light-bg);
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #f8f8f8 0%, #efefef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--primary-black);
    color: var(--light-bg);
    padding: 6px 12px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    font-family: 'Space Mono', monospace;
}

.product-info {
    padding: 24px;
}

.product-brand {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Space Mono', monospace;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    min-height: 40px;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.original-price {
    color: var(--text-secondary);
    text-decoration: line-through;
    font-size: 13px;
}

.sale-price {
    color: var(--primary-black);
    font-weight: bold;
    font-size: 18px;
}

.add-to-cart-btn {
    display: block;
    width: 100%;
    background-color: var(--primary-black);
    color: var(--light-bg);
    border: none;
    padding: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 13px;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    line-height: 1.2;
}

.add-to-cart-btn:hover,
.product-card:hover .add-to-cart-btn {
    background-color: var(--primary-black);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.add-to-cart-btn.out-of-stock {
    background-color: #e8e8e8;
    color: #999;
    cursor: not-allowed;
}

/* Sale Section */
.sale-section {
    padding: 80px 0;
    background-color: var(--gray-bg);
    border-top: 2px solid var(--primary-black);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 40px;
    width: 100%;
}

@media (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.feature {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature:hover {
    border-color: var(--primary-black);
    background-color: var(--gray-bg);
}

.feature-icon {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature p {
    color: #999;
    font-size: 14px;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: var(--light-bg);
    padding: 80px 20px;
    text-align: center;
}

.newsletter h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--light-bg);
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
    font-size: 15px;
}

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    gap: 12px;
    padding: 0 20px;
    box-sizing: border-box;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    background-color: var(--light-bg);
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form button {
    background-color: var(--light-bg);
    color: var(--primary-black);
    border: none;
    padding: 14px 32px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 13px;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: var(--light-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 0 30px;
}

.footer-brand {
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    filter: invert(1) brightness(2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-section h3 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Space Mono', monospace;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--light-bg);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    margin-bottom: 0;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 12px;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: flex-end;
}

.cart-modal.active {
    display: flex;
}

.cart-content {
    background-color: var(--light-bg);
    width: 100%;
    max-width: 400px;
    height: 100%;
    padding: 30px;
    overflow-y: auto;
    position: relative;
    border-left: 2px solid var(--primary-black);
    color: var(--text-primary);
}

.close-cart {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-cart:hover {
    color: #999;
}

.cart-content h2 {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-black);
    padding-bottom: 15px;
    color: var(--text-primary);
}

.cart-items {
    margin-bottom: 20px;
    min-height: 200px;
}

.empty-cart {
    text-align: center;
    color: #999;
    padding: 40px 0;
}

.cart-item {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.cart-item-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.cart-item-info p {
    font-size: 12px;
    color: #999;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s;
}

.cart-item-remove:hover {
    color: #999;
}

.cart-total {
    padding: 20px 0;
    border-top: 2px solid var(--primary-black);
    border-bottom: 2px solid var(--primary-black);
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--text-primary);
}

.checkout-btn {
    width: 100%;
    background-color: var(--primary-black);
    color: var(--light-bg);
    border: 1px solid var(--primary-black);
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.checkout-btn:hover {
    background-color: var(--light-bg);
    color: var(--primary-black);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar ul {
        gap: 20px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cart-content {
        max-width: 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h2 {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header-top {
        flex-wrap: wrap;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero {
        min-height: 60vh;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .section-title {
        font-size: 28px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .section-title {
        font-size: 24px;
    }
}

/* Search Box Header */
.search-box-header {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 30px;
}

.search-form-header {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 350px;
    background-color: #f5f5f5;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 8px 16px;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-form-header:focus-within {
    background-color: var(--light-bg);
    border-color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#searchInput {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
}

#searchInput::placeholder {
    color: #999;
}

.search-icon-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-icon-btn:hover {
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .search-box-header {
        margin: 0 15px;
    }

    .search-form-header {
        max-width: 300px;
    }
}

/* Dashboard-style pagination */
.dashboard-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 40px 0 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.dashboard-pagination .pg-info {
    width: 100%;
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 8px;
}

.dashboard-pagination a,
.dashboard-pagination span:not(.pg-info) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.15s;
}

.dashboard-pagination a:hover {
    background: var(--gray-bg);
    border-color: var(--text-primary);
}

.dashboard-pagination .active {
    background: var(--primary-black);
    color: #fff;
    border-color: var(--primary-black);
    font-weight: 700;
}

.dashboard-pagination .pg-dot {
    border: none;
    background: transparent;
    min-width: auto;
    color: var(--text-light);
}


/* ════════════════════════════════════════════════
   MOBİL RESPONSIVE — Hamburger Menü & Genel Düzen
   ════════════════════════════════════════════════ */

/* Hamburger butonu & drawer parçaları — masaüstünde gizli */
.nav-toggle{
    display:none;
    flex-direction:column;justify-content:center;gap:5px;
    width:42px;height:42px;padding:9px;background:none;border:none;cursor:pointer;
    border-radius:8px;transition:background .2s;flex-shrink:0;
}
.nav-toggle span{
    display:block;width:100%;height:2px;background:#111;border-radius:2px;
    transition:transform .28s ease,opacity .2s ease;
}
.nav-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.active span:nth-child(2){opacity:0}
.nav-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.nav-drawer-head{display:none}
.nav-overlay{
    display:none;position:fixed;inset:0;z-index:9995;
    background:rgba(0,0,0,.5);opacity:0;transition:opacity .28s ease;
}
.nav-overlay.show{display:block;opacity:1}

@media (max-width: 900px){
    html,body{overflow-x:hidden;max-width:100%}

    /* backdrop-filter, fixed konumlu drawer'ı header'a hapsediyordu — mobilde kaldır */
    .header{backdrop-filter:none;-webkit-backdrop-filter:none}

    /* ── Header düzeni ── */
    .header-top{
        display:flex;align-items:center;flex-wrap:wrap;
        gap:10px;padding:12px 16px;
    }
    .nav-toggle{display:flex;order:1}
    .logo{order:2;margin-right:auto}
    .logo-img{height:38px;width:auto}
    .header-icons{order:3;width:auto;gap:14px;margin-left:auto}
    .search-box-header{order:4;width:100%;display:block}
    .search-form-header{max-width:100%;width:100%}

    /* ── Navbar → sol kenardan açılan drawer ── */
    .navbar{
        position:fixed;top:0;left:0;bottom:0;z-index:9996;
        width:82%;max-width:320px;height:100%;
        background:#fff;box-shadow:4px 0 30px rgba(0,0,0,.2);
        transform:translateX(-100%);transition:transform .3s cubic-bezier(.4,0,.2,1);
        overflow-y:auto;display:block;
    }
    .navbar.open{transform:translateX(0)}

    .nav-drawer-head{
        display:flex;align-items:center;justify-content:space-between;
        padding:20px;border-bottom:1px solid #eee;
        font-weight:800;font-size:14px;letter-spacing:1px;
        position:sticky;top:0;background:#fff;z-index:2;
    }
    .nav-drawer-close{
        background:none;border:none;font-size:28px;line-height:1;
        cursor:pointer;color:#111;padding:0;width:32px;height:32px;
    }

    .navbar ul{display:block;padding:8px 0;margin:0;gap:0}
    .navbar > ul > li{border-bottom:1px solid #f2f2f2}
    .navbar ul li a{
        display:flex;align-items:center;justify-content:space-between;
        padding:15px 20px;font-size:14px;font-weight:600;color:#111;
    }

    /* Akordeon dropdown */
    .navbar .dropdown .chev{transition:transform .25s ease;font-size:12px}
    .navbar .dropdown.expanded .chev{transform:rotate(180deg)}
    .navbar .dropdown-menu{
        position:static;display:block;box-shadow:none;border:none;
        max-height:0;overflow:hidden;padding:0;
        background:#f8f8f8;transition:max-height .3s ease;
        min-width:auto;opacity:1;visibility:visible;transform:none;
    }
    .navbar .dropdown.expanded .dropdown-menu{max-height:600px}
    .navbar .dropdown-menu a{
        padding:12px 20px 12px 36px;font-size:13px;font-weight:500;color:#555;
    }
    .navbar .dropdown-menu.brands-menu{
        grid-template-columns:1fr;display:block;
    }
    .navbar .menu-empty{padding:12px 36px;display:block;color:#999;font-size:13px}

    /* ── Ürün gridleri ── */
    .products-grid,.product-grid,.products{
        grid-template-columns:repeat(2,1fr)!important;gap:12px!important;
    }

    /* Dar kartta fiyat satırı taşmasın (eski + indirimli fiyat) */
    .product-price{flex-wrap:wrap;gap:4px 8px}
    .product-price .sale-price{font-size:16px}
    .product-price .original-price{font-size:12px}

    /* Tablo taşmalarını kaydırılabilir yap */
    table{max-width:100%}
}

@media (max-width: 480px){
    .header-top{padding:10px 12px;gap:8px}
    .logo-img{height:32px}
    .header-icons{gap:10px}
    .header-icons .icon-link span,
    .header-icons a[href="login.php"]{font-size:0}
    .cart-btn{font-size:13px}

    /* İki yerine tek/çift ürün — küçük telefon */
    .products-grid,.product-grid,.products{
        grid-template-columns:repeat(2,1fr)!important;gap:10px!important;
    }

    /* Genel container padding */
    .container{padding-left:14px;padding-right:14px}

    /* Butonlar tam genişlik */
    .btn-block-mobile{width:100%}

    /* Başlık boyutları */
    h1{font-size:24px}
    h2{font-size:20px}
}

/* Kategori vitrini */
.cat-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    grid-template-rows: 390px 450px;
    grid-template-areas: "a a d" "b c d";
    gap: 22px;
    max-width: 1340px;
    margin: 30px auto;
    padding: 0 20px;
}
.cat-a { grid-area: a; } .cat-b { grid-area: b; } .cat-c { grid-area: c; } .cat-d { grid-area: d; }
.cat-tile {
    position: relative;
    display: block;
    overflow: hidden;
    background: #ddd center/cover no-repeat;
    transition: transform .4s;
}
.cat-tile::before {
    content: '';
    position: absolute; inset: 0;
    background: inherit;
    transition: transform .6s ease;
}
.cat-tile:hover::before { transform: scale(1.05); }
.cat-tile span {
    position: absolute;
    left: 50%; bottom: 42px;
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    padding: 11px 34px;
    font: 700 13px 'Poppins', sans-serif;
    letter-spacing: .5px;
    white-space: nowrap;
    z-index: 1;
}
.cat-tile:hover span { background: #000; color: #fff; }
@media (max-width: 900px) {
    .cat-showcase {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px 260px 420px;
        grid-template-areas: "a a" "b c" "d d";
        gap: 12px;
    }
    .cat-tile span { bottom: 20px; padding: 9px 22px; font-size: 12px; }
}
