/* =========================================================
   Litorya.Web — Bookory'den esinlenen temiz kitap mağazası mockup stili
   ========================================================= */
:root {
    --primary: #F65D4E;
    --primary-hover: #f4402f;
    --ink: #1c1c1c;
    --text: #444444;
    --muted: #999999;
    --border: #E6E6E6;
    --bg-soft: #F7F5F1;
    --bg-cream: #FBF7F0;
    --dark: #282828;
    --star: #FFB800;
    --radius: 8px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, .06);
    --container: 1240px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: "Sora", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text);
    background: #fff;
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: "Sora", sans-serif; color: var(--ink); font-weight: 700; line-height: 1.25; margin: 0 0 .5em; }

a { color: inherit; text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--primary); }

img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: "Sora", sans-serif; font-weight: 600; font-size: 14px;
    padding: 12px 26px; border-radius: 999px; border: 1.5px solid transparent;
    cursor: pointer; transition: all .2s ease; white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 34px; font-size: 15px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--dark); color: #cfcfcf; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 42px; }
.topbar a { color: #cfcfcf; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-social { display: flex; gap: 14px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; background: #fff; }
.header-main .container { display: flex; align-items: center; gap: 32px; height: 92px; }
.brand { font-size: 28px; font-weight: 800; letter-spacing: .5px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.brand .dot { color: var(--primary); }
.brand-mark { width: 30px; height: 30px; }

.search-bar { flex: 1; display: flex; max-width: 560px; border: 1.5px solid var(--border); border-radius: 999px; overflow: hidden; }
.search-bar select { border: none; background: var(--bg-soft); padding: 0 16px; font-family: inherit; font-size: 13px; color: var(--text); border-right: 1px solid var(--border); cursor: pointer; }
.search-bar input { flex: 1; border: none; padding: 12px 18px; font-family: inherit; font-size: 14px; outline: none; }
.search-bar button { border: none; background: var(--primary); color: #fff; padding: 0 22px; cursor: pointer; }
.search-bar button:hover { background: var(--primary-hover); }

.header-actions { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.header-action { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.header-action .ha-ico { position: relative; }
.header-action small { display: block; color: var(--muted); font-size: 11px; line-height: 1.1; }
.header-action strong { font-size: 13px; font-weight: 600; }
.badge-count { position: absolute; top: -8px; right: -10px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.icn { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; }

/* ---------- Nav ---------- */
.main-nav { border-bottom: 1px solid var(--border); background: #fff; }
.main-nav .container { display: flex; align-items: center; gap: 8px; height: 54px; }
.nav-cats { display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--radius) var(--radius) 0 0; font-weight: 600; font-size: 14px; align-self: flex-end; }
.nav-menu { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: 14px; }
.nav-menu > li > a { display: flex; align-items: center; gap: 5px; color: var(--ink); }
.nav-menu .tag { background: var(--primary); color: #fff; font-size: 9px; padding: 2px 6px; border-radius: 4px; font-weight: 700; text-transform: uppercase; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }

/* ---------- Hero ---------- */
.hero { background: var(--bg-cream); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; min-height: 480px; }
.hero-eyebrow { color: var(--primary); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; font-size: 13px; margin-bottom: 18px; }
.hero h1 { font-size: 54px; line-height: 1.1; margin-bottom: 20px; }
.hero p { font-size: 17px; max-width: 440px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; align-items: center; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; height: 100%; min-height: 420px; }
.hero-front { position: relative; z-index: 2; }
.hero-front .book-cover-svg { width: 290px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.25)); transform: rotate(-6deg); }
.hero-back { position: absolute; z-index: 1; }
.hero-back .book-cover-svg { width: 250px; transform: rotate(9deg) translateX(90px); opacity: .9; filter: drop-shadow(0 20px 30px rgba(0,0,0,.18)); }
.hero-badge { position: absolute; top: 20px; left: 0; background: var(--primary); color: #fff; width: 96px; height: 96px; border-radius: 999px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; text-align: center; line-height: 1.1; transform: rotate(-12deg); box-shadow: var(--shadow); }
.hero-badge b { font-size: 26px; }
.hero-badge span { font-size: 11px; }

/* ---------- Feature strip ---------- */
.features { border-bottom: 1px solid var(--border); }
.features .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 20px; }
.feature { display: flex; gap: 14px; align-items: center; }
.feature .fico { width: 42px; height: 42px; color: var(--primary); flex-shrink: 0; }
.feature h4 { margin: 0 0 2px; font-size: 15px; }
.feature p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Section ---------- */
.section { padding: 70px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 38px; }
.section-head .eyebrow { color: var(--primary); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; margin-bottom: 8px; }
.section-head h2 { font-size: 34px; margin: 0; }
.section-head .link { font-weight: 600; font-size: 14px; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.section-head .link:hover { color: var(--primary); }

/* ---------- Book grid & card ---------- */
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.book-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.book-card { background: #fff; border-radius: var(--radius); position: relative; }
.book-card .cover-wrap { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); aspect-ratio: 300 / 430; }
.book-card .cover-wrap .book-cover-svg { width: 100%; height: 100%; transition: transform .4s ease; }
.book-card:hover .cover-wrap .book-cover-svg { transform: scale(1.04); }
.book-card .badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.book-card .badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 4px; color: #fff; background: var(--dark); }
.book-card .badge.sale { background: var(--primary); }
.book-card .badge.new { background: #1F8A70; }
.book-card .card-actions { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; z-index: 2; opacity: 0; transform: translateX(10px); transition: all .25s ease; }
.book-card:hover .card-actions { opacity: 1; transform: translateX(0); }
.card-actions button { width: 38px; height: 38px; border-radius: 999px; border: none; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.card-actions button:hover { background: var(--primary); color: #fff; }
.card-actions .icn { width: 18px; height: 18px; }
.book-card .add-cart { position: absolute; left: 12px; right: 12px; bottom: 12px; opacity: 0; transform: translateY(10px); transition: all .25s ease; z-index: 2; }
.book-card:hover .add-cart { opacity: 1; transform: translateY(0); }
.book-card .card-body { padding: 16px 4px 4px; }
.book-card .cat { font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.book-card .title { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.book-card .title a { color: var(--ink); }
.book-card .author { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.book-card .price-row { display: flex; align-items: center; gap: 10px; }
.price { font-weight: 700; color: var(--ink); font-size: 17px; }
.price.old { color: var(--muted); font-weight: 500; font-size: 14px; text-decoration: line-through; }

/* ---------- Stars ---------- */
.stars { display: inline-flex; align-items: center; gap: 4px; }
.stars .row { position: relative; display: inline-block; font-size: 14px; line-height: 1; letter-spacing: 2px; }
.stars .row .bg { color: #ddd; }
.stars .row .fg { color: var(--star); position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; }
.stars .count { font-size: 12px; color: var(--muted); margin-left: 4px; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat-tile { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 16px; text-align: center; transition: all .2s ease; }
.cat-tile:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.cat-tile .cico { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--primary); }
.cat-tile h4 { font-size: 15px; margin: 0 0 3px; }
.cat-tile span { font-size: 12px; color: var(--muted); }

/* ---------- Deals banner ---------- */
.deal-banner { background: var(--dark); color: #fff; border-radius: 14px; padding: 50px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; overflow: hidden; }
.deal-banner h2 { color: #fff; font-size: 38px; margin-bottom: 12px; }
.deal-banner p { color: #cfcfcf; max-width: 420px; margin-bottom: 24px; }
.countdown { display: flex; gap: 14px; margin-bottom: 26px; }
.countdown .cd { background: rgba(255,255,255,.1); border-radius: 8px; width: 66px; text-align: center; padding: 12px 0; }
.countdown .cd b { display: block; font-size: 26px; color: #fff; }
.countdown .cd span { font-size: 11px; color: #bbb; text-transform: uppercase; }
.deal-visual .book-cover-svg { width: 220px; transform: rotate(6deg); filter: drop-shadow(0 20px 30px rgba(0,0,0,.4)); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-family: "Sora"; font-size: 40px; color: var(--ink); }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--bg-cream); }
.newsletter .inner { text-align: center; max-width: 620px; margin: 0 auto; }
.newsletter h2 { font-size: 32px; }
.newsletter form { display: flex; gap: 10px; margin-top: 24px; }
.newsletter input { flex: 1; border: 1.5px solid var(--border); border-radius: 999px; padding: 14px 22px; font-family: inherit; font-size: 14px; outline: none; }
.newsletter input:focus { border-color: var(--primary); }

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar { background: var(--bg-soft); padding: 22px 0; border-bottom: 1px solid var(--border); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--text); }
.breadcrumb .sep { color: var(--muted); }
.page-title { font-size: 30px; margin: 6px 0 0; }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.shop-sidebar .widget { margin-bottom: 34px; }
.shop-sidebar .widget h4 { font-size: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); display: inline-block; }
.filter-list { list-style: none; margin: 0; padding: 0; }
.filter-list li { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; }
.filter-list li a { color: var(--text); }
.filter-list li.active a, .filter-list li a:hover { color: var(--primary); font-weight: 600; }
.filter-list li span { color: var(--muted); font-size: 13px; }
.price-slider { height: 4px; background: var(--border); border-radius: 4px; position: relative; margin: 20px 0; }
.price-slider .fill { position: absolute; height: 100%; background: var(--primary); left: 15%; right: 30%; border-radius: 4px; }
.price-slider .knob { position: absolute; top: 50%; width: 14px; height: 14px; background: #fff; border: 3px solid var(--primary); border-radius: 999px; transform: translate(-50%, -50%); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: 12px; color: var(--text); }
.tag-cloud a:hover { border-color: var(--primary); color: var(--primary); }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.shop-toolbar .count { font-size: 14px; color: var(--muted); }
.shop-toolbar select { border: 1.5px solid var(--border); border-radius: 999px; padding: 10px 18px; font-family: inherit; font-size: 13px; color: var(--text); cursor: pointer; outline: none; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 460px 1fr; gap: 50px; }
.pd-gallery { background: var(--bg-cream); border-radius: 14px; padding: 40px; display: flex; justify-content: center; }
.pd-gallery .book-cover-svg { width: 320px; filter: drop-shadow(0 24px 34px rgba(0,0,0,.22)); }
.pd-info .cat { color: var(--primary); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.pd-info h1 { font-size: 34px; margin: 8px 0 12px; }
.pd-info .by { color: var(--muted); margin-bottom: 16px; }
.pd-info .by b { color: var(--ink); }
.pd-rating { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.pd-price { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.pd-price .price { font-size: 30px; }
.pd-price .save { background: #E8F6EF; color: #1F8A70; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 6px; }
.pd-desc { margin-bottom: 26px; }
.pd-meta { list-style: none; padding: 0; margin: 0 0 26px; border-top: 1px solid var(--border); }
.pd-meta li { display: flex; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.pd-meta li b { width: 140px; color: var(--ink); font-weight: 600; }
.pd-buy { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 999px; overflow: hidden; }
.qty button { width: 42px; height: 46px; border: none; background: #fff; font-size: 18px; cursor: pointer; color: var(--ink); }
.qty button:hover { color: var(--primary); }
.qty input { width: 46px; text-align: center; border: none; font-family: inherit; font-size: 15px; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stock-ok { color: #1F8A70; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }

.pd-tabs { margin-top: 60px; }
.tab-nav { display: flex; gap: 30px; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.tab-nav button { border: none; background: none; font-family: "Sora"; font-weight: 600; font-size: 16px; color: var(--muted); padding: 0 0 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-nav button.active { color: var(--ink); border-color: var(--primary); }
.tab-panel { display: none; max-width: 780px; }
.tab-panel.active { display: block; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); padding: 0 0 16px; border-bottom: 1px solid var(--border); }
.cart-table td { padding: 20px 0; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-prod { display: flex; gap: 16px; align-items: center; }
.cart-prod .book-cover-svg { width: 64px; border-radius: 4px; flex-shrink: 0; }
.cart-prod h4 { font-size: 15px; margin: 0 0 3px; }
.cart-prod small { color: var(--muted); }
.cart-remove { border: none; background: none; color: var(--muted); cursor: pointer; font-size: 18px; }
.cart-remove:hover { color: var(--primary); }

.summary { background: var(--bg-soft); border-radius: 14px; padding: 30px; position: sticky; top: 120px; }
.summary h3 { font-size: 20px; margin-bottom: 20px; }
.summary .row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 15px; }
.summary .row.total { border-top: 1px solid var(--border); margin-top: 10px; padding-top: 18px; font-size: 20px; font-weight: 700; color: var(--ink); }
.summary .coupon { display: flex; gap: 8px; margin: 16px 0; }
.summary .coupon input { flex: 1; border: 1.5px solid var(--border); border-radius: 999px; padding: 11px 18px; font-family: inherit; font-size: 13px; outline: none; }
.free-ship-note { background: #E8F6EF; color: #1F8A70; font-size: 13px; padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; text-align: center; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.form-card { border: 1px solid var(--border); border-radius: 14px; padding: 30px; margin-bottom: 24px; }
.form-card h3 { font-size: 18px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea { border: 1.5px solid var(--border); border-radius: 8px; padding: 12px 14px; font-family: inherit; font-size: 14px; outline: none; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--primary); }
.pay-methods { display: flex; flex-direction: column; gap: 12px; }
.pay-opt { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--border); border-radius: 10px; padding: 16px; cursor: pointer; }
.pay-opt.active { border-color: var(--primary); background: #FEF3F1; }
.pay-opt input { accent-color: var(--primary); }
.mini-line { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.mini-line .book-cover-svg { width: 46px; border-radius: 4px; }
.mini-line .ml-info { flex: 1; }
.mini-line .ml-info h5 { margin: 0; font-size: 14px; }
.mini-line .ml-info small { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #b9b9b9; padding-top: 64px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer p { font-size: 14px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; font-size: 14px; }
.footer-links a { color: #b9b9b9; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.footer-contact .icn { color: var(--primary); flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 13px; }
.footer-bottom .pays { display: flex; gap: 8px; }
.footer-bottom .pays span { background: rgba(255,255,255,.1); border-radius: 4px; padding: 4px 10px; font-size: 11px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .book-grid, .book-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 42px; }
}
@media (max-width: 860px) {
    .header-main .container { flex-wrap: wrap; height: auto; padding: 16px 20px; gap: 16px; }
    .search-bar { order: 3; max-width: none; width: 100%; }
    .hero .container { grid-template-columns: 1fr; text-align: center; padding: 40px 20px; }
    .hero-visual { display: none; }
    .features .container, .stats { grid-template-columns: repeat(2, 1fr); }
    .book-grid, .book-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .shop-layout, .product-detail, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .deal-banner { grid-template-columns: 1fr; text-align: center; padding: 34px; }
    .deal-visual { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
    .nav-menu, .topbar { display: none; }
    .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .book-grid, .book-grid.cols-3, .cat-grid, .features .container, .stats { grid-template-columns: 1fr; }
    .newsletter form { flex-direction: column; }
}

/* =========================================================
   Ek sayfalar: auth, hesap, blog, hakkımızda, iletişim, SSS, 404, başarı
   ========================================================= */

.empty-state { text-align: center; padding: 80px 0; }
.empty-state p { color: var(--muted); margin-bottom: 20px; font-size: 17px; }

/* ---- Auth (Giriş / Kayıt) ---- */
.auth-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 30px; max-width: 940px; margin: 0 auto; align-items: stretch; }
.auth-card { border: 1px solid var(--border); border-radius: 16px; padding: 40px; }
.auth-card h2 { font-size: 28px; margin-bottom: 6px; }
.auth-sub { color: var(--muted); margin-bottom: 26px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 18px; font-size: 13px; }
.chk { display: inline-flex; align-items: center; gap: 8px; color: var(--text); cursor: pointer; font-size: 13px; }
.chk input { accent-color: var(--primary); }
.auth-divider { text-align: center; position: relative; margin: 24px 0; }
.auth-divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.auth-divider span { position: relative; background: #fff; padding: 0 14px; color: var(--muted); font-size: 13px; }
.auth-social { display: flex; flex-direction: column; gap: 10px; }
.auth-alt { text-align: center; margin-top: 22px; font-size: 14px; color: var(--muted); }
.auth-alt a { color: var(--primary); font-weight: 600; }
.auth-aside { background: var(--dark); color: #d9d9d9; border-radius: 16px; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.auth-aside h3 { color: #fff; font-size: 22px; margin-bottom: 20px; }
.auth-aside ul { list-style: none; padding: 0; margin: 0; }
.auth-aside li { padding: 10px 0 10px 30px; position: relative; font-size: 14px; }
.auth-aside li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ---- Hesabım paneli ---- */
.account-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.account-nav { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.account-user { display: flex; gap: 14px; align-items: center; padding: 24px; background: var(--bg-soft); }
.account-user .avatar { width: 48px; height: 48px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.account-user strong { display: block; color: var(--ink); font-size: 15px; }
.account-user small { color: var(--muted); font-size: 12px; }
.account-menu { list-style: none; margin: 0; padding: 10px; }
.account-menu button, .account-menu a { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: none; background: none; font-family: "Sora"; font-size: 14px; font-weight: 500; color: var(--text); cursor: pointer; border-radius: 8px; text-align: left; }
.account-menu button:hover, .account-menu a:hover { background: var(--bg-soft); color: var(--primary); }
.account-menu button.active { background: var(--primary); color: #fff; }
.account-menu .icn { width: 19px; height: 19px; }
.account-panel { display: none; }
.account-panel.active { display: block; }
.account-panel > h3 { font-size: 20px; margin-bottom: 20px; }
.order-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr auto; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; font-size: 14px; }
.order-no { font-weight: 700; color: var(--ink); display: block; }
.order-row small { color: var(--muted); font-size: 12px; }
.pill { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.pill.green { background: #E8F6EF; color: #1F8A70; }
.pill.blue { background: #E8F0FB; color: #2C6DD6; }
.address-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.address-card { border: 1px solid var(--border); border-radius: 12px; padding: 22px; position: relative; }
.address-card h4 { margin: 8px 0; }
.address-card p { font-size: 14px; margin: 0 0 14px; }
.address-card .pill { position: absolute; top: 18px; right: 18px; }
.address-actions { display: flex; gap: 16px; font-size: 13px; }
.address-actions a { color: var(--primary); font-weight: 600; }
.address-add { border: 1.5px dashed var(--border); border-radius: 12px; background: none; color: var(--muted); font-family: "Sora"; font-weight: 600; cursor: pointer; min-height: 120px; }
.address-add:hover { border-color: var(--primary); color: var(--primary); }
.wishlist-table td .btn { margin: 0; }

/* ---- Blog ---- */
.blog-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-bottom: 44px; }
.blog-featured-cover { min-height: 320px; position: relative; }
.blog-featured-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-size: 30px; margin: 12px 0; }
.blog-cat { position: absolute; top: 18px; left: 18px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.blog-cat.solid { position: static; display: inline-block; background: var(--primary); color: #fff; margin-bottom: 12px; }
.blog-meta { color: var(--muted); font-size: 13px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.blog-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.blog-card-cover { display: block; height: 180px; position: relative; }
.blog-card-body { padding: 22px; }
.blog-card-body h3 { font-size: 18px; margin: 8px 0; }
.blog-card-body h3 a { color: var(--ink); }
.blog-card-body p { font-size: 14px; color: var(--text); margin: 0; }

/* ---- Blog post ---- */
.post-wrap { max-width: 780px; margin: 0 auto; }
.post-head { text-align: center; margin-bottom: 30px; }
.post-head h1 { font-size: 38px; margin: 10px 0 14px; }
.post-cover { height: 360px; border-radius: 16px; margin-bottom: 34px; }
.post-body p { font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
.post-body .lead { font-size: 19px; color: var(--ink); font-weight: 500; }
.post-body blockquote { border-left: 4px solid var(--primary); margin: 30px 0; padding: 6px 0 6px 24px; font-size: 20px; font-style: italic; color: var(--ink); }
.post-share { display: flex; gap: 14px; align-items: center; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; }
.post-share span { font-weight: 600; color: var(--ink); }
.post-share a { color: var(--muted); }
.post-share a:hover { color: var(--primary); }

/* ---- Hakkımızda ---- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-intro h2 { font-size: 36px; margin-bottom: 16px; }
.about-visual { background: var(--bg-cream); border-radius: 16px; min-height: 320px; position: relative; }
.about-badge { position: absolute; bottom: 24px; left: 24px; background: var(--primary); color: #fff; border-radius: 14px; padding: 20px 26px; }
.about-badge b { display: block; font-size: 28px; }
.about-badge span { font-size: 13px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 10px; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 28px; text-align: center; }
.value-card .icn { width: 38px; height: 38px; color: var(--primary); margin: 0 auto 14px; }
.value-card h4 { margin-bottom: 6px; }
.value-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---- İletişim ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.contact-info h2 { font-size: 30px; margin-bottom: 14px; }
.contact-info > p { color: var(--muted); margin-bottom: 26px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-list .icn { width: 24px; height: 24px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact-list strong { display: block; color: var(--ink); font-size: 15px; }
.contact-list span { color: var(--muted); font-size: 14px; }
.map-placeholder { margin-top: 44px; height: 300px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; color: var(--muted); }

/* ---- SSS ---- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border: none; background: none; font-family: "Sora"; font-weight: 600; font-size: 16px; color: var(--ink); cursor: pointer; text-align: left; }
.faq-ico { width: 20px; height: 20px; flex-shrink: 0; transition: transform .25s ease; color: var(--muted); }
.faq-item.open .faq-ico { transform: rotate(180deg); color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { margin: 0; padding: 0 24px 22px; color: var(--text); font-size: 15px; line-height: 1.7; }
.faq-cta { text-align: center; margin-top: 50px; padding: 44px; background: var(--bg-cream); border-radius: 16px; }
.faq-cta h3 { font-size: 24px; margin-bottom: 6px; }
.faq-cta p { color: var(--muted); margin-bottom: 20px; }

/* ---- 404 ---- */
.notfound { text-align: center; padding: 40px 0 20px; }
.nf-code { font-family: "Sora"; font-weight: 800; font-size: 140px; line-height: 1; color: var(--primary); letter-spacing: 4px; }
.notfound h1 { font-size: 30px; margin: 10px 0 12px; }
.notfound p { max-width: 480px; margin: 0 auto 26px; color: var(--muted); }
.nf-actions { display: flex; gap: 14px; justify-content: center; }

/* ---- Sipariş başarılı ---- */
.success-wrap { max-width: 620px; margin: 0 auto; text-align: center; }
.success-check { width: 92px; height: 92px; border-radius: 999px; background: #E8F6EF; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.success-check svg { width: 48px; height: 48px; fill: none; stroke: #1F8A70; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.success-wrap h1 { font-size: 32px; margin-bottom: 10px; }
.success-wrap > p { color: var(--muted); margin-bottom: 28px; }
.success-order { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: var(--bg-soft); border-radius: 14px; padding: 24px; margin-bottom: 24px; text-align: left; }
.success-order small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.success-order strong { color: var(--ink); font-size: 15px; }
.success-items { border: 1px solid var(--border); border-radius: 14px; padding: 8px 22px; margin-bottom: 28px; text-align: left; }
.success-items .mini-line:last-child { border-bottom: none; }
.success-actions { display: flex; gap: 14px; justify-content: center; }

/* ---- Mağaza: fiyat aralığı & format filtreleri ---- */
.price-range { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.price-range input { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px; font-size: 14px; }
.price-range input:focus { outline: none; border-color: var(--primary); }
.price-range span { color: var(--muted); }
.filter-checks { list-style: none; padding: 0; margin: 0; }
.filter-checks li { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.filter-checks label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; color: var(--text); }
.filter-checks input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }
.filter-checks .cnt { color: var(--muted); font-size: 13px; }
.shop-sidebar .btn-block { margin-top: 4px; }

/* ---- Sıralama select ---- */
.shop-toolbar select { border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px; font-size: 14px; cursor: pointer; background: #fff; }
.shop-toolbar select:focus { outline: none; border-color: var(--primary); }

/* ---- Sayfalama ---- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.page-btn { min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--border); background: #fff; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all .15s; }
.page-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }
.page-btn .icn { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* ---- Boş sonuç ---- */
.empty-results { text-align: center; padding: 70px 0; color: var(--muted); }
.empty-results .icn { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.8; margin-bottom: 14px; }
.empty-results p { font-size: 16px; }

/* ---- Mobil filtre aç/kapat ---- */
.filter-toggle, .filter-close { display: none; }
.filter-toggle { align-items: center; gap: 8px; border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 14px; margin-bottom: 18px; cursor: pointer; }
.filter-toggle .icn { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---- Mega menü ---- */
.nav-cats-wrap { position: relative; }
.nav-cats { display: inline-flex; align-items: center; gap: 8px; border: none; background: none; font: inherit; font-weight: 600; cursor: pointer; color: inherit; padding: 0; }
.nav-cats .icn { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.mega-menu { position: absolute; top: calc(100% + 12px); left: 0; width: 340px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.12); padding: 10px; display: none; grid-template-columns: 1fr 1fr; gap: 4px; z-index: 60; }
.nav-cats-wrap.open .mega-menu { display: grid; }
.mega-item { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; transition: background .15s; }
.mega-item:hover { background: var(--bg-soft); }
.mega-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--bg-cream); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.mega-ico .icn { width: 18px; height: 18px; fill: none; stroke: var(--primary); stroke-width: 1.8; }
.mega-item strong { display: block; font-size: 14px; color: var(--ink); }
.mega-item small { display: block; font-size: 12px; color: var(--muted); }

/* ---- Modal (hızlı bakış) ---- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal-overlay { position: absolute; inset: 0; background: rgba(20,20,20,.55); }
.modal-box { position: relative; max-width: 760px; width: calc(100% - 40px); max-height: 88vh; overflow-y: auto; margin: 6vh auto 0; background: #fff; border-radius: 18px; padding: 30px; z-index: 1; }
.modal-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border: none; background: var(--bg-soft); border-radius: 999px; font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }
.modal-close:hover { background: var(--primary); color: #fff; }
.modal-loading { padding: 60px 0; text-align: center; color: var(--muted); }
.quick-view { display: grid; grid-template-columns: 260px 1fr; gap: 28px; }
.qv-media { position: relative; }
.qv-media .badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.qv-cat { text-transform: uppercase; letter-spacing: 1px; font-size: 12px; color: var(--primary); font-weight: 700; margin-bottom: 6px; }
.qv-title { font-size: 24px; margin-bottom: 4px; }
.qv-author { color: var(--muted); margin-bottom: 12px; }
.qv-rating { margin-bottom: 14px; }
.qv-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.qv-price .price { font-size: 24px; font-weight: 800; color: var(--ink); }
.qv-price .price.old { font-size: 16px; font-weight: 500; color: var(--muted); text-decoration: line-through; }
.qv-desc { color: var(--text); line-height: 1.7; margin-bottom: 18px; }
.qv-meta { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.qv-meta li { display: flex; justify-content: space-between; font-size: 14px; border-bottom: 1px dashed var(--border); padding-bottom: 6px; }
.qv-meta span { color: var(--muted); }
.qv-meta strong { color: var(--ink); }
.qv-actions { display: flex; gap: 12px; }

/* ---- Mobil menü (drawer) ---- */
.nav-burger { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--border); background: #fff; border-radius: 10px; cursor: pointer; margin-right: 12px; }
.nav-burger .icn { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; }
.drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.drawer.open { display: block; }
.drawer-overlay { position: absolute; inset: 0; background: rgba(20,20,20,.5); }
.drawer-panel { position: absolute; top: 0; left: 0; height: 100%; width: 300px; max-width: 82vw; background: #fff; padding: 22px; overflow-y: auto; z-index: 1; transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.drawer-close { width: 38px; height: 38px; border: none; background: var(--bg-soft); border-radius: 999px; font-size: 24px; line-height: 1; cursor: pointer; }
.drawer-nav { display: flex; flex-direction: column; margin-bottom: 24px; }
.drawer-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); font-weight: 600; color: var(--ink); }
.drawer-cats h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 10px; }
.drawer-cats a { display: block; padding: 9px 0; color: var(--text); }

@media (max-width: 860px) {
    .auth-wrap, .account-layout, .about-intro, .contact-layout { grid-template-columns: 1fr; }
    .auth-aside { display: none; }
    .blog-featured { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .address-grid { grid-template-columns: 1fr; }
    .order-row { grid-template-columns: 1fr 1fr; }
    .success-order { grid-template-columns: 1fr; }
    .nf-actions, .success-actions { flex-direction: column; }
}
@media (max-width: 860px) {
    .quick-view { grid-template-columns: 1fr; }
    .qv-media { max-width: 220px; margin: 0 auto; }
    .qv-meta { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    .nav-burger { display: inline-flex; }
    .main-nav .nav-menu, .main-nav .nav-cats-wrap, .main-nav .nav-right { display: none; }
    .filter-toggle { display: inline-flex; }
    .shop-layout .shop-sidebar {
        position: fixed; top: 0; left: 0; height: 100%; width: 320px; max-width: 85vw;
        background: #fff; z-index: 210; padding: 24px; overflow-y: auto;
        transform: translateX(-105%); transition: transform .25s ease; box-shadow: 0 0 40px rgba(0,0,0,.15);
    }
    .shop-layout.filters-open .shop-sidebar { transform: translateX(0); }
    .filter-close { display: block; position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: none; background: var(--bg-soft); border-radius: 999px; font-size: 22px; line-height: 1; cursor: pointer; }
}

@media (max-width: 520px) {
    .blog-grid, .values-grid { grid-template-columns: 1fr; }
    .nf-code { font-size: 96px; }
    .qv-actions { flex-direction: column; }
}
