/* Urushi Türkiye — siyah lake, zencefre kırmızısı, altın; washi kâğıdı zemin */
:root {
  --paper: #f6f1e8;
  --paper-2: #efe7da;
  --card: #fffdf9;
  --ink: #1d1916;
  --ink-2: #4a423b;
  --muted: #7d7369;
  --line: #e3d8c6;
  --lacquer: #17120f;
  --lacquer-2: #2a201a;
  --red: #b3261e;
  --red-d: #8f1d17;
  --gold: #b8913f;
  --ok: #2f6b3a;
  --ok-bg: #e5f0e3;
  --warn-bg: #f6ead3;
  --err: #a52a22;
  --err-bg: #f8e1dd;
  --info-bg: #e6edf3;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(23,18,15,.06), 0 6px 20px rgba(23,18,15,.06);
  --serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-d); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.r { text-align: right; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Üst çubuk */
.topbar { background: var(--lacquer); color: #f3ede4; position: sticky; top: 0; z-index: 5; }
.topbar-in { display: flex; align-items: center; gap: 20px; min-height: 62px; }
.brand { color: #f3ede4; text-decoration: none; font-family: var(--serif); font-size: 1.25rem; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-dot { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d8473b, var(--red) 50%, #6e1510); box-shadow: 0 0 0 1px rgba(184,145,63,.6); }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: #e6dccd; text-decoration: none; padding: 8px 10px; border-radius: 6px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.cart-link { position: relative; color: #f3ede4; padding: 8px; display: inline-flex; }
.cart-badge { position: absolute; top: 0; right: -2px; background: var(--red); color: #fff; border-radius: 10px; font-size: .72rem; min-width: 18px; height: 18px; line-height: 18px; text-align: center; padding: 0 5px; }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: #fff; border: 1px solid var(--red); border-radius: 8px; padding: 11px 20px; font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--red-d); border-color: var(--red-d); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink-2); }
.btn-ghost:hover { background: rgba(0,0,0,.05); border-color: var(--ink); }
.hero .btn-ghost { color: #f3ede4; border-color: rgba(243,237,228,.5); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.08); }
.link-btn { background: none; border: 0; color: var(--red-d); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }

/* Hero */
.hero { background: radial-gradient(ellipse at 70% 40%, #3a2a21 0%, var(--lacquer) 65%); color: #f3ede4; }
.hero-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; padding: 64px 16px; }
.eyebrow { color: var(--gold); letter-spacing: .12em; font-size: .85rem; text-transform: uppercase; margin-bottom: .75em; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.lead { font-size: 1.1rem; color: #d9cfc1; max-width: 560px; }
.prose .lead { color: var(--ink-2); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-art { display: flex; justify-content: center; }
.lacquer-disc { width: min(300px, 70vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #e05a4c 0%, var(--red) 35%, #5e120d 85%); box-shadow: 0 0 0 2px rgba(184,145,63,.5), 0 30px 80px rgba(179,38,30,.35), inset -20px -30px 60px rgba(0,0,0,.35); }

/* Bölümler */
.section { padding: 40px 16px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { font-size: 1.7rem; margin: 0; }
.more { text-decoration: none; white-space: nowrap; }
.page-title { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: .6em; }
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step h3 { font-size: 1.15rem; margin: 8px 0 6px; }
.step p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lacquer); color: var(--gold); font-family: var(--serif); }

/* Ürün kartları */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-img { aspect-ratio: 1; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-family: var(--sans); font-size: .98rem; font-weight: 600; margin: 0; }
.card-sub { color: var(--muted); font-size: .82rem; margin: 0; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.price small { font-weight: 400; color: var(--muted); font-size: .78rem; }
.price-na { color: var(--muted); font-weight: 400; }
.badge { font-size: .75rem; padding: 3px 8px; border-radius: 20px; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-wait { background: var(--warn-bg); color: #7a5a1e; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs a { text-decoration: none; color: var(--ink-2); border: 1px solid var(--line); background: var(--card); padding: 6px 14px; border-radius: 20px; font-size: .9rem; }
.tabs a[aria-current="page"] { background: var(--lacquer); color: #f3ede4; border-color: var(--lacquer); }

/* Ürün sayfası */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumb { width: 72px; height: 72px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 4px; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.is-on { border-color: var(--red); }
.product-title { font-size: clamp(1.5rem, 3.5vw, 2rem); }
.buy-price { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 16px; }
.buy-price .price { font-size: 1.7rem; }
.variants { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.variant { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 8px 12px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; min-width: 90px; }
.variant small { color: var(--muted); }
.variant.is-on { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.add-form { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin: 12px 0 20px; }
.qty { display: flex; flex-direction: column; font-size: .85rem; color: var(--muted); }
.qty input { width: 80px; }
.specs { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: .92rem; }
.specs th, .specs td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; color: var(--muted); font-weight: 400; }
.product-desc { max-width: 760px; margin-top: 36px; }
.product-desc h2 { font-size: 1.4rem; }

/* Formlar */
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #cfc2ad; border-radius: 8px; padding: 10px 12px; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(184,145,63,.2); }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--red); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.form h2 { font-size: 1.25rem; margin: 12px 0 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.check { display: flex !important; flex-direction: row !important; gap: 10px; align-items: flex-start; font-size: .9rem; }
.check input { margin-top: 4px; }
.radio-row { display: flex; gap: 20px; }
.agree { background: var(--paper-2); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.stack { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hp { position: absolute; left: -9999px; }

.notify { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.lbl { font-weight: 600; }
.notify-row { display: flex; gap: 8px; }
.notify-row input { flex: 1; min-width: 0; }

.note-box { background: var(--warn-bg); border-left: 4px solid var(--gold); border-radius: 8px; padding: 16px 18px; margin-top: 20px; }
.note-box h3 { font-size: 1.1rem; margin-bottom: 4px; }
.note-box p { margin: 0; color: var(--ink-2); }

.flash { border-radius: 8px; padding: 12px 14px; margin: 14px 0; }
.flash-ok { background: var(--ok-bg); color: var(--ok); }
.flash-error { background: var(--err-bg); color: var(--err); }
.flash-info { background: var(--info-bg); color: #2b4a63; }

/* Sepet ve ödeme */
.cart-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cart-table th { font-size: .82rem; color: var(--muted); font-weight: 400; background: var(--paper-2); }
.cart-table .r { text-align: right; }
.cart-table tr.is-bad td { background: #fbf0ee; }
.qty-in { width: 76px; }
.cart-sum { margin: 20px 0 0 auto; max-width: 380px; display: flex; flex-direction: column; gap: 8px; }
.cart-sum > div, .sum-line { display: flex; justify-content: space-between; gap: 12px; }
.sum-total { font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--line); padding-top: 8px; }
.cart-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; }
.checkout { display: grid; grid-template-columns: 1.4fr .9fr; gap: 32px; align-items: start; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 80px; }
.summary h2 { font-size: 1.2rem; }

.prose h2 { font-size: 1.3rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.kv { border-collapse: collapse; width: 100%; }
.kv th, .kv td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv th { color: var(--muted); font-weight: 400; width: 34%; }

/* Alt bilgi */
.footer { background: var(--lacquer); color: #cfc4b5; margin-top: 48px; }
.footer a { color: #e6dccd; text-decoration: none; display: block; padding: 3px 0; font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer h3 { color: #f3ede4; font-size: 1rem; font-family: var(--sans); font-weight: 600; margin-bottom: 8px; }
.footer .muted { color: #a99d8e; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 40px 16px 24px; }
.brand-foot { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-bottom p a, .footer .small a { display: inline; }
.pay-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pb { border: 1px solid rgba(255,255,255,.25); border-radius: 4px; padding: 2px 8px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: #f3ede4; }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; padding: 40px 16px; }
  .hero-art { display: none; }
  .product, .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar-in { flex-wrap: wrap; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; flex-wrap: nowrap; }
  .cart-link { margin-left: auto; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .notify-row { flex-direction: column; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 10px; }
  .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none; }
}
