/* ===========================================================
   Kent Bahçesi — stil sistemi
   Seçili tweak'ler gömülü:
     • Satır başına ürün : 3
     • Köşe yuvarlaklığı  : soft (12px)
     • Başlık fontu       : sans (Hanken Grotesk)
     • Aksan (yeşil)      : #2f6a45
     • İndirim rozeti     : #c47a1e
=========================================================== */
:root{
  --green:        #2f6a45;
  --green-deep:   #21492f;
  --green-soft:   #e9f1ec;
  --green-line:   #cbe0d3;
  --gold:         #c08a2e;
  --terracotta:   #c47a1e;   /* indirim rozeti */

  --bg:           #faf8f3;
  --surface:      #ffffff;
  --surface-2:    #f6f3ec;
  --ink:          #2c322d;
  --ink-2:        #5d655e;
  --ink-3:        #969d96;
  --line:         #ebe8e0;

  --r-sm: 8px;
  --r-md: 12px;          /* soft */
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(34,73,47,.05), 0 2px 8px rgba(34,73,47,.04);
  --shadow-md: 0 4px 14px rgba(34,73,47,.07), 0 12px 32px rgba(34,73,47,.07);

  --cols: 3;
  --maxw: 1280px;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{ font-family:var(--sans); background:var(--bg); color:var(--ink); line-height:1.5; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
img{ display:block; max-width:100%; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
h1,h2{ font-weight:800; letter-spacing:-.02em; }

/* top bar */
.topbar{ background:var(--green-deep); color:#eef4ec; font-size:13px; }
.topbar .wrap{ max-width:var(--maxw); margin:0 auto; padding:9px 24px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.topbar .tb-center{ display:flex; align-items:center; gap:8px; font-weight:600; }
.topbar .tb-right{ display:flex; align-items:center; gap:22px; opacity:.92; }
.topbar .tb-right span{ display:inline-flex; align-items:center; gap:7px; }
.topbar svg{ width:15px; height:15px; }
@media(max-width:760px){ .topbar .tb-right span:first-child{ display:none; } }

/* header */
.header{ background:var(--surface); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:50; }
.header .wrap{ max-width:var(--maxw); margin:0 auto; padding:20px 24px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:32px; }
.logo{ display:flex; align-items:baseline; gap:7px; }
.logo .k{ font-weight:800; font-size:26px; letter-spacing:.01em; color:var(--green); line-height:1; }
.logo .b{ font-weight:500; font-size:20px; letter-spacing:.16em; color:var(--ink-2); text-transform:uppercase; }
.logo .leaf{ width:24px; height:24px; align-self:center; }

.search{ position:relative; max-width:560px; width:100%; justify-self:center; }
.search input{ width:100%; border:1px solid var(--line); background:var(--surface-2); border-radius:var(--r-pill); padding:13px 52px 13px 22px; font-size:14.5px; color:var(--ink); font-family:inherit; transition:.18s; }
.search input::placeholder{ color:var(--ink-3); }
.search input:focus{ outline:none; border-color:var(--green); background:var(--surface); box-shadow:0 0 0 4px var(--green-soft); }
.search .go{ position:absolute; right:6px; top:50%; transform:translateY(-50%); width:40px; height:40px; border-radius:var(--r-pill); background:var(--green); display:grid; place-items:center; color:#fff; transition:.18s; }
.search .go:hover{ background:var(--green-deep); }
.search .go svg{ width:18px; height:18px; }

.header-actions{ display:flex; align-items:center; gap:10px; }
.icon-btn{ width:46px; height:46px; border-radius:var(--r-pill); border:1px solid var(--line); display:grid; place-items:center; color:var(--ink-2); transition:.18s; }
.icon-btn:hover{ border-color:var(--green-line); color:var(--green); background:var(--green-soft); }
.icon-btn svg{ width:20px; height:20px; }
.cart-btn{ display:inline-flex; align-items:center; gap:9px; background:var(--green); color:#fff; padding:0 22px; height:46px; border-radius:var(--r-pill); font-weight:600; font-size:14.5px; transition:.18s; }
.cart-btn:hover{ background:var(--green-deep); }
.cart-btn svg{ width:18px; height:18px; }
.cart-btn .count{ background:var(--gold); color:#fff; font-size:12px; font-weight:700; border-radius:var(--r-pill); padding:1px 7px; }

/* nav */
.nav{ background:var(--surface); border-bottom:1px solid var(--line); }
.nav .wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; display:flex; align-items:center; gap:6px; justify-content:center; flex-wrap:wrap; }
.nav a{ font-size:14.5px; font-weight:500; color:var(--ink-2); padding:15px 16px; position:relative; display:inline-flex; align-items:center; gap:5px; transition:.15s; }
.nav a svg{ width:13px; height:13px; opacity:.6; }
.nav a::after{ content:""; position:absolute; left:16px; right:16px; bottom:9px; height:2px; background:var(--green); border-radius:2px; transform:scaleX(0); transform-origin:left; transition:.2s; }
.nav a:hover{ color:var(--green); }
.nav a:hover::after, .nav a.active::after{ transform:scaleX(1); }
.nav a.active{ color:var(--green); font-weight:600; }

/* trust */
.trust{ background:var(--bg); border-bottom:1px solid var(--line); }
.trust .wrap{ max-width:var(--maxw); margin:0 auto; padding:20px 24px; display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.trust .item{ display:flex; align-items:center; gap:13px; }
.trust .ic{ width:42px; height:42px; border-radius:var(--r-pill); background:var(--green-soft); display:grid; place-items:center; color:var(--green); flex-shrink:0; }
.trust .ic svg{ width:20px; height:20px; }
.trust .t{ font-weight:600; font-size:14px; color:var(--ink); }
.trust .s{ font-size:12.5px; color:var(--ink-3); }
@media(max-width:760px){ .trust .wrap{ grid-template-columns:repeat(2,1fr); } }

/* page shell */
.page{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.crumb{ display:flex; align-items:center; gap:9px; font-size:13px; color:var(--ink-3); padding:22px 0 4px; }
.crumb a:hover{ color:var(--green); }
.crumb svg{ width:13px; height:13px; opacity:.5; }
.crumb .cur{ color:var(--ink-2); font-weight:500; }

/* listing */
.listing-head{ padding:14px 0 26px; display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.listing-head h1{ font-size:42px; line-height:1.04; }
.listing-head p{ color:var(--ink-2); font-size:15px; margin-top:8px; max-width:46ch; }
.listing-head .count{ color:var(--ink-3); font-size:13.5px; font-weight:500; }

.shop{ display:grid; grid-template-columns:262px 1fr; gap:40px; align-items:start; padding-bottom:80px; }

.filters{ position:sticky; top:96px; }
.filter-block{ padding:22px 0; border-bottom:1px solid var(--line); }
.filter-block:first-child{ padding-top:0; }
.filter-block h3{ font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink); margin-bottom:15px; }
.check{ display:flex; align-items:center; gap:11px; padding:7px 0; font-size:14px; color:var(--ink-2); cursor:pointer; transition:.12s; }
.check:hover{ color:var(--green); }
.check input{ appearance:none; width:18px; height:18px; border:1.5px solid var(--green-line); border-radius:5px; background:var(--surface); flex-shrink:0; position:relative; transition:.15s; cursor:pointer; }
.check input:checked{ background:var(--green); border-color:var(--green); }
.check input:checked::after{ content:""; position:absolute; left:5px; top:2px; width:5px; height:9px; border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg); }
.check .n{ flex:1; }
.check .qty{ color:var(--ink-3); font-size:12px; }
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ border:1px solid var(--green-line); background:var(--surface); border-radius:var(--r-pill); padding:7px 14px; font-size:13px; color:var(--ink-2); transition:.15s; }
.chip:hover{ border-color:var(--green); color:var(--green); }
.chip.on{ background:var(--green); border-color:var(--green); color:#fff; }
.price-range{ display:flex; align-items:center; gap:10px; margin-top:4px; }
.price-range input{ width:100%; border:1px solid var(--line); border-radius:var(--r-sm); padding:9px 11px; font-size:13px; font-family:inherit; color:var(--ink); background:var(--surface); }
.price-range input:focus{ outline:none; border-color:var(--green); }
.price-range span{ color:var(--ink-3); }

.toolbar{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:22px; flex-wrap:wrap; }
.active-filters{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.afilter{ display:inline-flex; align-items:center; gap:7px; background:var(--green-soft); color:var(--green-deep); border-radius:var(--r-pill); padding:6px 8px 6px 13px; font-size:12.5px; font-weight:500; }
.afilter button{ width:17px; height:17px; border-radius:50%; background:var(--green); color:#fff; display:grid; place-items:center; font-size:11px; line-height:1; }
.sort{ display:flex; align-items:center; gap:9px; font-size:13.5px; color:var(--ink-2); }
.sort select{ font-family:inherit; font-size:13.5px; font-weight:600; color:var(--ink); border:1px solid var(--line); background:var(--surface); border-radius:var(--r-pill); padding:9px 14px; cursor:pointer; }
.sort select:focus{ outline:none; border-color:var(--green); }

.grid{ display:grid; grid-template-columns:repeat(var(--cols),1fr); gap:24px; }
.empty{ grid-column:1/-1; padding:60px 0; text-align:center; color:var(--ink-3); }

/* card */
.card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); overflow:hidden; display:flex; flex-direction:column; transition:.22s ease; position:relative; }
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--green-line); }
.card .media{ position:relative; display:block; aspect-ratio:1/1; background:var(--surface-2); overflow:hidden; }
.card .badges{ position:absolute; top:12px; left:12px; display:flex; flex-direction:column; gap:6px; z-index:2; }
.badge{ font-size:11.5px; font-weight:700; padding:5px 10px; border-radius:var(--r-pill); color:#fff; line-height:1; align-self:flex-start; }
.badge.disc{ background:var(--terracotta); }
.badge.free{ background:var(--green); }
.badge.best{ background:var(--gold); color:#fff; }
.wish{ position:absolute; top:12px; right:12px; width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.85); backdrop-filter:blur(4px); display:grid; place-items:center; color:var(--ink-2); transition:.15s; z-index:2; opacity:0; transform:translateY(-4px); }
.card:hover .wish{ opacity:1; transform:none; }
.wish:hover{ color:var(--terracotta); }
.wish svg{ width:18px; height:18px; }
.wish.on{ color:var(--terracotta); opacity:1; }

.card .body{ padding:18px 18px 20px; display:flex; flex-direction:column; gap:9px; flex:1; }
.card .eyebrow{ font-size:11px; font-weight:600; letter-spacing:.07em; text-transform:uppercase; color:var(--green); }
.card .name{ font-size:15.5px; font-weight:600; line-height:1.32; color:var(--ink); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.64em; }
.card .name:hover{ color:var(--green); }
.card .stars{ display:flex; align-items:center; gap:5px; font-size:12.5px; color:var(--ink-3); }
.card .stars .s{ color:var(--gold); letter-spacing:1px; }
.card .price{ display:flex; align-items:baseline; gap:10px; margin-top:auto; padding-top:4px; }
.card .price .now{ font-size:20px; font-weight:800; color:var(--green-deep); }
.card .price .was{ font-size:13.5px; color:var(--ink-3); text-decoration:line-through; }
.card .add{ margin-top:6px; width:100%; height:46px; border-radius:var(--r-pill); border:1.5px solid var(--green); color:var(--green); font-weight:600; font-size:14px; display:inline-flex; align-items:center; justify-content:center; gap:9px; transition:.18s; }
.card .add svg{ width:17px; height:17px; }
.card .add:hover{ background:var(--green); color:#fff; }
.ph-svg{ width:100%; height:100%; }

/* product detail */
.pdp{ display:grid; grid-template-columns:1fr 1fr; gap:56px; padding:18px 0 70px; align-items:start; }
.gallery{ position:sticky; top:96px; }
.gallery .main{ position:relative; aspect-ratio:1/1; background:var(--surface-2); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; }
.gallery .main .badge{ position:absolute; top:18px; left:18px; z-index:2; }
.gallery .thumbs{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:14px; }
.gallery .thumbs .t{ aspect-ratio:1/1; border:1.5px solid var(--line); border-radius:var(--r-md); overflow:hidden; cursor:pointer; transition:.15s; background:var(--surface-2); }
.gallery .thumbs .t:hover{ border-color:var(--green-line); }
.gallery .thumbs .t.active{ border-color:var(--green); }

.pdp-info{ display:flex; flex-direction:column; gap:18px; }
.pdp-eyebrow{ font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--green); }
.pdp-info h1{ font-size:38px; line-height:1.07; }
.pdp-meta{ display:flex; align-items:center; gap:18px; font-size:13.5px; color:var(--ink-3); flex-wrap:wrap; }
.pdp-meta .stars .s{ color:var(--gold); letter-spacing:1px; }
.pdp-meta .sku{ font-variant-numeric:tabular-nums; }
.pdp-desc{ font-size:16px; color:var(--ink-2); line-height:1.6; max-width:52ch; }

.variants{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.variant{ border:1.5px solid var(--line); border-radius:var(--r-md); padding:15px 16px; cursor:pointer; transition:.16s; background:var(--surface); }
.variant:hover{ border-color:var(--green-line); }
.variant.sel{ border-color:var(--green); background:var(--green-soft); box-shadow:0 0 0 3px var(--green-soft); }
.variant .vh{ display:flex; align-items:center; gap:8px; font-weight:600; font-size:14.5px; color:var(--ink); }
.variant .vh .dot{ width:10px; height:10px; border-radius:50%; }
.variant .vs{ font-size:12.5px; color:var(--ink-3); margin-top:5px; }

.note{ display:flex; align-items:center; gap:11px; background:#eef3fb; color:#39527e; border-radius:var(--r-md); padding:13px 16px; font-size:13.5px; }
.note svg{ width:18px; height:18px; flex-shrink:0; }
.note a{ font-weight:600; text-decoration:underline; }

.price-box{ display:flex; flex-direction:column; gap:6px; padding:20px 0 4px; border-top:1px solid var(--line); }
.price-box .row{ display:flex; align-items:center; gap:14px; }
.price-box .now{ font-weight:800; font-size:38px; color:var(--green-deep); line-height:1; letter-spacing:-.02em; }
.price-box .was{ font-size:19px; color:var(--ink-3); text-decoration:line-through; }
.price-box .save{ background:#f7ecd9; color:var(--terracotta); font-size:13px; font-weight:700; padding:5px 11px; border-radius:var(--r-pill); }
.price-box .kdv{ font-size:13px; color:var(--ink-3); }

.stock{ display:flex; align-items:center; gap:9px; font-size:14px; font-weight:600; color:var(--green); }
.stock .d{ width:9px; height:9px; border-radius:50%; background:var(--green); box-shadow:0 0 0 4px var(--green-soft); }

.cta-grid{ display:grid; grid-template-columns:1fr; gap:12px; }
.buy-row{ display:flex; align-items:stretch; gap:14px; }
.qty{ display:flex; align-items:center; border:1.5px solid var(--line); border-radius:var(--r-pill); overflow:hidden; }
.qty button{ width:48px; height:56px; font-size:20px; color:var(--ink-2); transition:.15s; }
.qty button:hover{ background:var(--green-soft); color:var(--green); }
.qty .v{ width:48px; text-align:center; font-weight:600; font-size:16px; font-variant-numeric:tabular-nums; }
.btn-primary{ flex:1; background:var(--green); color:#fff; border-radius:var(--r-pill); height:56px; font-weight:600; font-size:15.5px; display:inline-flex; align-items:center; justify-content:center; gap:10px; transition:.18s; }
.btn-primary:hover{ background:var(--green-deep); }
.btn-primary svg{ width:19px; height:19px; }
.btn-ghost{ background:var(--surface); border:1.5px solid var(--green); color:var(--green); border-radius:var(--r-pill); height:56px; padding:0 26px; font-weight:600; font-size:15.5px; display:inline-flex; align-items:center; justify-content:center; gap:9px; transition:.18s; }
.btn-ghost:hover{ background:var(--green-soft); }
.btn-ghost svg{ width:18px; height:18px; }

.assur{ display:flex; flex-direction:column; gap:13px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); padding:20px 22px; margin-top:6px; }
.assur .a{ display:flex; align-items:center; gap:12px; font-size:14px; color:var(--ink-2); }
.assur .a b{ color:var(--ink); font-weight:600; }
.assur .a svg{ width:19px; height:19px; color:var(--green); flex-shrink:0; }

.accordion{ margin-top:8px; border-top:1px solid var(--line); }
.acc-item{ border-bottom:1px solid var(--line); }
.acc-head{ width:100%; display:flex; align-items:center; justify-content:space-between; padding:18px 2px; font-size:15.5px; font-weight:600; color:var(--ink); text-align:left; }
.acc-head .pm{ width:26px; height:26px; border-radius:50%; border:1px solid var(--line); display:grid; place-items:center; color:var(--ink-2); transition:.2s; flex-shrink:0; }
.acc-item.open .pm{ background:var(--green); border-color:var(--green); color:#fff; transform:rotate(180deg); }
.acc-head .pm svg{ width:14px; height:14px; }
.acc-body{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.acc-body .inner{ padding:0 2px 22px; color:var(--ink-2); font-size:14.5px; line-height:1.7; }
.acc-body .inner ul{ display:flex; flex-direction:column; gap:8px; }
.acc-body .inner li{ display:flex; gap:10px; }
.acc-body .inner li::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--green); margin-top:9px; flex-shrink:0; }

.related{ padding:40px 0 90px; border-top:1px solid var(--line); }
.related h2{ font-size:32px; margin-bottom:6px; }
.related p{ color:var(--ink-3); font-size:14px; margin-bottom:26px; }

/* footer */
.footer{ background:var(--green-deep); color:#e6efe8; }
.footer .wrap{ max-width:var(--maxw); margin:0 auto; padding:56px 24px 30px; display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; }
.footer .logo .k{ color:#f1f7f1; }
.footer .logo .b{ color:#bcd0c0; }
.footer .blurb{ font-size:13.5px; line-height:1.6; opacity:.78; margin-top:16px; max-width:34ch; }
.footer h4{ font-size:13px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; margin-bottom:16px; opacity:.95; }
.footer li{ margin-bottom:11px; }
.footer li a{ font-size:13.5px; opacity:.78; transition:.15s; }
.footer li a:hover{ opacity:1; }
.footer .copy{ max-width:var(--maxw); margin:0 auto; padding:20px 24px; border-top:1px solid rgba(255,255,255,.12); font-size:12.5px; opacity:.65; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }
@media(max-width:860px){ .footer .wrap{ grid-template-columns:1fr 1fr; } }

/* toast */
.toast{ position:fixed; bottom:26px; left:50%; transform:translateX(-50%) translateY(20px); background:var(--green-deep); color:#fff; padding:14px 22px; border-radius:var(--r-pill); font-size:14px; font-weight:500; box-shadow:var(--shadow-md); display:flex; align-items:center; gap:10px; opacity:0; pointer-events:none; transition:.28s; z-index:200; }
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }
.toast svg{ width:18px; height:18px; }

/* responsive */
@media(max-width:1000px){
  .shop{ grid-template-columns:1fr; }
  .filters{ position:static; display:grid; grid-template-columns:repeat(2,1fr); gap:8px 32px; }
  .pdp{ grid-template-columns:1fr; gap:34px; }
  .gallery{ position:static; }
}
@media(max-width:680px){
  .grid{ --cols:2; gap:16px; }
  .header .wrap{ grid-template-columns:1fr auto; gap:14px; }
  .search{ grid-column:1/-1; order:3; }
  .listing-head h1{ font-size:32px; }
  .pdp-info h1{ font-size:28px; }
  .buy-row{ flex-wrap:wrap; }
}
