/*
Theme Name: Eser Tespihçilik
Author: Eser Tespihçilik
Description: 121 parçalık vitrin. Ödeme Shopier'de. Koyu editorial.
Version: 1.1.6
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eser
*/

:root {
  --ink: #0c0b0a;
  --paper: #f4f1ea;
  --muted: #a3988c;
  --line: #2a2622;
  --gold: #e2b84a;
  --display: "Fraunces", Palatino, serif;
  --sans: "Outfit", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); }
a, a:hover, a:focus { color: inherit; text-decoration: none; }
.site-header { padding: 0.85rem 0; }
.brand { font-size: 1.35rem; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0.6rem 0 0.2rem; }
h2 { font-size: 1.05rem; line-height: 1.25; margin: 0.35rem 0; font-weight: 500; }
.card h2 { min-height: 0; }
.card h2 a { text-decoration: none; }
.price { margin: 0.15rem 0 0.35rem; font-variant-numeric: tabular-nums; }
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  width: 100%;
}
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.rail { scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.wrap { width: min(72rem, calc(100% - 2rem)); margin: 0 auto; }
.bar, .site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.site-header, .site-footer { border-bottom: 1px solid var(--line); }
.site-footer { border-bottom: 0; border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; }
.brand, h1, h2 { font-family: var(--display); font-weight: 500; }
.nav { display: flex; gap: 1rem; }
.muted, .no, s { color: var(--muted); }
.rail { display: flex; flex-wrap: wrap; gap: .45rem; overflow: visible; padding: .35rem 0 .8rem; }
.rail button, .actions button { background: transparent; color: var(--paper); border: 1px solid var(--line); border-radius: 999px; min-height: 2.5rem; padding: 0 .8rem; }
.rail button[aria-pressed="true"] { background: var(--gold); color: #1a1408; border-color: var(--gold); }
img { max-width: 100%; display: block; }
.card { border: 1px solid var(--line); border-radius: 1rem; padding: .7rem; }
.card.on { outline: 2px solid var(--gold); }
.card img { height: auto; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #161410; border-radius: .7rem; }
.hero, .pair img { background: #161410; border-radius: .7rem; object-fit: contain; }
.no { margin: .45rem 0 0; font-size: .78rem; }
.actions { display: flex; gap: .4rem; margin: .25rem 0 0; }
.buy { width: 100%; margin-top: .45rem; }
.price { font-variant-numeric: tabular-nums; }
.drop { color: var(--gold); }
.buy { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; margin-top: .6rem; padding: 0 1rem; border-radius: 999px; background: var(--gold); color: #1a1408; text-decoration: none; font-weight: 600; }
.board, .piece { border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; margin: 1rem 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.confirm, .lead { line-height: 1.5; }
.brand { display: block; line-height: 1; }
.brand-name { display: block; font-family: var(--display); font-size: 1.7rem; }
.brand-kicker { display: block; margin-top: .2rem; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cats { display: flex; flex-wrap: wrap; gap: .45rem; padding: .7rem 0 .9rem; }
.cats button, .gift-fab { border: 1px solid var(--line); background: transparent; color: var(--paper); border-radius: 999px; min-height: 2.6rem; padding: 0 .9rem; }
.cats button[aria-pressed="true"] { background: var(--gold); color: #1a1408; border-color: var(--gold); }
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); }
.ticker-track { display: flex; gap: 1.5rem; width: max-content; padding: .55rem 0; animation: marquee 28s linear infinite; }
.ticker span { color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.reel {
  position: relative;
  display: block;
  width: 100%;
  min-height: 9.5rem;
  margin: 0.8rem 0 1.2rem;
  overflow: hidden;
}
.reel-slide {
  position: absolute !important;
  inset: 0;
  display: grid !important;
  grid-template-columns: minmax(6.5rem, 9rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  width: 100%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(1.25rem);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
.reel-slide.is-on {
  position: relative !important;
  inset: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  z-index: 1;
}
.reel-slide img {
  height: 8.5rem;
  width: 8.5rem;
  max-width: 100%;
  object-fit: contain;
  background: #161410;
  border-radius: .8rem;
}
.reel-slide span { min-width: 0; }
.reel-slide small, .reel-slide em { display: block; color: var(--muted); }
.reel-slide strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 500;
  line-height: .95;
}
.gift-fab { position: fixed; right: .8rem; bottom: .8rem; z-index: 30; background: var(--gold); color: #1a1408; font-weight: 600; }
.hero { width: min(28rem, 100%); }

main { display: block; width: 100%; }
.wrap { max-width: 72rem; }
