/* Yuva Ev — Çeker One örnek mağaza çalışması (açık, sıcak ev-mağaza teması; sitenin kendisinden bağımsız) */
:root {
  --lacivert: #13233d; --kagit: #f7f3ed; --beyaz: #fffdfa; --cizgi: #e2dacd; --metin: #1e242d; --soluk: #5d6674;
  --ahsap: #a06a3a; --ahsap-koyu: #7d4a1c; --ahsap-acik: #e9d9c6; --yesil: #15774a;
  --serif: 'Newsreader',Georgia,'Times New Roman',serif;
  --sans: 'Hanken Grotesk',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --egri: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--kagit); color: var(--metin); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 480; letter-spacing: -.015em; line-height: 1.12; color: var(--lacivert); }
ul, ol { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ahsap); outline-offset: 3px; border-radius: 4px; }
.y-gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.y-kap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.ornek-serit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; padding: 10px 22px; background: #13233d; color: #efe9dd; font-size: .86rem; }
.ornek-serit a { color: #e9c58f; white-space: nowrap; }
.ornek-serit a:hover { text-decoration: underline; }

/* üst şerit */
.y-ust { position: sticky; top: 0; z-index: 6; background: rgba(255, 253, 250, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--cizgi); }
.y-ust-1 { display: flex; align-items: center; gap: 24px; height: 68px; }
.y-marka { display: flex; align-items: center; gap: 10px; color: var(--lacivert); }
.y-marka svg { width: 34px; height: 34px; color: var(--ahsap); }
.y-marka span { display: flex; flex-direction: column; line-height: 1; }
.y-marka b { font-size: 1.3rem; letter-spacing: .12em; font-weight: 800; }
.y-marka small { margin-top: 4px; font-size: .62rem; letter-spacing: .24em; color: var(--ahsap-koyu); }
.y-ara { flex: 1; max-width: 520px; margin: 0 auto; }
.y-ara input { width: 100%; height: 42px; padding: 0 18px; font: inherit; font-size: .96rem; color: var(--metin); background: var(--kagit); border: 1px solid var(--cizgi); border-radius: 999px; outline: 0; }
.y-ara input:focus { border-color: var(--ahsap); background: #fff; }
.y-ikonlar { display: flex; gap: 4px; }
.y-ikon { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 12px; font: inherit; font-size: .7rem; color: var(--lacivert); background: transparent; border: 0; border-radius: 10px; cursor: pointer; transition: background .2s; }
.y-ikon:hover { background: var(--ahsap-acik); }
.y-ikon svg { width: 22px; height: 22px; }
.y-ikon b { position: absolute; top: 0; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 9px; background: var(--ahsap); color: #fff; font-size: .7rem; }
.y-ikon b.zipla { animation: zipla .45s var(--egri); }
@keyframes zipla { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.y-kat { border-top: 1px solid var(--cizgi); }
.y-kat ul { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.y-kat ul::-webkit-scrollbar { display: none; }
.y-kat button { font: inherit; font-size: .92rem; font-weight: 500; padding: 11px 16px; color: var(--lacivert); background: transparent; border: 0; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: border-color .2s, color .2s; }
.y-kat button:hover, .y-kat button[aria-pressed="true"] { border-color: var(--ahsap); color: var(--ahsap-koyu); }

/* giriş (hero) */
.y-hero { position: relative; min-height: clamp(420px, 56vw, 600px); overflow: hidden; background: #cdbfa8; }
.y-hero-resim { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform-origin: 70% 55%; animation: yaklas 22s ease-in-out infinite alternate; }
@keyframes yaklas { from { transform: scale(1); } to { transform: scale(1.07); } }
.y-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247, 243, 237, .96) 0%, rgba(247, 243, 237, .82) 34%, rgba(247, 243, 237, 0) 66%); }
.y-hero-ic { position: relative; z-index: 2; display: flex; align-items: center; min-height: inherit; }
.y-hero-yazi { max-width: 520px; padding: 40px 0; animation: gel .9s var(--egri) both; }
@keyframes gel { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.y-ust-yazi { margin: 0 0 16px; font-size: .74rem; letter-spacing: .2em; color: var(--ahsap-koyu); font-weight: 700; }
.y-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.y-hero h1 em { color: var(--ahsap-koyu); font-style: italic; }
.y-hero-p { margin: 20px 0 28px; color: var(--soluk); font-size: 1.08rem; max-width: 44ch; }
.y-dugmeler { display: flex; flex-wrap: wrap; gap: 12px; }
.y-dugme { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; font-weight: 600; color: #fff; background: var(--lacivert); border-radius: 999px; transition: background .2s, transform .2s var(--egri); }
.y-dugme:hover { background: #0c1830; transform: translateY(-2px); }
.y-dugme.y-hafif { color: var(--lacivert); background: #fff; border: 1px solid var(--cizgi); }
.y-dugme.y-hafif:hover { background: var(--ahsap-acik); }
.y-altyazi { position: absolute; right: 22px; bottom: 16px; margin: 0; padding: 4px 12px; font-size: .74rem; letter-spacing: .08em; color: #fff; background: rgba(19, 35, 61, .55); border-radius: 999px; }

/* bölümler */
.y-bolum { padding-top: clamp(48px, 7vw, 88px); }
.y-etiket { margin: 0 0 8px; font-size: .72rem; letter-spacing: .2em; color: var(--ahsap-koyu); font-weight: 700; }
.y-bolum h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.y-not { margin: 10px 0 0; color: var(--soluk); font-size: .95rem; }

/* odalar */
.y-odalar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.y-oda a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: var(--ahsap-acik); }
.y-oda img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--egri); }
.y-oda a:hover img { transform: scale(1.06); }
.y-oda a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 18, 32, .72)); }
.y-oda figcaption, .y-oda .y-oda-yazi { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; color: #fff; }
.y-oda h3 { color: #fff; font-size: 1.5rem; }
.y-oda p { margin: 2px 0 0; font-size: .86rem; color: rgba(255, 255, 255, .85); }

/* vitrin */
.y-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.y-cipler { display: flex; flex-wrap: wrap; gap: 8px; }
.y-cipler button { font: inherit; font-size: .9rem; padding: 8px 16px; color: var(--lacivert); background: #fff; border: 1px solid var(--cizgi); border-radius: 999px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.y-cipler button:hover { border-color: var(--ahsap); }
.y-cipler button[aria-pressed="true"] { color: #fff; background: var(--lacivert); border-color: var(--lacivert); }
.y-sonuc { min-height: 1.4em; margin: 14px 0 12px; color: var(--soluk); font-size: .92rem; }
.y-izgara { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.y-urun { position: relative; display: flex; flex-direction: column; background: var(--beyaz); border: 1px solid var(--cizgi); border-radius: 16px; overflow: hidden; transition: transform .3s var(--egri), box-shadow .3s; }
.y-urun:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(19, 35, 61, .45); }
.y-resim { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ahsap-acik); }
.y-resim img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--egri); }
.y-urun:hover .y-resim img { transform: scale(1.06); }
.y-resim em { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; font-style: normal; font-size: .68rem; letter-spacing: .06em; color: #fff; background: rgba(19, 35, 61, .55); border-radius: 999px; }
.y-fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; color: var(--lacivert); background: rgba(255, 253, 250, .92); border: 0; border-radius: 50%; cursor: pointer; transition: transform .2s var(--egri), color .2s; }
.y-fav svg { width: 18px; height: 18px; }
.y-fav:hover { transform: scale(1.1); }
.y-fav[aria-pressed="true"] { color: #b3402e; }
.y-fav[aria-pressed="true"] svg { fill: currentColor; }
.y-fav.pop { animation: pop .4s var(--egri); }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }
.y-bilgi { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 18px; }
.y-oda-adi { margin: 0; font-size: .68rem; letter-spacing:.01em; color: var(--ahsap-koyu); font-weight: 700; text-transform:none; }
.y-urun h3 { margin: 4px 0 2px; font-family: var(--sans); font-size: 1.02rem; font-weight: 600; line-height: 1.3; color: var(--metin); }
.y-ozellik { margin: 0 0 10px; color: var(--soluk); font-size: .86rem; }
.y-alt-sira { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.y-fiyat { font-size: 1.12rem; font-weight: 700; color: var(--lacivert); }
.y-ekle { font: inherit; font-size: .86rem; font-weight: 600; padding: 9px 15px; color: #fff; background: var(--lacivert); border: 0; border-radius: 999px; cursor: pointer; transition: background .2s, transform .2s var(--egri); }
.y-ekle:hover { background: var(--ahsap-koyu); }
.y-ekle:active { transform: scale(.95); }

/* fiyat listesi */
.y-tablo-kap { margin-top: 22px; overflow-x: auto; background: var(--beyaz); border: 1px solid var(--cizgi); border-radius: 16px; }
.y-tablo { width: 100%; border-collapse: collapse; font-size: .95rem; }
.y-tablo th, .y-tablo td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--cizgi); }
.y-tablo thead th { font-size: .72rem; letter-spacing:.01em; text-transform:none; color: var(--ahsap-koyu); background: var(--kagit); }
.y-tablo tbody tr:last-child td { border-bottom: 0; }
.y-tablo tbody tr { transition: background .2s; }
.y-tablo tbody tr:hover { background: #faf6ef; }
.y-tablo .y-sag { text-align: right; }
.y-tablo td.y-fy { text-align: right; font-weight: 700; color: var(--lacivert); white-space: nowrap; }
.y-tablo td:first-child { font-weight: 600; }
.y-tablo button { font: inherit; font-size: .82rem; font-weight: 600; padding: 7px 13px; color: var(--lacivert); background: transparent; border: 1px solid var(--cizgi); border-radius: 999px; cursor: pointer; transition: background .2s, border-color .2s; }
.y-tablo button:hover { background: var(--ahsap-acik); border-color: var(--ahsap); }

/* adımlar */
.y-adimlar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.y-adimlar li { padding: 24px; background: var(--beyaz); border: 1px solid var(--cizgi); border-radius: 16px; }
.y-adimlar span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; font-weight: 700; color: #fff; background: var(--ahsap); border-radius: 50%; }
.y-adimlar h3 { margin-bottom: 6px; font-size: 1.3rem; }
.y-adimlar p { margin: 0; color: var(--soluk); }

.y-alt { margin-top: clamp(56px, 8vw, 96px); padding: 32px 0; color: #cdd6e4; background: var(--lacivert); font-size: .9rem; }
.y-alt p { margin: 0 0 6px; }
.y-alt b { color: #fff; letter-spacing: .08em; }

/* sepet */
.y-perde { position: fixed; inset: 0; z-index: 8; background: rgba(15, 25, 40, .5); animation: solgun .25s ease-out; }
@keyframes solgun { from { opacity: 0; } to { opacity: 1; } }
.y-sepet { position: fixed; top: 0; right: 0; bottom: 0; z-index: 9; display: flex; flex-direction: column; width: min(420px, 100vw); padding: 22px; background: var(--beyaz); box-shadow: -24px 0 60px -24px rgba(0, 0, 0, .4); overflow-y: auto; animation: kay .3s var(--egri); }
@keyframes kay { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.y-sepet-ust { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.y-sepet-ust h2 { font-size: 1.5rem; }
.y-sepet-ust button { font: inherit; padding: 6px 14px; background: transparent; border: 1px solid var(--cizgi); border-radius: 999px; cursor: pointer; }
.y-sepet-liste li { display: grid; grid-template-columns: 56px 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--cizgi); }
.y-sepet-liste img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.y-sepet-liste .ad { font-weight: 600; font-size: .95rem; }
.y-sepet-liste .fy { font-weight: 700; text-align: right; }
.y-adetler { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.y-adetler button { width: 26px; height: 26px; line-height: 1; background: #fff; border: 1px solid var(--cizgi); border-radius: 50%; font: inherit; cursor: pointer; }
.y-bos { color: var(--soluk); }
.y-toplam { display: flex; justify-content: space-between; margin: 18px 0 12px; font-size: 1.1rem; }
.y-tamam { font: inherit; font-weight: 700; padding: 14px; color: #fff; background: var(--lacivert); border: 0; border-radius: 12px; cursor: pointer; transition: background .2s; }
.y-tamam:hover { background: var(--ahsap-koyu); }
.y-tamam:disabled { opacity: .45; cursor: default; }
.y-ozet { margin-top: 16px; padding: 14px; font-size: .9rem; white-space: pre-wrap; background: var(--ahsap-acik); border: 1px dashed var(--ahsap); border-radius: 12px; }

/* kaydırınca belirme (js yoksa her şey görünür; sigorta js'te) */
@media (prefers-reduced-motion: no-preference) {
  .y-js .y-bel { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--egri), transform .7s var(--egri); transition-delay: calc(var(--sira, 0) * 70ms); }
  .y-js .y-bel.gor { opacity: 1; transform: none; }
}

@media (max-width: 960px) { .y-odalar, .y-izgara { grid-template-columns: repeat(2, 1fr); } .y-adimlar { grid-template-columns: 1fr; } .y-hero::after { background: linear-gradient(180deg, rgba(247, 243, 237, .94) 0%, rgba(247, 243, 237, .78) 55%, rgba(247, 243, 237, .2) 100%); } .y-hero-resim { object-position: 70% 50%; } }
@media (max-width: 680px) {
  .y-ust-1 { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px 14px; }
  .y-ara { order: 3; flex: 1 1 100%; max-width: none; margin: 0; }
  .y-ikonlar { margin-left: auto; }
  .y-ikon span { display: none; }
  .y-izgara { gap: 12px; }
  .y-tablo th:nth-child(3), .y-tablo td:nth-child(3) { display: none; }
}
@media (max-width: 480px) { .y-odalar { gap: 12px; } .y-izgara { grid-template-columns: 1fr; } }
