:root {
  --ivory: #f7f4ee;
  --ink: #1b1712;
  --gold: #a67c2a;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scrollbar-gutter: stable; background: var(--ivory); }
html.locked, html.drawer-open { overflow: hidden; }   /* scroll-video oynarken kullanıcı kaydırması kilitli */
body { margin: 0; color: var(--ink); font-family: var(--sans); background: var(--ivory); }

/* ---------- üst çubuk ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(16px, 3vw, 40px);
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.brand { font: 500 1.25rem var(--serif); letter-spacing: .24em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.wa, .cta, .pill {
  font: 500 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); border: 1px solid var(--ink); padding: .7em 1.3em; border-radius: 999px;
  background: rgba(247, 244, 238, .6); backdrop-filter: blur(6px);
  transition: background .25s, color .25s;
}
.wa:hover, .cta:hover, .pill:hover, .wa:focus-visible, .cta:focus-visible, .pill:focus-visible { background: var(--ink); color: var(--ivory); }

/* ---------- 1) hero reveal ---------- */
.hero { position: relative; height: 100vh; height: 100svh; background: #fff; touch-action: pan-y; }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; /* object-fit: contain; */ }
.front {
  --reveal-x: 50%; --reveal-y: 50%; --reveal-r: 0px;
  -webkit-mask-image: radial-gradient(circle at var(--reveal-x) var(--reveal-y), transparent 0, transparent calc(var(--reveal-r) * .72), #000 var(--reveal-r));
          mask-image: radial-gradient(circle at var(--reveal-x) var(--reveal-y), transparent 0, transparent calc(var(--reveal-r) * .72), #000 var(--reveal-r));
}
.hero-copy { position: absolute; left: clamp(16px, 3vw, 40px); top: 16vh; max-width: 30ch; pointer-events: none; }
.hero-copy h1 { margin: 0; font: 400 clamp(2.4rem, 5.4vw, 5rem)/1 var(--serif); letter-spacing: .02em; }
.hero-copy h1 span, .foot h2 span { display: block; font-style: italic; color: var(--gold); }
.hero-copy p { margin: 1rem 0 0; font: 400 .8rem var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font: .7rem var(--sans); letter-spacing: .3em; text-transform: uppercase; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ---------- video sahneleri ---------- */
.stage { position: absolute; inset: 0; background: #fff; overflow: hidden; }
.stage video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; /* object-fit: contain; */
}
/* bölüm geçişlerinde sert kenar olmasın: üst/alt kenarda beyaza yumuşak geçiş */
.stage::before, .stage::after { content: ""; position: absolute; left: 0; right: 0; height: 9vh; z-index: 2; pointer-events: none; }
.stage::before { top: 0; background: linear-gradient(#fff, rgba(255, 255, 255, 0)); }
.stage::after { bottom: 0; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }

.track { position: relative; height: 450vh; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }

.meter { position: absolute; left: clamp(16px, 3vw, 40px); right: clamp(16px, 3vw, 40px); bottom: 22px; height: 1px; background: rgba(27, 23, 18, .2); }
.meter i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- biz kimiz / ürünler ---------- */
.about, .products { padding: clamp(4rem, 10vw, 8rem) clamp(16px, 5vw, 80px); }
.about { text-align: center; }
.about h2, .products h2 { margin: 0 0 1.2rem; font: 400 clamp(2rem, 4.4vw, 3.6rem)/1.05 var(--serif); }
.todo { color: rgba(27, 23, 18, .5); font-style: italic; margin: 0; }
.products h2 { text-align: center; margin-bottom: 2.4rem; }
.grid { display: grid; gap: clamp(1.2rem, 2.4vw, 2.2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); max-width: 1280px; margin: 0 auto; }
.card { display: flex; flex-direction: column; gap: .5rem; }
.card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; background: #eee; }
.card h3 { margin: .6rem 0 0; font: 500 1.35rem var(--serif); }
.card p { margin: 0; font-size: .88rem; line-height: 1.5; opacity: .75; flex: 1; }
.row { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: .4rem; }
.price { font: 500 1.1rem var(--serif); letter-spacing: .04em; }
.buy { font: 500 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--ivory); padding: .75em 1.2em; border-radius: 999px; border: 1px solid var(--ink); cursor: pointer; transition: background .25s, color .25s; }
.buy:hover, .buy:focus-visible { background: transparent; color: var(--ink); }
.sold { font: 500 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .55; }

/* ---------- alt bilgi ---------- */
.foot { background: #efe9dd; padding: clamp(3rem, 7vw, 5rem) clamp(16px, 5vw, 80px) 2rem; }
.cols { display: grid; gap: 2.4rem; grid-template-columns: 1.3fr 1fr 1.4fr; max-width: 1280px; margin: 0 auto 2.4rem; }
@media (max-width: 800px) { .cols { grid-template-columns: 1fr; } }
.foot h2 { margin: 0 0 .5rem; font: 400 clamp(2rem, 3.6vw, 3rem)/1 var(--serif); }
.foot h4 { margin: 0 0 .9rem; font: 600 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.muted { margin: 0 0 1.4rem; opacity: .65; }
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.links a:hover, .links a:focus-visible { border-color: var(--gold); }
.info details { border-top: 1px solid rgba(27, 23, 18, .15); padding: .7rem 0; }
.info details:last-child { border-bottom: 1px solid rgba(27, 23, 18, .15); }
.info summary { cursor: pointer; font-size: .92rem; }
.info details p { margin-top: .6rem; font-size: .85rem; }
.foot small { display: block; text-align: center; letter-spacing: .16em; text-transform: uppercase; font-size: .66rem; opacity: .55; }

@media (prefers-reduced-motion: reduce) {
  .hint { animation: none; }
}

/* ---------- üst çubuk eylemleri, sepet, süzgeç ---------- */
.bar-actions { display: flex; gap: .6rem; align-items: center; }
.pill { cursor: pointer; }
#cart-count { display: inline-block; min-width: 1.4em; text-align: center; background: var(--ink); color: var(--ivory); border-radius: 999px; padding: 0 .4em; margin-left: .3em; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 0 auto 2rem; max-width: 1000px; }
.chip { font: 500 .78rem var(--sans); letter-spacing: .1em; padding: .55em 1.1em; border-radius: 999px; border: 1px solid rgba(27, 23, 18, .35); background: transparent; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.noimg { aspect-ratio: 3 / 4; background: #eee; border-radius: 4px; }
.msg { text-align: center; }

.overlay { position: fixed; inset: 0; background: rgba(27, 23, 18, .45); z-index: 30; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 31; background: var(--ivory); display: flex; flex-direction: column; box-shadow: -8px 0 32px rgba(0, 0, 0, .18); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid rgba(27, 23, 18, .12); }
.drawer-head h2 { margin: 0; font: 400 1.6rem var(--serif); }
.drawer-head button { font-size: 1.8rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ink); }
.drawer-body { padding: 1.2rem 1.4rem 2rem; overflow-y: auto; display: grid; gap: 1rem; align-content: start; }
.drawer .muted { opacity: .65; margin: 0; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.lines li { display: grid; grid-template-columns: 60px 1fr; gap: .9rem; align-items: start; }
.lines img { width: 60px; height: 80px; object-fit: cover; border-radius: 3px; }
.lines div { display: grid; gap: .25rem; font-size: .92rem; }
.lines .qty { display: flex; align-items: center; gap: .6rem; margin-top: .3rem; }
.qty button:not(.link) { width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--ink); background: transparent; cursor: pointer; color: var(--ink); }
.qty button:disabled { opacity: .3; cursor: default; }
.link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: .8rem; border-top: 1px solid rgba(27, 23, 18, .15); font-size: 1.1rem; }
.cta.wide { display: block; text-align: center; width: 100%; cursor: pointer; background: var(--ink); color: var(--ivory); }
.cta.wide:hover, .cta.wide:focus-visible { background: transparent; color: var(--ink); }
form { display: grid; gap: .8rem; }
.f { display: grid; gap: .3rem; font-size: .82rem; letter-spacing: .04em; }
.f input, .f textarea { font: inherit; font-size: .95rem; padding: .65em .8em; border: 1px solid rgba(27, 23, 18, .3); border-radius: 4px; background: #fff; color: var(--ink); }
.f input:focus-visible, .f textarea:focus-visible, .chip:focus-visible, .buy:focus-visible, .pill:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pay { border: 1px solid rgba(27, 23, 18, .2); border-radius: 4px; padding: .7rem .9rem; display: grid; gap: .5rem; font-size: .9rem; }
.pay label, .consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; line-height: 1.4; }
.consent a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.err { color: #9b1c1c; margin: 0; font-size: .9rem; }
.code { font: 600 1.2rem var(--sans); letter-spacing: .12em; }
.bank { display: grid; gap: .3rem; padding: .9rem; background: #fff; border: 1px dashed rgba(27, 23, 18, .35); border-radius: 4px; word-break: break-all; }
html.drawer-open .bar { z-index: 5; }

/* ---------- kamera flaşı ---------- */
.flash { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 38%, #fff 0, #fffdf5 55%, #fff 100%); }
.flash.go { animation: shot .6s cubic-bezier(.1, .7, .3, 1); }
@keyframes shot { 0% { opacity: 0; } 7% { opacity: .96; } 28% { opacity: .5; } 100% { opacity: 0; } }

/* ---------- ürün görseli büyütme ---------- */
.card .zoom { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; position: relative; }
.card .zoom::after { content: "⌕"; position: absolute; right: .6rem; bottom: .6rem; width: 2rem; height: 2rem; border-radius: 50%; background: rgba(255, 255, 255, .85); display: grid; place-items: center; font-size: 1.1rem; color: var(--ink); opacity: 0; transition: opacity .2s; }
.card .zoom:hover::after, .card .zoom:focus-visible::after { opacity: 1; }
.card .zoom:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
html.zoom-open { overflow: hidden; }
.zoomer { position: fixed; inset: 0; z-index: 40; background: rgba(15, 12, 9, .94); display: grid; place-items: center; overflow: hidden; touch-action: none; cursor: zoom-in; user-select: none; }
.zoomer.zoomed { cursor: grab; }
.zoomer img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; will-change: transform; }
.z-tools { position: absolute; top: 1rem; right: 1rem; display: flex; gap: .5rem; }
.z-btn, .z-nav { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .45); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.z-btn:hover, .z-nav:hover, .z-btn:focus-visible, .z-nav:focus-visible { background: #fff; color: #111; }
.z-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.z-prev { left: 1rem; } .z-next { right: 1rem; }
.z-count { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: #fff; font: 500 .8rem var(--sans); letter-spacing: .12em; }

/* ---------- video yazıları: "Collection" stili (serif, italik, altın) ---------- */
.vcap { position: absolute; left: 0; right: 0; margin: 0; text-align: center; z-index: 2; pointer-events: none; font-family: var(--serif); font-style: italic; color: var(--gold); text-shadow: 0 0 .25em #fff, 0 0 .5em #fff, 0 0 1em rgba(255, 255, 255, .9), 0 0 2em rgba(255, 255, 255, .6); }
.vcap.low { bottom: 0; padding: 16vh 1rem 8vh; background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .88) 55%); font-weight: 500; font-size: clamp(1.8rem, 3.8vw, 3.4rem); }
.vcap.lockup { bottom: 7vh; font-style: normal; font-weight: 400; color: var(--ink); font-size: clamp(2.6rem, 6.5vw, 5.8rem); line-height: 1; letter-spacing: .02em; }
.vcap.lockup span { display: block; }
.vcap.lockup span + span { font-style: italic; color: var(--gold); }

/* 'Sağa sola' bölümü: solda döngüdeki video, sağda ürün kartları */
.showcase { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); min-height: 100vh; min-height: 100svh; background: #fff; }
.show-video { position: relative; overflow: hidden; background: #fff; min-height: 60svh; }
.show-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.show-products { display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; padding: clamp(1.2rem, 3.4vw, 3.4rem); background: var(--ivory); }
.feat { display: grid; grid-template-columns: clamp(84px, 9vw, 120px) 1fr; gap: 1rem; align-items: center; }
.feat .zoom, .feat .noimg { padding: 0; border: 0; background: #eee; display: block; cursor: zoom-in; aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden; }
.feat img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat h3 { margin: 0 0 .2rem; font: 500 1.25rem var(--serif); }
.feat p { margin: 0 0 .6rem; font-size: .84rem; line-height: 1.45; opacity: .75; }
.feat .row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 800px) {
  .showcase { grid-template-columns: 1fr; min-height: 0; }
  .show-video { min-height: 0; aspect-ratio: 4 / 3; }
}

/* Telefon (dikey): başlık yüze binmesin, altta (eller/saten alanında) dursun */
@media (max-width: 800px) {
  .hero-copy { top: auto; bottom: 13svh; bottom: 13vh; bottom: 13svh; max-width: none; right: 16px; }
  .hero-copy h1 { font-size: clamp(2.2rem, 11vw, 3.2rem); text-shadow: 0 0 18px rgba(255,255,255,.9), 0 0 6px rgba(255,255,255,.8); }
  .hero-copy p { text-shadow: 0 0 10px rgba(255,255,255,.95); font-weight: 500; }
}
