/* Marangoz Aletleri - Vitrin
   Sade ve hizli. Sakin palet, gereksiz efekt yok. */

:root {
    --bg:      #ffffff;
    --soft:    #f6f7f8;
    --border:  #e4e7ea;
    --text:    #23272b;
    --muted:   #6b7177;
    --accent:  #3f6b8a;
    --accent-d:#345a76;
}

* { box-sizing: border-box; }

body.storefront {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- Header --- */
.site-header {
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo { font-size: 18px; font-weight: bold; color: var(--text); }
.logo:hover { text-decoration: none; }
.main-nav a { margin-left: 18px; font-size: 14px; color: var(--text); }

/* --- Main --- */
.site-main { padding: 32px 20px; min-height: 50vh; }

.hero { text-align: center; padding: 40px 0; }
.hero h1 { font-size: 26px; margin: 0 0 10px; }
.hero p { margin: 4px 0; }
.muted { color: var(--muted); }

/* --- Footer --- */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--soft);
    margin-top: 40px;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    font-size: 13px;
    color: var(--muted);
}

/* --- Butonlar --- */
.btn {
    display: inline-block;
    padding: 10px 18px;
    background: var(--accent);
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
}
.btn:hover { background: var(--accent-d); text-decoration: none; }

/* --- Uyarilar --- */
.alert { padding: 10px 14px; border-radius: 5px; margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #e9f3ea; color: #2e7d32; }
.alert-error   { background: #f7e9e7; color: #c0392b; }
.alert-info    { background: #e8f0f7; color: #2c5b86; }

/* --- Hata sayfasi --- */
.error-page { text-align: center; padding: 80px 20px; }
.error-page h1 { font-size: 48px; margin: 0 0 12px; }
.error-page p { color: var(--muted); margin-bottom: 24px; }

/* --- Responsive --- */
@media (max-width: 640px) {
    .header-inner { height: 56px; }
    .logo { font-size: 16px; }
    .hero h1 { font-size: 22px; }
}

/* ============================================================
   PARCA 2 - Vitrin onyuz bilesenleri
   ============================================================ */

/* --- Header ust kisim --- */
.header-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.search-box { display: flex; flex: 1; max-width: 420px; }
.search-box input {
    flex: 1; padding: 9px 12px; border: 1px solid var(--border); border-right: none;
    border-radius: 5px 0 0 5px; font-size: 14px;
}
.search-box input:focus { outline: none; border-color: var(--accent); }
.search-box button {
    padding: 9px 18px; background: var(--accent); color: #fff; border: 1px solid var(--accent);
    border-radius: 0 5px 5px 0; cursor: pointer; font-size: 14px;
}
.search-box button:hover { background: var(--accent-d); }

/* --- Ana menu (2 seviye dropdown) --- */
.main-nav { background: var(--soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.nav-item { position: relative; }
.nav-item > a { display: block; padding: 12px 16px; color: var(--text); font-size: 14px; }
.nav-item > a:hover { background: #eceef0; text-decoration: none; }
.nav-item.has-children > a::after { content: " \25BE"; color: var(--muted); font-size: 11px; }
.submenu {
    display: none; position: absolute; top: 100%; left: 0; z-index: 30;
    background: #fff; border: 1px solid var(--border); border-radius: 0 0 5px 5px;
    min-width: 200px; padding: 6px 0; box-shadow: 0 4px 10px rgba(0,0,0,.06);
}
.nav-item:hover .submenu { display: block; }
.submenu li a { display: block; padding: 8px 16px; font-size: 13px; color: var(--text); }
.submenu li a:hover { background: var(--soft); text-decoration: none; }

/* --- Home bolumleri --- */
.home-section { margin: 36px 0; }
.home-section h2 { font-size: 18px; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }

.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.category-tile {
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: 22px 14px; background: var(--soft); border: 1px solid var(--border); border-radius: 6px;
    color: var(--text); font-size: 14px; font-weight: bold;
}
.category-tile:hover { background: #eceef0; text-decoration: none; border-color: #d4d8dc; }

/* --- Urun izgarasi + kart --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.product-card {
    display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 6px;
    overflow: hidden; background: #fff; color: var(--text); transition: border-color .12s;
}
.product-card:hover { border-color: #c8ccd0; text-decoration: none; }
.pc-image { aspect-ratio: 1 / 1; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.pc-image img { width: 100%; height: 100%; object-fit: cover; }
.pc-noimage { color: var(--muted); font-size: 13px; }
.pc-body { padding: 12px; display: flex; flex-direction: column; flex: 1; }
.pc-brand { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.pc-name { font-size: 14px; line-height: 1.35; margin-bottom: 10px; flex: 1; }
.pc-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pc-price { font-size: 16px; font-weight: bold; color: var(--text); }

/* --- Stok rozetleri --- */
.stock-badge { font-size: 11px; padding: 2px 8px; border-radius: 11px; white-space: nowrap; }
.stock-in     { background: #e9f3ea; color: #2e7d32; }
.stock-out    { background: #f7e9e7; color: #c0392b; }
.stock-supply { background: #e8f0f7; color: #2c5b86; }

/* --- Breadcrumb --- */
.breadcrumb { font-size: 13px; color: var(--muted); margin: 4px 0 18px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb .sep { margin: 0 7px; color: #c4c8cc; }
.breadcrumb .current { color: var(--text); }

/* --- Kategori sayfasi --- */
.page-title-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.page-title-row h1 { font-size: 22px; margin: 0; }
.category-desc { color: var(--muted); margin: 0 0 16px; }
.subcategory-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.chip {
    display: inline-block; padding: 6px 14px; background: var(--soft); border: 1px solid var(--border);
    border-radius: 16px; font-size: 13px; color: var(--text);
}
.chip:hover { background: #eceef0; text-decoration: none; }
.empty-note { padding: 30px 0; }

/* --- Urun detay --- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.pd-main { aspect-ratio: 1 / 1; background: var(--soft); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-noimage span { color: var(--muted); }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pd-thumb {
    width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--border);
    border-radius: 5px; cursor: pointer; opacity: .75;
}
.pd-thumb:hover { opacity: 1; }
.pd-thumb.active { opacity: 1; border-color: var(--accent); }

.pd-brand { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.pd-name { font-size: 24px; margin: 0 0 10px; line-height: 1.25; }
.pd-mpn { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.pd-stock { margin-bottom: 16px; }
.pd-price { font-size: 28px; font-weight: bold; }
.pd-vat { font-size: 13px; font-weight: normal; color: var(--muted); margin-left: 6px; }
.pd-net { font-size: 13px; margin: 4px 0 20px; }

.pd-cart { border-top: 1px solid var(--border); padding-top: 18px; }
.qty-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.qty-row label { font-size: 14px; }
.qty-row input { width: 70px; padding: 8px; border: 1px solid var(--border); border-radius: 5px; }
.btn-cart { font-size: 15px; padding: 11px 24px; }
.btn-cart:disabled { background: #c2c7cc; cursor: not-allowed; }
.cart-note { margin-top: 8px; }
.small { font-size: 12px; }
.pd-category { margin-top: 18px; font-size: 13px; }

.pd-description { margin-top: 12px; }
.pd-description h2 { font-size: 18px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.desc-body { font-size: 14px; line-height: 1.7; color: #33373b; }

/* --- Sayfalama --- */
.pagination { margin-top: 24px; display: flex; gap: 5px; flex-wrap: wrap; }
.pagination a { padding: 7px 13px; border: 1px solid var(--border); border-radius: 4px; font-size: 13px; color: var(--text); }
.pagination a:hover { background: var(--soft); text-decoration: none; }
.pagination a.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* --- Responsive --- */
@media (max-width: 760px) {
    .product-detail { grid-template-columns: 1fr; gap: 20px; }
    .header-top { flex-wrap: wrap; }
    .search-box { max-width: none; order: 3; width: 100%; }
    .pd-name { font-size: 20px; }
    .pd-price { font-size: 24px; }
}

/* ============================================================
   PARCA 3a - Sepet + Musteri auth bilesenleri
   ============================================================ */

/* --- Header aksiyonlari --- */
.header-actions { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.header-link { font-size: 14px; color: var(--text); }
.header-cart {
    font-size: 14px; color: var(--text); padding: 7px 14px; border: 1px solid var(--border);
    border-radius: 5px; background: var(--soft);
}
.header-cart:hover { background: #eceef0; text-decoration: none; }
.cart-count {
    display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 2px; background: var(--accent);
    color: #fff; border-radius: 10px; font-size: 12px; text-align: center; line-height: 18px;
}

/* --- Form satirlari (vitrin) --- */
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 13px; margin-bottom: 5px; }
.form-row input[type=text], .form-row input[type=email], .form-row input[type=password], .form-row input[type=number] {
    width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 5px; font-size: 14px;
}
.form-row input:focus { outline: none; border-color: var(--accent); }
.btn-block { display: block; width: 100%; text-align: center; padding: 11px; font-size: 15px; }

/* --- Auth kartlari --- */
.auth-wrap { display: flex; justify-content: center; padding: 24px 0; }
.auth-card { width: 100%; max-width: 400px; border: 1px solid var(--border); border-radius: 8px; padding: 28px; background: #fff; }
.auth-card h1 { font-size: 22px; margin: 0 0 20px; text-align: center; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }

/* --- Sepet --- */
.cart-empty { text-align: center; padding: 50px 0; }
.cart-empty p { margin-bottom: 18px; }
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.cart-items { display: flex; flex-direction: column; }
.cart-row {
    display: grid; grid-template-columns: 70px 1fr auto auto auto; gap: 16px; align-items: center;
    padding: 14px 0; border-bottom: 1px solid var(--border);
}
.cart-thumb img, .cart-thumb .thumb-empty {
    width: 70px; height: 70px; object-fit: cover; border: 1px solid var(--border); border-radius: 5px; display: block;
}
.cart-thumb .thumb-empty { background: var(--soft); }
.cart-name { font-size: 14px; color: var(--text); font-weight: bold; }
.cart-unit { font-size: 13px; margin-top: 4px; }
.cart-warn { font-size: 12px; color: #c0392b; margin-top: 3px; }
.cart-qty input { width: 64px; padding: 7px; border: 1px solid var(--border); border-radius: 5px; text-align: center; }
.cart-line { font-weight: bold; font-size: 15px; min-width: 90px; text-align: right; }
.link-danger { background: none; border: none; color: var(--err); cursor: pointer; font-size: 13px; padding: 0; }
.link-danger:hover { text-decoration: underline; }

.cart-summary { border: 1px solid var(--border); border-radius: 8px; padding: 20px; background: var(--soft); position: sticky; top: 16px; }
.cart-summary h2 { font-size: 16px; margin: 0 0 16px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; }
.sum-total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 12px; font-size: 17px; font-weight: bold; }
.cart-summary .btn-block { margin-top: 16px; }
.continue-link { display: block; text-align: center; margin-top: 12px; font-size: 13px; }
.small { font-size: 12px; }

@media (max-width: 760px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-row { grid-template-columns: 56px 1fr auto; grid-template-areas: "thumb info line" "thumb qty remove"; row-gap: 8px; }
    .cart-thumb { grid-area: thumb; }
    .cart-info { grid-area: info; }
    .cart-line { grid-area: line; }
    .cart-qty { grid-area: qty; }
    .cart-remove { grid-area: remove; }
    .cart-thumb img, .cart-thumb .thumb-empty { width: 56px; height: 56px; }
    .header-actions { gap: 10px; }
    .header-link { font-size: 13px; }
}

/* ============================================================
   PARCA 3b - Checkout / Hesabim / Siparis bilesenleri
   ============================================================ */

.hidden { display: none; }
.btn-light { background: #eceef0; color: var(--text); }
.btn-light:hover { background: #e0e3e6; text-decoration: none; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-sep { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.form-panel { max-width: 640px; }
.check-inline { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: 6px; }
.check-inline input { width: auto; }
.link-btn { background: none; border: none; color: var(--accent); cursor: pointer; font-size: 13px; padding: 0; }
.link-btn:hover { text-decoration: underline; }

/* --- Checkout --- */
.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.checkout-block { border: 1px solid var(--border); border-radius: 8px; padding: 20px; margin-bottom: 18px; }
.checkout-block h2 { font-size: 16px; margin: 0 0 14px; }
.checkout-block textarea { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 5px; font-family: inherit; }
.saved-addresses { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.address-option { display: flex; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; font-size: 13px; }
.address-option input { margin-top: 3px; }
.badge-default { background: var(--accent); color: #fff; font-size: 11px; padding: 1px 7px; border-radius: 9px; margin-left: 4px; }

.checkout-summary { border: 1px solid var(--border); border-radius: 8px; padding: 20px; background: var(--soft); position: sticky; top: 16px; }
.checkout-summary h2 { font-size: 16px; margin: 0 0 14px; }
.summary-items { margin-bottom: 12px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.sum-item { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; gap: 10px; }
.si-name { flex: 1; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; }
.sum-total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 10px; font-size: 17px; font-weight: bold; }
.payment-note { font-size: 12px; color: var(--muted); margin: 14px 0; line-height: 1.5; }

/* --- Order success --- */
.order-success { max-width: 640px; margin: 0 auto; }
.success-head { text-align: center; padding: 20px 0; }
.success-head h1 { font-size: 24px; margin: 0 0 8px; }
.bank-box { border: 1px solid var(--border); border-radius: 8px; padding: 20px; background: var(--soft); margin: 16px 0; }
.bank-box h2 { font-size: 16px; margin: 0 0 12px; }
.bank-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.bank-table td { padding: 8px 4px; border-bottom: 1px solid var(--border); font-size: 14px; }
.bank-table td:first-child { color: var(--muted); width: 35%; }
.success-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }

/* --- Hesabim --- */
.account-layout { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.account-nav { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.account-nav a { padding: 12px 16px; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--border); }
.account-nav a:last-child { border-bottom: none; }
.account-nav a:hover { background: var(--soft); text-decoration: none; }
.account-nav a.active { background: var(--accent); color: #fff; }
.account-content h1 { font-size: 22px; margin: 0 0 18px; }

table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data thead th { text-align: left; padding: 10px; border-bottom: 2px solid var(--border); color: var(--muted); font-size: 12px; text-transform: uppercase; }
table.data tbody td { padding: 10px; border-bottom: 1px solid var(--border); }

/* Durum rozetleri */
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: bold; }
.status-pending          { background: #fbf2e0; color: #9a6a1a; }
.status-payment_notified { background: #e8f0f7; color: #2c5b86; }
.status-approved         { background: #e9f3ea; color: #2e7d32; }
.status-preparing        { background: #eef0f2; color: #555; }
.status-shipped          { background: #e6eefb; color: #2a4f8a; }
.status-completed        { background: #e9f3ea; color: #1f6f24; }
.status-cancelled        { background: #f7e9e7; color: #c0392b; }

/* Siparis detay */
.detail-block { border: 1px solid var(--border); border-radius: 8px; padding: 18px; margin: 16px 0; }
.detail-block h2 { font-size: 16px; margin: 0 0 12px; }
.detail-total { display: flex; gap: 18px; justify-content: flex-end; margin-top: 12px; font-size: 14px; flex-wrap: wrap; }
.detail-total .grand { font-weight: bold; font-size: 16px; }
.addr-snapshot { font-size: 14px; line-height: 1.6; }

.receipt-list { list-style: none; padding: 0; margin: 0 0 16px; }
.receipt-list li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.receipt-status { font-weight: bold; }
.receipt-pending  { color: #9a6a1a; }
.receipt-approved { color: #2e7d32; }
.receipt-rejected { color: #c0392b; }
.receipt-form { border-top: 1px solid var(--border); padding-top: 16px; max-width: 480px; }

.address-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.address-card { display: flex; justify-content: space-between; gap: 16px; border: 1px solid var(--border); border-radius: 6px; padding: 14px; font-size: 14px; }
.addr-actions { display: flex; gap: 12px; align-items: flex-start; white-space: nowrap; }
.link-danger { background: none; border: none; color: var(--err); cursor: pointer; font-size: 13px; padding: 0; }
.link-danger:hover { text-decoration: underline; }

@media (max-width: 760px) {
    .checkout-layout, .account-layout { grid-template-columns: 1fr; }
    .account-nav { flex-direction: row; flex-wrap: wrap; }
    .account-nav a { border-bottom: none; flex: 1; text-align: center; }
    .address-card { flex-direction: column; }
}

/* ============================================================
   FAZ 6 - Statik sayfalar + footer
   ============================================================ */
.static-page { max-width: 820px; margin: 0 auto; padding: 8px 0 32px; }
.static-page h1 { font-size: 26px; margin-bottom: 18px; }
.static-content { line-height: 1.7; color: #33383d; }
.static-content h2 { font-size: 20px; margin: 24px 0 10px; }
.static-content h3 { font-size: 17px; margin: 18px 0 8px; }
.static-content p { margin: 0 0 12px; }
.static-content ul, .static-content ol { margin: 0 0 12px 22px; }
.static-content li { margin-bottom: 5px; }
.static-content a { color: var(--accent); }

.footer-inner { display: flex; flex-direction: column; gap: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: #5a6570; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.footer-meta { display: flex; gap: 14px; font-size: 13px; }

/* ============================================================
   FAZ 6 Parca 2 - Urun paketleri (set)
   ============================================================ */
.bundle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.bundle-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.bundle-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.bundle-card-img { aspect-ratio: 4/3; background: var(--soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bundle-card-img img { width: 100%; height: 100%; object-fit: cover; }
.bundle-card-noimg { color: #9aa4ad; font-size: 14px; }
.bundle-card-body { padding: 12px 14px; }
.bundle-card-body h3 { font-size: 16px; margin: 0 0 4px; }
.bundle-card-price { margin-top: 6px; font-weight: bold; color: var(--accent); }

.bundle-detail { max-width: 860px; margin: 0 auto; }
.bundle-desc { color: #4a545e; line-height: 1.6; }
.bundle-items { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.bundle-item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.bundle-item.item-unavailable { opacity: .6; }
.bundle-item-img { width: 60px; height: 60px; flex: 0 0 60px; background: var(--soft); border-radius: 6px; overflow: hidden; }
.bundle-item-img img { width: 100%; height: 100%; object-fit: cover; }
.bundle-item-noimg { width: 100%; height: 100%; }
.bundle-item-info { flex: 1; min-width: 0; }
.bundle-item-name { font-weight: 600; color: #2b3138; text-decoration: none; }
.bundle-item-name:hover { color: var(--accent); }
.bundle-item-meta { display: flex; gap: 12px; align-items: center; margin-top: 4px; font-size: 14px; color: #5a6570; flex-wrap: wrap; }
.bundle-item-sub { font-weight: bold; white-space: nowrap; }

.bundle-summary { background: var(--soft); border-radius: 10px; padding: 18px; }
.bundle-setprice { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--border); }
.bundle-setprice-val { font-size: 22px; font-weight: bold; color: var(--accent); }
.bundle-total-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; margin-bottom: 14px; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-lg { padding: 12px 20px; font-size: 16px; }
.back-link { display: inline-block; margin-top: 12px; color: #5a6570; text-decoration: none; font-size: 14px; }
.back-link:hover { color: var(--accent); }

/* Paket kalem rozetleri (tukendi / satista degil) */
.bundle-item .badge { font-size: 11px; padding: 1px 8px; border-radius: 9px; }
.bundle-item .badge-warn { background: #fbf0e3; color: #9a6412; }

/* ============================================================================
   CILA KATMANI (Faz 6 - final) — Atolye Hassasiyeti
   Slate + #3f6b8a marka korunur; Space Grotesk baslik + Inter govde.
   ============================================================================ */
:root {
    --ink:        #20262d;
    --ink-2:      #2a323b;
    --accent:     #3f6b8a;
    --accent-l:   #4d7ea3;
    --accent-xl:  #5f96bd;
    --accent-d:   #345a76;
    --accent-grad: linear-gradient(135deg, #43718f 0%, #4d7ea3 100%);
    --radius-sm:  8px;
    --radius:     12px;
    --radius-lg:  18px;
    --shadow-xs:  0 1px 2px rgba(24,34,45,.06);
    --shadow-sm:  0 2px 6px rgba(24,34,45,.07), 0 1px 2px rgba(24,34,45,.05);
    --shadow:     0 6px 18px rgba(24,34,45,.09);
    --shadow-md:  0 12px 30px rgba(24,34,45,.12);
    --shadow-lg:  0 22px 48px rgba(24,34,45,.16);
    --ring:       0 0 0 3px rgba(63,107,138,.20);
    --ease:       cubic-bezier(.22,.61,.36,1);
    --t-fast:     .16s;
    --t:          .28s;
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body.storefront {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text);
    background:
        radial-gradient(1100px 420px at 100% -10%, rgba(63,107,138,.06), transparent 62%),
        radial-gradient(900px 380px at -10% 8%, rgba(63,107,138,.045), transparent 60%),
        var(--bg);
}

h1, h2, h3, .logo, .hero h1, .page-head h1, .page-title-row h1, .si-name, .pd-name {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -.012em;
}

::selection { background: rgba(63,107,138,.20); color: var(--ink); }

@keyframes fadeUp   { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn    { 0% { opacity: 0; transform: scale(.96); } 100% { opacity: 1; transform: scale(1); } }
@keyframes shimmer  { 0% { background-position: -420px 0; } 100% { background-position: 420px 0; } }

.site-main > * { animation: fadeUp .5s var(--ease) both; }

/* ---- Header: yapiskan, cam efektli, logo ---- */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255,255,255,.86);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    backdrop-filter: saturate(150%) blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(24,34,45,.03), 0 8px 24px -18px rgba(24,34,45,.35);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 40px; width: auto; display: block; transition: transform var(--t) var(--ease); }
.logo:hover .logo-img { transform: scale(1.04); }
.logo-txt { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }

.search-box input:focus { border-color: var(--accent); box-shadow: var(--ring); }

/* ---- Ana menu: animasyonlu alt cizgi + akici submenu ---- */
.main-nav { border-top: 1px solid var(--border); }
.nav-item > a { position: relative; transition: color var(--t-fast) var(--ease); }
.nav-item > a::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
    background: var(--accent-grad); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease);
}
.nav-item > a:hover { color: var(--accent); }
.nav-item > a:hover::after, .nav-item:hover > a::after { transform: scaleX(1); }
.submenu {
    box-shadow: var(--shadow-md); border: 1px solid var(--border); border-radius: var(--radius-sm);
    overflow: hidden; animation: fadeUp .18s var(--ease) both;
}
.submenu a { transition: background var(--t-fast), color var(--t-fast), padding-left var(--t-fast); }
.submenu a:hover { background: var(--soft); color: var(--accent); padding-left: 20px; }

/* ---- Butonlar: gradient + kaldirma + basma ---- */
.btn {
    background: var(--accent-grad); color: #fff; border: 0; border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm); font-weight: 600; letter-spacing: .1px; cursor: pointer;
    transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), filter var(--t-fast);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); filter: brightness(1.06) saturate(1.05); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-xs); filter: brightness(.98); }
.btn-lg { border-radius: var(--radius); }
.btn-light {
    background: #fff; color: var(--accent-d); border: 1px solid var(--border); box-shadow: var(--shadow-xs);
}
.btn-light:hover { background: var(--soft); border-color: var(--accent); color: var(--accent-d); transform: translateY(-1px); }
.btn-cart { background: var(--accent-grad); }

/* ---- Kartlar: hover kaldirma + gorsel zoom + accent hairline ---- */
.product-card, .bundle-card, .category-tile, .address-card, .auth-card {
    border-radius: var(--radius); border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
    will-change: transform;
}
.product-card:hover, .bundle-card:hover, .category-tile:hover {
    transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(63,107,138,.38);
}
.pc-image, .bundle-card-img { overflow: hidden; }
.pc-image img, .bundle-card-img img, .bundle-item-img img {
    transition: transform .55s var(--ease);
}
.product-card:hover .pc-image img, .bundle-card:hover .bundle-card-img img { transform: scale(1.06); }
.pc-price, .pd-price, .bundle-card-price, .sum-total, .cart-line {
    font-family: 'Space Grotesk', sans-serif; letter-spacing: -.01em;
}

/* ---- Kategori kutulari ---- */
.category-tile { position: relative; overflow: hidden; }
.category-tile::before {
    content: ''; position: absolute; inset: 0; background: var(--accent-grad); opacity: 0;
    transition: opacity var(--t); mix-blend-mode: multiply;
}
.category-tile:hover::before { opacity: .04; }

/* ---- Panolar / formlar ---- */
.form-panel, .auth-card, .bank-box, .checkout-block, .cart-summary, .checkout-summary {
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
input, select, textarea { transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); border-radius: 8px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: var(--ring); outline: none; }
a:focus-visible, button:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ---- Hero ---- */
.hero {
    border-radius: var(--radius-lg); overflow: hidden; position: relative;
    background:
        radial-gradient(700px 300px at 88% -20%, rgba(63,107,138,.14), transparent 60%),
        linear-gradient(120deg, #eef2f5 0%, #f7f9fa 55%, #eef3f6 100%);
    box-shadow: var(--shadow-sm);
    animation: popIn .5s var(--ease) both;
}
.hero::after {
    content: ''; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(63,107,138,.10), transparent 70%);
    pointer-events: none;
}

/* ---- Rozetler / durum etiketleri ---- */
.stock-badge, .status-badge, .chip, .badge-default {
    border-radius: 999px; font-weight: 600; letter-spacing: .2px;
}
.stock-in { box-shadow: inset 0 0 0 1px rgba(46,125,50,.18); }

/* ---- Sepet satirlari ---- */
.cart-row, .receipt-list li { transition: background var(--t-fast); border-radius: 10px; }
.cart-row:hover { background: var(--soft); }

/* ---- Footer: koyu, premium ---- */
.site-footer {
    background:
        radial-gradient(600px 200px at 90% 0%, rgba(63,107,138,.18), transparent 60%),
        var(--ink);
    color: #b8c2cc; border-top: 0; margin-top: 48px;
}
.site-footer .muted { color: #8b96a1; }
.footer-links a { color: #aab4bf; }
.footer-links a:hover { color: #fff; }
.footer-meta { color: #8b96a1; }

/* ---- Sayfa basligi vurgusu (imza: accent bar) ---- */
.page-head h1, .page-title-row h1, .static-page h1 {
    position: relative; padding-bottom: 10px;
}
.page-head h1::after, .static-page h1::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px;
    background: var(--accent-grad); border-radius: 3px;
}

/* ---- Paket ozet kutusu ---- */
.bundle-summary { box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.bundle-item { transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease); }
.bundle-item:hover { transform: translateX(3px); box-shadow: var(--shadow-sm); }

/* ---- Erisim: hareket azaltma ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================================
   E-TICARET VITRIN — header/hero/kategori/footer (Faz 6 cila-2)
   ============================================================================ */

/* ---- Ust bilgi cubugu ---- */
.topbar-utility { background: var(--ink); color: #aeb8c2; font-size: 12.5px; }
.topbar-utility-inner { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 12px; }
.tu-item { display: inline-flex; align-items: center; gap: 7px; }
.tu-ship svg { opacity: .85; }
.tu-links { display: flex; gap: 16px; }
.tu-links a { color: #aeb8c2; text-decoration: none; transition: color var(--t-fast); }
.tu-links a:hover { color: #fff; }
@media (max-width: 640px) { .tu-ship { font-size: 11.5px; } .tu-links { display: none; } }

/* ---- Header ust satir ---- */
.header-top { display: flex; align-items: center; gap: 26px; padding: 16px 0; }
.logo-img { height: 44px; }
.search-box { flex: 1; position: relative; display: flex; max-width: 620px; }
.search-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-box input {
    flex: 1; padding: 12px 14px 12px 42px; border: 1.5px solid var(--border); border-radius: 999px 0 0 999px;
    font-size: 14.5px; background: var(--soft);
}
.search-box input:focus { background: #fff; }
.search-box button {
    border: 0; padding: 0 22px; border-radius: 0 999px 999px 0; background: var(--accent-grad); color: #fff;
    font-weight: 600; cursor: pointer; transition: filter var(--t-fast);
}
.search-box button:hover { filter: brightness(1.07); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-icon {
    display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 12px;
    text-decoration: none; color: var(--text); transition: background var(--t-fast), color var(--t-fast);
}
.header-icon:hover { background: var(--soft); color: var(--accent-d); }
.header-icon svg { color: var(--accent-d); }
.header-icon-txt { display: flex; flex-direction: column; line-height: 1.15; }
.header-icon-txt small { font-size: 11px; color: var(--muted); }
.header-icon-txt strong { font-size: 13.5px; font-weight: 600; }
.cart-ico-wrap { position: relative; display: inline-flex; }
.cart-count {
    position: absolute; top: -7px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px;
    background: #d4694e; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff;
}
@media (max-width: 860px) {
    .header-top { flex-wrap: wrap; gap: 14px; }
    .search-box { order: 3; max-width: none; flex-basis: 100%; }
    .header-icon-txt { display: none; }
    .header-icon { padding: 8px; }
}

/* ---- Ana menu ---- */
.main-nav-inner { display: flex; }
.nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.nav-all > a, .nav-bundles > a { display: inline-flex; align-items: center; gap: 7px; }
.nav-all > a { background: rgba(63,107,138,.10); color: var(--accent-d); font-weight: 600; border-radius: 8px; }
.nav-all > a::after { display: none; }
.nav-all > a:hover { background: rgba(63,107,138,.16); }
.nav-bundles > a { color: var(--accent-d); font-weight: 600; }
@media (max-width: 760px) {
    .main-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .nav-list { flex-wrap: nowrap; }
    .nav-item > a { white-space: nowrap; }
}

/* ---- HERO SLIDER ---- */
.hero-slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-top: 4px; }
.hero-track { display: flex; transition: transform .6s var(--ease); }
.hero-slide {
    position: relative; flex: 0 0 100%; min-height: 360px; display: flex; align-items: center;
    padding: 48px 56px; color: #fff; overflow: hidden;
}
.slide-a { background: linear-gradient(120deg, #2b4a5f 0%, #3f6b8a 56%, #4d7ea3 100%); }
.slide-b { background: linear-gradient(120deg, #22323b 0%, #2f5064 60%, #3a6a86 100%); }
.slide-c { background: linear-gradient(120deg, #333f4a 0%, #45606f 55%, #56778a 100%); }
.hero-content { position: relative; z-index: 2; max-width: 560px; animation: fadeUp .6s var(--ease) both; }
.hero-eyebrow {
    display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: rgba(255,255,255,.82); background: rgba(255,255,255,.12); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.hero-slide h2 { font-family: 'Space Grotesk', sans-serif; font-size: 42px; line-height: 1.05; margin: 0 0 12px; letter-spacing: -.02em; }
.hero-slide p { font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.9); margin: 0 0 24px; max-width: 460px; }
.hero-slide .btn { background: #fff; color: var(--accent-d); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.hero-slide .btn:hover { filter: none; background: #f3f6f8; transform: translateY(-2px); }
.hero-art {
    position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
    width: 380px; height: 380px; z-index: 1; pointer-events: none;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.16), transparent 62%);
}
.hero-art::before {
    content: ''; position: absolute; right: 90px; top: 70px; width: 200px; height: 200px;
    border: 2px solid rgba(255,255,255,.18); border-radius: 28px; transform: rotate(20deg);
}
.hero-art::after {
    content: ''; position: absolute; right: 150px; top: 150px; width: 120px; height: 120px;
    border: 2px solid rgba(255,255,255,.12); border-radius: 50%;
}
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.18); color: #fff; font-size: 26px; line-height: 1;
    display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
    transition: background var(--t-fast), transform var(--t-fast); opacity: 0;
}
.hero-slider:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: rgba(255,255,255,.32); }
.hero-prev { left: 16px; } .hero-next { right: 16px; }
.hero-dots { position: absolute; bottom: 18px; left: 56px; z-index: 3; display: flex; gap: 8px; }
.hero-dot { width: 9px; height: 9px; border: 0; border-radius: 999px; background: rgba(255,255,255,.4); cursor: pointer; transition: width var(--t), background var(--t); padding: 0; }
.hero-dot.active { width: 26px; background: #fff; }
@media (max-width: 760px) {
    .hero-slide { min-height: 300px; padding: 32px 26px; }
    .hero-slide h2 { font-size: 30px; }
    .hero-slide p { font-size: 15px; }
    .hero-art { display: none; }
    .hero-dots { left: 26px; }
    .hero-arrow { display: none; }
}

/* ---- Guven seridi ---- */
.features {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0 8px;
}
.feature {
    display: flex; align-items: center; gap: 13px; padding: 16px 18px; background: #fff;
    border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-xs);
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feature svg { width: 30px; height: 30px; color: var(--accent); flex: 0 0 auto; }
.feature strong { display: block; font-size: 14.5px; }
.feature small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 760px) { .features { grid-template-columns: repeat(2, 1fr); } }

/* ---- Bolum basligi ---- */
.home-section { margin: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.section-head h2 { font-size: 23px; margin: 0; position: relative; padding-bottom: 10px; }
.section-head h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px; background: var(--accent-grad); border-radius: 3px; }
.section-link { color: var(--accent-d); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.section-link span { transition: transform var(--t) var(--ease); display: inline-block; }
.section-link:hover span { transform: translateX(4px); }

/* ---- Kategori kutulari (gorselli) ---- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.category-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; }
.ct-img { aspect-ratio: 16/11; background: linear-gradient(135deg, #eef2f5, #e2e9ee); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ct-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.category-tile:hover .ct-img img { transform: scale(1.07); }
.ct-noimg { color: #9fb0bd; }
.ct-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.ct-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.ct-count { font-size: 12.5px; color: var(--muted); }

/* ---- CTA banner ---- */
.cta-banner {
    margin: 48px 0; border-radius: var(--radius-lg); overflow: hidden; color: #fff;
    background:
        radial-gradient(600px 240px at 90% 10%, rgba(255,255,255,.10), transparent 60%),
        linear-gradient(120deg, #345a76 0%, #3f6b8a 60%, #4d7ea3 100%);
    box-shadow: var(--shadow);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 34px 40px; flex-wrap: wrap; }
.cta-inner h3 { font-family: 'Space Grotesk', sans-serif; font-size: 25px; margin: 0 0 6px; letter-spacing: -.01em; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.9); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-banner .btn { background: #fff; color: var(--accent-d); }
.cta-banner .btn:hover { background: #f3f6f8; filter: none; }
.cta-banner .btn-light { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.cta-banner .btn-light:hover { background: rgba(255,255,255,.24); }

.empty-note-lg { padding: 40px; text-align: center; background: var(--soft); border-radius: var(--radius); }

/* ---- Zengin footer ---- */
.site-footer { background: var(--ink); color: #aab4bf; margin-top: 56px; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding: 44px 0 30px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .03em; margin: 0 0 14px; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: #aab4bf; text-decoration: none; font-size: 14px; transition: color var(--t-fast), padding-left var(--t-fast); }
.footer-col a:hover { color: #fff; padding-left: 3px; }
.footer-logo img { height: 40px; margin-bottom: 14px; }
.footer-logo-txt { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; color: #fff; display: inline-block; margin-bottom: 12px; }
.footer-about { font-size: 13.5px; line-height: 1.65; color: #97a2ad; margin: 0 0 14px; max-width: 320px; }
.footer-contact a { color: var(--accent-xl); font-weight: 600; font-size: 14px; text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-pay { margin-top: 16px; }
.footer-pay-badge { display: inline-block; background: rgba(95,150,189,.18); color: #cfe0ed; border: 1px solid rgba(95,150,189,.35); padding: 5px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600; }
.footer-pay-note { display: block; margin-top: 8px; font-size: 12px; color: #8b96a1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 13px; gap: 12px; }
.footer-bottom .muted { color: #7f8b96; }
@media (max-width: 860px) {
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 26px; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    .footer-cols { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
}
