/**
 * MG Commerce - Main Stylesheet
 * Soft/Pastel Theme for Turkish Women's Fashion
 */

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 70px;
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

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

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

/* ==================== UTILITIES ==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 40px 0;
}

.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.section-header .section-title {
    margin-bottom: 0;
    text-align: left;
}

.section-header .section-title::after {
    display: none;
}

.section-link {
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bg-light {
    background-color: var(--secondary);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: #a25d68;
    border-color: #a25d68;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

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

.btn-block {
    width: 100%;
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* ==================== FLASH MESSAGES ==================== */
.flash-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 400px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.flash-success {
    background: var(--success);
    color: #fff;
}

.flash-error {
    background: var(--error);
    color: #fff;
}

.flash-warning {
    background: #f0ad4e;
    color: #fff;
}

.flash-close {
    margin-left: auto;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.8;
}

.flash-close:hover {
    opacity: 1;
}

/* ==================== HEADER ==================== */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-top: 0 !important;
}

.top-bar {
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    margin-top: 0;
}

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

.top-bar a {
    color: #fff;
}

.top-bar i {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }

    .top-bar-right {
        width: 100%;
        text-align: center;
    }
}

.main-header {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.logo {
    flex: 1;
}

.header-search {
    flex: 2;
    max-width: 500px;
    display: flex;
    position: relative;
}

.header-actions {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
}

.logo {
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--primary);
}

.logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 22px;
    }

    .logo {
        margin-left: 10px;
    }
}

@media (max-width: 360px) {
    .logo-text {
        font-size: 18px;
    }
}

.mobile-search-btn {
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .header-search {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .header-content {
        gap: 10px;
    }

    .logo {
        flex: none;
        margin-left: 0;
    }

    .mobile-menu-toggle {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-content {
        position: relative;
        justify-content: center;
    }

    .mobile-search-btn {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
    }
}



.mobile-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    padding: 15px;
    padding-top: 80px;
    overflow-y: auto;
}

.mobile-search-overlay.active {
    display: flex;
    flex-direction: column;
}

.mobile-search-overlay form {
    width: 100%;
    display: flex;
    position: relative;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.mobile-search-overlay .search-input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
}

.mobile-search-overlay .search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
}


.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 30px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

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

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    color: var(--text-secondary);
}

.header-action i {
    font-size: 22px;
    color: var(--text-primary);
}

.header-action:hover i {
    color: var(--primary);
}

.cart-action {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: 15px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .action-text {
        display: none;
    }

    .header-action i {
        font-size: 20px;
    }

    .header-actions {
        gap: 15px;
    }
}

/* Navigation */
.main-nav {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-menu>li>a {
    display: block;
    padding: 15px 0;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 2000;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-close {
    font-size: 30px;
    color: var(--text-secondary);
}

.mobile-menu-search {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-search form {
    display: flex;
    gap: 10px;
}

.mobile-menu-search input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.mobile-menu-search button {
    padding: 10px 15px;
    background: var(--primary);
    color: #fff;
    border-radius: 5px;
}

.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.mobile-menu-nav li a {
    display: block;
    padding: 15px 20px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--secondary);
    border-radius: 8px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow: visible;
}

/* WhatsApp — tabbar içinde, absolute ile tabbarın üstüne çıkar */
.whatsapp-tabbar-float {
    display: none;
}

@media (max-width: 768px) {
    .whatsapp-tabbar-float {
        display: flex;
        position: absolute;
        bottom: calc(100% + 10px);
        right: 15px;
        width: auto;
        height: 44px;
        padding: 0 14px 0 12px;
        background: #25D366;
        color: #fff;
        border-radius: 50px;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
        text-decoration: none;
        z-index: 1;
    }

    .whatsapp-tabbar-label {
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
    }

    /* Ürün detay sayfasında tabbar WhatsApp'ı gizle — bar içinde whatsapp-above-bar var */
    body.product-detail-page .whatsapp-tabbar-float {
        display: none;
    }
}
.mobile-whatsapp-float {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 15px;
    width: 50px;
    height: 50px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-decoration: none;
}

@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none;
    }
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    color: var(--text-secondary);
    position: relative;
}

.bottom-nav-item i {
    font-size: 20px;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--primary);
}

/* ==================== HERO SLIDER ==================== */
.hero-slider {
    padding: 30px 0;
}

.slider-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-container.no-transition {
    transition: none !important;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide picture,
.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Koyu overlay - metni her arka planda okunabilir yapar */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .slide picture,
    .slide img {
        height: 300px;
    }
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 40px 60px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.slide-title {
    font-size: 48px;
    margin-bottom: 15px;
    color: #fff;
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .slide-content {
        padding: 25px 30px;
        width: 85%;
        max-width: 320px;
    }

    .slide-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .slide-content .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

.slide-subtitle {
    font-size: 20px;
    margin-bottom: 25px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--primary);
    color: #fff;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* ==================== CATEGORY PILLS (Homepage) ==================== */
.category-pills-section {
    padding: 16px 0 8px;
    background: var(--background, #fff);
}

.category-pills {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-pills::-webkit-scrollbar {
    display: none;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: #f3f4f6;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-primary, #333);
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.category-pill:hover {
    background: #fff;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pill-img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary, #4f46e5);
    color: #fff;
    font-size: 13px;
}

@media (max-width: 640px) {
    .category-pills {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        overflow-x: visible;
    }

    .category-pill {
        padding: 7px 10px;
        font-size: 12px;
        justify-content: center;
        white-space: nowrap;
    }
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #eef1f5 100%);
}

.stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stats-section .stat-item {
    padding: 24px 16px;
}

.stats-section .stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(183, 110, 121, 0.12);
    color: var(--primary);
    font-size: 22px;
}

.stats-section .stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary, #1a1a2e);
    letter-spacing: -0.5px;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.stats-section .stat-label {
    font-size: 13.5px;
    color: var(--text-secondary, #6b7280);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stats-section .stat-number {
        font-size: 22px;
    }

    .stats-section .stat-icon {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
}


/* ==================== PRODUCTS ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.load-more-wrap {
    text-align: center;
    margin-top: 32px;
}

.load-more-btn {
    min-width: 200px;
    padding: 12px 36px;
    background: var(--text-primary);
    color: #fff;
    border: 2px solid var(--text-primary);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.1s;
    display: inline-block;
    letter-spacing: 0.3px;
}

.load-more-btn:hover {
    background: #444;
    border-color: #444;
    transform: translateY(-1px);
}

.load-more-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--secondary);
}

/* Görsel yüklenirken shimmer efekti */
.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: imgShimmer 1.5s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.product-image.img-loaded::before {
    opacity: 0;
}

@keyframes imgShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.product-image picture,
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Ana görsel başlangıçta gizli, yüklenince fade-in */
.product-image > picture:first-child,
.product-image > img:first-child {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-image.img-loaded > picture:first-child,
.product-image.img-loaded > img:first-child {
    opacity: 1;
}

.product-card:hover .product-image picture,
.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Hover 2. görsel efekti — sadece hover destekleyen cihazlarda */
.product-card-img-hover {
    display: none;
}

@media (hover: hover) {
    .has-hover-image .product-card-img {
        transition: opacity 0.5s ease-in-out;
    }

    .product-card-img-hover {
        display: block;
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
        z-index: 1;
    }

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

    .has-hover-image:hover .product-card-img-hover {
        opacity: 1;
    }

    .has-hover-image:hover .product-card-img:not(.product-card-img-hover) {
        opacity: 0;
    }
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #ddd;
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.product-badge {
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
    color: #fff;
}

.badge-new {
    background: var(--primary);
}

.badge-sale {
    background: var(--error);
}

.badge-sale .badge-text {
    display: inline;
}

@media (max-width: 768px) {

    /* Mobilde Yeni badge varsa İndirim yazısını gizle */
    .product-badges:has(.badge-new) .badge-sale .badge-text {
        display: none;
    }
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--primary);
    color: #fff;
}

.action-btn.wishlist-btn.active {
    background: #fff;
    color: var(--error);
}

.action-btn.wishlist-btn.active:hover {
    background: var(--error);
    color: #fff;
}

.product-info {
    padding: 12px 15px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    margin: 8px 0;
    line-height: 1.4;
}

.product-name a:hover {
    color: var(--primary);
}

.product-price {
    font-family: var(--font-price);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.product-info > .btn:last-child {
    margin-top: auto;
}

.add-to-cart-btn {
    font-size: 13px;
    padding: 10px 15px;
}

/* ==================== PROMO BANNER ==================== */
.promo-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #d4a5ab 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.banner-content h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .promo-banner {
        padding: 50px 0;
    }

    .banner-content h2 {
        font-size: 24px;
    }
}

/* ==================== FEATURES ==================== */
.features-section {
    padding: 60px 0;
    background: #fff;
}

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

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-item i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    flex: 1;
}

/* ==================== WHATSAPP BUTTON ==================== */
/* Desktop: whatsapp-btn görünür, mobilde gizle */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: auto;
    height: 50px;
    padding: 0 20px 0 16px;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn-label {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .whatsapp-btn {
        display: none;
    }
}

/* whatsapp-above-bar sadece mobil ürün detayda görünür */
.whatsapp-above-bar {
    display: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* ==================== BANKA LOGOLARI ==================== */
.bank-logos {
    background-color: var(--background);
    padding: 20px 0;
    margin: 30px 0;
}

.bank-logos-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.bank-logos-inner img {
    height: 24px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .bank-logos {
        display: none;
    }
}

/* ==================== FOOTER ==================== */
.footer {
    background: #1c1c1c;
    color: #fff;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: #fff;
    margin-bottom: 15px;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 15px;
    letter-spacing: 0.5px;
}

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

.footer-social a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

.footer-heading {
    font-size: 13px;
    color: #fff;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--primary);
    margin-top: 8px;
}

.footer-links {
    margin-top: 8px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-contact {
    margin-top: 8px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-contact i {
    color: var(--primary);
    flex-shrink: 0;
}

/* Trust & Payment bar */
.footer-trust {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 6px 14px;
}

.trust-badge i {
    color: var(--primary);
    font-size: 15px;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-icons img {
    height: 25px;
    opacity: 0.7;
}

.payment-text {
    font-size: 11px;
    color: #888;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.footer-bottom {
    text-align: center;
    padding: 18px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ==================== STATIC PAGES ==================== */
.page-content {
    padding: 40px 0;
    min-height: 60vh;
}

.static-page {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
}

.static-page h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.page-body {
    line-height: 1.8;
    color: var(--text-primary);
}

.page-body h2 {
    font-size: 22px;
    margin: 30px 0 15px;
}

.page-body h3 {
    font-size: 18px;
    margin: 25px 0 12px;
}

.page-body p {
    margin-bottom: 15px;
}

.page-body ul,
.page-body ol {
    margin: 15px 0;
    padding-left: 25px;
}

.page-body li {
    margin-bottom: 8px;
}

.page-body a {
    color: var(--primary);
}

.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.page-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.page-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.page-body table th,
.page-body table td {
    border: 1px solid #eee;
    padding: 12px;
    text-align: left;
}

.page-body table th {
    background: var(--secondary);
}

/* ==================== CONTACT PAGE ==================== */
.contact-page {
    padding: 40px 0;
}

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

.contact-header h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    margin-bottom: 10px;
}

.contact-header p {
    color: var(--text-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

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

.contact-form-section,
.contact-info-section {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.contact-info-card {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
}

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

.info-icon {
    width: 45px;
    height: 45px;
    background: rgba(183, 110, 121, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 20px;
    color: var(--primary);
}

.info-content h4 {
    font-size: 14px;
    margin-bottom: 3px;
}

.info-content p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.social-links h4 {
    font-size: 14px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-primary);
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    color: #fff;
}

/* ==================== SEARCH PAGE ==================== */
.search-page {
    padding: 40px 0;
    min-height: 60vh;
}

.search-header {
    text-align: center;
    margin-bottom: 30px;
}

.search-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.search-header p {
    color: var(--text-secondary);
}

.search-form-large {
    display: flex;
    max-width: 600px;
    margin: 0 auto 40px;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.search-form-large input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    font-size: 16px;
}

.search-form-large input:focus {
    outline: none;
}

.search-form-large button {
    padding: 18px 25px;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
}

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

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
}

.no-results i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.no-results h3 {
    margin-bottom: 10px;
}

.no-results p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.search-suggestions {
    text-align: left;
    max-width: 300px;
    margin: 0 auto 30px;
    padding: 20px;
    background: var(--secondary);
    border-radius: 8px;
}

.search-suggestions h4 {
    font-size: 14px;
    margin-bottom: 10px;
}

.search-suggestions ul {
    list-style: none;
}

.search-suggestions li {
    padding: 5px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.search-suggestions li::before {
    content: '•';
    color: var(--primary);
    margin-right: 8px;
}

/* ==================== CART PAGE EXTRAS ==================== */
.cart-page {
    padding: 40px 0;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

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

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 15px;
}

.cart-empty i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.cart-empty h2 {
    margin-bottom: 15px;
}

.free-shipping-bar {
    background: var(--secondary);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.free-shipping-bar.complete {
    background: var(--success);
    color: #fff;
}

.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.3s;
}

.applied-coupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #A5D6A7;
}

.applied-coupon .coupon-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.applied-coupon .coupon-info i {
    font-size: 24px;
    color: #2E7D32;
}

.applied-coupon .coupon-info strong {
    display: block;
    color: #1B5E20;
    font-size: 14px;
}

.applied-coupon .coupon-desc {
    display: block;
    font-size: 12px;
    color: #388E3C;
}

.applied-coupon .coupon-remove {
    background: none;
    border: none;
    color: #C62828;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s;
}

.applied-coupon .coupon-remove:hover {
    background: rgba(198, 40, 40, 0.1);
}

/* ==================== FORMS ==================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

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

.form-control.is-invalid {
    border-color: var(--error);
}

.form-error {
    display: block;
    color: var(--error);
    font-size: 13px;
    margin-top: 5px;
}

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

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

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

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.breadcrumb-item a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

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

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin: 0 10px;
    color: #999;
    font-size: 16px;
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 500;
}

/* ==================== CATEGORY/PRODUCT LISTING ==================== */

/* Page Heading */
.page-heading {
    padding: 24px 0 8px;
}

.page-heading h1 {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.page-heading-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 6px 0 0;
    line-height: 1.5;
}

/* Product Toolbar */
.product-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.toolbar-results {
    font-size: 14px;
    color: var(--text-secondary);
}

.toolbar-results strong {
    color: var(--text-primary);
    font-weight: 600;
}

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

/* Sort Pills */
.sort-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.sort-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-right: 4px;
    white-space: nowrap;
}

.sort-pill {
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--secondary);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.sort-pill:hover {
    color: var(--primary);
    background: #fff;
    border-color: var(--primary);
}

.sort-pill.active {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

/* Filter Toggle Button */
.filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

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

.filter-toggle-btn.has-filters {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(var(--primary-rgb, 183, 110, 121), 0.06);
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    margin-left: 2px;
}

/* Filter Panel */
.filter-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease;
    opacity: 0;
    background: #fafafa;
    border-radius: 12px;
    margin-bottom: 0;
}

.filter-panel.open {
    max-height: 300px;
    padding: 20px 24px;
    opacity: 1;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.filter-form {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}

.filter-sections {
    flex: 1;
    min-width: 250px;
}

.filter-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-title i {
    font-size: 15px;
    color: var(--primary);
}

/* Price Filter */
.price-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.price-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 183, 110, 121), 0.1);
}

.price-currency {
    padding: 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: #f5f5f5;
    line-height: 38px;
    border-right: 1px solid #eee;
}

.price-input-group input {
    border: none;
    outline: none;
    padding: 9px 12px;
    font-size: 14px;
    width: 100px;
    background: transparent;
}

.price-input-group input::placeholder {
    color: #bbb;
}

.price-dash {
    color: #ccc;
    font-size: 16px;
}

/* Quick Prices */
.quick-prices {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.quick-price {
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    background: #fff;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-price:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(var(--primary-rgb, 183, 110, 121), 0.05);
}

/* Filter Actions */
.filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.btn-filter-apply {
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    border: 1px solid var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s;
    min-width: 110px;
    height: 38px;
    box-sizing: border-box;
}

.btn-filter-apply:hover {
    opacity: 0.9;
}

.btn-filter-clear {
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--error);
    background: transparent;
    border: 1px solid var(--error);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s;
    min-width: 110px;
    height: 38px;
    box-sizing: border-box;
}

.btn-filter-clear:hover {
    background: var(--error);
    color: #fff;
}

/* Legacy support */
.category-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.subcategories-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.subcategory-chip {
    padding: 6px 14px;
    background: var(--secondary);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-primary);
    transition: all 0.2s;
}

.subcategory-chip:hover {
    background: var(--primary);
    color: #fff;
}

.empty-category {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 15px;
    margin: 40px 0;
}

.empty-category i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 25px;
    display: block;
}

.empty-category h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.empty-category p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 15px;
}

@media (max-width: 768px) {
    .product-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .toolbar-actions {
        flex-wrap: wrap;
        gap: 6px;
    }

    .sort-pills {
        display: contents;
    }

    .sort-label {
        display: none;
    }

    .filter-toggle-btn {
        justify-content: center;
    }

    .filter-form {
        flex-direction: column;
        gap: 16px;
    }

    .price-filter {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .price-input-group input {
        width: 70px;
    }

    .filter-actions {
        flex-direction: row;
        justify-content: flex-end;
    }
}

/* ==================== PAGINATION ==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.page-link.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ==================== LOADING ==================== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--secondary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== CART ==================== */
.cart-page {
    padding: 40px 0;
}

.cart-table {
    width: 100%;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-table th {
    background: var(--secondary);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.cart-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

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

.cart-product-image {
    width: 80px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--secondary);
}

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

.cart-product-info h4 {
    font-size: 15px;
    margin-bottom: 5px;
}

.cart-product-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-btn {
    width: 48px;
    height: 48px;
    background: var(--secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--primary);
    color: #fff;
}

.quantity-input input {
    width: 70px;
    height: 48px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.cart-remove {
    color: var(--error);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.cart-remove:hover {
    transform: scale(1.2);
}

.cart-summary {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-summary h3 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    padding-top: 15px;
    border-top: 2px solid var(--secondary);
    margin-top: 20px;
}

.summary-row.total .amount {
    color: var(--primary);
}

.coupon-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.coupon-form input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

/* ==================== AUTH PAGES ==================== */
.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--text-secondary);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 500;
}

/* ==================== ACCOUNT PAGES ==================== */
.account-page {
    padding: 40px 0;
}

.account-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
}

.account-sidebar {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.account-user {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.account-avatar {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary);
    margin: 0 auto 15px;
}

.account-user h3 {
    font-size: 16px;
}

.account-user p {
    font-size: 13px;
    color: var(--text-secondary);
}

.account-menu li {
    margin-bottom: 5px;
}

.account-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.account-menu a:hover,
.account-menu a.active {
    background: var(--secondary);
    color: var(--primary);
}

.account-menu a i {
    font-size: 18px;
}

.account-content {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.account-content h2 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary);
}

/* Orders */
.order-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.order-number {
    font-weight: 600;
    color: var(--primary);
}

.order-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background: #d4edda;
    color: #155724;
}

.status-shipped {
    background: #cce5ff;
    color: #004085;
}

.status-delivered {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 576px) {
    .section {
        padding: 25px 0;
    }

    .section-title {
        font-size: 22px;
    }

    .product-info {
        padding: 15px;
    }

    .product-name {
        font-size: 13px;
    }

    .price-current {
        font-size: 16px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* ==================== SWEETALERT2 CUSTOM ==================== */
.swal2-popup {
    font-family: 'Inter', -apple-system, sans-serif !important;
    border-radius: 16px !important;
    padding: 28px 24px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

.swal2-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    padding: 0 !important;
    margin-bottom: 8px !important;
}

.swal2-html-container {
    font-size: 14px !important;
    color: #666 !important;
    line-height: 1.5 !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}

.swal2-icon {
    margin: 0 auto 16px !important;
    width: 56px !important;
    height: 56px !important;
    border-width: 3px !important;
}

.swal2-icon.swal2-question {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.swal2-icon.swal2-warning {
    border-color: #f0ad4e !important;
    color: #f0ad4e !important;
}

.swal2-icon.swal2-success {
    border-color: var(--success) !important;
}

.swal2-icon.swal2-success .swal2-success-line-tip,
.swal2-icon.swal2-success .swal2-success-line-long {
    background-color: var(--success) !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(76, 175, 80, 0.3) !important;
}

.swal2-icon.swal2-error {
    border-color: var(--error) !important;
}

.swal2-icon.swal2-error .swal2-x-mark-line-left,
.swal2-icon.swal2-error .swal2-x-mark-line-right {
    background-color: var(--error) !important;
}

.swal2-actions {
    margin-top: 8px !important;
    gap: 10px !important;
}

.swal2-styled {
    padding: 12px 28px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    min-width: 100px !important;
}

.swal2-styled:focus {
    box-shadow: none !important;
}

.swal2-styled.swal2-confirm {
    background: var(--primary) !important;
    color: #fff !important;
}

.swal2-styled.swal2-confirm:hover {
    background: #a05d67 !important;
    transform: translateY(-1px);
}

.swal2-styled.swal2-cancel {
    background: #f5f5f5 !important;
    color: #555 !important;
}

.swal2-styled.swal2-cancel:hover {
    background: #eee !important;
}

.swal2-styled.swal2-deny {
    background: var(--error) !important;
}

/* Toast özelleştirmeleri */
.swal2-popup.swal2-toast {
    padding: 12px 16px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
}

.swal2-popup.swal2-toast .swal2-title {
    font-size: 14px !important;
    margin: 0 !important;
}

/* Backdrop */
.swal2-container {
    backdrop-filter: blur(3px);
}

.swal2-backdrop-show {
    background: rgba(0, 0, 0, 0.4) !important;
}

/* ==================== MOBILE UX IMPROVEMENTS ==================== */

/* Daha büyük dokunma alanları */
@media (max-width: 768px) {

    /* Butonlar minimum 44px yükseklik */
    .btn {
        min-height: 44px;
        padding: 12px 20px;
    }

    .btn-sm {
        min-height: 40px;
        padding: 10px 16px;
    }

    /* Quantity butonları büyüt */
    .quantity-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .quantity-input input {
        width: 60px;
        height: 44px;
        font-size: 16px;
        /* iOS zoom engellemek için */
    }

    /* Form elemanları */
    .form-control {
        min-height: 48px;
        font-size: 16px;
        /* iOS zoom engellemek için */
        padding: 14px 16px;
    }

    select.form-control {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 40px;
        -webkit-appearance: none;
        appearance: none;
    }

    /* Arama inputu */
    .header-search .search-input {
        font-size: 16px;
    }

    /* Sepet silme butonu */
    .cart-remove {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Mobil ürün kartları iyileştirmesi */
@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-info {
        padding: 12px;
    }

    .product-name {
        font-size: 13px;
        line-height: 1.3;
        /* 2 satırda kes */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-height: 34px;
        margin: 4px 0;
    }

    .product-category {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .product-price {
        flex-wrap: wrap;
        gap: 5px;
        margin-bottom: 10px;
    }

    .price-current {
        font-size: 15px;
    }

    .price-old {
        font-size: 12px;
    }

    /* Mobilde action butonları her zaman görünür */
    .product-actions {
        opacity: 1;
        transform: translateX(0);
    }

    .action-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    /* Sepete ekle butonu tam genişlik */
    .add-to-cart-btn {
        width: 100%;
        padding: 10px;
        font-size: 12px;
    }

    .add-to-cart-btn i {
        display: none;
    }
}

/* Mobil sepet sayfası */
@media (max-width: 768px) {
    .cart-page .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    /* Tablo yerine kart görünümü */
    .cart-table {
        display: block;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tbody {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .cart-table tr {
        display: block;
        padding: 12px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        position: relative;
    }

    .cart-table td {
        display: block;
        border: none !important;
        padding: 0;
        border-bottom: none !important;
    }

    /* Silme butonu - sağ üst köşe tam köşede */
    .cart-table td:last-child {
        position: absolute;
        top: 0;
        right: 0;
    }

    .cart-remove {
        width: 32px;
        height: 32px;
        background: transparent;
        border-radius: 0 12px 0 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: #ccc;
    }

    .cart-remove:hover {
        color: var(--error);
    }

    /* Ürün bilgisi - üst kısım */
    .cart-table td:first-child {
        margin-bottom: 12px;
        padding-right: 35px;
    }

    .cart-product {
        display: flex;
        gap: 12px;
        align-items: flex-start;
    }

    .cart-product-image {
        width: 70px;
        height: 85px;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .cart-product-info {
        flex: 1;
        min-width: 0;
    }

    .cart-product-info h4 {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .cart-product-info h4 a {
        color: var(--text-primary);
    }

    .cart-product-info p {
        font-size: 12px;
        color: var(--text-secondary);
        margin-bottom: 6px;
    }

    /* Fiyat gizle */
    .cart-table td:nth-child(2) {
        display: none !important;
    }

    /* Alt kısım - adet ve toplam yan yana */
    .cart-table td:nth-child(3),
    .cart-table td:nth-child(4) {
        display: inline-flex !important;
        vertical-align: middle;
    }

    .cart-table td:nth-child(3) {
        float: left;
    }

    .cart-table td:nth-child(4) {
        float: right;
        font-size: 16px;
        font-weight: 700;
        color: var(--primary);
        line-height: 35px;
    }

    /* Clear float */
    .cart-table tr::after {
        content: '';
        display: table;
        clear: both;
    }

    .quantity-btn {
        width: 44px;
        height: 44px;
    }

    .quantity-input input {
        width: 60px;
        height: 44px;
    }

    /* Cart items container */
    .cart-items {
        background: transparent;
    }

    .cart-table td:nth-child(4) {
        display: block !important;
        margin-left: auto;
        font-size: 16px;
    }

    /* Silme butonu */
    .cart-table td:last-child {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .cart-remove {
        width: 32px;
        height: 32px;
        background: #fff5f5;
        border-radius: 50%;
    }

    /* Sipariş özeti */
    .cart-sidebar {
        position: static;
        z-index: auto;
    }

    .cart-summary {
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        margin-top: 20px;
    }

    .cart-summary h3 {
        margin-bottom: 15px;
        font-size: 16px;
    }

    .coupon-form {
        flex-direction: column;
        gap: 8px;
    }

    .coupon-form .btn {
        width: 100%;
    }
}

/* Mobil ürün detay sayfası */
@media (max-width: 768px) {
    .product-detail {
        padding: 20px 0;
    }

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

    .product-title {
        font-size: 22px !important;
        margin: 10px 0 5px !important;
    }

    .product-price-detail .price-current {
        font-size: 26px !important;
    }

    .product-price-detail .price-old {
        font-size: 16px !important;
    }

    /* Popülerlik badge'leri yatay scroll */
    .popularity-badges {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .popularity-badges::-webkit-scrollbar {
        display: none;
    }

    .pop-badge {
        flex-shrink: 0;
        font-size: 11px;
        padding: 6px 10px;
    }

    /* Beden butonları */
    .size-options {
        gap: 8px;
    }

    .size-btn {
        padding: 12px 18px;
        font-size: 14px;
        min-width: 50px;
    }

    /* Renk butonları */
    .color-options {
        gap: 10px;
    }

    .color-circle {
        width: 32px;
        height: 32px;
    }

    /* Galeri thumbnail'ları */
    .gallery-thumbs {
        gap: 8px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .thumb {
        width: 60px;
        height: 75px;
    }

    /* Galeri navigasyon butonları */
    .gallery-nav {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    /* Sepete ekle barı — tabbar üstünde fixed (CSS-only, DOM move yok) */
    .product-actions-detail {
        position: fixed;
        bottom: 80px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 12px 15px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
        border-top: 1px solid #f0f0f0;
        z-index: 1000;
        margin: 0 !important;
        gap: 10px;
        display: flex;
        box-sizing: border-box;
        overflow: visible;
    }
}

/* WhatsApp above bar — sadece mobilde görünür */
.whatsapp-above-bar {
    display: none;
}

@media (max-width: 768px) {
    /* Ürün detay sayfasında layout'taki whatsapp-btn gizle — bar içinde whatsapp-above-bar var */
    body.product-detail-page .whatsapp-btn {
        display: none;
    }

    /* Diğer sayfalarda whatsapp-btn tabbarın üstünde */
    .whatsapp-btn {
        bottom: 90px;
        right: 15px;
    }

    .whatsapp-btn svg,
    .whatsapp-above-bar svg {
        width: 24px;
        height: 24px;
    }

    /* Ürün detay sayfasında bar içinde absolute ile barın üstüne çıkar */
    .whatsapp-above-bar {
        display: flex;
        position: absolute;
        bottom: calc(100% + 10px);
        right: 15px;
        width: auto;
        height: 44px;
        padding: 0 14px 0 12px;
        background: #25D366;
        color: #fff;
        border-radius: 50px;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
        text-decoration: none;
        pointer-events: all;
    }

    .whatsapp-above-bar-label {
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    /* Tabbar normal row layout — column yok */
    .mobile-bottom-nav {
        flex-direction: row;
        height: auto;
        padding: 10px 0;
    }

    .mobile-bottom-nav-items {
        display: flex;
        justify-content: space-around;
        width: 100%;
    }

    .product-actions-detail .add-to-cart-btn {
        flex: 1;
    }

    /* Ürün detay sayfasında body fazladan padding — tabbar + sepete ekle barı */
    body.product-detail-page {
        padding-bottom: 160px;
    }

    .wishlist-btn-detail {
        padding: 12px 15px !important;
    }

    /* Ürün özellikleri */
    .product-features {
        padding: 15px;
    }

    .product-features .feature {
        font-size: 13px;
    }

    /* Yorumlar */
    .product-section {
        padding: 20px;
        margin-top: 25px;
    }

    .section-heading {
        font-size: 18px;
    }
}

/* Mobil filtre drawer */
@media (max-width: 768px) {
    .filter-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 2000;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding: 0;
    }

    .filter-sidebar.active {
        transform: translateY(0);
    }

    .filter-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid #eee;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 10;
    }

    .filter-header h3 {
        margin: 0;
        font-size: 18px;
    }

    .filter-close {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .filter-content {
        padding: 20px;
        padding-bottom: 100px;
    }

    .filter-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 15px 20px;
        background: #fff;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        display: flex;
        gap: 10px;
    }

    .filter-footer .btn {
        flex: 1;
    }
}

/* Mobil header */
@media (max-width: 768px) {
    .header {
        padding: 0;
    }

    .header-logo img {
        max-height: 35px;
    }

    .header-search {
        display: none !important;
    }

    .header-search form {
        border-radius: 10px;
    }

    .header-search .search-input {
        padding: 12px 15px;
    }

    .header-icons .icon-link {
        width: 40px;
        height: 40px;
    }

    .header-icons .icon-link i {
        font-size: 20px;
    }
}

/* Touch feedback */
@media (hover: none) {

    .btn:active,
    .action-btn:active,
    .quantity-btn:active,
    .size-btn:active,
    .color-btn:active,
    .product-card:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    /* Hover efektlerini kaldır */
    .product-card:hover {
        transform: none;
    }

    .product-card:hover .product-actions {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Swipe hint animasyonu */
@keyframes swipe-hint {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-10px);
    }
}

.swipe-hint {
    animation: swipe-hint 1.5s ease-in-out 2;
}

/* Bottom sheet handle */
.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 10px auto;
}

/* Safe area padding for notched phones - only mobile */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    @media (max-width: 768px) {
        .mobile-bottom-nav-items {
            padding-bottom: calc(10px + env(safe-area-inset-bottom));
        }

        .filter-footer {
            padding-bottom: calc(15px + env(safe-area-inset-bottom));
        }

        body {
            padding-bottom: calc(70px + env(safe-area-inset-bottom));
        }

        /* Ürün detay: tabbar + sepete ekle barı + safe area */
        body.product-detail-page {
            padding-bottom: calc(160px + env(safe-area-inset-bottom));
        }

        body.product-detail-page .product-actions-detail {
            bottom: calc(80px + env(safe-area-inset-bottom));
        }
    }
}

/* Loading skeleton animasyonu */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 0px, #e0e0e0 40px, #f0f0f0 80px);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

/* Pull to refresh indicator */
.pull-to-refresh {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: transform 0.3s;
}

.pull-to-refresh.visible {
    transform: translateX(-50%) translateY(20px);
}

.pull-to-refresh i {
    font-size: 20px;
    color: var(--primary);
}

/* Spin animasyonu */
@keyframes spin-icon {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin-icon 1s linear infinite;
}

/* Mobil scroll improvements */
@media (max-width: 768px) {

    /* Smooth scroll for iOS */
    .gallery-thumbs,
    .popularity-badges,
    .categories-scroll {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .gallery-thumbs>*,
    .popularity-badges>* {
        scroll-snap-align: start;
    }

    /* Horizontal scroll hide scrollbar */
    .hide-scrollbar {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .hide-scrollbar::-webkit-scrollbar {
        display: none;
    }
}

/* Mobil toast pozisyonu */
@media (max-width: 768px) {
    .swal2-container.swal2-top-end {
        top: auto !important;
        bottom: 90px !important;
    }

    .swal2-popup.swal2-toast {
        max-width: calc(100vw - 30px) !important;
    }
}

/* ==================== CHECKOUT PAGE ==================== */
.checkout-page {
    padding: 40px 0;
    background: var(--secondary);
    min-height: 80vh;
}

.checkout-title {
    font-size: 28px;
    margin-bottom: 30px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

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

.checkout-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.checkout-section h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    margin-bottom: 20px;
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.saved-addresses {
    display: grid;
    gap: 10px;
    margin-bottom: 15px;
}

.address-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.address-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(183, 110, 121, 0.05);
}

.address-option input {
    flex-shrink: 0;
}

.address-content {
    flex: 1;
}

.address-content strong {
    display: flex;
    align-items: center;
    gap: 6px;
}

.address-content p,
.address-content small {
    color: var(--text-secondary);
    margin: 0;
    margin-top: 5px;
}

.payment-methods {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(183, 110, 121, 0.05);
}

.payment-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-content i {
    font-size: 20px;
    color: var(--primary);
}

.credit-card-form {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

/* Banka Havale/EFT Bilgileri */
.bank-info-box {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.bank-info-box h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #495057;
}

.bank-info-box h4 i {
    color: var(--primary);
    margin-right: 8px;
}

.bank-note {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.5;
}

.bank-account {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid #e9ecef;
}

.bank-logo {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.bank-details strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.bank-details p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.iban-code {
    font-family: monospace;
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.bank-warning {
    margin-top: 15px;
    padding: 12px;
    background: #fff3cd;
    border-radius: 8px;
    font-size: 13px;
    color: #856404;
}

.bank-warning i {
    margin-right: 6px;
}

@media (max-width: 576px) {
    .bank-info-box {
        padding: 15px;
    }

    .bank-account {
        gap: 10px;
        padding: 12px;
    }

    .bank-logo {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 8px;
    }

    .bank-details strong {
        font-size: 14px;
    }

    .bank-details p {
        font-size: 12px;
    }

    .iban-code {
        font-size: 11px;
        word-break: break-all;
    }
}

.summary-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
}

.summary-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.item-image {
    width: 60px;
    height: 70px;
    position: relative;
}

.item-image picture,
.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.item-qty {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 3px;
}

.item-info small {
    color: var(--text-secondary);
}

.item-price {
    font-weight: 600;
}

.coupon-section {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.coupon-input {
    display: flex;
    gap: 10px;
}

.coupon-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.coupon-applied {
    color: var(--success);
    font-size: 13px;
    margin-top: 8px;
}

.summary-totals {
    padding: 20px 0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.total-row.discount {
    color: var(--success);
}

.total-row.grand-total {
    font-size: 18px;
    font-weight: 700;
    padding-top: 15px;
    border-top: 2px solid #eee;
    margin-top: 10px;
}

.checkout-terms {
    margin-bottom: 20px;
}

.checkout-terms a {
    color: var(--primary);
    text-decoration: underline;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 13px;
}

.secure-badge i {
    color: var(--success);
}

/* ==================== CHECKOUT SUCCESS PAGE ==================== */
.success-page {
    padding: 60px 0;
    background: var(--secondary);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.success-card {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.success-icon {
    margin-bottom: 25px;
}

.success-icon i {
    font-size: 80px;
    color: var(--success);
}

.success-card h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.success-message {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.success-page .order-info {
    background: var(--secondary);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.success-page .info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.success-page .info-item:last-child {
    border-bottom: none;
}

.success-page .info-item .label {
    color: var(--text-secondary);
}

.success-page .info-item .value {
    font-weight: 600;
}

.success-page .bank-info {
    background: #FFF8E1;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: left;
}

.success-page .bank-info h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    margin-bottom: 15px;
    color: #F57C00;
}

.success-page .bank-account {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.success-page .bank-account p {
    margin: 5px 0;
    font-size: 14px;
}

.success-page .bank-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #F57C00;
    margin-bottom: 0;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions .btn {
    padding: 14px 28px;
}

/* ==================== ACCOUNT PAGES ==================== */
.account-page {
    padding: 40px 0;
    background: var(--secondary);
    min-height: 70vh;
}

.account-header h1 {
    font-size: 24px;
    margin-bottom: 25px;
}

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

@media (max-width: 768px) {
    .account-stats {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(183, 110, 121, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 22px;
    color: var(--primary);
}

.stat-info h3 {
    font-size: 24px;
    margin-bottom: 3px;
}

.stat-info p {
    color: var(--text-secondary);
    font-size: 13px;
}

.account-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
}

.account-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.account-section .section-header h2 {
    font-size: 18px;
    margin-bottom: 0;
}

.account-section .section-header a {
    color: var(--primary);
    font-size: 14px;
}

/* Account Order Cards */
.orders-list .order-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.orders-list .order-card:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.order-images {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.order-thumb {
    width: 50px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}

.order-thumb picture,
.order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-thumb.more {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-secondary);
}

.order-details {
    flex: 1;
}

.orders-list .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 0;
    border-bottom: none;
}

.order-date {
    display: block;
    color: var(--text-secondary);
    font-size: 13px;
}

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

.order-total {
    font-weight: 600;
    font-size: 16px;
}

@media (max-width: 576px) {
    .orders-list .order-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 15px;
    }

    .order-images {
        flex-shrink: 1;
    }

    .orders-list .order-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .order-footer {
        width: 100%;
    }
}

/* Account Order Full Cards */
.order-card-full {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.order-card-full:last-child {
    border-bottom: none;
}

.order-main {
    display: grid;
    grid-template-columns: auto 1fr 180px;
    gap: 25px;
    align-items: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .order-main {
        grid-template-columns: auto 1fr;
        gap: 12px;
        padding: 15px;
    }

    .order-items-preview {
        grid-row: 1;
        grid-column: 1;
    }

    .order-info {
        grid-row: 1;
        grid-column: 2;
    }

    .order-summary {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        border-top: 1px solid #f0f0f0;
        padding-top: 12px;
    }

    .order-summary .order-total {
        margin-bottom: 0;
    }

    .order-summary .order-total span {
        display: inline;
        margin-right: 4px;
    }
}

.order-meta {
    margin-bottom: 8px;
}

.order-items-preview {
    display: flex;
    gap: 8px;
}

.item-thumb {
    width: 50px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}

.item-thumb picture,
.item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-thumb.more {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-secondary);
}

.order-summary {
    text-align: right;
}

.order-summary .order-total {
    margin-bottom: 10px;
}

.order-summary .order-total span {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
}

.order-summary .order-total strong {
    font-size: 18px;
}

.order-tracking {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #E8F5E9;
    font-size: 13px;
}

.order-tracking i {
    color: #388E3C;
}

.order-tracking a {
    margin-left: auto;
    color: #388E3C;
    font-weight: 500;
}

/* Order Status Colors */
.order-status.status-pending {
    background: #FFF3E0;
    color: #E65100;
}

.order-status.status-confirmed {
    background: #E3F2FD;
    color: #1565C0;
}

.order-status.status-processing {
    background: #FFF8E1;
    color: #F9A825;
}

.order-status.status-shipped {
    background: #E0F2F1;
    color: #00796B;
}

.order-status.status-delivered {
    background: #E8F5E9;
    color: #2E7D32;
}

.order-status.status-cancelled {
    background: #FFEBEE;
    color: #C62828;
}

.order-status.status-refunded {
    background: #F3E5F5;
    color: #7B1FA2;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px;
}

.empty-state i {
    font-size: 50px;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

.empty-state h3 {
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* ==================== MOBILE HEADER & FOOTER FIX ==================== */

/* Üstteki beyaz boşluğu kaldır */
@media (max-width: 768px) {
    body {
        margin: 0;
        padding-top: 0;
    }

    .header {
        margin-top: 0;
    }

    /* Top bar mobilde sadece telefon göster */
    .top-bar {
        padding: 8px 0;
    }

    .top-bar-content {
        justify-content: center;
    }

    .top-bar-left {
        display: none;
    }

    .top-bar-right {
        margin-left: 0;
    }

    .top-bar-right a {
        font-size: 14px;
    }
}

/* Mobil Footer - Kompakt ve düzenli */
@media (max-width: 768px) {
    .footer {
        padding-top: 40px;
        padding-bottom: 80px;
        /* Bottom nav için alan */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        padding-bottom: 25px;
    }

    /* İlk bölüm - Logo ve sosyal medya */
    .footer-section:first-child {
        padding-bottom: 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 20px;
    }

    .footer-title {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .footer-about {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .footer-social {
        justify-content: center;
        gap: 12px;
    }

    .footer-social a {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    /* Linkler - Accordion tarzı */
    .footer-section:not(:first-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-section:last-child {
        border-bottom: none;
    }

    .footer-heading {
        font-size: 14px;
        margin-bottom: 0;
        padding: 15px 0;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Mobilde pembe underline yerine +/- göster */
    .footer-heading::after {
        content: '+';
        font-size: 20px;
        font-weight: 300;
        transition: transform 0.3s;
        width: auto;
        height: auto;
        background: none;
        margin-top: 0;
    }

    .footer-section.active .footer-heading::after {
        content: '−';
    }

    .footer-links,
    .footer-contact {
        display: none;
        padding-bottom: 15px;
        text-align: left;
    }

    .footer-section.active .footer-links,
    .footer-section.active .footer-contact {
        display: block;
    }

    .footer-links li,
    .footer-contact li {
        margin-bottom: 10px;
        justify-content: flex-start;
    }

    .footer-links a,
    .footer-contact li {
        font-size: 14px;
    }

    /* Footer trust */
    .footer-trust {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px 0;
    }

    .footer-trust-badges {
        justify-content: center;
    }

    .payment-icons {
        justify-content: center;
    }

    .payment-icons img {
        height: 20px;
    }

    /* Footer bottom */
    .footer-bottom {
        padding: 16px 0;
        font-size: 12px;
    }
}

/* ==================== TOAST SYSTEM ==================== */
.toast-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.toast-overlay.active {
    opacity: 1;
    visibility: visible;
}

.toast-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 99999;
    background: #fff;
    border-radius: 20px;
    padding: 40px 50px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 90%;
    width: 420px;
    overflow: hidden;
}

.toast-center.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.toast-center.hiding {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

.toast-center-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.toast-center-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.toast-center-message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.toast-center-btn {
    padding: 14px 24px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.toast-center-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.toast-center-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    border-radius: 0 0 20px 20px;
    animation: toastProgress 3s linear forwards;
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* Toast Types */
.toast-center.toast-success .toast-center-icon {
    background: linear-gradient(135deg, #d4edda 0%, #a8e6cf 100%);
    color: #28a745;
}

.toast-center.toast-success .toast-center-title {
    color: #28a745;
}

.toast-center.toast-success .toast-center-btn {
    background: var(--primary, #B76E79);
    color: #fff;
}

.toast-center.toast-success .toast-center-progress {
    background: var(--primary, #B76E79);
}

.toast-center.toast-error .toast-center-icon {
    background: linear-gradient(135deg, #fce4e4 0%, #f8d7da 100%);
    color: #dc3545;
}

.toast-center.toast-error .toast-center-title {
    color: #dc3545;
}

.toast-center.toast-error .toast-center-btn {
    background: var(--primary, #B76E79);
    color: #fff;
}

.toast-center.toast-error .toast-center-progress {
    background: #dc3545;
}

.toast-center.toast-warning .toast-center-icon {
    background: linear-gradient(135deg, #f8e8ea 0%, #f0d4d8 100%);
    color: var(--primary, #B76E79);
}

.toast-center.toast-warning .toast-center-title {
    color: #333;
}

.toast-center.toast-warning .toast-center-btn {
    background: var(--primary, #B76E79);
    color: #fff;
}

.toast-center.toast-warning .toast-center-progress {
    background: var(--primary, #B76E79);
}

.toast-center.toast-info .toast-center-icon {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
}

.toast-center.toast-info .toast-center-title {
    color: #1976d2;
}

.toast-center.toast-info .toast-center-btn {
    background: var(--primary, #B76E79);
    color: #fff;
}

.toast-center.toast-info .toast-center-progress {
    background: #1976d2;
}

.toast-center-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.toast-center-btn.btn-cancel {
    background: #e8e8e8;
    color: #444;
}

.toast-center-btn.btn-cancel:hover {
    background: #d0d0d0;
    box-shadow: none;
    transform: none;
}

/* ==================== PRODUCT DETAIL PAGE ==================== */
.product-detail {
    padding: 40px 0;
}

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

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

.gallery-main {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--secondary);
    cursor: zoom-in;
}

.gallery-main img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: opacity 0.15s ease;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumb {
    width: 70px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.thumb:hover {
    opacity: 0.8;
}

.thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

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

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
    z-index: 10;
}

.gallery-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.gallery-counter {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.zoom-hint {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-main:hover .zoom-hint {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    transition: opacity 0.15s;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

.product-category-link {
    color: var(--primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 32px;
    margin: 15px 0 8px 0;
}

.product-sku {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
    font-family: monospace;
}

.popularity-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0 20px 0;
}

.pop-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    animation: pulse-soft 2s infinite;
}

.pop-badge i {
    font-size: 14px;
}

.pop-badge strong {
    font-weight: 700;
}

.pop-cart {
    background: rgba(123, 182, 157, 0.15);
    color: #2d8659;
}

.pop-eye {
    background: rgba(100, 149, 237, 0.15);
    color: #4169e1;
}

.pop-fire {
    background: rgba(255, 107, 107, 0.15);
    color: #e74c3c;
}

@keyframes pulse-soft {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

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

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

.rating-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.product-price-detail {
    margin-bottom: 20px;
}

.product-price-detail .price-current {
    font-family: var(--font-price);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.product-price-detail .price-old {
    font-size: 20px;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-right: 15px;
}

.product-short-desc {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
}

.variant-section {
    margin-bottom: 20px;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.size-btn {
    padding: 12px 24px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

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

.size-btn.selected {
    border-color: var(--primary);
    background: rgba(183, 110, 121, 0.1);
    color: var(--primary);
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.color-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: none;
    cursor: pointer;
    transition: all 0.2s;
}

.color-btn:hover {
    border-color: #ddd;
}

.color-btn.selected {
    border-color: var(--primary);
    background: rgba(183, 110, 121, 0.05);
}

.color-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.color-btn.selected .color-circle {
    transform: scale(1.15);
    box-shadow: 0 0 0 3px var(--primary);
}

.color-btn .color-name {
    font-size: 11px;
    color: #666;
}

.color-btn.selected .color-name {
    color: var(--primary);
    font-weight: 600;
}

.variant-error-msg {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fff3f3;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    color: #c62828;
    font-size: 14px;
    margin-bottom: 15px;
}

.variant-error-msg i {
    font-size: 18px;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.3s ease-in-out 2;
}

.product-variants,
.product-quantity {
    margin-bottom: 20px;
}

.product-actions-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: stretch;
}

@media (min-width: 769px) {
    .product-actions-detail .add-to-cart-btn {
        flex: 1;
    }
}

.wishlist-btn-detail {
    padding: 15px 20px;
    border: 2px solid #ddd;
    position: relative;
}

.wishlist-btn-detail i {
    font-size: 24px;
    color: #999;
}

.wishlist-btn-detail.active {
    border-color: #e74c3c;
    background: #fff;
}

.wishlist-btn-detail.active i {
    color: #e74c3c;
}

.wishlist-btn-detail:hover {
    border-color: #e74c3c;
}

.wishlist-btn-detail:hover i {
    color: #e74c3c;
}

/* Tooltip — ::before kutu, ::after ok (render sırası: before arkada, after önde) */
.wishlist-btn-detail::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #222;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.wishlist-btn-detail::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border: 5px solid transparent;
    border-top-color: #222;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.wishlist-btn-detail:hover::before,
.wishlist-btn-detail:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.wishlist-btn-detail:hover::after,
.wishlist-btn-detail:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.stock-warning {
    color: var(--error);
    font-size: 14px;
    margin-bottom: 20px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: var(--secondary);
    border-radius: 12px;
}

.product-features .feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.product-features .feature i {
    color: var(--primary);
    font-size: 18px;
}

.product-section {
    margin-top: 40px;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
}

.section-heading {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.product-description {
    line-height: 1.8;
    color: var(--text-secondary);
}

.no-content {
    color: var(--text-secondary);
    font-style: italic;
}

.review-item {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
}

.review-date {
    font-size: 13px;
    color: var(--text-secondary);
}

.review-rating {
    color: #ffc107;
    margin-bottom: 10px;
}

.review-title {
    font-size: 15px;
    margin-bottom: 8px;
}

.review-comment {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.admin-reply {
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f4f5 0%, #fdf9fa 100%);
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
}

.admin-reply-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}

.admin-reply-header i {
    color: var(--primary);
}

.admin-reply-header strong {
    color: var(--primary);
}

.admin-reply-header .reply-date {
    color: var(--text-secondary);
    margin-left: auto;
}

.admin-reply p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== CATEGORIES PAGE ==================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

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

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.category-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.category-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--secondary);
}

.category-image picture,
.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image picture,
.category-card:hover .category-image img {
    transform: scale(1.08);
}

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
    opacity: 0.3;
}

.category-info {
    padding: 20px;
    text-align: center;
}

.category-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.category-count {
    font-size: 13px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .category-info {
        padding: 15px;
    }

    .category-info h3 {
        font-size: 15px;
    }

    .category-placeholder {
        font-size: 36px;
    }
}
/* ==================== ÇEREZ BANNER ==================== */
#cookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.10);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    padding: 16px 24px;
}

#cookieBanner.active {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    min-width: 220px;
}

.cookie-banner-text i {
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.cookie-banner-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: var(--primary);
    color: #fff;
}

.cookie-btn-primary:hover {
    opacity: 0.88;
}

.cookie-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.cookie-btn-secondary:hover {
    background: #e5e7eb;
}


@media (max-width: 640px) {
    #cookieBanner {
        padding: 14px 16px;
    }
    .cookie-banner-inner {
        gap: 14px;
    }
    .cookie-banner-actions {
        width: 100%;
    }
    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}
