/* Genel Ayarlar – Modern profesyonel palet (siyah–kırmızı uyumlu) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Ana renkler – kırmızı kontrollü kullanım */
    --primary-color: #B91C3C;
    --primary-hover: #9F1239;
    --primary-subtle: rgba(185, 28, 60, 0.08);
    --primary-border: rgba(185, 28, 60, 0.25);
    /* Siyah / koyu tonlar */
    --accent-dark: #0F172A;
    --accent-dark-soft: #1E293B;
    --black-color: #0F172A;
    --nav-bg: #0F172A;
    --nav-text: #FFFFFF;
    /* Nötrler */
    --secondary-color: #FFFFFF;
    --surface: #FAFAFA;
    --surface-elevated: #FFFFFF;
    --text-color: #1E293B;
    --text-muted: #64748B;
    --light-gray: #F1F5F9;
    --dark-gray: #475569;
    --border-color: #E2E8F0;
    --border-light: #F1F5F9;
    --success-color: #059669;
    /* Gölge ve radius */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-hover: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --radius: 10px;
    --radius-lg: 14px;
    /* İkonlar */
    --icon-sm: 12px;
    --icon-md: 14px;
    --icon-lg: 18px;
    --icon-xl: 22px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--surface);
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

.page-section {
    padding: 64px 0;
    background-color: var(--secondary-color);
}
.page-section.alt-bg {
    background-color: var(--light-gray);
}
.page-section {
    background-color: var(--surface-elevated);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.container.narrow {
    max-width: 900px;
}

/* Sadece urunler.php sayfası için özel container */
.products-section .products-container-modern {
    padding: 0 15px;
    max-width: 1400px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
}

/* PC: navbar sticky (içerik normal akar, üstte boşluk yok). Mobilde fixed + padding */
.header-nav-sticky {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--surface-elevated);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .header-nav-sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
}

/* Sadece mobil/tablette: içerik navbarın altından başlasın (PC’de padding yok) */
body {
    padding-top: 0 !important;
}

@media (max-width: 768px) {
    body {
        padding-top: 200px !important;
    }
}
@media (max-width: 480px) {
    body {
        padding-top: 190px !important;
    }
}

html {
    scroll-padding-top: 0;
}
@media (max-width: 768px) {
    html {
        scroll-padding-top: 200px;
    }
}
@media (max-width: 480px) {
    html {
        scroll-padding-top: 190px;
    }
}

.main-header {
    background-color: var(--surface-elevated);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-light);
}

.header-top {
    background-color: var(--black-color);
    color: var(--secondary-color);
    padding: 10px 0;
    font-size: 12px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-badge {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.header-top-left span:not(.header-badge) {
    color: rgba(255,255,255,0.85);
    font-size: 11px;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-top-right a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 12px;
}

.header-top-right a:hover {
    color: var(--secondary-color);
}

.header-main {
    padding: 14px 0;
    background-color: var(--surface-elevated);
    border-bottom: 1px solid var(--border-color);
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
}
.logo a {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 10px 18px;
    border-radius: var(--radius);
    background: var(--surface-elevated);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.logo a:hover {
    box-shadow: var(--shadow);
    border-color: var(--accent-dark-soft);
}
.logo-image-modern {
    max-height: 52px !important;
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}
.logo-modern {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-family: inherit;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.15;
    padding-left: 12px;
    border-left: 3px solid var(--primary-color);
}
.logo-text-modern {
    color: var(--accent-dark);
    font-weight: 800;
    letter-spacing: 0.03em;
}
.logo-text-modern.logo-red {
    color: var(--primary-color);
}

.logo h1 {
    color: var(--text-color);
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.search-box {
    flex: 1;
    max-width: 450px;
    position: relative;
}

.search-box form {
    display: flex;
    width: 100%;
}

.search-box input {
    flex: 1;
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    background-color: var(--light-gray);
}

.search-box input:focus {
    border-color: var(--primary-color);
    background-color: var(--secondary-color);
}

.search-box .search-btn {
    padding: 10px 24px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.search-box .search-btn:hover {
    background-color: var(--primary-hover);
}

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

.header-icon {
    position: relative;
    font-size: var(--icon-md);
    color: var(--text-color);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.header-icon:hover {
    border-color: var(--accent-dark);
    color: var(--accent-dark);
    background-color: var(--light-gray);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--accent-dark);
    color: var(--secondary-color);
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
    border: 2px solid var(--secondary-color);
}

.btn-order-start {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-order-start:hover {
    background-color: var(--primary-hover);
}

/* Navigation */
.main-nav {
    background-color: var(--nav-bg);
    color: var(--nav-text);
    border-top: 2px solid var(--accent-dark);
    position: relative;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    display: block;
    padding: 12px 18px;
    color: var(--nav-text);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    background-color: rgba(220,20,60,0.1);
    color: var(--primary-color);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 80%;
}

/* Navbar alt kategori dropdown */
.nav-menu .nav-item-has-dropdown {
    position: relative;
}
.nav-menu .nav-item-has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nav-dropdown-arrow {
    font-size: 10px;
    opacity: 0.8;
    transition: transform 0.2s ease;
}
.nav-menu .nav-item-has-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
}
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 6px;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}
.nav-menu .nav-item-has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
}
.nav-dropdown li {
    margin: 0;
    padding: 0;
}
.nav-dropdown li a {
    padding: 10px 16px;
    color: #333;
    font-size: 13px;
    white-space: nowrap;
}
.nav-dropdown li a:hover {
    background: rgba(220,20,60,0.08);
    color: var(--primary-color);
}
.nav-dropdown li a::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--nav-text);
    font-size: var(--icon-lg);
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.mobile-menu-toggle-header {
    display: none;
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: var(--icon-md);
    cursor: pointer;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-left: auto;
    order: 999;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle-header:hover {
    background-color: var(--light-gray);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Hero Banner Section */
.hero-banner-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--black-color);
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-banner-section:has(.hero-banner-bg) {
    min-height: 600px;
}

.hero-banner-section:not(:has(.hero-banner-bg)) {
    min-height: auto;
    padding: 60px 0;
}

.hero-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    max-height: 600px;
    object-fit: cover;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.banner-slide:first-child.active {
    opacity: 1;
    z-index: 1;
}

/* Banner görselleri için zorunlu görünürlük */
.hero-banner-bg .banner-slide.active {
    opacity: 1 !important;
    z-index: 1 !important;
}

.hero-banner-bg .banner-slide:first-child:not(.active) {
    opacity: 1;
    z-index: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: bicubic;
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.banner-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -ms-interpolation-mode: bicubic;
    will-change: opacity, transform;
    transform: translateZ(0) scale(1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -o-transform: translateZ(0);
    -webkit-perspective: 1000px;
    perspective: 1000px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    filter: contrast(1.05) brightness(1.02);
    -webkit-filter: contrast(1.05) brightness(1.02);
}

.banner-slide-1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.6) 0%, rgba(26,26,26,0.4) 50%, rgba(26,26,26,0.2) 100%);
    z-index: 1;
}

.banner-slide-2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.2) 0%, rgba(26,26,26,0.4) 50%, rgba(26,26,26,0.6) 100%);
    z-index: 1;
}

.hero-banner-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-banner-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.95);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8), 0 0 1px rgba(0,0,0,1);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-title-highlight {
    color: var(--primary-color);
}

.hero-description {
    font-size: 16px;
    color: rgba(255,255,255,0.95);
    line-height: 1.7;
    margin-bottom: 25px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 0 2px rgba(0,0,0,0.8);
}

.hero-features {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255,255,255,0.95);
    margin-bottom: 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8), 0 0 1px rgba(0,0,0,1);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    padding: 14px 28px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(185, 28, 60, 0.45);
    letter-spacing: 0.3px;
}

.btn-hero-primary:hover {
    background-color: var(--primary-hover);
    color: #fff;
    box-shadow: 0 6px 20px rgba(185, 28, 60, 0.5);
    transform: translateY(-1px);
}

.btn-hero-secondary {
    padding: 14px 28px;
    background-color: rgba(255,255,255,0.95);
    color: #1a1a1a;
    border: 2px solid rgba(255,255,255,0.9);
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    letter-spacing: 0.3px;
}

.btn-hero-secondary:hover {
    background-color: #fff;
    border-color: #fff;
    color: #1a1a1a;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    transform: translateY(-1px);
}


.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--surface-elevated);
    color: var(--accent-dark);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-dark);
    border: 2px solid var(--accent-dark);
}
.btn-secondary:hover {
    background-color: var(--accent-dark);
    color: var(--secondary-color);
}

/* Kategoriler */
.categories-section {
    padding: 64px 0;
    background-color: var(--light-gray);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 32px;
    flex-wrap: wrap;
}

.section-title {
    text-align: left;
    font-size: 32px;
    color: var(--text-color);
    margin: 0 0 8px 0;
    font-weight: 700;
    position: relative;
    padding-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.25;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-dark));
    border-radius: 1px;
}

.section-subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 600;
}

.section-description {
    color: var(--dark-gray);
    font-size: 15px;
    line-height: 1.6;
    max-width: 400px;
    margin-top: 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: var(--surface-elevated);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: all 0.25s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
}

.category-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    border-left-color: var(--primary-hover);
}

.category-card-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    background-color: var(--light-gray);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
}

.category-card-placeholder {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: 10px;
    flex-shrink: 0;
}

.category-card-placeholder i {
    font-size: var(--icon-xl);
    color: #999;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-card-content {
    flex: 1;
    min-width: 0;
}

.category-card-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.category-card-default-desc {
    color: #999;
    font-size: 13px;
}

.category-card h3 {
    color: var(--text-color);
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.category-card p {
    color: var(--dark-gray);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
    /* Uzun metin tek tip görünsün: en fazla 3 satır, sonrası ... */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-card-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.category-card-link:hover {
    color: var(--primary-hover);
}

.category-card-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.category-card i {
    font-size: var(--icon-xl);
    color: var(--primary-color);
    margin-bottom: 10px;
    opacity: 0.9;
}

/* Ürünler */
.products-section {
    padding: 64px 0;
    background-color: var(--secondary-color);
}
.products-section.alt-bg {
    background-color: var(--light-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Anasayfa: "Anasayfada göster" kategorileri - başlık + Kategoriye Git + ürünler */
.homepage-category-block {
    padding: 64px 0 48px;
}
.homepage-category-block .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.homepage-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.homepage-category-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.02em;
}
.homepage-category-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}
.homepage-category-link:hover {
    color: #333;
}
.homepage-category-block .products-grid {
    margin-top: 0;
}
/* Anasayfa kategori blokları: en fazla 4 ürün, 4 sütun sabit (5. ürün alta taşıp düzeni bozmasın) */
/* PC: anasayfa kategorilerinde en fazla 4 ürün; mobilde hepsi sağa kaydırılır */
.homepage-category-block .products-grid.homepage-category-products {
    grid-template-columns: repeat(4, 1fr);
}

/* Sadece büyük masaüstü (1025px+): anasayfa kategorilerinde max 4 ürün; tablet/mobil yatay kaydırma */
@media (min-width: 1025px) {
    .homepage-category-block .homepage-category-products .product-card:nth-child(n+5) {
        display: none;
    }
}

/* Tablet (Surface Pro vb.) ve mobil: Kask/Mont vb. kategorilerde yatay kaydırma, tüm ürünler */
@media (max-width: 1024px) {
    .homepage-category-block .container {
        overflow-x: hidden;
        max-width: 100%;
    }
    .homepage-category-block .products-grid.homepage-category-products {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        grid-template-columns: unset;
        gap: 12px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .homepage-category-block .products-grid.homepage-category-products .product-card {
        flex: 0 0 auto;
        min-width: 180px;
        max-width: 180px;
        scroll-snap-align: start;
    }
}
@media (max-width: 768px) {
    .homepage-category-block .products-grid.homepage-category-products .product-card {
        min-width: 160px;
        max-width: 160px;
    }
}
@media (max-width: 576px) {
    .homepage-category-block .products-grid.homepage-category-products {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        grid-template-columns: unset;
        gap: 10px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .homepage-category-block .products-grid.homepage-category-products .product-card {
        min-width: 150px;
        max-width: 150px;
    }
}

/* Ürünler sayfası grid: mobil/tablet 2 sütun (masaüstü products-page-modern.css’te 4 sütun) */
@media (max-width: 991px) {
    .products-section .products-content-modern .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        margin-top: 0;
    }
}

.product-card {
    background-color: var(--surface-elevated);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.25s ease;
    position: relative;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-color);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    background-color: var(--light-gray);
    overflow: hidden;
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
    z-index: 0;
}

.product-image-link:hover {
    opacity: 0.95;
}

.product-image-link .product-image {
    display: block;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
    backface-visibility: hidden;
    transform: translateZ(0);
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
}

.product-favorite {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.product-favorite:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.product-favorite i {
    color: var(--accent-dark);
    font-size: var(--icon-md);
}

.product-favorite.active i {
    color: var(--primary-color);
}

.product-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--accent-dark);
    color: var(--secondary-color);
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.product-badge i {
    font-size: var(--icon-sm);
}

.product-info {
    padding: 16px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
    min-height: 40px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-engagement {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 11px;
    flex-wrap: wrap;
}

.product-favorites-count {
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-rating .stars {
    color: #ffc107;
}

.product-rating .rating-text {
    color: var(--text-color);
    font-weight: 500;
}

.product-shipping {
    font-size: 10px;
    color: var(--dark-gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.35;
}
.product-shipping i {
    font-size: var(--icon-sm);
    opacity: 0.85;
    flex-shrink: 0;
}

.product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 15px;
    min-width: 0;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    flex-shrink: 0;
    white-space: nowrap;
}

.old-price {
    font-size: 13px;
    color: var(--dark-gray);
    text-decoration: line-through;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
}

.btn-add-cart {
    flex: 1;
    padding: 11px 16px;
    background-color: var(--accent-dark);
    color: var(--secondary-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background-color: #333;
}

.btn-view {
    padding: 11px 18px;
    background-color: var(--light-gray);
    color: var(--text-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background-color: var(--border-color);
}

/* Sepet sayfası - oran ve stil tutarlılığı */
.cart-section.page-section {
    min-height: 60vh;
}
.cart-section .container {
    max-width: 100%;
    box-sizing: border-box;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: var(--surface-elevated);
    box-shadow: var(--shadow);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.cart-table thead tr {
    background-color: var(--accent-dark);
    color: var(--secondary-color);
}
.cart-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}
.cart-table th:not(:first-child) {
    text-align: center;
}
.cart-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}
.cart-table td:not(:first-child) {
    text-align: center;
}
.cart-table tbody tr:last-child td {
    border-bottom: none;
}

/* Sepet – sipariş özeti ve buton alanı (grid) */
.cart-section form > div[style*="grid-template-columns: 2fr 1fr"],
.cart-section .empty-cart-layout {
    box-sizing: border-box;
}

/* Boş durum / bilgi ikonları - minimal */
.empty-state-icon {
    font-size: 24px !important;
    margin-bottom: 12px;
    opacity: 0.5;
    display: block;
}

/* Sipariş takip sayfası - oran tutarlılığı */
.order-tracking-section {
    padding: 64px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    min-height: calc(100vh - 300px);
}
.order-tracking-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}
.order-tracking-section .search-card,
.order-tracking-section .order-card {
    background: var(--secondary-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}
.order-tracking-section .search-input:focus {
    outline: none;
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 3px rgba(26,26,26,0.1);
}
.order-tracking-section .search-btn {
    padding: 14px 30px;
    background: var(--accent-dark);
    color: var(--secondary-color);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.order-tracking-section .search-btn:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Product Detail Section */
.product-detail-section {
    padding: 64px 0;
    background-color: var(--light-gray);
}

.product-detail-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    padding: 30px;
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.product-detail-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    background: var(--secondary-color);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 35px;
    border: 1px solid rgba(0,0,0,0.05);
}

.product-images-section {
    position: relative;
}

.main-product-image {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
}

.main-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
}

.product-discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.thumbnail-item.active {
    border-color: var(--primary-color);
}

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

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-breadcrumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.product-category {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
}

.product-code {
    color: var(--dark-gray);
}

.product-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

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

.star-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: #FFD700;
    font-size: 18px;
}

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

.review-count {
    color: var(--dark-gray);
    font-size: 14px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.product-tag {
    background-color: var(--light-gray);
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.old-price {
    font-size: 20px;
    color: var(--dark-gray);
    text-decoration: line-through;
}

.current-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.savings {
    color: var(--success-color);
    font-size: 14px;
    font-weight: 600;
}

.discount-badge {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.stock-badge {
    background-color: var(--success-color);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-size: 14px;
}

.feature-item i {
    color: var(--accent-dark);
    font-size: var(--icon-md);
    width: 16px;
    text-align: center;
}

.product-short-description {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spec-label {
    font-size: 12px;
    color: var(--dark-gray);
    text-transform: uppercase;
}

.spec-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.product-quantity-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 40px;
    border: none;
    background-color: var(--light-gray);
    color: var(--text-color);
    font-size: var(--icon-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background-color: var(--border-color);
}

#productQuantity {
    width: 60px;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    background-color: var(--secondary-color);
}

.total-price-display {
    font-size: 18px;
    color: var(--text-color);
}

.total-price-display strong {
    color: var(--primary-color);
    font-size: 20px;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-add-to-cart {
    flex: 1;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
    background-color: #b8122e;
    transform: translateY(-2px);
}

.btn-buy-now {
    flex: 1;
    padding: 15px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-buy-now:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.shipping-info {
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 8px;
    font-size: 12px;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Ürün Detay Sekmeleri */
.product-tabs-section {
    background: var(--secondary-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.product-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    padding: 0 30px;
    gap: 30px;
    overflow-x: auto;
}

.tab-btn {
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-gray);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

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

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

.tab-content-inner h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 25px;
}

.product-full-description {
    line-height: 1.8;
    color: var(--text-color);
    font-size: 15px;
}

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

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.spec-name {
    font-weight: 600;
    color: var(--text-color);
}

.spec-detail {
    color: var(--dark-gray);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.info-label {
    font-size: 12px;
    color: var(--dark-gray);
    text-transform: uppercase;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.reviews-summary {
    margin-bottom: 30px;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 8px;
    text-align: center;
}

.overall-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.rating-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.rating-stars {
    font-size: var(--icon-lg);
    color: #FFD700;
}

.rating-count {
    color: var(--dark-gray);
    font-size: 14px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.review-item {
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-color);
}

.review-rating {
    color: #FFD700;
    font-size: 14px;
}

.review-date {
    color: var(--dark-gray);
    font-size: 12px;
    margin-left: auto;
}

.review-text {
    color: var(--text-color);
    line-height: 1.7;
}

.btn-load-more {
    width: 100%;
    padding: 12px;
    background-color: var(--light-gray);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background-color: var(--border-color);
}

.qa-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.qa-item {
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.qa-question {
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 600;
}

.qa-answer {
    color: var(--dark-gray);
    line-height: 1.7;
}

.btn-ask-question {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ask-question:hover {
    background-color: #b8122e;
}

.related-products-section {
    margin-top: 40px;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-info-detail h1 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 15px;
}

/* Checkout Section */
.checkout-section {
    padding: 40px 0;
}

.checkout-section > div {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Contact Section */
.contact-section {
    padding: 64px 0;
    background-color: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-info-card {
    background-color: var(--secondary-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-info-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 5px 0;
}

.contact-form-card {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-form-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
}

.contact-form-card .form-group {
    margin-bottom: 20px;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form-card textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-contact-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-contact-submit:hover {
    background-color: #b8122e;
    transform: translateY(-1px);
}

.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

/* Account Section */
.account-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.account-nav-item {
    padding: 12px 24px;
    color: var(--dark-gray);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-nav-item:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.account-nav-item.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.account-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.account-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.account-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.account-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-list-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.account-list-item:last-child {
    border-bottom: none;
}

.account-list-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.account-list-right {
    text-align: right;
}

.account-list-meta {
    color: var(--dark-gray);
    font-size: 13px;
    margin-top: 5px;
}

.account-info p {
    margin-bottom: 12px;
    color: var(--text-color);
}

.account-empty,
.account-empty-card {
    color: var(--dark-gray);
    text-align: center;
    padding: 40px 20px;
}

.account-empty-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.account-order-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.account-order-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.account-empty-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.account-favorites {
    margin-top: 30px;
}

/* About Section */
.about-section {
    padding: 64px 0;
    background-color: var(--secondary-color);
}

.about-header {
    margin-bottom: 40px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text h3 {
    font-size: 22px;
    color: var(--text-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-text p {
    font-size: 16px;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.about-values li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--dark-gray);
    line-height: 1.6;
}

.about-values li:last-child {
    border-bottom: none;
}

.about-values strong {
    color: var(--primary-color);
    display: inline-block;
    min-width: 100px;
}

/* FAQ Section */
.faq-section {
    padding: 64px 0;
    background-color: var(--light-gray);
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--secondary-color);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-gray);
}

.faq-question.active {
    background-color: var(--light-gray);
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    flex: 1;
}

.faq-question i {
    font-size: var(--icon-md);
    color: var(--accent-dark);
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    padding: 0 25px 20px 25px;
}

.faq-answer p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin: 0;
}

/* Checkout Section */
.checkout-header {
    margin-bottom: 40px;
}

.checkout-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin: 40px auto 50px;
    position: relative;
    max-width: 800px;
    padding: 20px 0;
}

.checkout-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 0;
    transform: translateY(-50%);
}

.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    background-color: var(--secondary-color);
    padding: 0 15px;
    cursor: pointer;
}

.checkout-step.completed .step-number {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    border: 3px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.checkout-step.active .step-number {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.1);
}

.step-label {
    font-size: 14px;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.checkout-step.active .step-label {
    color: var(--primary-color);
    font-weight: 700;
}

.checkout-step.completed .step-label {
    color: #28a745;
}

.checkout-form-card {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.05);
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-wrapper-vertical {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.checkout-form-card.step-inactive {
    opacity: 0.5;
    pointer-events: none;
}

.checkout-form-card.step-active {
    opacity: 1;
    pointer-events: all;
}

.order-summary-card-vertical {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    margin-top: 20px;
}

.checkout-step-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
}

.step-header-text {
    flex: 1;
}

.checkout-form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.checkout-form-subtitle {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--dark-gray);
    margin: 0 0 8px 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.checkout-form-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.3;
}

.checkout-badges {
    display: flex;
    gap: 10px;
}

.checkout-badge {
    background-color: var(--light-gray);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    color: var(--dark-gray);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
    border-color: var(--primary-color);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    margin-bottom: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.radio-group {
    display: flex;
    gap: 15px;
}

.radio-option {
    flex: 1;
    padding: 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--secondary-color);
}

.radio-option:hover {
    border-color: var(--primary-color);
    background-color: rgba(220, 20, 60, 0.05);
}

.radio-option input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background-color: rgba(220, 20, 60, 0.1);
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background-color: rgba(220,20,60,0.05);
}

.btn-checkout-submit {
    width: 100%;
    padding: 16px 24px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.2);
    letter-spacing: 0.3px;
}

.btn-checkout-submit:hover {
    background-color: #b8122e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.btn-checkout-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(220, 20, 60, 0.2);
}

.order-summary-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    height: fit-content;
    position: sticky;
    top: 24px;
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .order-summary-card {
        top: 210px;
    }
}

/* Sepet sayfası – sipariş özeti ve kartlar arkada beyaz kart hissini azalt */
.cart-section .cart-order-summary {
    background: #f8f9fa !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
    border: 1px solid var(--border-color);
}
.cart-section .cart-table tbody tr {
    background: #f8f9fa;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.order-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.order-count-badge {
    background-color: var(--text-color);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.order-summary-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.order-summary-item:last-of-type {
    border-bottom: none;
}

.order-summary-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.order-summary-item-meta {
    color: var(--dark-gray);
    font-size: 12px;
    margin-top: 5px;
}

.order-summary-price {
    text-align: right;
    font-weight: 600;
    color: var(--text-color);
}

.order-summary-total {
    border-top: 2px solid var(--border-color);
    padding-top: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-summary-total-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
}

.order-summary-total-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.order-summary-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 15px 0;
}

.order-summary-shipping-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.order-summary-shipping-info p {
    font-size: 12px;
    color: var(--dark-gray);
    margin-bottom: 8px;
    line-height: 1.5;
}

.btn-checkout-proceed {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-checkout-proceed:hover {
    background-color: #b8122e;
    transform: translateY(-1px);
}

.order-summary-note {
    font-size: 12px;
    color: var(--dark-gray);
    text-align: center;
    margin-top: 15px;
}

.empty-cart-message {
    text-align: center;
    padding: 40px 20px;
}

.empty-cart-message p {
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.btn-empty-cart {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-empty-cart:hover {
    background-color: #b8122e;
}

.order-summary-totals {
    margin-top: 20px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--dark-gray);
}

.order-summary-row span:last-child {
    color: var(--text-color);
    font-weight: 500;
}

@media (max-width: 768px) {
    .checkout-section > div {
        grid-template-columns: 1fr !important;
    }
    
    .order-summary-card {
        position: static !important;
        margin-top: 30px;
        top: auto !important;
    }
    
    .checkout-steps {
        flex-wrap: wrap;
        gap: 20px;
        margin: 30px auto 40px;
        padding: 15px 0;
    }
    
    .checkout-steps::before {
        display: none;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .step-label {
        font-size: 12px;
    }
    
    .checkout-form-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .checkout-badges {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    /* Ödeme sayfası 2 sütunlu yapıyı mobilde tek sütuna çevir */
    #payment-form > div[style*="grid-template-columns: 1fr 1fr"] {
        display: block !important;
    }
    
    #payment-form > div > div {
        margin-bottom: 25px;
    }
    
    .checkout-form-card {
        padding: 25px 20px !important;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }
    
    .section-header .btn {
        width: 100%;
        text-align: center;
    }
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.payment-method-card {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.payment-method-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.1);
}

.payment-method-card:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background-color: rgba(220, 20, 60, 0.05);
}

.payment-method-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.payment-badge {
    background-color: var(--light-gray);
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-gray);
}

.payment-checkbox {
    margin-bottom: 15px;
}

.payment-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.payment-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn-payment-open {
    width: 100%;
    padding: 12px;
    background-color: var(--black-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-payment-open:hover {
    background-color: #333;
    transform: translateY(-1px);
}

.payment-warning {
    color: var(--dark-gray);
    font-size: 12px;
    margin-top: 10px;
}

.payment-info {
    color: var(--primary-color);
    text-align: center;
    padding: 20px;
    font-weight: 500;
}

.payment-radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 0;
}

.payment-radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.payment-radio-label strong {
    font-size: 16px;
    color: var(--text-color);
}

#card-form .form-input {
    background: white;
    border: 2px solid var(--border-color);
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
    transition: border-color 0.3s ease;
}

#card-form .form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

#card-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.category-products-preview {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.category-products-preview img {
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.category-products-preview img:hover {
    transform: scale(1.05);
}

/* Ödeme Sayfası Kart Formu */
#card-form {
    animation: fadeIn 0.3s ease;
}

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

.form-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.main-footer {
    background-color: #1a1a1a;
    color: var(--secondary-color);
    padding: 60px 0 20px;
    margin-top: 60px;
    position: relative;
    z-index: 50; /* Mobilde fixed header'ın altında kalmaması için */
}

.main-footer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, rgba(220,20,60,0.1) 0%, transparent 100%);
    pointer-events: none; /* Tıklamalar linklere geçsin */
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

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

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-brand {
    position: relative;
}

.footer-logo h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.footer-badge {
    background-color: rgba(255,255,255,0.1);
    color: #ccc;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
}

.footer-col h3, .footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p {
    color: #ccc;
    line-height: 1.8;
    font-size: 14px;
}

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

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

.footer-col ul li a {
    color: #ccc;
    transition: color 0.3s ease;
    font-size: 14px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    z-index: 1;
    padding: 4px 0; /* Mobilde dokunma alanı */
    touch-action: manipulation;
}

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

.footer-col ul ul.footer-submenu {
    margin-top: 6px;
    margin-left: 12px;
    padding-left: 0;
    list-style: none;
}
.footer-col ul ul.footer-submenu li {
    margin-bottom: 6px;
}
.footer-col ul ul.footer-submenu li a {
    font-size: 13px;
    color: #aaa;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #ccc;
    font-size: 13px;
}
.contact-info li i {
    font-size: var(--icon-sm);
    opacity: 0.9;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 32px;
    height: 32px;
    background-color: var(--accent-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: var(--icon-sm);
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    background-color: #333;
}

/* Footer minimal ikonlar */
.main-footer .fa-lg,
.main-footer .contact-info li i {
    font-size: var(--icon-sm) !important;
}
.main-footer .social-links a i {
    font-size: var(--icon-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .header-main {
        gap: 15px;
    }
    
    .search-box {
        max-width: 400px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
    }
    
    .container {
        padding: 0 12px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Mobilde taşmayı önle: grid/flex çocukları küçülebilsin */
    .categories-grid,
    .products-grid {
        min-width: 0;
    }
    .category-card,
    .product-card {
        min-width: 0;
    }
    
    .section-title {
        font-size: 22px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .section-description {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .categories-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    
    .category-card {
        padding: 14px;
        min-width: 0;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-top-left,
    .header-top-right {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .header-main .container {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .search-box {
        max-width: 100%;
        width: 100%;
        order: 3;
    }
    
    .logo {
        order: 1;
        text-align: center;
    }
    
    .header-actions {
        order: 2;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-banner-container {
        grid-template-columns: 1fr !important;
        gap: 40px;
        padding: 0 20px;
    }
    
    .hero-banner-left {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 32px;
        text-shadow: 0 1px 4px rgba(0,0,0,0.7), 0 0 2px rgba(0,0,0,0.6);
    }
    
    .hero-description {
        font-size: 14px;
        text-shadow: 0 1px 4px rgba(0,0,0,0.85), 0 0 2px rgba(0,0,0,0.75);
    }
    
    .hero-features {
        flex-wrap: wrap;
        font-size: 12px;
    }
    
    .hero-products-display {
        padding: 20px;
    }
    
    .hero-banner-section {
        padding: 40px 0;
        min-height: 450px;
    }
    
    .hero-banner-section:has(.hero-banner-bg) {
        min-height: 450px;
    }
    
    .hero-banner-bg {
        max-height: 450px;
    }
    
    .banner-slide {
        max-height: 450px;
        background-size: cover;
        background-position: center center;
    }
    
    .hero-banner-container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-features {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .checkout-wrapper {
        grid-template-columns: 1fr !important;
    }
    
    .checkout-step-header {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .checkout-badges {
        width: 100%;
        margin-top: 10px;
    }
    
    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start !important;
    }
    
    .section-description {
        max-width: 100%;
    }
    
    /* Ödeme sayfası 2 sütunlu yapıyı mobilde tek sütuna çevir */
    #payment-form > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .order-summary-card {
        position: static !important;
        margin-top: 30px;
        top: auto;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr !important;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr !important;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
    }
    
    .account-nav {
        flex-direction: column;
    }
    
    .account-nav-item {
        width: 100%;
        justify-content: center;
    }

    .main-nav .container {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--nav-bg);
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        z-index: 999;
        margin-top: 0;
    }

    .nav-menu.active {
        display: flex;
    }
    
    /* Mobil menü açıkken nav-menu stilleri override edilmeli */
    .main-nav.mobile-open .nav-menu {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
    }
    
    .nav-menu li a::after {
        display: none;
    }
    
    .nav-menu li a:hover {
        background-color: rgba(220,20,60,0.2);
        padding-left: 30px;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }
    
    .main-nav {
        position: relative;
    }

    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h2 {
        font-size: 32px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    
    /* Anasayfa Kask/Mont ürünleri yatay kaydırma (768px’te de geçerli) */
    .homepage-category-block .products-grid.homepage-category-products {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        grid-template-columns: unset;
        gap: 14px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .homepage-category-block .products-grid.homepage-category-products .product-card {
        flex: 0 0 auto;
        min-width: 160px;
        max-width: 160px;
        scroll-snap-align: start;
    }
    
    /* Sadece urunler.php sayfası için mobilde tek sütun */
    .products-section .products-content-modern .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .categories-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    
    .category-card {
        padding: 14px;
        flex-direction: column;
        text-align: center;
        min-height: 0;
        min-width: 0;
    }
    
    .category-card-image,
    .category-card .category-card-placeholder {
        width: 64px;
        height: 64px;
        margin: 0 auto;
        object-fit: contain;
    }
    
    .category-card-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .category-card p,
    .category-card-default-desc {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .category-card-link {
        font-size: 12px;
    }

    .header-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 15px 0;
    }
    
    .header-contact {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .header-contact a {
        margin-right: 0;
    }
    
    .header-social {
        margin-top: 10px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .category-card {
        flex-direction: column;
        text-align: center;
    }
    
    .category-card-image {
        width: 100px;
        height: 100px;
    }
    
    .product-detail-wrapper {
        grid-template-columns: 1fr !important;
    }
    
    .checkout-section > div {
        grid-template-columns: 1fr !important;
    }
    
    .contact-section > div {
        grid-template-columns: 1fr !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    table {
        font-size: 14px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px !important;
    }
    
    .footer-bottom > div {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none !important;
    }
    
    .empty-cart-layout {
        grid-template-columns: 1fr !important;
    }
    
    .sepet-section-mobile {
        padding: 20px 0 32px;
        background-color: var(--light-gray);
    }
    
    /* Sepet mobil: arkadaki beyaz kart taşmasın; sadece satır kartları görünsün */
    .sepet-section-mobile .container {
        padding: 0 14px 20px;
        overflow: visible;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .sepet-section-mobile .cart-table {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0;
        overflow: visible;
        margin-bottom: 16px;
    }
    
    .sepet-section-mobile .cart-table,
    .sepet-section-mobile .cart-table thead,
    .sepet-section-mobile .cart-table tbody,
    .sepet-section-mobile .cart-table tr,
    .sepet-section-mobile .cart-table td {
        display: block;
    }
    
    .sepet-section-mobile .cart-table thead {
        display: none;
    }
    
    .sepet-section-mobile .cart-table tbody tr {
        background: #fff;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        margin-bottom: 12px;
        padding: 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .sepet-section-mobile .cart-table tbody td {
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
        text-align: left !important;
    }
    
    .sepet-section-mobile .cart-table tbody td:last-child {
        border-bottom: none;
    }
    
    .sepet-section-mobile .cart-table td:nth-child(1) {
        padding-top: 0;
        padding-bottom: 12px;
    }
    
    .sepet-section-mobile .cart-table td:nth-child(1) > div {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .sepet-section-mobile .cart-table td:nth-child(1) img {
        width: 70px !important;
        height: 70px !important;
        flex-shrink: 0;
    }
    
    .sepet-section-mobile .cart-table td:nth-child(1) h4 {
        font-size: 14px;
        line-height: 1.35;
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex: 1;
        min-width: 0;
    }
    
    .sepet-section-mobile .cart-table td:nth-child(2)::before {
        content: "Fiyat: ";
        font-weight: 600;
        color: var(--dark-gray);
    }
    
    .sepet-section-mobile .cart-table td:nth-child(3)::before {
        content: "Adet: ";
        font-weight: 600;
        color: var(--dark-gray);
    }
    
    .sepet-section-mobile .cart-table td:nth-child(4)::before {
        content: "Toplam: ";
        font-weight: 600;
        color: var(--dark-gray);
    }
    
    .sepet-section-mobile .cart-table td:nth-child(5)::before {
        content: "Sil";
        font-size: 0;
    }
    
    .sepet-section-mobile .cart-table td:nth-child(5) {
        padding-top: 12px;
        border-top: 1px dashed var(--border-color);
    }
    
    .sepet-section-mobile .cart-table input[type="number"] {
        width: 56px !important;
        max-width: 100%;
        padding: 8px !important;
        box-sizing: border-box;
    }
    
    /* Sepet form grid – mobilde tek sütun, özet üstte */
    .sepet-section-mobile .cart-form-grid {
        display: flex !important;
        flex-direction: column-reverse;
        gap: 20px;
    }
    
    .sepet-section-mobile .cart-form-grid > div {
        min-width: 0;
        max-width: 100%;
    }
    
    .sepet-section-mobile .cart-order-summary {
        padding: 20px !important;
        box-sizing: border-box;
        width: 100%;
        background: #f8f9fa !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
        border: 1px solid var(--border-color);
    }
    
    .sepet-section-mobile .btn-primary {
        width: 100%;
        box-sizing: border-box;
    }
    
    .sepet-section-mobile form input[placeholder="Kodunuz"] {
        min-width: 0;
        flex: 1;
        box-sizing: border-box;
    }
    
    .sepet-section-mobile .cart-coupon-row {
        flex-wrap: wrap;
    }
    
    .sepet-section-mobile .btn-coupon-apply {
        flex-shrink: 0;
        padding: 10px 16px !important;
    }
    
    .sepet-section-mobile .cart-order-summary strong,
    .sepet-section-mobile .cart-order-summary span,
    .sepet-section-mobile .cart-order-summary p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .mobile-menu-toggle-header {
        display: flex !important;
        order: 999;
        margin-left: auto;
    }
    
    /* Header her zaman sabit (mobilde de aşağı kaydıkça takip etsin) */
    .main-header {
        z-index: 10001;
        position: sticky;
        top: 0;
    }
    
    .main-nav {
        display: none;
    }
    
    /* Mobil menü açıkken header'ı gizle */
    body.menu-open .main-header {
        z-index: 9998;
    }
    
    .main-nav.mobile-open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        max-width: 85%;
        height: 100vh;
        z-index: 10000;
        background: var(--nav-bg);
        box-shadow: 2px 0 12px rgba(0,0,0,0.15);
        overflow-y: auto;
        padding: 0;
    }
    
    .main-nav.mobile-open .container {
        padding: 0 !important;
        max-width: 100%;
        height: auto;
        min-height: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        align-content: flex-start;
        position: relative;
    }
    
    /* Close button - Minimalist - En üstte */
    .main-nav.mobile-open .mobile-menu-toggle {
        display: flex !important;
        align-self: flex-end;
        background: transparent;
        border: none;
        color: rgba(255,255,255,0.8);
        font-size: 20px;
        padding: 12px 18px;
        cursor: pointer;
        order: 1;
        transition: all 0.2s ease;
        margin-left: auto;
        flex-shrink: 0;
        margin-bottom: 0;
        margin-top: 0;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 10;
    }
    
    .main-nav.mobile-open .mobile-menu-toggle:hover {
        color: white;
    }
    
    .main-nav.mobile-open .nav-menu {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        position: relative;
        top: 0 !important;
        left: 0 !important;
        background: transparent;
        box-shadow: none;
        margin: 0 !important;
        padding: 0 !important;
        padding-top: 0 !important;
        align-items: stretch;
        justify-content: flex-start;
        flex-shrink: 0;
        align-self: flex-start;
        transform: translateY(0) !important;
        order: 2;
    }
    
    .main-nav.mobile-open .nav-menu li {
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
    }
    
    .main-nav.mobile-open .nav-menu li:first-child {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .main-nav.mobile-open .nav-menu li:first-child a {
        border-top: none;
        margin-top: 0 !important;
        padding-top: 12px !important;
        margin-bottom: 0;
    }
    
    /* Menü içeriğinin en üstten başlaması için */
    .main-nav.mobile-open .container > *:first-child {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .main-nav.mobile-open .nav-menu:first-child {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .main-nav.mobile-open .nav-menu li a {
        padding: 12px 18px !important;
        color: rgba(255,255,255,0.9);
        border-bottom: 1px solid rgba(255,255,255,0.06);
        font-size: 13px;
        font-weight: 400;
        letter-spacing: 0.2px;
        transition: all 0.2s ease;
        text-transform: none;
        display: block;
        width: 100%;
        margin: 0 !important;
        box-sizing: border-box;
    }
    
    .main-nav.mobile-open .nav-menu li a:hover,
    .main-nav.mobile-open .nav-menu li a:active {
        background-color: rgba(220,20,60,0.12);
        padding-left: 22px;
        color: white;
    }
    
    .header-main.sticky + .main-nav.mobile-open {
        top: 0;
    }
    
    /* Overlay for mobile menu – sadece açıkken tıklamaları alsın */
    .mobile-nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 9999;
        pointer-events: none;
    }
    
    .mobile-nav-overlay.active {
        display: block;
        pointer-events: auto;
    }
}

/* Mobil: banner daha profesyonel – overlay, tipografi ve buton düzeni */
@media (max-width: 768px) {
    .hero-banner-section {
        min-height: 380px;
        align-items: center;
        justify-content: center;
        padding: 48px 0 52px;
    }
    .hero-banner-section:has(.hero-banner-bg) {
        min-height: 380px;
    }
    .hero-banner-section::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.5) 100%);
        z-index: 1;
        pointer-events: none;
    }
    .hero-banner-container {
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
    }
    .hero-banner-content {
        max-width: 100%;
        text-align: center;
        padding: 0;
    }
    .hero-badge {
        font-size: 11px;
        letter-spacing: 1.2px;
        opacity: 0.95;
        margin-bottom: 10px;
    }
    .hero-title {
        font-size: 24px;
        line-height: 1.25;
        margin-bottom: 12px;
        text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    }
    .hero-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
        opacity: 0.95;
        text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    }
    .hero-features {
        font-size: 11px;
        margin-bottom: 22px;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    }
    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 22px;
        font-size: 13px;
        font-weight: 600;
        border-radius: 8px;
        min-width: 140px;
        text-align: center;
        box-sizing: border-box;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .btn-hero-primary:hover,
    .btn-hero-secondary:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
}

@media (max-width: 480px) {
    .hero-banner-section {
        padding: 40px 0 44px;
        min-height: 340px;
    }
    
    .hero-banner-section:has(.hero-banner-bg) {
        min-height: 340px;
    }
    
    .hero-banner-bg {
        max-height: 100%;
    }
    
    .banner-slide {
        max-height: 100%;
        background-size: cover;
        background-position: center center;
    }
    
    .hero-banner-container {
        padding: 0 16px;
    }
    
    .hero-banner-content {
        padding-bottom: 12px;
    }
    
    .hero-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .hero-description {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .hero-features {
        font-size: 11px;
        margin-bottom: 18px;
        gap: 6px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 11px 18px;
        font-size: 12px;
        min-width: 120px;
    }
    
    .hero-badge {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .checkout-form-card {
        padding: 20px;
    }
    
    .order-summary-card {
        padding: 20px;
    }
    .container {
        padding: 0 10px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .categories-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    
    .category-card {
        padding: 10px;
        flex-direction: column;
        text-align: center;
        min-height: 0;
        min-width: 0;
    }
    
    .category-card-content {
        flex: 1;
        min-width: 0;
    }
    
    .category-card-badge {
        font-size: 11px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .category-card-image,
    .category-card .category-card-placeholder {
        width: 64px;
        height: 64px;
        margin: 0 auto;
        object-fit: contain;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .section-title,
    .section-description {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .sepet-section-mobile .container {
        padding: 0 10px;
    }
    
    .sepet-section-mobile .cart-order-summary {
        padding: 16px !important;
    }
    
    .sepet-section-mobile .cart-table tbody tr {
        padding: 12px;
    }
    
    .sepet-section-mobile .cart-table td:nth-child(1) img {
        width: 56px !important;
        height: 56px !important;
    }
    
    .categories-section {
        padding: 40px 0;
    }
    
    .homepage-category-block {
        padding: 40px 0 32px;
    }
    
    .homepage-category-title {
        font-size: 20px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .product-card .product-title {
        font-size: 13px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-wrap: break-word;
    }
    
    .product-card .product-info {
        padding: 10px 8px;
    }
    
    .product-image-wrapper {
        height: 140px;
    }
    
    .product-card .product-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 6px;
        min-width: 0;
    }
    
    .product-card .btn-add-cart,
    .product-card .btn-view {
        flex: 1 1 0%;
        min-width: 0;
        padding: 8px 6px;
        font-size: 11px;
        border-radius: 5px;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-section {
        padding: 40px 0;
    }

    .hero-section h2 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .hero-section p {
        font-size: 14px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .section-description {
        font-size: 14px;
    }
    
    .product-title {
        font-size: 14px;
        min-height: 40px;
    }
    
    .current-price {
        font-size: 20px;
    }
    
    .btn-add-cart,
    .btn-view {
        padding: 10px;
        font-size: 13px;
    }
    
    .product-detail-main {
        grid-template-columns: 1fr !important;
        gap: 30px;
        padding: 20px;
    }
    
    .main-product-image {
        height: 300px;
    }
    
    .product-thumbnails {
        justify-content: center;
    }
    
    .product-detail-title {
        font-size: 24px;
    }
    
    .product-pricing {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .current-price {
        font-size: 28px;
    }
    
    .product-quantity-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-tabs {
        flex-wrap: wrap;
        gap: 15px;
        padding: 0 15px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .product-specs-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-section > div {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .contact-section > div {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .cart-icon,
    .user-icon {
        font-size: var(--icon-md);
    }
    
    .login-btn,
    .logout-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* Page Content Section Styles */
.page-content-section {
    padding: 64px 0;
    background-color: var(--surface);
}

.page-header {
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 16px;
}

.page-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.page-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-content p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.page-content ul,
.page-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
    color: var(--dark-gray);
}

.page-content li {
    margin-bottom: 10px;
}

.page-content strong {
    color: var(--text-color);
    font-weight: 600;
}

.page-content a {
    color: var(--accent-dark);
    text-decoration: underline;
}

.page-content a:hover {
    color: var(--text-color);
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-content {
        font-size: 15px;
    }
    
    .page-content h2 {
        font-size: 24px;
    }
    
    .page-content h3 {
        font-size: 20px;
    }
}
    
    .main-footer {
        padding: 40px 0 15px;
    }
    
    .footer-col h3,
    .footer-col h4 {
        font-size: 14px;
    }
    
    .footer-col p,
    .footer-col ul li a {
        font-size: 13px;
    }
}
