/* ============================================
   TRAK3D — Premium E-Commerce Design System
   Beyaz Tema — Tüm Platform & Tarayıcı Uyumlu
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* TRAK3D Premium Renk Paleti — Beyaz Tema */
    --primary: #6463cb;
    --primary-hover: #5352b5;
    --primary-dark: #4e4db3;
    --primary-soft: rgba(100, 99, 203, 0.08);
    --primary-glow: rgba(100, 99, 203, 0.12);

    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-card: #ffffff;
    --color-surface: #f5f6f8;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-text: #1a1a2e;
    --color-text-secondary: #6b7280;
    --color-text-tertiary: #9ca3af;
    --color-white: #ffffff;
    --color-whatsapp: #25D366;

    /* Eski uyumluluk */
    --accent: #6463cb;
    --accent-soft: rgba(100, 99, 203, 0.06);
    --white: #ffffff;
    --black: #000000;
    --bg-page: #ffffff;
    --bg-card: #ffffff;
    --bg-elevated: #f5f6f8;
    --bg-surface: #f8f9fa;
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.04);
    --border-hover: rgba(0, 0, 0, 0.15);

    /* Tipografi — Cross-platform system font stack */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';

    /* Gölgeler — Premium çok katmanlı gölge sistemi */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 4px rgba(0,0,0,0.04);
    --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-md: 0 2px 6px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.07);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.04), 0 16px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 8px 20px rgba(0,0,0,0.04), 0 24px 56px rgba(0,0,0,0.1);
    --shadow-glow: 0 4px 20px rgba(100, 99, 203, 0.15);
    --shadow-glow-strong: 0 8px 32px rgba(100, 99, 203, 0.22);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.03), 0 6px 16px rgba(0,0,0,0.04);
    --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.05), 0 20px 48px rgba(0,0,0,0.08);

    /* Radius — Premium yuvarlak köşeler */
    --radius-sm: 10px;
    --radius: 14px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Geçişler */
    --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s ease;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Eski uyumluluk */
    --legacy-primary: #6463cb;
    --legacy-primary-dark: #4e4db3;

    /* Spacing sistemi */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* Gray scale — açıktan koyuya */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    text-rendering: optimizeLegibility;
}

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

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

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent { color: var(--primary); }

/* ============ Custom Cursor ============ */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    will-change: transform;
    opacity: 0;
}

.cursor-outline {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    will-change: transform;
    opacity: 0;
    transition: opacity 0.3s;
}

.cursor-hover .cursor-outline {
    transform: translate3d(-18px, -18px, 0) scale(1.8);
    opacity: 0.15;
}

@media (max-width: 1024px) {
    .cursor-dot, .cursor-outline { display: none !important; }
}

/* ============ Preloader ============ */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.preloader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(100, 99, 203, 0.12);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: preloaderSpin 0.8s linear infinite;
}

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

.preloader-text {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 6px;
    color: var(--primary);
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============ Typography ============ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
}
h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============ Buttons — Premium ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.2s ease;
    text-decoration: none;
    font-family: inherit;
    letter-spacing: 0.4px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #6463cb 0%, #5352b5 50%, #4e4db3 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(100, 99, 203, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(100, 99, 203, 0.35);
    color: #ffffff;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(100, 99, 203, 0.2);
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary);
    border: 1.5px solid var(--gray-200);
}

.btn-secondary:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--gray-200);
}

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

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
}

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

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

.btn-full { width: 100%; justify-content: center; }

/* ============ Header — Premium Glassmorphism ============ */
.header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    box-shadow: 0 1px 0 var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.app-header .header-main {
    background: #ffffff !important;
    padding: 14px 0 !important;
}

.app-header .nav-bar {
    background: #ffffff !important;
    padding: 0 !important;
    border-top: 1px solid var(--gray-100) !important;
}

.app-header .nav {
    display: flex !important;
    gap: 0 !important;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    justify-content: center;
}

.app-header .nav-link {
    padding: 16px 28px !important;
    color: var(--color-text-secondary) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    position: relative !important;
    transition: var(--transition) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    letter-spacing: 0.5px !important;
}

.app-header .nav-link i {
    font-size: 14px !important;
    opacity: 0.9;
}

.app-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    box-shadow: 0 0 8px var(--primary-glow);
}

.app-header .nav-link:hover {
    background: rgba(100, 99, 203, 0.06) !important;
    color: var(--color-text) !important;
}

.app-header .nav-link:hover::after {
    width: 60%;
}

.app-header .nav-link.active {
    background: rgba(100, 99, 203, 0.08) !important;
    color: var(--primary) !important;
}

.app-header .nav-link.active::after {
    width: 60%;
}

.app-header .nav-link.active {
    border-bottom: none !important;
}

@media (max-width: 768px) {
    .app-header .nav {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding: 8px 16px !important;
    }

    .app-header .nav-link {
        padding: 12px 16px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }

    .app-header .nav-link i {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .app-header .nav-link {
        padding: 10px 12px !important;
        font-size: 12px !important;
    }

    .app-header .nav-link i {
        font-size: 11px !important;
    }
}

.app-header .logo,
.app-header .logo * { color: var(--color-text) !important; }
.app-header .logo span + span { color: var(--primary) !important; }

.app-header .header-actions,
.app-header .header-actions a,
.app-header .header-actions .cart-count,
.app-header .header-actions > a > div {
    color: var(--color-text-secondary) !important;
}

.app-header .header-actions a:hover {
    color: var(--primary) !important;
}

.app-header .header-actions > a > div > div:first-child,
.app-header .header-actions .btn-icon {
    background: var(--gray-100) !important;
    color: var(--gray-600) !important;
}

.app-header .header-search input {
    background: var(--gray-50) !important;
    border: 1.5px solid var(--gray-200) !important;
    border-radius: var(--radius-full) !important;
    color: var(--color-text) !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.app-header .header-search input:focus {
    background: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(100, 99, 203, 0.08) !important;
}

/* ============ Sections — Premium ============ */
.section {
    margin-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: var(--primary-soft);
    border-radius: var(--radius-full);
    border: 1px solid rgba(100, 99, 203, 0.1);
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--color-text);
    letter-spacing: -0.025em;
    line-height: 1.15;
}

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

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-secondary);
    max-width: 560px;
    margin: -32px auto 48px;
    line-height: 1.7;
    text-align: center;
}

/* ============ Categories Grid — Premium ============ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: var(--radius);
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.08);
}

.category-card img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 0 auto 16px;
}

.category-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: var(--color-text);
}

/* ============ Products Grid — 3dcim.com Style ============ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

/* ============ Product Card — Clean & Minimal ============ */
.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e5e7eb;
}

.product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-color: #d1d5db;
}

.product-badge {
    position: static;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 48px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    z-index: 10;
    pointer-events: none;
}

.product-badges .product-badge {
    position: static;
}

.product-badge.discount {
    background: rgba(255, 255, 255, 0.94);
    color: #b91c1c;
    border: 1px solid rgba(220, 38, 38, 0.12);
}

.product-badge.new {
    background: rgba(255, 255, 255, 0.94);
    color: #374151;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.product-badge.featured {
    background: rgba(100, 99, 203, 0.1);
    color: #5453a8;
    border: 1px solid rgba(100, 99, 203, 0.18);
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f9fafb;
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-image img.product-image-primary {
    transition: transform 0.4s ease, opacity 0.35s ease;
}

.product-card:hover .product-image img.product-image-primary {
    transform: scale(1.04);
}

.product-image.has-hover-image .product-image-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.4s ease;
}

.product-image.has-hover-image:hover .product-image-primary {
    opacity: 0;
    transform: scale(1.02);
}

.product-image.has-hover-image:hover .product-image-hover {
    opacity: 1;
    transform: scale(1.04);
}

.product-color-swatches {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    min-height: 18px;
}

.product-color-swatch {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    flex-shrink: 0;
    border: none;
    background-color: #e5e7eb;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover .product-color-swatch {
    transform: scale(1.06);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.1);
}

.product-color-swatch:first-child {
    box-shadow:
        0 0 0 1px #fff,
        0 0 0 2px rgba(100, 99, 203, 0.28);
}

.product-name {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    min-height: 2.8em;
}

.product-actions {
    position: absolute;
    right: 8px;
    top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: opacity 0.2s ease;
    z-index: 10;
    opacity: 0;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0,0,0,0.08);
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    font-size: 13px;
}

.btn-icon:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.btn-icon.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

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

.product-category {
    font-size: 11px;
    color: var(--primary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.product-name a {
    color: var(--color-text);
    transition: color 0.2s ease;
}

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

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

.product-rating .stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: #ca8a04;
    font-size: 11px;
    line-height: 1;
}

.product-rating .review-count {
    font-size: 11px;
    color: var(--color-text-tertiary);
    font-weight: 500;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
}

.price-original {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
}

.price-current {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.product-stock {
    font-size: 10px;
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: 0.02em;
}

.product-stock.out-of-stock {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #6b7280;
}

.product-stock.low-stock {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(234, 179, 8, 0.1);
    color: #a16207;
}

.product-card .add-to-cart.cta-primary {
    background: var(--primary) !important;
    color: #ffffff !important;
}

.product-card .add-to-cart.cta-primary:hover {
    background: var(--primary-hover) !important;
}

/* ============ Features Section — Premium ============ */
.features-section {
    background: var(--gray-50);
    border: 1px solid var(--color-border);
    padding: 64px 40px;
    border-radius: var(--radius-xl);
    margin-top: 64px;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(100, 99, 203, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    position: relative;
}

.feature-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: var(--radius);
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(100, 99, 203, 0.08);
}

.feature-item:hover .feature-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.08);
}

.feature-item h3 {
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 600;
}

.feature-item p {
    color: var(--color-text-secondary);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* ============ Hero Slider — 3dcim.com Style ============ */
.hero-slider {
    position: relative;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.7;
}

/* ============ Footer — Premium Clean ============ */
.footer {
    background: var(--gray-50) !important;
    color: var(--color-text);
    border-top: 1px solid var(--gray-200) !important;
    padding-top: 64px;
}

.app-footer a {
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.app-footer a:hover {
    color: var(--primary) !important;
    padding-left: 4px;
}

.app-footer .footer-section a:hover {
    color: var(--primary) !important;
}

.app-footer .footer-section h3,
.app-footer .footer-section h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--color-text);
}

/* ============ Page Header ============ */
.page-header {
    padding: 32px 0 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.3;
}

.page-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

/* ============ Breadcrumb ============ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* ============ Alerts ============ */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

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

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

/* ============ Main Content ============ */
.main-content {
    position: relative;
    z-index: 0;
    min-height: calc(100vh - 400px);
    padding: 48px 0;
}

/* ============ Form Controls — Premium ============ */
input, textarea, select {
    background: #ffffff !important;
    border: 1.5px solid var(--gray-200) !important;
    color: var(--color-text) !important;
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    padding: 14px 18px;
    font-size: 15px;
    outline: none;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(100, 99, 203, 0.08) !important;
    outline: none;
}

input::placeholder, textarea::placeholder {
    color: var(--gray-400) !important;
}

/* ============ Pagination — Premium Pill ============ */
.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.pagination a, .pagination span {
    background: #ffffff;
    border: 1.5px solid var(--gray-200);
    color: var(--color-text-secondary);
    padding: 10px 16px;
    border-radius: var(--radius-full);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    font-weight: 500;
    font-size: 14px;
    min-width: 42px;
    text-align: center;
}

.pagination a:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active {
    background: linear-gradient(135deg, #6463cb, #4e4db3) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(100, 99, 203, 0.3);
}

/* ============ Tables ============ */
table {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
    border-collapse: collapse;
}

th {
    background: var(--color-surface);
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    padding: 14px 16px;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
}

td {
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    padding: 14px 16px;
}

/* ============ Back to Top — Premium ============ */
#backToTop {
    position: fixed;
    bottom: 24px;
    right: 96px;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1.5px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    font-size: 15px;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ============ Mobile Product Actions ============ */
@media (max-width: 768px) {
    .product-actions {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }

    .btn-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
    }

    .product-card:hover {
        transform: none !important;
    }
}

/* ============ Responsive — 3dcim.com Style Grid ============ */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .section {
        margin-bottom: 32px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-actions {
        opacity: 1 !important;
    }

    .btn-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
    }

    .product-card:hover {
        transform: none !important;
    }

    .product-info {
        padding: 10px;
    }

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

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

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

    .product-info {
        padding: 8px;
    }

    .product-name {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }

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

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.form-group label .required {
    color: #ef4444;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    color: #1a1a2e;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(100, 99, 203, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============ Alert / Message Boxes ============ */
.alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-danger,
.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ============ Table Styles ============ */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    background: #f9fafb;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

table td {
    padding: 12px 16px;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover td {
    background: #f9fafb;
}

/* ============ Pagination ============ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination a:hover {
    background: #f3f4f6;
    color: #111827;
    border-color: #d1d5db;
}

.pagination .active,
.pagination span.current {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ============ Tabs ============ */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-link {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
}

.tab-link:hover {
    color: #111827;
}

.tab-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ============ Badge / Tag ============ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.badge-primary {
    background: rgba(100, 99, 203, 0.1);
    color: var(--primary);
}

.badge-success {
    background: #f0fdf4;
    color: #166534;
}

.badge-danger {
    background: #fef2f2;
    color: #991b1b;
}

.badge-warning {
    background: #fffbeb;
    color: #92400e;
}

/* ============ Card Component ============ */
.card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
}

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    font-weight: 600;
    color: #111827;
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 16px 20px;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
}

/* ============ Legacy Compatibility ============ */
.header .header-top,
.nav-link.active,
.btn-primary[style*="21c287"] {
    /* Mevcut inline stiller override etmesin */
}

/* ============ Utilities ============ */
.text-center { text-align: center; }

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============ Selection ============ */
::selection {
    background: var(--primary);
    color: #ffffff;
}

/* ============ Scrollbar — Minimal ============ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-300) transparent;
}

/* ============================================================
   BEYAZ TEMA — ZORLA OVERRIDE
   Veritabanından gelen dark inline stilleri !important ile ezer
   ============================================================ */

/* --- Header / Topbar Zorla Beyaz --- */
.header,
.app-header {
    background: #ffffff !important;
    color: #1a1a2e !important;
}

.header-top {
    background: #f8f9fa !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

.header-top * {
    color: #4b5563 !important;
}

.header-top a:hover,
.header-top a:hover * {
    color: #6463cb !important;
}

.header-top i[style*="color: #6463cb"] {
    color: #6463cb !important;
}

.header-top .top-nav-separator {
    color: #d1d5db !important;
    opacity: 1 !important;
}

.header-main,
.app-header .header-main,
.header .header-main,
.header-main[style] {
    background: #ffffff !important;
}

.nav-bar,
.app-header .nav-bar,
.nav-bar[style] {
    background: #ffffff !important;
    border-top: 1px solid #f3f4f6 !important;
}

/* --- Logo Renkleri Zorla --- */
.logo span,
.logo div {
    color: #1a1a2e !important;
}

.logo span[style*="color: #6463cb"],
.logo span + span {
    color: #6463cb !important;
}

.logo div[style*="color: #9ca3af"],
.logo div[style*="text-transform: uppercase"] {
    color: #9ca3af !important;
}

/* --- Arama Kutusu Zorla Beyaz --- */
.header-search input,
.header-search input[style] {
    background: #f5f6f8 !important;
    border-color: #e5e7eb !important;
    color: #1a1a2e !important;
}

.header-search input:focus {
    background: #ffffff !important;
    border-color: #6463cb !important;
    box-shadow: 0 0 0 3px rgba(100,99,203,0.12) !important;
}

.header-search input::placeholder {
    color: #9ca3af !important;
}

.header-search button[style] {
    color: #ffffff !important;
}

/* --- Header Aksiyonlar --- */
.header-actions a,
.header-actions a[style] {
    color: #4b5563 !important;
}

.header-actions a:hover {
    color: #111827 !important;
}

.header-actions div[style*="font-size: 11px"],
.header-actions div[style*="font-size: 13px"] {
    color: #374151 !important;
}

.header-actions div[style*="background: linear-gradient"],
.header-actions div[style*="background: #6463cb"],
.app-header .header-actions .btn-icon,
.app-header .header-actions > a > div > div:first-child {
    background: #f3f4f6 !important;
    color: #4b5563 !important;
    box-shadow: none !important;
}

/* --- Navigation Zorla --- */
.app-header .nav-link,
.app-header .nav-link[style],
.nav-link {
    color: #6b7280 !important;
    background: transparent !important;
}

.app-header .nav-link:hover,
.nav-link:hover {
    color: #111827 !important;
    background: #f9fafb !important;
}

.app-header .nav-link.active,
.nav-link.active {
    color: #6463cb !important;
    background: rgba(100,99,203,0.06) !important;
}

/* --- Sosyal Medya İkon Ayırıcı --- */
.header-top div[style*="border-left"] {
    border-left-color: rgba(0,0,0,0.1) !important;
}

/* --- Popüler Ürünler Sidebar --- */
.popular-products-sidebar,
.popular-products-sidebar[style] {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 6px 16px rgba(0,0,0,0.04) !important;
}

.popular-sidebar-header,
.popular-sidebar-header[style] {
    background: #ffffff !important;
    color: #111827 !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

.popular-product-item,
.popular-product-item[style] {
    border-bottom: none !important;
}

.popular-product-item h4 {
    color: #111827 !important;
}

/* --- Hero Slider Zorla --- */
.hero-slider,
.hero-slider[style] {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef0f4 100%) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06) !important;
}

#heroSlider,
#heroSlider[style] {
    box-shadow: 0 4px 24px rgba(0,0,0,0.06) !important;
}

.slider-btn,
.slider-btn[style] {
    background: rgba(255,255,255,0.95) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}

.slider-btn:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: var(--shadow-glow) !important;
}

/* --- Promo Kutuları --- */
.promo-box,
.promo-box[style] {
    background: #ffffff !important;
    border: 1px solid var(--gray-200) !important;
    box-shadow: var(--shadow-card) !important;
    border-radius: var(--radius-md) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.promo-box:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-card-hover) !important;
}

.promo-box h3 {
    color: #1a1a2e !important;
}

.promo-box p {
    color: #6b7280 !important;
}

/* --- TRAK3D Kategori Kartları --- */
.trak3d-cat-card,
.trak3d-cat-card[style] {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04) !important;
    color: #1a1a2e !important;
}

.trak3d-cat-card h3 {
    color: #1a1a2e !important;
}

.trak3d-cat-card p {
    color: #6b7280 !important;
    opacity: 1 !important;
}

.trak3d-cat-card:hover {
    box-shadow: 0 12px 40px rgba(100,99,203,0.12) !important;
    border-color: rgba(100,99,203,0.25) !important;
}

/* --- Footer Zorla Beyaz --- */
.footer,
.footer[style],
.app-footer,
.app-footer[style] {
    background: #f8f9fa !important;
    border-top-color: #e5e7eb !important;
    color: #1a1a2e !important;
}

.footer h3,
.footer h4,
.footer h3[style],
.footer h4[style] {
    color: #1a1a2e !important;
}

.footer a[style*="color: #888"],
.footer a[style*="color: #6b7280"] {
    color: #6b7280 !important;
}

.footer a:hover {
    color: #6463cb !important;
}

.footer div[style*="border-bottom: 1px solid #1a1a1a"],
.footer div[style*="border-bottom: 1px solid #e5e7eb"] {
    border-bottom-color: #e5e7eb !important;
}

.footer div[style*="background: #0d0d0d"],
.footer div[style*="background: #080808"],
.footer div[style*="background: #141414"],
.footer div[style*="padding: 25px 0"] {
    background: #f0f1f3 !important;
}

.footer input[style] {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
    color: #1a1a2e !important;
}

.footer button[style*="background: #6463cb"] {
    color: #ffffff !important;
}

/* --- Mobil Bottom Nav Zorla Beyaz --- */
.mobile-bottom-nav,
.mobile-bottom-nav[style] {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid #e5e7eb !important;
    box-shadow: 0 -1px 8px rgba(0,0,0,0.04) !important;
}

.mobile-nav-item,
.mobile-nav-item[style] {
    color: #9ca3af !important;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
    color: #6463cb !important;
}

.mobile-nav-item div[style*="background: linear-gradient"] {
    background: none !important;
    box-shadow: none !important;
}

/* --- Genel Sayfa Arka Plan --- */
body {
    background: #ffffff !important;
    color: #1a1a2e !important;
}

.main-content {
    background: #ffffff !important;
}

/* --- Filter Sidebar / Sayfa İçerikleri --- */
div[style*="background: #141414"],
div[style*="background: #1a1a1a"],
div[style*="background: #0d0d0d"],
div[style*="background: #0a0a0f"],
div[style*="background: #12121a"],
div[style*="background: #16161f"],
div[style*="background: #080808"],
div[style*="background:#141414"],
div[style*="background:#1a1a1a"],
div[style*="background:#000000"],
div[style*="background: #000000"],
div[style*="background: #000"] {
    background: #ffffff !important;
}

div[style*="border: 1px solid #222"],
div[style*="border: 1px solid #2a2a2a"],
div[style*="border:1px solid #222"] {
    border-color: #e5e7eb !important;
}

/* --- Empty state / Placeholder --- */
.empty-state i {
    color: #d1d5db !important;
}

/* --- SweetAlert2 Popup Zorla Beyaz --- */
.swal2-popup {
    background: #ffffff !important;
    color: #1a1a2e !important;
    border-color: rgba(0,0,0,0.08) !important;
}

/* ============ Vitrin UX İyileştirmeleri ============ */
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.48) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.shipping-promo-bar {
    background: linear-gradient(90deg, rgba(100, 99, 203, 0.08), rgba(100, 99, 203, 0.14));
    border-bottom: 1px solid rgba(100, 99, 203, 0.12);
    color: #4338ca;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    position: relative;
    height: 36px;
    display: block;
}

.shipping-promo-bar__marquee {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: max-content;
    min-width: 100%;
    height: 36px;
    animation: shipping-promo-marquee 32s linear infinite;
}

.shipping-promo-bar__slide {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    flex-shrink: 0;
}

.shipping-promo-bar__segment {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0 2.5rem;
}

.shipping-promo-bar__segment::after {
    content: "•";
    margin-left: 2.5rem;
    opacity: 0.35;
    font-weight: 400;
}

.shipping-promo-bar__segment:last-child::after {
    content: none;
}

.shipping-promo-bar i {
    margin-right: 8px;
    flex-shrink: 0;
}

@keyframes shipping-promo-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .shipping-promo-bar {
        height: auto;
        padding: 8px 16px;
        text-align: center;
    }

    .shipping-promo-bar__marquee {
        animation: none;
        width: 100%;
        min-width: 0;
        height: auto;
        justify-content: center;
    }

    .shipping-promo-bar__slide[aria-hidden="true"] {
        display: none;
    }

    .shipping-promo-bar__segment::after {
        content: none;
    }

    .shipping-promo-bar__slide {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 4px;
    }
}

.category-card-visual {
    display: block;
    text-decoration: none;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-card-visual:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.category-card-visual__media {
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
    overflow: hidden;
}

.category-card-visual__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-card-visual:hover .category-card-visual__media img {
    transform: scale(1.05);
}

.category-card-visual__icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 28px;
}

.category-card-visual__body {
    padding: 12px 14px 14px;
    text-align: center;
}

.category-card-visual__title {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
}

.homepage-category-scroll {
    display: none;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.homepage-category-scroll::-webkit-scrollbar {
    display: none;
}

.homepage-category-chip {
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.homepage-category-chip:hover,
.homepage-category-chip.active {
    border-color: #6463cb;
    color: #6463cb;
    background: rgba(100, 99, 203, 0.06);
}

.homepage-why-grid,
.homepage-faq {
    margin-bottom: 48px;
}

.homepage-why-grid__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.homepage-why-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
}

.homepage-why-item i {
    font-size: 28px;
    color: #6463cb;
    margin-bottom: 12px;
}

.homepage-why-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.homepage-why-item p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.homepage-faq__list {
    display: grid;
    gap: 12px;
}

.homepage-faq__item {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.homepage-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    cursor: pointer;
}

.homepage-faq__answer {
    display: none;
    padding: 0 18px 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #6b7280;
}

.homepage-faq__item.is-open .homepage-faq__answer {
    display: block;
}

.homepage-faq__item.is-open .homepage-faq__question i {
    transform: rotate(180deg);
}

.free-shipping-progress {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.free-shipping-progress__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

.free-shipping-progress__track {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.free-shipping-progress__fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #6463cb, #8b5cf6);
    transition: width 0.35s ease;
}

.free-shipping-progress.is-complete .free-shipping-progress__fill {
    background: linear-gradient(90deg, #10b981, #059669);
}

@media (max-width: 768px) {
    .homepage-why-grid__items {
        grid-template-columns: repeat(2, 1fr);
    }

    .homepage-category-scroll {
        display: flex;
    }
}

@media (max-width: 480px) {
    .homepage-why-grid__items {
        grid-template-columns: 1fr;
    }
}

.swal2-title {
    color: #1a1a2e !important;
}

.swal2-html-container,
.swal2-content {
    color: #6b7280 !important;
}

.swal2-input,
.swal2-textarea,
.swal2-select {
    background: #f5f6f8 !important;
    border-color: rgba(0,0,0,0.08) !important;
    color: #1a1a2e !important;
}
