/**
 * OTOEKO Ecommerce - Home Content CSS
 * Premium E-Commerce Design System
 * Modern, Clean, Elegant
 * 
 * Design Tokens merkezi dosyadan import ediliyor: variables.css
 */

@import url('./variables.css');

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-y: scroll !important; /* Dikey scrollbar her zaman görünsün */
    overflow-x: hidden !important;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    min-height: 100vh;
}

/* E-ticaret: scroll html'de, body'de overflow yok (sticky için gerekli) */
body.ecommerce-front {
    overflow: visible !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

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

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

ul, ol {
    list-style: none;
}

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

/* ========================================
   UTILITIES
   ======================================== */
/* site-main: Header sticky, padding/margin gerekli değil */
.site-main {
    min-height: 60vh;
    position: relative;
    z-index: 0; /* Header (10002) ve dropdown'un altında kalsın */
    max-width: 100%;
    overflow-x: hidden; /* Banner/ürün alanı taşmasın */
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Container genişliği: variables.css içinde tek merkezi kural (1600px) */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========================================
   HERO SECTION
   ======================================== */
/* Hero: header/footer ile aynı container genişliği - tam sayfa değil */
.hero-section {
    padding: var(--space-3) 0 20px 0;
    background: var(--color-white);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Hero section container - genel tanımı kullanır */

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    max-width: 100%;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 2fr 1fr;
        align-items: stretch;
    }
}

/* Hero Slider - container içinde taşmasın, altında gölge yok */
.hero-slider {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
}

/* Swiper: container genişliğinde kalsın, viewport'a taşmasın */
.hero-slider.swiper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.hero-slider .swiper-slide {
    max-width: 100%;
}

.hero-slider .swiper-wrapper {
    position: relative;
}

.hero-slider .swiper-slide {
    width: 100% !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slider .swiper-slide-active {
    opacity: 1;
    visibility: visible;
}

.hero-slide {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-slide {
        min-height: 480px;
    }
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.92) 0%, rgba(234, 88, 12, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px;
    max-width: 580px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge [data-lucide] {
    width: 16px;
    height: 16px;
}

.hero-badge.sale {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border: none;
}

.hero-badge.new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
}

.hero-badge.hot {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
}

/* Hero Title */
.hero-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-title span {
    display: block;
    color: #fff;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 44px;
    }
}

/* Hero Description */
.hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 28px;
    line-height: 1.7;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.btn [data-lucide] {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: #fff;
    color: #ea580c;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: #f9fafb;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Swiper Navigation */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
    color: #ea580c;
}

.hero-slider .swiper-button-prev {
    left: 20px;
}

.hero-slider .swiper-button-next {
    right: 20px;
}

/* Swiper Pagination */
.hero-slider .swiper-pagination {
    bottom: 20px;
}

.hero-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 5px;
    background: #fff;
}

/* Progress Bar */
.swiper-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.swiper-progress-bar {
    height: 100%;
    background: #fff;
    width: 0;
    transition: width 0.1s linear;
}

/* Hero Banners */
.hero-banners {
    display: grid;
    gap: var(--space-4);
    grid-template-rows: 1fr 1fr;
    height: 100%;
}

.hero-banner {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-banner:hover {
    box-shadow: var(--shadow-xl);
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
}

.hero-banner-content {
    position: relative;
    z-index: 1;
    padding: var(--space-6);
    width: 100%;
}

.hero-banner-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--color-accent);
    color: var(--color-white);
    font-size: var(--font-size-xs);
    font-weight: 700;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-2);
}

.hero-banner-badge.sale { background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); }
.hero-banner-badge.new { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.hero-banner-badge.hot { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }

.hero-banner h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-1);
}

.hero-banner p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    padding: var(--space-4) 0;
    background: var(--color-white);
    margin-top: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, #fed7aa 100%);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-xl);
    color: var(--color-primary-hover);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: var(--space-1);
}

.feature-text p {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
}

/* ========================================
   SECTION COMMON
   ======================================== */
/* Ürün bölümü: header/footer ile aynı container genişliği - tam sayfa değil */
.section {
    width: 100%;
    max-width: 100%;
    padding: var(--space-12) 0;
    overflow: hidden;
    box-sizing: border-box;
}

/* Section container - genel tanımı kullanır */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.section-title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--color-gray-900);
}

.section-subtitle {
    margin-top: var(--space-2);
    color: var(--color-gray-500);
    font-size: var(--font-size-sm);
}

.section-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: gap var(--transition-fast);
}

.section-link:hover {
    gap: var(--space-3);
}

/* ========================================
   CATEGORIES SECTION
   ======================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-6);
    background: var(--color-white);
    border: 2px solid var(--color-gray-100);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
}

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

.category-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 50%;
    font-size: var(--font-size-2xl);
    color: var(--color-white);
    margin-bottom: var(--space-4);
    transition: transform var(--transition-base);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-name {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: var(--space-1);
}

.category-count {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
}

/* ========================================
   PRODUCTS GRID
   ======================================== */
/* ========================================
   PROMO SECTION
   ======================================== */
.promo-section {
    padding: var(--space-5) 0 0 0;
    margin-bottom: var(--space-5);
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .promo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.promo-card {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-base);
}

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

.promo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.promo-content {
    position: relative;
    z-index: 1;
    padding: var(--space-8);
    width: 100%;
}

.promo-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--color-primary);
    color: var(--color-white);
    font-size: var(--font-size-xs);
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.promo-badge.sale { background: var(--color-primary); }
.promo-badge.new { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.promo-badge.hot { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }

.promo-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: var(--space-2);
}

.promo-card p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-5);
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--color-white);
    color: var(--color-gray-900);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

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

/* ========================================
   BRANDS SECTION
   ======================================== */
.brands-slider {
    padding: var(--space-4) 0;
}

.brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    background: var(--color-gray-50);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.brand-card:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
}

.brand-card img {
    max-height: 40px;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.brand-card:hover img {
    opacity: 1;
}

/* ========================================
   SWIPER CUSTOMIZATION
   ======================================== */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--color-white);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--color-white);
    width: 24px;
    border-radius: var(--radius-full);
}

/* ========================================
   PRODUCTS GRID - 5 Column Layout
   ======================================== */
.products-main-section {
    background: var(--color-white);
    padding: var(--space-4) 0;
}

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

@media (min-width: 640px) {
    .products-grid-5col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid-5col {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1280px) {
    .products-grid-5col {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Product Card V2 - Premium Design */
.product-card-v2 {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card-v2:hover {
    border-color: #f97316;
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.15);
    transform: translateY(-4px);
}

.product-card-v2:hover::before {
    opacity: 1;
}

/* Product Image */
.product-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-v2:hover .product-image-wrapper img {
    transform: scale(1.08);
}

/* Product Badges Container */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    z-index: 2;
}

/* Product Badge Base */
.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(4px);
    white-space: nowrap;
    line-height: 1.3;
}

.product-badge i { font-size: 10px; }

/* Badge Colors */
.product-badge.sale { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.product-badge.new { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.product-badge.b-sok-fiyat { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.product-badge.b-orijinal { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.product-badge.b-dijital { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.product-badge.b-uzak-baglanti { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }
.product-badge.b-yeni { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.product-badge.b-cok-satan { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }
.product-badge.b-premium { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.product-badge.b-garantili { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); }
.product-badge.b-sinirli-stok { background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); }
.product-badge.b-ucretsiz-kargo { background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%); }
.product-badge.b-kampanya { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.product-badge.b-el-yapimi { background: linear-gradient(135deg, #a16207 0%, #854d0e 100%); }
.product-badge.b-eko { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }
.product-badge.b-hizli-teslimat { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); }

/* Quick Actions */
.product-quick-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

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

.quick-action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-action-btn:hover {
    background: #f97316;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3);
}

.quick-action-btn [data-lucide] {
    width: 18px;
    height: 18px;
    color: #6b7280;
}

.quick-action-btn:hover [data-lucide] {
    color: #fff;
}

/* Product Info */
.product-info {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    text-align: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
}

.product-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #f97316;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stok Kodu */
.product-sku {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.3px;
}

.product-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
    text-align: center;
    transition: color 0.3s ease;
}

.product-name:hover {
    color: #f97316;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.product-rating .stars {
    display: flex;
    gap: 2px;
}

.product-rating .stars [data-lucide] {
    width: 14px;
    height: 14px;
    color: #d1d5db;
}

.product-rating .stars [data-lucide].filled {
    color: #fbbf24;
    fill: #fbbf24;
}

.rating-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #9ca3af;
}

/* Product Price */
.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 2px;
    margin-bottom: 0;
}

.old-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: line-through;
}

.current-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #f97316;
    letter-spacing: -0.3px;
}

/* Product Actions - Sepete Ekle + HÄ±zlÄ± BakÄ±ÅŸ */
.product-actions {
    display: flex;
    gap: 6px;
    width: 100%;
    margin-top: 4px;
}

/* Add to Cart Button - yeşil */
.add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 12px 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.add-to-cart-btn [data-lucide] {
    display: none;
    width: 16px;
    height: 16px;
}

.add-to-cart-btn:hover:not(:disabled) [data-lucide] {
    display: block;
}

.add-to-cart-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.add-to-cart-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.add-to-cart-btn.cart-btn-added {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4) !important;
    color: #fff !important;
}

/* Sepete eklerken spinner (Eklendi yerine) */
.add-to-cart-btn .sf-loading {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Quick View Button - turuncu göz + çerçeve */
.quick-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    padding: 12px;
    background: #fff7ed;
    color: #f97316;
    border: 1px solid #f97316;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-view-btn:hover {
    background: #f97316;
    border-color: #ea580c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.quick-view-btn [data-lucide] {
    width: 16px;
    height: 16px;
}

.add-to-cart-btn [data-lucide] {
    width: 16px;
    height: 16px;
}

/* ========================================
   LOADING & EMPTY STATES
   ======================================== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-16);
}

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

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

.empty-state {
    text-align: center;
    padding: var(--space-16);
}

.empty-state i {
    font-size: 64px;
    color: var(--color-gray-300);
    margin-bottom: var(--space-5);
}

.empty-state h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-gray-700);
    margin-bottom: var(--space-2);
}

.empty-state p {
    color: var(--color-gray-500);
}


/* ========================================
   OUT OF STOCK OVERLAY
   ======================================== */
.out-of-stock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.out-of-stock-overlay span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    background: rgba(239, 68, 68, 0.9);
    padding: 8px 16px;
    border-radius: 8px;
}

.out-of-stock-overlay [data-lucide] {
    width: 16px;
    height: 16px;
}

/* Product Card V2 - Disabled State */
.product-card-v2.out-of-stock {
    opacity: 0.7;
}

.product-card-v2.out-of-stock .add-to-cart-btn {
    background: #9ca3af;
    cursor: not-allowed;
}

.product-card-v2.out-of-stock .add-to-cart-btn:hover {
    background: #9ca3af;
    box-shadow: none;
}

/* ========================================
   PRODUCT IMAGE FALLBACK
   ======================================== */
.product-image-wrapper img[src$="no-image.svg"],
.product-image img[src$="no-image.svg"] {
    padding: 32px;
    opacity: 0.5;
}


/* ========================================
   PRODUCT CARD IMAGE SLIDER (Hover)
   ======================================== */

/* Image Dots Indicator */
.image-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-v2:hover .image-dots {
    opacity: 1;
}

.image-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    cursor: pointer;
}

.image-dots .dot.active {
    background: #f97316;
    border-color: #f97316;
    transform: scale(1.2);
}

.image-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Image transition effect */
.product-image-wrapper img {
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.product-image-wrapper img.fade-out {
    opacity: 0;
}

/* Product name - daha fazla satÄ±r gÃ¶ster */
.product-card-v2 .product-name {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    min-height: 42px;
}


/* ========================================
   QUICK VIEW MODAL
   ======================================== */
.quick-view-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quick-view-modal.active {
    opacity: 1;
    visibility: visible;
}

.quick-view-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.quick-view-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.quick-view-modal.active .quick-view-content {
    transform: scale(1) translateY(0);
}

.quick-view-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.quick-view-close:hover {
    background: #ef4444;
    color: #fff;
}

.quick-view-close [data-lucide] {
    width: 20px;
    height: 20px;
}

.quick-view-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-height: 90vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .quick-view-body {
        grid-template-columns: 1fr;
    }
}

/* Quick View Image */
.quick-view-image {
    position: relative;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    min-height: 400px;
}

.quick-view-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.quick-view-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

/* Quick View Details */
.quick-view-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: 'Montserrat', sans-serif;
}

.quick-view-sku {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
}

.quick-view-title {
    font-size: 22px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.3;
}

.quick-view-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-view-price .old-price {
    font-size: 18px;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: line-through;
}

.quick-view-price .current-price {
    font-size: 28px;
    font-weight: 800;
    color: #f97316;
}

.quick-view-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.quick-view-stock.in-stock {
    color: #10b981;
}

.quick-view-stock.out-of-stock {
    color: #ef4444;
}

.quick-view-stock [data-lucide] {
    width: 18px;
    height: 18px;
}

.quick-view-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    max-height: 100px;
    overflow-y: auto;
}

.quick-view-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.quick-view-actions .add-to-cart-btn {
    flex: 1;
    padding: 14px 20px;
    font-size: 14px;
}

.quick-view-actions .view-details-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: #1f2937;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.quick-view-actions .view-details-btn:hover {
    background: #374151;
}

.quick-view-actions .view-details-btn [data-lucide] {
    width: 16px;
    height: 16px;
}

/* Quick View Loading */
.quick-view-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.quick-view-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top-color: #f97316;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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