/* Görsel Zaman — ana stil dosyası */
:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --ink: #2b2a33;
  --muted: #6f6a72;
  --line: #e8e0d5;
  --accent: #c8553d;      /* terrakota */
  --accent-dark: #a6422d;
  --denim: #3d5a80;
  --gold: #d9a441;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(43, 42, 51, .25);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
svg { width: 1.15em; height: 1.15em; vertical-align: -.2em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.section { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: var(--accent); margin-bottom: .6em; display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent; font: 600 .95rem var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; background: var(--ink); color: #fff; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1eb457; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { padding: .45em 1em; font-size: .85rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 240, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .45em; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; text-decoration: none; }
.logo-mark { color: var(--accent); font-size: 1.3em; line-height: 1; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { text-decoration: none; padding: .5em .8em; border-radius: 999px; font-size: .92rem; font-weight: 500; }
.main-nav a:not(.btn):hover, .main-nav a.active { background: #efe7dc; }
.main-nav .nav-admin { color: var(--accent); }
.nav-sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8em 1em; }
  .nav-sep { width: 100%; height: 1px; margin: 6px 0; }
}

/* Alerts */
.flash-wrap { padding-top: 16px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 10px; font-size: .95rem; border: 1px solid; }
.alert-success { background: #eaf7ee; border-color: #b6e2c3; color: #1f6b3a; }
.alert-error { background: #fdecea; border-color: #f5c2bb; color: #8f2a1c; }
.alert-info { background: #eaf1fb; border-color: #bfd3ef; color: #24466f; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-collage { position: relative; aspect-ratio: 1 / 1; }
.hero-collage .tile { position: absolute; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #eee center/cover no-repeat; }
.hero-collage .t1 { inset: 0 30% 30% 0; background-color: #e9c9b8; }
.hero-collage .t2 { inset: 22% 0 22% 52%; background-color: #b7c7dc; }
.hero-collage .t3 { inset: 62% 34% 0 12%; background-color: #f1dca7; }
.hero-collage .tile span { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); padding: .3em .8em; border-radius: 999px; font-size: .8rem; font-weight: 600; }
@media (max-width: 800px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-collage { max-width: 420px; width: 100%; margin: 0 auto; }
}

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; color: #fff; background: var(--ink) center/cover no-repeat; box-shadow: var(--shadow); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.72)); }
.cat-card .cat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 1; }
.cat-card h3 { font-size: 1.5rem; margin-bottom: .2em; }
.cat-card p { margin: 0; font-size: .9rem; opacity: .9; }
.cat-card .badge-ar { position: absolute; top: 14px; left: 14px; z-index: 1; }
.cat-card:hover { transform: translateY(-3px); transition: transform .2s; }
.cat-card.c0 { background-color: #b2593f; } .cat-card.c1 { background-color: #4d6a8f; } .cat-card.c2 { background-color: #7a6a4f; }
@media (max-width: 800px) { .cat-grid { grid-template-columns: 1fr; } .cat-card { aspect-ratio: 16 / 9; } }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.product-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; position: relative; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card .pc-img { aspect-ratio: 1 / 1; background: #f1ece5; overflow: hidden; display: block; }
.product-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .pc-img img { transform: scale(1.04); }
.product-card .pc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card .pc-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.product-card h3 { font-family: var(--font); font-size: 1rem; font-weight: 600; margin: 0; }
.product-card h3 a { text-decoration: none; }
.product-card h3 a::after { content: ''; position: absolute; inset: 0; }
.product-card .pc-price { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--accent); }
.pc-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: .3em; font-size: .72rem; font-weight: 600; padding: .3em .7em; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.badge-ar { background: var(--ink); color: #fff; }
.badge-sold { background: #8f2a1c; color: #fff; }
.badge-order { background: var(--gold); color: var(--ink); }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Listing toolbar */
.page-head { padding: 40px 0 8px; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 18px 0 26px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.chip { text-decoration: none; padding: .45em 1em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .88rem; font-weight: 500; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-form { display: flex; gap: 8px; }
.search-form input, .search-form select { min-width: 0; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; background: var(--surface); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Forms */
.form-row { margin-bottom: 16px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], input[type=url], select, textarea {
  width: 100%; padding: .75em .9em; border: 1px solid #d9cfc2; border-radius: 10px; background: #fff; font: inherit; color: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; align-items: center; gap: .5em; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.auth-card { max-width: 440px; margin: 48px auto; background: var(--surface); padding: 32px; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 2rem; }
.auth-switch { text-align: center; margin-top: 18px; font-size: .92rem; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; padding: 36px 0 64px; }
.gallery-main { border-radius: 18px; overflow: hidden; background: #f1ece5; aspect-ratio: 1 / 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { flex: 0 0 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: #eee; }
.gallery-thumbs button.active { border-color: var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { text-decoration: none; }
.price-big { font-size: 1.7rem; font-weight: 700; color: var(--accent); margin: 8px 0 16px; font-family: var(--serif); }
.spec-list { list-style: none; padding: 0; margin: 20px 0; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec-list li span:first-child { color: var(--muted); }
.cta-stack { display: grid; gap: 10px; margin: 22px 0; }
.ar-promo { border-radius: 16px; padding: 18px; background: linear-gradient(135deg, #2b2a33, #3d5a80); color: #fff; display: flex; gap: 14px; align-items: center; text-decoration: none; }
.ar-promo .ar-ico { flex: 0 0 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; }
.ar-promo .ar-ico svg { width: 28px; height: 28px; }
.ar-promo strong { display: block; font-size: 1.05rem; }
.ar-promo small { opacity: .85; }
.fav-btn.is-fav { color: var(--accent); border-color: var(--accent); }
.desc { margin-top: 8px; }
@media (max-width: 860px) { .product-detail { grid-template-columns: 1fr; gap: 24px; padding-top: 16px; } }

/* Feature band */
.feature-band { background: var(--ink); color: #fff; border-radius: 24px; padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.feature-band p { color: #d7d3dc; }
.feature-band .phone { aspect-ratio: 9 / 16; width: 100%; max-width: 260px; margin: 0 auto; border-radius: 34px; border: 8px solid #111; background: linear-gradient(180deg, #d9cbb8, #bda78c); position: relative; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.feature-band .phone .frame { position: absolute; left: 22%; right: 22%; top: 24%; aspect-ratio: 3 / 4; background: linear-gradient(135deg, var(--accent), var(--gold) 55%, var(--denim)); border: 6px solid #2b2a33; box-shadow: 0 12px 24px rgba(0,0,0,.35); }
.feature-band .phone .sofa { position: absolute; left: 8%; right: 8%; bottom: 10%; height: 18%; background: #5b6b7d; border-radius: 16px 16px 6px 6px; }
.steps { display: grid; gap: 10px; margin: 20px 0 26px; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; }
.steps li::before { content: counter(s); flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; }
@media (max-width: 800px) { .feature-band { grid-template-columns: 1fr; padding: 28px 20px; } }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.value .v-ico { font-size: 1.8rem; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }

/* Account */
.account-grid { display: grid; grid-template-columns: 300px 1fr; gap: 32px; padding: 36px 0 64px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.account-grid.two-col { grid-template-columns: 1fr 1fr; }
@media (max-width: 800px) { .account-grid, .account-grid.two-col { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #24232b; color: #e9e6ee; margin-top: 64px; padding: 48px 0 24px; }
.site-footer a { display: flex; align-items: center; gap: .5em; color: #e9e6ee; text-decoration: none; padding: 3px 0; opacity: .85; }
.site-footer a:hover { opacity: 1; }
.site-footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #a9a4b0; margin: 0 0 12px; }
.site-footer .muted { color: #a9a4b0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-bottom { border-top: 1px solid #3a3942; margin-top: 32px; padding-top: 20px; font-size: .85rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px -5px rgba(37, 211, 102, .6); z-index: 60; }
.wa-float svg { width: 30px; height: 30px; }
.page-duvarda-dene .wa-float { display: none; }

/* ---------- Duvarda Dene (Try-on) ---------- */
.tryon-head { padding: 28px 0 8px; }
.tryon-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.tryon-tab { text-align: left; border: 2px solid var(--line); background: var(--surface); border-radius: 16px; padding: 16px; cursor: pointer; font: inherit; color: inherit; display: flex; gap: 12px; align-items: flex-start; }
.tryon-tab.active { border-color: var(--accent); box-shadow: var(--shadow); }
.tryon-tab svg { flex: 0 0 auto; width: 30px; height: 30px; color: var(--accent); }
.tryon-tab strong { display: block; }
.tryon-tab small { color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 640px) { .tryon-tabs { grid-template-columns: 1fr; } }
.tryon-panel[hidden] { display: none; }
model-viewer { display: block; position: relative; width: 100%; height: min(70vh, 560px); background: radial-gradient(circle at 50% 40%, #fff, #efe7dc); border-radius: 18px; --poster-color: transparent; }
.ar-btn { white-space: nowrap; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); }
.ar-note { margin-top: 14px; }
.ar-unsupported { display: none; }
.stage-wrap { position: relative; }
.stage { position: relative; width: 100%; height: min(72vh, 640px); background: #1b1a20; border-radius: 18px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.stage video, .stage .stage-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage .placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; color: #ddd; text-align: center; padding: 24px; }
.stage .placeholder svg { width: 48px; height: 48px; opacity: .6; }
.overlay-art { position: absolute; left: 0; top: 0; transform-origin: center center; cursor: grab; will-change: transform; }
.overlay-art:active { cursor: grabbing; }
.overlay-art img { width: 100%; height: auto; pointer-events: none; display: block; }
.overlay-art.shadow { box-shadow: 0 18px 30px -8px rgba(0,0,0,.55), 0 4px 8px rgba(0,0,0,.3); }
.stage-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.stage-tools .group { display: flex; gap: 6px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.stage-tools .group button { border: 0; background: transparent; padding: .45em .8em; border-radius: 999px; cursor: pointer; font: 600 .85rem var(--font); color: var(--ink); }
.stage-tools .group button.active, .stage-tools .group button:hover { background: #efe7dc; }
.stage-tools input[type=range] { width: 110px; accent-color: var(--accent); }
.stage-hint { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); background: rgba(0,0,0,.55); color: #fff; padding: .4em .9em; border-radius: 999px; font-size: .8rem; pointer-events: none; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
.stage-actions { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; }
.stage-actions button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.stage-actions .shutter { width: 64px; height: 64px; border: 4px solid rgba(255,255,255,.6); background: #fff; background-clip: padding-box; }
.stage-actions svg { width: 24px; height: 24px; }
.snapshot-modal { position: fixed; inset: 0; background: rgba(0,0,0,.8); z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; gap: 14px; }
.snapshot-modal[hidden] { display: none; }
.snapshot-modal img { max-height: 75vh; border-radius: 12px; }
.snapshot-modal .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.size-note { display: inline-flex; gap: .4em; align-items: center; background: #efe7dc; padding: .3em .8em; border-radius: 999px; font-size: .85rem; font-weight: 600; }
