/* Sabit İnce E-Ticaret - Ana Stil Dosyası */
:root {
    --primary: #5c1a2a;
    --primary-light: #7a2438;
    --accent: #8b1e3a;
    --accent-hover: #6d1730;
    --gold: #c9a227;
    --gold-light: #e8d48b;
    --bg: #faf7f2;
    --card: #ffffff;
    --text: #2c1a1f;
    --text-muted: #6b555c;
    --border: #e8dfd6;
    --success: #27ae60;
    --radius: 10px;
    --shadow: 0 4px 20px rgba(92,26,42,0.08);
    --font: 'Segoe UI', Georgia, 'Times New Roman', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER ========== */
.site-header {
    background: var(--primary);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
}

.header-top {
    background: var(--primary-light);
    font-size: 13px;
    padding: 6px 0;
}

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

.header-contact span { margin-right: 18px; opacity: 0.9; }
.header-contact i { margin-right: 5px; }

.lang-switch {
    display: flex;
    gap: 4px;
}
.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}
.lang-btn.active { background: var(--accent); border-color: var(--accent); }

.header-main {
    padding: 14px 0;
}

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

.logo {
    font-size: 22px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}
.logo span { color: var(--gold); font-weight: 400; font-size: 14px; display: block; }

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}
.main-nav a {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: 500;
}
.main-nav a:hover, .main-nav a.active { color: white; }

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

.cart-btn {
    position: relative;
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent);
    color: white;
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

/* ========== HERO ========== */
.hero {
    background: linear-gradient(135deg, #5c1a2a 0%, #7a2438 50%, #3d1220 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
    color: var(--gold-light);
}
.hero .subtitle {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
.hero .quote-box {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(201,162,39,0.4);
    border-radius: 10px;
    padding: 22px 28px;
    max-width: 640px;
    margin: 0 auto 28px;
}
.hero .quote-box p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 8px;
    opacity: 0.95;
}
.hero .quote-box cite {
    font-size: 0.9rem;
    color: var(--gold);
    font-style: normal;
}
.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 28px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.btn-primary {
    background: var(--accent);
    color: white;
}
.btn-primary:hover { background: var(--accent-hover); color: white; }
.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}
.btn-outline:hover { background: white; color: var(--primary); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ========== SECTIONS ========== */
.section { padding: 60px 0; }
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.section-title p { color: var(--text-muted); max-width: 500px; margin: 0 auto; }

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.product-image {
    height: 220px;
    background: linear-gradient(145deg, #e8e4df, #d4cfc8);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-image .placeholder-icon {
    font-size: 48px;
    color: #a09a92;
}
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.product-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-category {
    font-size: 12px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}
.product-title a { color: inherit; }
.product-title a:hover { color: var(--accent); }
.product-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}
.product-price small {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}
.about-image {
    background: linear-gradient(145deg, #2c3e50, #1a252f);
    border-radius: var(--radius);
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 64px;
}
.about-content h2 { font-size: 1.8rem; margin-bottom: 16px; }
.about-content p { color: var(--text-muted); margin-bottom: 12px; }
.about-meta {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.about-meta-item {
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-size: 14px;
}
.about-meta-item strong { display: block; color: var(--accent); font-size: 13px; }

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 100%;
    height: 100%;
    background: white;
    z-index: 210;
    display: flex;
    flex-direction: column;
    transition: right 0.3s;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
}
.cart-sidebar.open { right: 0; }

.cart-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-header h3 { font-size: 17px; }
.cart-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-muted);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px 20px;
}
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.cart-item-img {
    width: 60px;
    height: 75px;
    background: #eee;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 14px; margin-bottom: 4px; }
.cart-item-info .price { font-size: 14px; font-weight: 600; color: var(--accent); }
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
.cart-item-qty button {
    width: 26px;
    height: 26px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.cart-item-remove {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 14px;
}

.cart-footer {
    padding: 18px 20px;
    border-top: 1px solid var(--border);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 14px;
}
.cart-footer .btn { width: 100%; justify-content: center; }

/* Page Hero (inner pages) */
.page-hero {
    background: var(--primary);
    color: white;
    padding: 50px 0;
    text-align: center;
}
.page-hero h1 { font-size: 2rem; margin-bottom: 6px; }
.page-hero p { opacity: 0.8; }

/* Filters */
.shop-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: center;
}
.shop-filters select,
.shop-filters input {
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    background: white;
}
.shop-filters input { min-width: 220px; }

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    padding: 40px 0;
}
.detail-image {
    background: linear-gradient(145deg, #e8e4df, #d4cfc8);
    border-radius: var(--radius);
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: #a09a92;
}
.detail-info h1 { font-size: 1.8rem; margin-bottom: 8px; }
.detail-category { color: var(--gold); font-size: 13px; text-transform: uppercase; margin-bottom: 12px; }
.detail-price { font-size: 28px; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.detail-desc { color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }
.detail-actions { display: flex; gap: 12px; align-items: center; }
.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}
.qty-selector button {
    width: 36px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 16px;
}
.qty-selector input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 15px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}
.contact-info-card i {
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 10px;
}
.contact-info-card h4 { margin-bottom: 6px; }
.contact-info-card p { color: var(--text-muted); font-size: 14px; }

.contact-form {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; font-size: 14px; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Checkout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
}
.checkout-form, .order-summary {
    background: white;
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.order-summary h3 { margin-bottom: 16px; }
.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 2px solid var(--primary);
}

/* Footer */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
    padding: 50px 0 20px;
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-brand h3 { color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-col h4 {
    color: white;
    font-size: 15px;
    margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-col a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 18px;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--primary);
    color: white;
    padding: 14px 22px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 300;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--success); }

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .product-detail, .contact-grid, .checkout-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .main-nav { display: none; }
    .main-nav.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 15px 20px;
    }
    .main-nav.open ul { flex-direction: column; gap: 12px; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 2rem; }
}

@media (max-width: 576px) {
    .header-top { display: none; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .product-image { height: 160px; }
    .cart-sidebar { width: 100%; }
}

/* ========== GECE / GÜNDÜZ MODU ========== */
body.dark-mode {
    --primary: #8b3a4a;
    --primary-light: #a34d5e;
    --accent: #c45c6a;
    --accent-hover: #a34d5e;
    --gold: #d4af37;
    --gold-light: #e8d48b;
    --bg: #1a1215;
    --card: #2a1f24;
    --text: #f0e6e8;
    --text-muted: #b0a0a5;
    --border: #3d2f35;
    --shadow: 0 4px 20px rgba(0,0,0,0.35);
}
body.dark-mode .site-header { background: #120c0e; }
body.dark-mode .header-main { background: #1a1215; border-bottom-color: #3d2f35; }
body.dark-mode .hero {
    background: linear-gradient(135deg, #2a151c 0%, #3d1a28 50%, #1a0e14 100%);
}
body.dark-mode .page-hero { background: #1a1215; }
body.dark-mode .product-card,
body.dark-mode .contact-form,
body.dark-mode .section[style*="background:#fff"],
body.dark-mode .about-grid > * { background: var(--card) !important; }
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background: #1a1215;
    border-color: var(--border);
    color: var(--text);
}
body.dark-mode .cart-sidebar { background: var(--card); }
body.dark-mode .footer-brand h3 { color: var(--gold); }

.theme-toggle {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.theme-toggle:hover { background: rgba(255,255,255,0.1); }
body.dark-mode .theme-toggle { border-color: rgba(212,175,55,0.5); color: var(--gold); }


.header-search {
    display: flex;
    align-items: center;
    gap: 0;
    margin-right: 8px;
}
.header-search input {
    width: 140px;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px 0 0 4px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 13px;
}
.header-search input::placeholder { color: rgba(255,255,255,0.6); }
.header-search button {
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.3);
    border-left: none;
    border-radius: 0 4px 4px 0;
    background: rgba(255,255,255,0.15);
    color: white;
    cursor: pointer;
}
.header-search button:hover { background: rgba(255,255,255,0.25); }
@media (max-width: 900px) {
    .header-search input { width: 100px; }
}
@media (max-width: 600px) {
    .header-search { display: none; }
}

/* Ziyaretçi sayacı */
.visitor-stats {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
}
.visitor-stats h3 {
    color: var(--primary);
    margin-bottom: 14px;
    font-size: 1.1rem;
}
.visitor-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
.visitor-stat-item {
    text-align: center;
    padding: 12px 8px;
    background: var(--bg);
    border-radius: 8px;
    border: 1px solid var(--border);
}
.visitor-stat-item .num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.visitor-stat-item .label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.visitor-stat-item.online .num { color: #27ae60; }
.stats-countries {
    list-style: none;
    padding: 0;
    margin: 0;
}
.stats-countries li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.stats-countries li:last-child { border-bottom: none; }
.footer-counter {
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}
.footer-counter span { margin: 0 6px; }

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
}
.footer-social a:hover {
    background: var(--gold);
    color: #1a1215;
}

/* Canlı destek - sağ alt */
.live-support-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9990;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(92,26,42,0.4);
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.live-support-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(92,26,42,0.5);
}
.live-support-btn .badge-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 10px;
    height: 10px;
    background: #27ae60;
    border-radius: 50%;
    border: 2px solid #fff;
}
.live-support-panel {
    position: fixed;
    bottom: 92px;
    right: 24px;
    z-index: 9991;
    width: 320px;
    max-width: calc(100vw - 32px);
    background: var(--card);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    display: none;
    flex-direction: column;
    overflow: hidden;
}
.live-support-panel.open { display: flex; }
.live-support-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.live-support-header h4 { margin: 0; font-size: 15px; font-weight: 600; }
.live-support-header .status { font-size: 11px; opacity: 0.9; margin-top: 2px; }
.live-support-header .status::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #2ecc71;
    border-radius: 50%;
    margin-right: 5px;
}
.live-support-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.85;
}
.live-support-body {
    padding: 14px;
    max-height: 220px;
    overflow-y: auto;
    background: var(--bg);
}
.live-support-msg {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 10px;
}
.live-support-msg.user {
    background: rgba(92,26,42,0.08);
    border-color: rgba(92,26,42,0.2);
}
.live-support-footer {
    padding: 10px 12px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
}
.live-support-footer input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    background: var(--card);
    color: var(--text);
}
.live-support-footer button {
    padding: 10px 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.live-support-footer button:hover { background: var(--accent); }
.live-support-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.live-support-quick button {
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    cursor: pointer;
}
.live-support-quick button:hover {
    border-color: var(--primary);
    color: var(--primary);
}
@media (max-width: 480px) {
    .live-support-panel { right: 12px; bottom: 80px; width: calc(100vw - 24px); }
    .live-support-btn { right: 16px; bottom: 16px; }
}

/* —— Benzersiz dokunuşlar —— */
.product-card {
    transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(92,26,42,.12);
}
.page-hero {
    background: linear-gradient(135deg, #5c1a2a 0%, #3d1220 100%);
    color: #fff;
    padding: 48px 0;
    text-align: center;
}
.page-hero h1 { color: var(--gold-light, #e8d48b); margin-bottom: 8px; }
.page-hero p { opacity: .9; }
.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.breadcrumb a { color: var(--primary); }
.newsletter-box {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(201,162,39,.3);
    border-radius: 10px;
    padding: 16px;
    margin-top: 12px;
}
.newsletter-box input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(0,0,0,.2);
    color: #fff;
    margin-bottom: 8px;
}
.newsletter-box button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background: var(--gold, #c9a227);
    color: #1a1215;
    font-weight: 600;
    cursor: pointer;
}
.share-btns { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.share-btns a {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg); border: 1px solid var(--border); color: var(--text);
}
.share-btns a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero .quote-box { animation: fadeInUp .7s ease; }
#whatsapp-float:hover { transform: scale(1.08); }

/* Checkout payment & shipping */
.pay-options { display: flex; flex-direction: column; gap: 10px; }
.pay-option {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px; border: 1px solid var(--border, #ddd); border-radius: 10px;
  cursor: pointer; background: var(--card-bg, #fff);
}
.pay-option:has(input:checked) {
  border-color: var(--primary, #6b2d3c);
  box-shadow: 0 0 0 2px rgba(107,45,60,.15);
}
.pay-option input { margin-top: 4px; }
.pay-option small { color: #666; }
.bank-box {
  background: #f8f5f2; border-radius: 10px; padding: 14px 16px;
  border: 1px dashed #c4a882;
}
[data-theme="dark"] .bank-box { background: #2a2420; border-color: #5a4a3a; }
[data-theme="dark"] .pay-option { background: #1e1e1e; }

/* ========== MOBİL MÜKEMMEL UYUM ========== */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}
img, video {
  max-width: 100%;
  height: auto;
}

/* Dokunma alanları min 44px */
.btn, .cart-btn, .mobile-menu-btn, .theme-toggle, .lang-btn {
  min-height: 40px;
  min-width: 40px;
}
.lang-btn { padding: 6px 10px; font-size: 12px; }
.header-search input {
  font-size: 16px; /* iOS zoom engeli */
}
input, select, textarea {
  font-size: 16px !important;
  max-width: 100%;
}

/* Sabit alt bar / float çakışmasın */
#whatsapp-float, .live-support-btn, #scroll-top {
  bottom: max(16px, env(safe-area-inset-bottom));
}
#whatsapp-float { right: 16px; z-index: 998; }
.live-support-widget, #live-support-root { z-index: 997; }

@media (max-width: 992px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .header-top .container {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    text-align: center;
  }
  .header-contact { font-size: 12px; flex-wrap: wrap; justify-content: center; }
  .header-main .container {
    flex-wrap: wrap;
    gap: 10px;
  }
  .logo { font-size: 1.15rem; }
  .header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .header-search {
    order: 10;
    width: 100%;
    margin-top: 4px;
  }
  .header-search input { width: 100%; }
  .main-nav.open {
    display: block !important;
    width: 100%;
    background: var(--primary-dark, #3d1220);
    padding: 12px 16px 20px;
    border-radius: 0 0 12px 12px;
  }
  .main-nav.open ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav.open a {
    display: block;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    font-size: 15px;
  }
  .hero { padding: 36px 0 28px; }
  .hero h1 { font-size: 1.65rem; line-height: 1.3; }
  .hero .lead, .hero p { font-size: 0.95rem; }
  .section { padding: 36px 0; }
  .section-title { font-size: 1.35rem; }
  .page-hero { padding: 32px 0; }
  .page-hero h1 { font-size: 1.5rem; }
  .about-grid, .contact-grid, .checkout-grid, .product-detail, .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .checkout-form, .order-summary {
    width: 100%;
  }
  .pay-option { padding: 12px; }
  .stats-row, .visitor-stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
  }
  .product-card .product-body { padding: 10px; }
  .product-title { font-size: 0.85rem; line-height: 1.3; }
  .product-price { font-size: 0.95rem; }
  .product-card .btn { width: 100%; justify-content: center; font-size: 13px; padding: 8px; }
  .hero-actions, .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn, .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .lang-switch {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }
  .lang-btn { min-width: 36px; padding: 5px 8px; font-size: 11px; }
  .cart-sidebar {
    width: 100% !important;
    max-width: 100%;
  }
  .form-group input, .form-group textarea, .form-group select {
    width: 100%;
    box-sizing: border-box;
  }
  .data-table, table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .footer-grid { text-align: center; }
  .footer-social { justify-content: center; }
  .pay-page { padding: 0 4px; }
  .pay-card { padding: 16px; }
  .pay-amount { font-size: 1.45rem; }
  .iban-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .iban-row .btn { width: 100%; justify-content: center; }
  /* Float butonlar alt köşe */
  #whatsapp-float {
    width: 52px;
    height: 52px;
    right: 12px;
    bottom: 72px;
  }
  .live-support-btn, #ls-toggle {
    bottom: 12px !important;
    right: 12px !important;
  }
  .quote-box { padding: 16px; font-size: 0.95rem; }
}

@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr !important; }
  .stats-row, .visitor-stats-grid { grid-template-columns: 1fr !important; }
  .logo span { display: none; }
}

/* Yatay tablet */
@media (min-width: 577px) and (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
