
/* reset */
/* CSS Reset - E-Ticaret Script */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; text-rendering: optimizeSpeed; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
button { cursor: pointer; border: none; background: none; }


/* style */
/* =====================================================
   E-Ticaret Script - Ana Stil Dosyasi
   Profesyonel, kurumsal, acik tema
   ===================================================== */

:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #0f3460;
    --text: #2d2d2d;
    --text-light: #6b6b6b;
    --text-muted: #999999;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-gray: #f4f5f7;
    --border: #e2e2e2;
    --border-light: #f0f0f0;
    --success: #2e7d32;
    --warning: #f57c00;
    --danger: #c62828;
    --info: #1565c0;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 4px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.1);
    --radius: 6px;
    --radius-lg: 8px;
    --container: 1200px;
    --header-height: 64px;
    --transition: 0.2s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.page-content {
    min-height: calc(100vh - var(--header-height) - 300px);
    padding: 32px 0;
}

.section {
    margin-bottom: 48px;
}

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

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    padding-bottom: 8px;
    margin-bottom: 24px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition);
}

.section-link:hover {
    color: var(--primary);
}

/* =====================================================
   DUYURU SERIDI (Header ustu, kayan yazi)
   ===================================================== */
.announcement-bar {
    background: var(--primary);
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.announcement-bar-track {
    display: flex;
    width: max-content;
    animation: announcementScroll 18s linear infinite;
}

.announcement-bar-item {
    padding: 9px 40px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.announcement-bar:hover .announcement-bar-track {
    animation-play-state: paused;
}

@keyframes announcementScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .announcement-bar-track {
        animation: none;
    }
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 24px;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo {
    flex-shrink: 0;
}

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

.header-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.3px;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.header-nav a {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    border-radius: 4px;
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
    background: var(--bg-alt);
    color: var(--primary);
}

.nav-mega-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-mega-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: -6px;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    border-radius: 4px;
    transition: background var(--transition), transform var(--transition);
}

.nav-mega-toggle:hover {
    background: var(--bg-alt);
}

.nav-mega-item.open .nav-mega-toggle {
    transform: rotate(180deg);
}

.nav-mega-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg, 0 8px 24px rgba(0,0,0,0.12));
    padding: 8px;
    min-width: 220px;
    z-index: 150;
    flex-direction: column;
    gap: 2px;
}

.nav-mega-panel a {
    padding: 9px 12px;
    white-space: nowrap;
}

.nav-mega-item.open .nav-mega-panel {
    display: flex;
}

@media (hover: hover) and (pointer: fine) {
    .nav-mega-item:hover .nav-mega-panel {
        display: flex;
    }
}

/* Header Search */
.header-search {
    flex: 1;
    max-width: 360px;
    min-width: 0;
    position: relative;
}

.header-search input {
    width: 100%;
    padding: 9px 14px 9px 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg-alt);
    outline: none;
    transition: border-color var(--transition), background var(--transition);
}

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

.header-search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-action-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    border-radius: 4px;
    transition: background var(--transition);
    position: relative;
}

.header-action-link:hover {
    background: var(--bg-alt);
}

.header-action-link svg {
    color: var(--primary);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    padding: 8px;
    color: var(--text);
}

/* =====================================================
   TRUST BAR (Uretici vurgusu)
   ===================================================== */
.trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    padding: 22px 16px;
    margin: 20px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.trust-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.trust-bar-item svg {
    flex-shrink: 0;
    color: var(--primary);
}

.trust-bar-item span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    max-width: 130px;
}

@media (max-width: 768px) {
    .trust-bar { gap: 20px 24px; padding: 18px 12px; }
    .trust-bar-item svg { width: 22px; height: 22px; }
    .trust-bar-item span { font-size: 12px; max-width: 110px; }
}

/* Ekranda gorunmez ama ekran okuyucular/arama motorlari icin erisilebilir kalir */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.product-producer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.product-producer-badge svg {
    flex-shrink: 0;
    color: var(--primary);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    background: var(--primary);
    color: var(--white);
    overflow: hidden;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 64px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    max-width: 520px;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #f1f5f9;
    margin-bottom: 28px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--white);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: opacity var(--transition);
}

.hero-btn:hover { opacity: 0.9; }

.hero-image {
    flex-shrink: 0;
}

.hero-image img {
    max-width: 400px;
    height: auto;
}

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb {
    padding: 16px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-light);
    transition: color var(--transition);
}

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

.breadcrumb-sep {
    margin: 0 8px;
    color: var(--border);
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 500;
}

/* =====================================================
   PRODUCT GRID
   ===================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* =====================================================
   PRODUCTS PAGE LAYOUT (Filtre + Liste)
   ===================================================== */
.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

.products-filters {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    position: sticky;
    top: calc(var(--header-height) + 16px);
}

.filter-block {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
}

.filter-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-block-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 12px;
    color: var(--text);
}

.filter-check-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 320px;
    overflow-y: auto;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    border-radius: 4px;
}

.filter-check:hover {
    background: var(--bg-alt);
}

.filter-check input {
    flex-shrink: 0;
}

.filter-check span:first-of-type {
    flex: 1;
}

.filter-check-count {
    color: var(--text-muted);
    font-size: 12px;
}

.filter-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-price-row input {
    width: 0;
    flex: 1;
    padding: 8px 10px;
    font-size: 13px;
}

.filter-price-row span {
    color: var(--text-muted);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-align: center;
}

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

.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { opacity: 0.9; }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { background: var(--bg-alt); border-color: var(--text-muted); }

.btn-success { background: var(--success); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }

.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 13px 28px; font-size: 15px; }
.btn-block { width: 100%; }

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

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

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border-color var(--transition);
}

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

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

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b6b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

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

.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.required { color: var(--danger); }

/* =====================================================
   ALERTS
   ===================================================== */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-success { background: #e8f5e9; border: 1px solid #c8e6c9; color: #2e7d32; }
.alert-danger { background: #ffebee; border: 1px solid #ffcdd2; color: #c62828; }
.alert-warning { background: #fff3e0; border: 1px solid #ffe0b2; color: #e65100; }
.alert-info { background: #e3f2fd; border: 1px solid #bbdefb; color: #1565c0; }

/* =====================================================
   BADGES
   ===================================================== */
.badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    white-space: nowrap;
}

.badge-sale { background: var(--danger); color: #fff; }
.badge-new { background: var(--success); color: #fff; }
.badge-campaign { background: var(--warning); color: #fff; }
.badge-free-shipping { background: var(--info); color: #fff; }

/* =====================================================
   CATEGORY GRID
   ===================================================== */
.category-scroller {
    position: relative;
}

.category-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    z-index: 5;
    transition: background var(--transition), color var(--transition), opacity var(--transition);
}

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

.category-scroll-btn.is-disabled {
    opacity: 0;
    pointer-events: none;
}

.category-scroll-prev { left: -20px; }
.category-scroll-next { right: -20px; }

.category-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-grid::-webkit-scrollbar {
    display: none;
    height: 0;
}

.category-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.category-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.category-dot:hover {
    background: var(--text-light);
}

.category-dot.active {
    background: var(--accent);
    transform: scale(1.25);
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 190px;
    scroll-snap-align: start;
    padding: 28px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition), box-shadow var(--transition);
}

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

.category-card img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 14px;
}

.category-card-placeholder {
    width: 92px;
    height: 92px;
    background: var(--bg-gray);
    border-radius: 50%;
    margin-bottom: 14px;
}

.category-card-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.category-card-count {
    font-size: 12px;
    color: #555555;
    margin-top: 4px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
    padding: 48px 0 0;
    margin-top: 48px;
}

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

.footer-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-about {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    padding: 4px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    transition: color var(--transition);
}

.footer-links a:hover { color: #ffffff; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.6;
}

/* Newsletter */
.footer-newsletter {
    margin-top: 12px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-form input:focus { border-color: rgba(255,255,255,0.3); }

.newsletter-form button {
    padding: 9px 16px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover { opacity: 0.9; }

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.75);
}

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination-nav {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    background: var(--bg);
    transition: all var(--transition);
}

.pagination-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-active:hover {
    background: var(--primary);
    color: var(--white);
}

.pagination-dots {
    padding: 0 4px;
    color: var(--text-muted);
    font-size: 13px;
}

/* =====================================================
   SORT & FILTER BAR
   ===================================================== */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.filter-bar-left {
    font-size: 13px;
    color: var(--text-light);
}

.filter-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-bar-right select {
    padding: 6px 28px 6px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b6b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 50;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover { opacity: 0.9; }

/* =====================================================
   AUTH PAGES (Login / Register)
   ===================================================== */
.auth-page {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
}

.auth-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 24px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-light);
}

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

.auth-footer a:hover {
    text-decoration: underline;
}

/* =====================================================
   ACCOUNT LAYOUT
   ===================================================== */
.account-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: flex-start;
}

.account-sidebar {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: calc(var(--header-height) + 16px);
}

.account-user-info {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 16px;
}

.account-avatar {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 10px;
}

.account-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.account-email {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.account-nav-link:hover {
    background: var(--bg-alt);
    color: var(--text);
}

.account-nav-link.active {
    background: var(--bg-alt);
    color: var(--primary);
    font-weight: 600;
}

.account-nav-link svg {
    flex-shrink: 0;
}

/* Account Stats */
.account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.account-stat-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
}

.account-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.account-stat-label {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

/* =====================================================
   DATA TABLE
   ===================================================== */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

.data-table th {
    background: var(--bg-alt);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.data-table td {
    padding: 12px 14px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background: var(--bg-alt);
}

.data-table tfoot td {
    padding: 10px 14px;
    font-size: 14px;
    border-top: 1px solid var(--border);
}

/* =====================================================
   INFO CARDS
   ===================================================== */
.info-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
}

.info-card-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

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

/* =====================================================
   ORDER STATUS BADGES
   ===================================================== */
.badge-new { background: #e3f2fd; color: #1565c0; }
.badge-confirmed { background: #e8f5e9; color: #2e7d32; }
.badge-preparing { background: #fff3e0; color: #e65100; }
.badge-shipped { background: #e8eaf6; color: #283593; }
.badge-delivered { background: #e8f5e9; color: #1b5e20; }
.badge-cancelled { background: #ffebee; color: #c62828; }
.badge-returned { background: #fce4ec; color: #880e4f; }
.badge-ready_for_pickup { background: #e0f7fa; color: #00695c; }

/* =====================================================
   ORDER TIMELINE
   ===================================================== */
.order-timeline {
    position: relative;
    padding-left: 24px;
}

.order-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 16px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -20px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--bg);
    box-shadow: 0 0 0 2px var(--border);
}

.timeline-content {
    padding: 2px 0;
}

/* =====================================================
   CART SUMMARY (Checkout sidebar)
   ===================================================== */
.cart-summary {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.cart-summary-row.total {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    border-top: 2px solid var(--border);
    padding-top: 12px;
    margin-top: 4px;
}

/* =====================================================
   SLIDER
   ===================================================== */
.slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--primary);
}

.slider-container {
    position: relative;
    width: 100%;
    max-height: 560px;
}

.slider-item {
    display: none;
    position: relative;
    width: 100%;
}

.slider-item.active {
    display: block;
    animation: sliderFadeIn 0.6s ease;
}

@keyframes sliderFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slider-media {
    width: 100%;
    height: 560px;
    overflow: hidden;
}

.slider-item img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
    transform: scale(1);
    animation: sliderKenBurns 7s ease-out forwards;
}

@keyframes sliderKenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15,20,35,0.92) 0%, rgba(15,20,35,0.62) 32%, rgba(15,20,35,0.15) 58%, rgba(15,20,35,0.05) 100%);
    pointer-events: none;
}

.slider-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 60px;
    color: #fff;
}

.slider-caption-inner {
    max-width: 480px;
    animation: sliderTextUp 0.7s ease 0.1s both;
}

@keyframes sliderTextUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.slider-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #fff;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
}

.slider-caption h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.slider-caption p {
    font-size: 15.5px;
    line-height: 1.6;
    opacity: 0.92;
    margin-bottom: 24px;
}

.slider-caption .hero-btn.slider-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    background: #fff;
    color: var(--primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    transition: background var(--transition), transform var(--transition), gap var(--transition);
}

.slider-caption .hero-btn.slider-cta svg {
    transition: transform var(--transition);
}

.slider-caption .hero-btn.slider-cta:hover {
    background: var(--accent);
    color: #fff;
    gap: 14px;
}

.slider-btn {
    position: relative;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.4);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background var(--transition);
    flex-shrink: 0;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.32);
}

.slider-controls {
    position: absolute;
    bottom: 22px;
    right: 40px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 22px;
    height: 4px;
    border-radius: 3px;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background var(--transition), width var(--transition);
}

.slider-dot:hover {
    background: rgba(255,255,255,0.7);
}

.slider-dot.active {
    background: #fff;
    width: 34px;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
    background: var(--bg-alt);
    padding: 48px 0;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-content { flex: 1; }

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 16px;
    color: #374151;
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: background var(--transition);
}

.hero-btn:hover { background: var(--accent); }

.hero-image img {
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
    .slider-container { max-height: 400px; }
    .slider-media, .slider-item img { height: 400px; }
    .slider-overlay { background: linear-gradient(180deg, rgba(15,20,35,0.15) 0%, rgba(15,20,35,0.4) 45%, rgba(15,20,35,0.92) 100%); }
    .slider-caption { padding: 0 24px; align-items: flex-end; }
    .slider-caption-inner { max-width: 100%; padding-bottom: 56px; }
    .slider-badge { font-size: 10.5px; padding: 5px 12px; margin-bottom: 10px; }
    .slider-caption h2 { font-size: 21px; margin-bottom: 8px; }
    .slider-caption p { font-size: 13.5px; margin-bottom: 16px; }
    .slider-caption .hero-btn.slider-cta { padding: 10px 20px; font-size: 13px; }
    .slider-btn { width: 28px; height: 28px; font-size: 16px; }
    .slider-controls { right: 20px; bottom: 14px; gap: 10px; }
    .slider-dot { width: 16px; }
    .slider-dot.active { width: 26px; }
    .hero-inner { flex-direction: column; gap: 24px; }
    .hero-title { font-size: 24px; }
    .hero-image img { max-width: 100%; }
}

/* =====================================================
   BLOG
   ===================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.blog-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-gray);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-date {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}

.blog-card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.blog-card-title a {
    color: var(--primary);
    transition: color var(--transition);
}

.blog-card-title a:hover {
    color: var(--accent);
}

.blog-card-excerpt {
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
}

.blog-card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    align-self: flex-start;
}

.blog-card-link:hover {
    color: var(--primary);
}

.blog-detail {
    max-width: 800px;
    margin: 0 auto;
}

.blog-detail-header {
    margin-bottom: 24px;
}

.blog-detail-back {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
}

.blog-detail-back:hover {
    color: var(--primary);
}

.blog-detail-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 12px;
}

.blog-detail-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.blog-detail-image {
    margin-bottom: 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.blog-detail-image img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
}

.blog-detail-content {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--text);
}

.blog-detail-content h2 {
    font-size: 21px;
    font-weight: 700;
    color: var(--primary);
    margin: 32px 0 14px;
}

.blog-detail-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin: 24px 0 10px;
}

.blog-detail-content p {
    margin-bottom: 16px;
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin: 0 0 16px 20px;
}

.blog-detail-content li {
    margin-bottom: 6px;
}

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

.blog-detail-content a:hover {
    color: var(--primary);
}

.blog-detail-content strong {
    color: var(--primary);
}

.blog-detail-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 24px 0;
    display: block;
}

.blog-detail-content .img-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.blog-detail-content .img-row img {
    margin: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (max-width: 600px) {
    .blog-detail-content .img-row { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-detail-title { font-size: 24px; }
}

/* =====================================================
   STATIC PAGES (Über uns, Impressum, Datenschutz, AGB...)
   ===================================================== */
.static-page {
    max-width: 860px;
    margin: 0 auto;
}

.static-page-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
}

.static-page-content {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--text);
}

.static-page-content h2 {
    font-size: 21px;
    font-weight: 700;
    color: var(--primary);
    margin: 32px 0 14px;
}

.static-page-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin: 24px 0 10px;
}

.static-page-content p {
    margin-bottom: 16px;
}

.static-page-content ul,
.static-page-content ol {
    margin: 0 0 16px 20px;
}

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

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

.static-page-content a.btn {
    color: #fff !important;
    text-decoration: none !important;
}

.static-page-content strong {
    color: var(--primary);
}

/* -- Über uns: hero banner -- */
.about-hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    aspect-ratio: 16 / 6;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26,26,46,0.88) 0%, rgba(26,26,46,0.45) 55%, rgba(26,26,46,0.05) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    color: #fff;
}

.about-hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: var(--accent);
    padding: 5px 12px;
    border-radius: 30px;
    margin-bottom: 12px;
    width: fit-content;
}

.about-hero-overlay h2 {
    font-size: 28px;
    font-weight: 800;
    max-width: 420px;
    line-height: 1.3;
    color: #fff !important;
    margin: 0 !important;
}

/* -- Über uns: stat boxes -- */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.about-stat {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
}

.about-stat strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.about-stat span {
    font-size: 12.5px;
    color: var(--text-light);
    font-weight: 600;
}

/* -- Über uns: content sections -- */
.about-section {
    margin-bottom: 40px;
}

.about-section-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.about-section-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.about-checklist {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 0 0 20px 0 !important;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text);
    font-size: 14.5px;
}

.about-checklist li::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
}

@media (max-width: 768px) {
    .about-hero { aspect-ratio: 16 / 9; }
    .about-hero-overlay { padding: 0 20px; background: linear-gradient(180deg, rgba(26,26,46,0.3) 0%, rgba(26,26,46,0.85) 100%); justify-content: flex-end; padding-bottom: 20px; }
    .about-hero-overlay h2 { font-size: 21px; max-width: 100%; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .about-section-split { grid-template-columns: 1fr; }
    .about-checklist { grid-template-columns: 1fr; }
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    aspect-ratio: 16 / 5;
}

.contact-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26,26,46,0.88) 0%, rgba(26,26,46,0.4) 60%, rgba(26,26,46,0.05) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    color: #fff;
}

.contact-hero-overlay h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #fff !important;
}

.contact-hero-overlay p {
    font-size: 14px;
    opacity: 0.9;
    max-width: 420px;
    color: #fff !important;
    margin: 0 !important;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 28px;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    transition: box-shadow var(--transition), transform var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.contact-info-card-label {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 2px;
}

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

.contact-info-card-value a {
    color: var(--text);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4 / 3;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-form-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.contact-form-card h2 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-hero { aspect-ratio: 16 / 9; }
    .contact-hero-overlay { padding: 0 20px; }
}

/* =====================================================
   WHATSAPP CHAT WIDGET
   ===================================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 950;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.whatsapp-float {
    position: relative;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: #fff;
}

.whatsapp-float-icon-close {
    display: none;
}

.whatsapp-float.has-avatar svg:not(.whatsapp-float-icon-close) {
    display: none;
}

.whatsapp-float-badge {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 22px;
    height: 22px;
    background: #25D366;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.whatsapp-float-badge svg {
    width: 12px;
    height: 12px;
}

.whatsapp-float.is-open .whatsapp-float-badge {
    display: none;
}

.whatsapp-float.is-open .whatsapp-float-icon-close {
    display: block;
}

.whatsapp-float.is-open svg:not(.whatsapp-float-icon-close) {
    display: none;
}

.whatsapp-float.is-open .whatsapp-float-ping {
    display: none;
}

.whatsapp-float.is-open {
    background: var(--primary);
    background-image: none !important;
}

.whatsapp-float-ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: whatsappPing 2.2s cubic-bezier(0,0,0.2,1) infinite;
    pointer-events: none;
}

@keyframes whatsappPing {
    0% { transform: scale(1); opacity: 0.55; }
    75%, 100% { transform: scale(1.7); opacity: 0; }
}

.whatsapp-float-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
}

.whatsapp-float-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--primary);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}

.whatsapp-float.is-open .whatsapp-float-tooltip {
    display: none;
}

/* -- Chat-Panel -- */
.whatsapp-chat-panel {
    width: 320px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.22);
    overflow: hidden;
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(12px) scale(0.97);
    transform-origin: bottom right;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.whatsapp-chat-panel.open {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.whatsapp-chat-header {
    background: #25D366;
    color: #fff;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-chat-header-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-chat-header-avatar.has-avatar svg {
    display: none;
}

.whatsapp-chat-header-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
}

.whatsapp-chat-header-text strong {
    font-size: 14.5px;
}

.whatsapp-chat-header-text span {
    font-size: 12px;
    opacity: 0.9;
}

.whatsapp-chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    opacity: 0.85;
    flex-shrink: 0;
}

.whatsapp-chat-close:hover {
    opacity: 1;
}

.whatsapp-chat-body {
    padding: 18px;
    background: #e5ded6;
    background-image: linear-gradient(180deg, #ece5dd, #e5ded6);
    min-height: 100px;
}

.whatsapp-chat-bubble {
    background: #fff;
    padding: 12px 14px;
    border-radius: 2px 12px 12px 12px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    max-width: 90%;
}

.whatsapp-chat-input-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px;
    background: #f0f0f0;
    border-top: 1px solid var(--border);
}

.whatsapp-chat-input-row textarea {
    flex: 1;
    resize: none;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-family: inherit;
    max-height: 80px;
    background: #fff;
}

.whatsapp-chat-input-row textarea:focus {
    outline: none;
    border-color: #25D366;
}

.whatsapp-chat-input-row button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--transition);
}

.whatsapp-chat-input-row button:hover {
    background: #1eb857;
}

@media (max-width: 600px) {
    .whatsapp-widget { bottom: 16px; right: 16px; }
    .whatsapp-float { width: 52px; height: 52px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
    .whatsapp-float-tooltip { display: none; }
    .whatsapp-chat-panel { width: calc(100vw - 32px); }
}

/* -- Google Bewertungen Widget -- */
.google-reviews-widget {
    position: fixed;
    bottom: 88px;
    left: 24px;
    z-index: 950;
}

.google-reviews-float {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 92px;
    padding: 12px 8px 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.16);
    cursor: pointer;
    font-family: inherit;
    transition: transform var(--transition), box-shadow var(--transition);
}

.google-reviews-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}

.google-reviews-float-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-alt);
    margin-bottom: 2px;
}

.google-reviews-float-stars {
    font-size: 12px;
    color: #FBBC05;
    letter-spacing: 1px;
    line-height: 1.1;
}

.google-reviews-float-rating {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.google-reviews-float-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.25;
}

.google-reviews-panel {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 0;
    width: 320px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.22);
    overflow: hidden;
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(12px) scale(0.97);
    transform-origin: bottom left;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.google-reviews-panel.open {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.google-reviews-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-light);
}

.google-reviews-header strong {
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.google-reviews-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-muted);
}

.google-reviews-stars {
    color: #FBBC05;
    font-size: 14px;
    letter-spacing: 1px;
}

.google-reviews-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    flex-shrink: 0;
}

.google-reviews-body {
    max-height: 320px;
    overflow-y: auto;
    padding: 4px 18px;
}

.google-review-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.google-review-item-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.google-review-item-head img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.google-review-item-head strong {
    font-size: 12.5px;
    display: block;
}

.google-review-item p {
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

.google-reviews-cta {
    display: block;
    text-align: center;
    padding: 13px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    border-top: 1px solid var(--border-light);
    text-decoration: none;
}

.google-reviews-cta:hover {
    background: var(--bg-alt);
}

@media (max-width: 600px) {
    .google-reviews-widget { bottom: 76px; left: 12px; }
    .google-reviews-float {
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 50%;
        flex-direction: row;
        gap: 0;
    }
    .google-reviews-float-badge { display: none; }
    .google-reviews-float-stars { display: none; }
    .google-reviews-float-label { display: none; }
    .google-reviews-float-rating { font-size: 13px; }
    .google-reviews-panel { width: calc(100vw - 24px); }
}

/* Cerez bandi acikken sol/sag alt widget'lari onun ustune tasi (tiklama engellenmesin) */
body.cookie-banner-visible .google-reviews-widget,
body.cookie-banner-visible .whatsapp-widget {
    bottom: calc(var(--cookie-bar-height, 80px) + 16px);
    transition: bottom 0.3s ease;
}

/* Sepet/Odeme sayfalarinda uyandirici widget'lar dikkat dagitmasin ve butonlarla cakismasin */
body.hide-floating-widgets .google-reviews-widget,
body.hide-floating-widgets .whatsapp-widget {
    display: none !important;
}




/* components */
/* =====================================================
   E-Ticaret Script - Bilesen Stilleri
   ===================================================== */

/* =====================================================
   PRODUCT CARD
   ===================================================== */
.product-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--bg-gray);
}

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

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

.product-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    color: var(--border);
}

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

/* Favorite Button */
.fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    transform: scale(0.8);
    color: var(--text-muted);
}

.product-card:hover .fav-btn,
.fav-btn.active {
    opacity: 1;
    transform: scale(1);
}

.fav-btn:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    color: #e53935;
}

.fav-btn.active {
    color: #e53935;
}

.fav-btn.active svg {
    fill: #e53935;
}

.product-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-category {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

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

.product-card-name a {
    color: inherit;
    transition: color var(--transition);
}

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

.product-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

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

.product-card-price-onrequest {
    font-size: 14px !important;
    font-style: italic;
    color: var(--text-light) !important;
}

.product-card-price-old {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-card-price-unit {
    font-size: 13px;
    color: var(--text-muted);
}

.product-card-price-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

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

.product-card-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
}

.product-card-btn:hover {
    background: #f97316;
    color: var(--white);
    border-color: #f97316;
}

.product-card-btn-disabled {
    background: #f3f4f6 !important;
    color: #4b5563 !important;
    border-color: #e5e7eb !important;
    cursor: default;
}
.product-card-btn-disabled:hover {
    background: #f3f4f6 !important;
    color: #4b5563 !important;
    border-color: #e5e7eb !important;
}

.product-card-btn svg {
    width: 14px;
    height: 14px;
}

/* =====================================================
   PRODUCT DETAIL
   ===================================================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

/* Gallery */
.product-gallery {
    position: relative;
    min-width: 0;
}

.product-gallery-main {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-gray);
    margin-bottom: 12px;
    cursor: zoom-in;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.product-gallery-thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 2px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--transition);
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
    border-color: var(--primary);
}

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

/* Product Info */
.product-info {
    padding-top: 8px;
    min-width: 0;
}

.product-info-category {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-info-category a {
    color: var(--accent);
    transition: color var(--transition);
}

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

.product-info-name {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 16px;
}

.product-info-short-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-info-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

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

.product-info-price-old {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-info-price-unit {
    font-size: 16px;
    color: var(--text-muted);
}

.product-info-price-note {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: -12px;
    margin-bottom: 20px;
}

.product-info-sale-badge {
    font-size: 12px;
    font-weight: 700;
    background: var(--danger);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
}

/* Stock info */
.product-stock-info {
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stock-dot-in { background: var(--success); }
.stock-dot-low { background: var(--warning); }
.stock-dot-out { background: var(--danger); }

/* Variants */
.product-variants {
    margin-bottom: 24px;
}

.variant-group {
    margin-bottom: 16px;
}

.variant-group-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-option {
    padding: 7px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    background: var(--bg);
    cursor: pointer;
    transition: all var(--transition);
}

.variant-option:hover { border-color: var(--primary); }

.variant-option.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.variant-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.variant-option-with-image {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 5px;
}

.variant-option-thumb {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.08);
}

.product-sample-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: var(--bg-alt);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.product-sample-box-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-sample-box-text strong {
    font-size: 13px;
    color: var(--text);
}

.product-sample-box-text span {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 360px;
}

.product-sample-box .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .product-sample-box {
        flex-direction: column;
        align-items: stretch;
    }
    .product-sample-box .btn { width: 100%; }
}

/* Quantity + Add to cart */
.product-add-to-cart {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text);
    transition: background var(--transition);
}

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

.quantity-input input {
    width: 50px;
    height: 42px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    -moz-appearance: textfield;
}

.quantity-input input::-webkit-inner-spin-button,
.quantity-input input::-webkit-outer-spin-button { -webkit-appearance: none; }

.add-to-cart-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition);
}

.add-to-cart-btn:hover { background: var(--primary-light); }

.add-to-cart-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

/* Product Meta */
.product-meta {
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.product-meta-item strong {
    color: var(--text);
    font-weight: 500;
}

/* Product Tabs */
.product-tabs {
    margin-top: 48px;
}

.product-tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--border);
    gap: 0;
}

.product-tab-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color var(--transition), border-color var(--transition);
}

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

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

.product-tab-content {
    display: none;
    padding: 24px 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
}

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

.product-tab-content h2,
.product-tab-content h3 {
    margin: 16px 0 8px;
    color: var(--primary);
}

.product-tab-content p { margin-bottom: 12px; }

.product-tab-content ul,
.product-tab-content ol {
    margin: 8px 0 16px 20px;
    list-style: disc;
}

.product-tab-content ol { list-style: decimal; }

.product-tab-content img {
    border-radius: var(--radius);
    margin: 12px 0;
}

/* =====================================================
   CART PAGE
   ===================================================== */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    border-bottom: 2px solid var(--border);
}

.cart-table td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
    font-size: 14px;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

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

.cart-item-variant {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.cart-remove {
    color: var(--text-muted);
    font-size: 13px;
    transition: color var(--transition);
}

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

/* Cart Summary */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.cart-summary {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 80px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-light);
}

.cart-summary-row.total {
    border-top: 2px solid var(--border);
    margin-top: 8px;
    padding-top: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* =====================================================
   CHECKOUT PAGE
   ===================================================== */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    align-items: flex-start;
}

.checkout-section {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}

.checkout-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.checkout-order-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.checkout-order-item-img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 4px;
    object-fit: cover;
    background: var(--bg-gray);
}

.checkout-order-item-info {
    flex: 1;
    font-size: 13px;
}

.checkout-order-item-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.checkout-order-item-variant {
    font-size: 12px;
    color: var(--text-muted);
}

.checkout-order-item-price {
    font-weight: 600;
    white-space: nowrap;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-method-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color var(--transition);
}

.payment-method-option:hover,
.payment-method-option.selected {
    border-color: var(--primary);
}

.payment-method-option input[type="radio"] {
    accent-color: var(--primary);
}

.payment-method-option .method-name {
    font-weight: 600;
    font-size: 14px;
}

.payment-method-option .method-desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* =====================================================
   TOAST NOTIFICATION
   ===================================================== */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    min-width: 280px;
    max-width: 380px;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn 0.3s ease;
}

.toast-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.toast-danger { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }
.toast-warning { background: #fff3e0; color: #e65100; border: 1px solid #ffe0b2; }
.toast-info { background: #e3f2fd; color: #1565c0; border: 1px solid #bbdefb; }

.toast-close {
    margin-left: auto;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition);
    background: none;
    border: none;
    color: inherit;
    font-size: 16px;
}

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

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

/* Header action text */
.header-action-text {
    font-size: 13px;
    font-weight: 500;
}

/* =====================================================
   BLOG CARDS
   ===================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}

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

.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-gray);
}

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

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

.blog-card-body {
    padding: 18px;
}

.blog-card-date {
    font-size: 12px;
    color: #555555;
    margin-bottom: 6px;
}

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

.blog-card-title a {
    color: inherit;
    transition: color var(--transition);
}

.blog-card-title a:hover { color: var(--accent); }

.blog-card-excerpt {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =====================================================
   404 PAGE
   ===================================================== */
.error-page {
    text-align: center;
    padding: 80px 20px;
}

.error-page-code {
    font-size: 120px;
    font-weight: 800;
    color: var(--border);
    line-height: 1;
    margin-bottom: 16px;
}

.error-page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.error-page-message {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.error-page-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* =====================================================
   BLOG DETAIL
   ===================================================== */
.blog-detail {
    max-width: 720px;
    margin: 0 auto;
}

.blog-detail-back {
    font-size: 13px;
    color: var(--text-muted);
    display: inline-block;
    margin-bottom: 16px;
    transition: color var(--transition);
}

.blog-detail-back:hover { color: var(--primary); }

.blog-detail-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--primary);
    margin-bottom: 12px;
}

.blog-detail-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.blog-detail-image {
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.blog-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.blog-detail-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin: 32px 0 12px;
}

.blog-detail-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 10px;
}

.blog-detail-content p { margin-bottom: 16px; }
.blog-detail-content ul, .blog-detail-content ol { margin: 0 0 16px 20px; }
.blog-detail-content img { max-width: 100%; border-radius: var(--radius); }
.blog-detail-content blockquote {
    border-left: 3px solid var(--primary);
    padding: 12px 20px;
    margin: 16px 0;
    background: var(--bg-alt);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

.blog-detail-share {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
}

.blog-detail-share a {
    color: var(--accent);
    font-weight: 500;
    transition: color var(--transition);
}

.blog-detail-share a:hover { color: var(--primary); }

/* =====================================================
   STATIC PAGE
   ===================================================== */
.static-page {
    max-width: 800px;
    margin: 0 auto;
}

.static-page-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.static-page-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

.static-page-content h2 { font-size: 20px; font-weight: 700; margin: 24px 0 10px; color: var(--primary); }
.static-page-content h3 { font-size: 17px; font-weight: 600; margin: 20px 0 8px; }
.static-page-content p { margin-bottom: 14px; }
.static-page-content ul, .static-page-content ol { margin: 0 0 14px 20px; }
.static-page-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.static-page-content table th, .static-page-content table td { padding: 10px; border: 1px solid var(--border); text-align: left; }
.static-page-content table th { background: var(--bg-alt); font-weight: 600; }


/* SBN order readiness and delivery planning */
.badge.badge-ready_for_pickup{background:#e8f0e4;color:#3e6140;border:1px solid #cfddc8}
.badge.badge-delivery_scheduled{background:#e7eff4;color:#205f7b;border:1px solid #c9dce6}
#sbn-order-plan-fields[hidden],#sbn-order-date-shortcuts[hidden]{display:none!important}


/* responsive */
/* =====================================================
   E-Ticaret Script - Responsive Kurallar
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root { --container: 960px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .product-detail { gap: 24px; }
    .hero-inner { padding: 48px 0; }
    .hero-title { font-size: 30px; }
    .hero-image img { max-width: 300px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .products-layout { grid-template-columns: 220px 1fr; gap: 20px; }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    :root { --header-height: 56px; }

    /* Header */
    .header-nav { display: none; }
    .header-search { max-width: 100%; order: 3; }
    .menu-toggle { display: flex; }

    /* Mobile Navigation */
    .header-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        z-index: 200;
        padding: 16px;
        overflow-y: auto;
        border-top: 1px solid var(--border);
    }

    .header-nav.open a {
        padding: 12px 16px;
        font-size: 15px;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-mega-item {
        flex-wrap: wrap;
    }

    .nav-mega-item > .nav-mega-trigger {
        flex: 1;
    }

    .nav-mega-panel {
        position: static;
        flex-basis: 100%;
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
        min-width: 0;
    }

    .nav-mega-panel a {
        border-bottom: 1px solid var(--border-light);
        font-size: 14px;
    }

    .header-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        height: auto;
        min-height: var(--header-height);
        padding: 10px 0;
        gap: 8px 12px;
    }

    .menu-toggle { grid-column: 1; grid-row: 1; justify-self: start; }
    .header-logo { grid-column: 2; grid-row: 1; justify-self: center; min-width: 0; }
    .header-logo img { max-height: 32px; width: auto; }
    .header-actions { grid-column: 3; grid-row: 1; justify-self: end; }
    .header-search { grid-column: 1 / -1; grid-row: 2; }

    .topbar-username { display: none; }

    /* Grid */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-detail { grid-template-columns: 1fr; gap: 20px; }
    .products-layout { grid-template-columns: 1fr; }
    .products-filters { position: static; }
    .cart-layout { grid-template-columns: 1fr; }

    /* Cart table -> stacked cards */
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
    .cart-table tr {
        position: relative;
        border: 1px solid var(--border-light);
        border-radius: var(--radius);
        margin-bottom: 12px;
        padding: 12px;
    }
    .cart-table td { padding: 6px 0; border-bottom: none; }
    .cart-table td:first-child { padding: 0 28px 10px 0; margin-bottom: 6px; border-bottom: 1px solid var(--border-light); }
    .cart-table td:nth-child(2),
    .cart-table td:nth-child(3),
    .cart-table td:nth-child(4) {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    .cart-table td:nth-child(2)::before { content: "Preis"; color: var(--text-muted); font-size: 12px; }
    .cart-table td:nth-child(3)::before { content: "Menge"; color: var(--text-muted); font-size: 12px; }
    .cart-table td:nth-child(4)::before { content: "Gesamt"; color: var(--text-muted); font-size: 12px; }
    .cart-table td:nth-child(5) { position: absolute; top: 8px; right: 8px; width: auto; padding: 0; }
    .cart-table .cart-remove { font-size: 20px; padding: 4px 8px; line-height: 1; }
    .cart-item-image { width: 48px; height: 48px; }

    .checkout-layout { grid-template-columns: 1fr; }
    .account-layout { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    /* Hero */
    .hero-inner { flex-direction: column; text-align: center; padding: 32px 0; }
    .hero-title { font-size: 24px; }
    .hero-image { order: -1; }
    .hero-image img { max-width: 250px; margin: 0 auto; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }

    /* Form */
    .form-row { grid-template-columns: 1fr; }

    /* Sections */
    .section-title { font-size: 18px; }
    .page-content { padding: 20px 0; }
    .section { margin-bottom: 32px; }

    /* Filter bar */
    .filter-bar { flex-direction: column; align-items: stretch; gap: 8px; }

    /* Cart summary sticky off */
    .cart-summary { position: static; }

    /* Account sidebar - horizontal scroll */
    .account-sidebar {
        position: static;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .account-user-info { display: none; }

    .account-nav {
        flex-direction: row;
        gap: 4px;
    }

    .account-nav-link { white-space: nowrap; padding: 8px 12px; font-size: 13px; }

    /* Account stats */
    .account-stats { grid-template-columns: repeat(2, 1fr); }

    /* Auth card */
    .auth-card { padding: 24px; }

    /* Header action text */
    .header-action-text { display: none; }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .product-info-name { font-size: 22px; }
    .product-info-price-current { font-size: 24px; }
    .error-page-code { font-size: 80px; }
    .error-page-title { font-size: 20px; }
    .error-page-actions { flex-direction: column; }
    .blog-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 20px; }
    .category-card { flex-basis: 160px; }
    .category-scroll-prev { left: 4px; }
    .category-scroll-next { right: 4px; }
    .category-scroll-btn { width: 34px; height: 34px; opacity: 0.9; }
}

