/* ============================================================
   Keskin Kardeşler — Premium Tasarım Sistemi
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
  /* Renk paleti */
  --brand: #ff6a00;
  --brand-600: #e85d00;
  --brand-700: #c44d00;
  --brand-soft: #fff3eb;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e8ecf1;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --green: #16a34a;
  --green-soft: #dcfce7;
  --red: #e11d48;
  --red-soft: #ffe4e6;
  --amber: #f59e0b;
  --blue: #2563eb;
  --indigo: #4f46e5;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow: 0 4px 14px rgba(15, 23, 42, .08);
  --shadow-lg: 0 18px 40px -12px rgba(15, 23, 42, .22);
  --ring: 0 0 0 4px rgba(255, 106, 0, .15);
  --maxw: 1240px;
  --header-h: 124px;
  --t: .2s cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Sora', 'Plus Jakarta Sans', sans-serif; line-height: 1.2; color: var(--ink); }

a { color: var(--brand-700); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--brand); }

img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: 44px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: 1.7rem; margin: 0; }
.section-head .sub { color: var(--muted); margin: 4px 0 0; }
.section-head a.more { font-weight: 600; white-space: nowrap; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #cbd5e1; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: #fff; }
.topbar .tb-left span { margin-right: 18px; }
.topbar .tb-right a { margin-left: 16px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: 24px; height: 78px; }
.logo { font-family: 'Sora'; font-weight: 800; font-size: 1.4rem; color: var(--ink); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo .mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-700)); display: grid; place-items: center; color: #fff; font-size: 1.2rem; box-shadow: var(--shadow); }
.logo small { display: block; font-family: 'Plus Jakarta Sans'; font-size: .62rem; font-weight: 600; letter-spacing: .14em; color: var(--brand); text-transform: uppercase; }

.searchbar { flex: 1; display: flex; max-width: 620px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; transition: var(--t); }
.searchbar:focus-within { border-color: var(--brand); box-shadow: var(--ring); background: #fff; }
.searchbar input { flex: 1; border: none; background: transparent; padding: 12px 20px; font: inherit; outline: none; }
.searchbar button { border: none; background: var(--brand); color: #fff; padding: 0 22px; cursor: pointer; font-weight: 600; transition: var(--t); }
.searchbar button:hover { background: var(--brand-700); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.iconbtn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--ink-2); font-size: .7rem; font-weight: 600; position: relative; transition: var(--t); }
.iconbtn:hover { background: var(--brand-soft); color: var(--brand-700); }
.iconbtn .ic { font-size: 1.3rem; }
.badge-count { position: absolute; top: 2px; right: 6px; background: var(--brand); color: #fff; font-size: .65rem; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; font-weight: 700; }

/* Category nav */
.catnav { border-top: 1px solid var(--line); position: relative; }
.catnav-inner { display: flex; align-items: center; gap: 8px; height: 48px; }
.catnav-links { display: flex; align-items: flex-start; gap: 4px; overflow-x: auto; flex: 1; justify-content: flex-start; scrollbar-width: thin; }
.catnav-links::-webkit-scrollbar { height: 0; }
.catnav-links a { color: var(--ink-2); font-weight: 600; font-size: .9rem; padding: 8px 14px; border-radius: var(--radius-sm); white-space: nowrap; transition: var(--t); }
.catnav-links a:hover, .catnav-links a.active { background: var(--brand-soft); color: var(--brand-700); }
.catnav-links a.hot { color: var(--red); }
.catnav-links a.hot:hover { background: var(--red-soft); color: var(--red); }

/* ---------- Mega menu ---------- */
.mega { position: relative; flex-shrink: 0; }
.mega-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff; border: none; font: inherit; font-weight: 700; font-size: .9rem; padding: 9px 16px; border-radius: var(--radius-sm); cursor: pointer; white-space: nowrap; transition: background var(--t); }
.mega-btn:hover { background: var(--brand-600); }
.mega-btn .mb-arrow { font-size: .8rem; transition: transform var(--t); }
.mega:hover .mb-arrow, .mega.open .mb-arrow { transform: rotate(180deg); }

.mega-panel { position: absolute; top: 100%; left: 0; z-index: 60; display: none; width: min(940px, calc(100vw - 40px)); background: #fff; border: 1px solid var(--line); border-top: none; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.mega:hover .mega-panel, .mega.open .mega-panel { display: flex; }

.mega-cats { width: 256px; flex-shrink: 0; background: var(--bg); border-right: 1px solid var(--line); padding: 10px; max-height: 460px; overflow-y: auto; }
.mega-cat { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.mega-cat .mc-ic { font-size: 1.1rem; width: 22px; text-align: center; }
.mega-cat .mc-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-cat .mc-count { font-size: .72rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; }
.mega-cat .mc-arrow { color: var(--muted); }
.mega-cat:hover, .mega-cat.active { background: #fff; color: var(--brand-700); box-shadow: var(--shadow-sm); }
.mega-cat.active .mc-arrow { color: var(--brand); }

.mega-content { flex: 1; padding: 18px 22px; max-height: 460px; overflow-y: auto; min-width: 0; }
.mega-pane { display: none; }
.mega-pane.active { display: block; }
.mp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mp-head h4 { margin: 0; font-size: 1.15rem; }
.mp-all { font-weight: 600; font-size: .85rem; white-space: nowrap; }
.mp-brands { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 16px; }
.mp-label { color: var(--muted); font-size: .82rem; font-weight: 600; margin-right: 2px; }
.mp-brand { font-size: .8rem; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-weight: 600; transition: var(--t); }
.mp-brand:hover { border-color: var(--brand); color: var(--brand-700); background: var(--brand-soft); }
.mp-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mp-prod { display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: var(--t); }
.mp-prod:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.mp-img { width: 48px; height: 48px; flex-shrink: 0; border-radius: 8px; background: var(--bg); display: grid; place-items: center; overflow: hidden; font-size: 1.4rem; }
.mp-img img { width: 100%; height: 100%; object-fit: cover; }
.mp-info { display: flex; flex-direction: column; min-width: 0; }
.mp-name { font-size: .84rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-price { font-size: .9rem; font-weight: 700; color: var(--brand-700); }
.mp-price small { color: var(--muted); font-weight: 600; font-size: .7rem; }
.mp-empty { color: var(--muted); }

.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; cursor: pointer; border: 1.5px solid transparent; transition: var(--t); white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 18px -6px rgba(255,106,0,.5); }
.btn-primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1e293b; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-700); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; margin: 28px 0; }
.hero-main { background: linear-gradient(135deg, #11203b 0%, #0f172a 60%); color: #fff; border-radius: var(--radius-lg); padding: 52px 48px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hero-main::after { content: '🔧'; position: absolute; right: -20px; bottom: -30px; font-size: 14rem; opacity: .06; transform: rotate(-15deg); }
.hero-main .eyebrow { color: var(--brand); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
.hero-main h1 { font-size: 2.8rem; margin: 10px 0 14px; color: #fff; max-width: 16ch; }
.hero-main p { color: #cbd5e1; font-size: 1.08rem; max-width: 42ch; margin: 0 0 26px; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 28px; }
.hero-card { border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; justify-content: center; color: #fff; position: relative; overflow: hidden; }
.hero-card.c1 { background: linear-gradient(135deg, var(--brand), var(--brand-700)); }
.hero-card.c2 { background: linear-gradient(135deg, #1e293b, #334155); }
.hero-card h3 { color: #fff; font-size: 1.3rem; margin: 0 0 4px; }
.hero-card p { margin: 0; opacity: .9; font-size: .92rem; }
.hero-card .big-emoji { position: absolute; right: 10px; bottom: -10px; font-size: 5rem; opacity: .25; }

/* ---------- Feature strip ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 8px 0 0; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-sm); }
.feature .fic { font-size: 1.8rem; }
.feature strong { display: block; font-size: .95rem; }
.feature span { color: var(--muted); font-size: .82rem; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 12px; text-align: center; transition: var(--t); box-shadow: var(--shadow-sm); }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); }
.cat-tile .emoji { font-size: 2.2rem; }
.cat-tile span { display: block; margin-top: 8px; font-weight: 600; color: var(--ink); font-size: .9rem; }

/* ---------- Product grid & cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: var(--t); position: relative; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.pc-media { position: relative; aspect-ratio: 1; background: linear-gradient(135deg, #f8fafc, #eef2f7); display: grid; place-items: center; overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .pc-media img { transform: scale(1.06); }
.pc-media .noimg { font-size: 3.4rem; opacity: .5; }
.pc-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; }
.tag { font-size: .68rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; letter-spacing: .03em; text-transform: uppercase; }
.tag.sale { background: var(--red); color: #fff; }
.tag.new { background: var(--blue); color: #fff; }
.tag.out { background: var(--ink-2); color: #fff; }
.wish-btn { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.9); border: none; display: grid; place-items: center; cursor: pointer; font-size: 1.1rem; box-shadow: var(--shadow-sm); transition: var(--t); }
.wish-btn:hover { background: #fff; transform: scale(1.1); }
.wish-btn.active { color: var(--red); }
.pc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pc-brand { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.pc-title { font-family: 'Plus Jakarta Sans'; font-weight: 600; font-size: .98rem; margin: 3px 0 6px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pc-title:hover { color: var(--brand-700); }
.stars { color: var(--amber); font-size: .82rem; letter-spacing: 1px; }
.stars .count { color: var(--muted); margin-left: 4px; }
.pc-price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; padding-top: 10px; }
.pc-price .now { font-family: 'Sora'; font-weight: 700; font-size: 1.28rem; color: var(--ink); }
.pc-price .was { color: var(--muted); text-decoration: line-through; font-size: .9rem; }
.pc-actions { margin-top: 12px; }

/* ---------- Toolbar (filtre/siralama) ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); font-size: .9rem; }
.toolbar form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 4px; }
select, .input { padding: 9px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: #fff; outline: none; transition: var(--t); }
select:focus, .input:focus { border-color: var(--brand); box-shadow: var(--ring); }

/* ---------- Layout shop (sidebar + grid) ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.sidebar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 140px; }
.sidebar h4 { margin: 0 0 12px; font-size: 1rem; }
.sidebar .filter-group { padding: 14px 0; border-top: 1px solid var(--line); }
.sidebar .filter-group:first-of-type { border-top: none; padding-top: 0; }
.filter-list { list-style: none; margin: 0; padding: 0; }
.filter-list li { margin: 6px 0; }
.filter-list a { color: var(--ink-2); font-size: .92rem; display: flex; justify-content: space-between; padding: 5px 8px; border-radius: 8px; }
.filter-list a:hover, .filter-list a.active { background: var(--brand-soft); color: var(--brand-700); }
.filter-list a .n { color: var(--muted); font-size: .8rem; }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input { width: 100%; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .86rem; margin: 18px 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb .sep { opacity: .5; }

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-bottom: 40px; }
.gallery .main-img { aspect-ratio: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; place-items: center; overflow: hidden; }
.gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.gallery .main-img .noimg { font-size: 7rem; opacity: .4; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; border-radius: var(--radius-sm); border: 2px solid var(--line); overflow: hidden; cursor: pointer; background: #fff; padding: 0; transition: var(--t); }
.thumbs button.active, .thumbs button:hover { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .pd-brand { color: var(--brand-700); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.pd-info h1 { font-size: 2rem; margin: 8px 0; }
.pd-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--muted); font-size: .9rem; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin: 16px 0; }
.pd-price .now { font-family: 'Sora'; font-size: 2.3rem; font-weight: 800; color: var(--ink); }
.pd-price .was { font-size: 1.2rem; color: var(--muted); text-decoration: line-through; }
.pd-price .save { background: var(--red-soft); color: var(--red); font-weight: 700; font-size: .85rem; padding: 4px 10px; border-radius: 999px; }
.pd-desc { color: var(--ink-2); margin: 16px 0; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 18px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9rem; }
.pd-meta div span { color: var(--muted); }
.pd-meta div strong { margin-left: 6px; }
.buy-row { display: flex; gap: 12px; margin-top: 22px; align-items: stretch; }
.qty-stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-stepper button { width: 42px; border: none; background: var(--bg); font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty-stepper button:hover { background: var(--brand-soft); }
.qty-stepper input { width: 48px; text-align: center; border: none; font: inherit; font-weight: 700; outline: none; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.in-stock-pill { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; font-size: .9rem; }
.out-pill { color: var(--red); font-weight: 600; }

/* Tabs (aciklama / yorumlar) */
.tabs { margin: 30px 0; }
.tab-nav { display: flex; gap: 4px; border-bottom: 2px solid var(--line); }
.tab-nav button { background: none; border: none; padding: 12px 20px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.tab-nav button.active { color: var(--brand-700); border-color: var(--brand); }
.tab-panel { display: none; padding: 22px 2px; }
.tab-panel.active { display: block; }

/* Reviews */
.review { border-bottom: 1px solid var(--line); padding: 16px 0; }
.review:last-child { border: none; }
.review .head { display: flex; justify-content: space-between; align-items: center; }
.review .who { font-weight: 700; }
.review .date { color: var(--muted); font-size: .82rem; }
.review p { margin: 8px 0 0; color: var(--ink-2); }
.review-form { background: var(--bg); border-radius: var(--radius); padding: 20px; margin-top: 20px; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input input { display: none; }
.rating-input label { font-size: 1.6rem; color: #d1d5db; cursor: pointer; transition: var(--t); }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--amber); }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cart-items { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; padding: 18px; border-bottom: 1px solid var(--line); align-items: center; }
.cart-row:last-child { border: none; }
.cart-row .ci-img { width: 88px; height: 88px; border-radius: var(--radius-sm); background: var(--bg); overflow: hidden; display: grid; place-items: center; }
.cart-row .ci-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row .ci-img .noimg { font-size: 2rem; opacity: .5; }
.ci-name { font-weight: 600; }
.ci-name a { color: var(--ink); }
.ci-unit { color: var(--muted); font-size: .88rem; margin-top: 2px; }
.ci-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ci-total { font-weight: 800; font-family: 'Sora'; }
.ci-remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: .84rem; }
.ci-remove:hover { color: var(--red); }

/* Summary box */
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 140px; }
.summary h3 { margin: 0 0 16px; }
.summary .line { display: flex; justify-content: space-between; padding: 8px 0; color: var(--ink-2); }
.summary .line.total { border-top: 2px solid var(--line); margin-top: 10px; padding-top: 14px; font-size: 1.25rem; font-weight: 800; color: var(--ink); font-family: 'Sora'; }
.summary .line .free { color: var(--green); font-weight: 700; }
.summary .discount { color: var(--green); }
.coupon-box { display: flex; gap: 8px; margin: 16px 0; }
.coupon-box input { flex: 1; }
.ship-progress { background: var(--green-soft); color: #166534; font-size: .85rem; padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; }
.ship-progress .bar { height: 6px; background: rgba(22,163,74,.2); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.ship-progress .bar i { display: block; height: 100%; background: var(--green); border-radius: 999px; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.panel h3 { margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.panel h3 .step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label.fld { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
label.fld input, label.fld textarea, label.fld select { width: 100%; margin-top: 6px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; outline: none; transition: var(--t); }
label.fld input:focus, label.fld textarea:focus, label.fld select:focus { border-color: var(--brand); box-shadow: var(--ring); }
.card-visual { background: linear-gradient(135deg, #1e293b, #0f172a); border-radius: var(--radius); padding: 14px 18px; color: #cbd5e1; font-size: .82rem; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.card-visual .lock { color: var(--green); }

/* ---------- Fatura tipi seçimi (segmented kartlar) ---------- */
.billing-type { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.billing-type .bt-opt { position: relative; cursor: pointer; }
.billing-type .bt-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.billing-type .bt-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: var(--t); }
.billing-type .bt-ico { font-size: 1.5rem; line-height: 1; }
.billing-type .bt-txt { display: flex; flex-direction: column; line-height: 1.25; }
.billing-type .bt-txt strong { font-size: .95rem; color: var(--ink); }
.billing-type .bt-txt small { color: var(--muted); font-size: .78rem; }
.billing-type .bt-check { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; font-size: .75rem; transition: var(--t); }
.billing-type .bt-opt:hover .bt-card { border-color: var(--brand-600); }
.billing-type .bt-opt input:checked + .bt-card { border-color: var(--brand); background: var(--brand-soft); box-shadow: var(--ring); }
.billing-type .bt-opt input:checked + .bt-card .bt-check { background: var(--brand); border-color: var(--brand); color: #fff; }
.billing-type .bt-opt input:focus-visible + .bt-card { box-shadow: var(--ring); }

.fld-hint { display: block; margin-top: 6px; font-size: .76rem; font-weight: 500; color: var(--muted); }
.billing-same-row { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .9rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.billing-same-row input { width: 18px; height: 18px; accent-color: var(--brand); cursor: pointer; }
[data-billing-fields] { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
@media (max-width: 520px) { .billing-type { grid-template-columns: 1fr; } }
.saved-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }

/* ---------- Account ---------- */
.auth-wrap { max-width: 440px; margin: 50px auto; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.7rem; margin: 0 0 6px; }
.auth-card .sub { color: var(--muted); margin: 0 0 24px; }
.auth-switch { text-align: center; margin-top: 20px; color: var(--muted); font-size: .9rem; }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; margin: 28px 0; }
.account-nav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; position: sticky; top: 140px; }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--radius-sm); color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.account-nav a:hover, .account-nav a.active { background: var(--brand-soft); color: var(--brand-700); }
.account-nav form { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.account-nav button { width: 100%; text-align: left; background: none; border: none; padding: 11px 14px; color: var(--red); font: inherit; font-weight: 600; cursor: pointer; border-radius: var(--radius-sm); }
.account-nav button:hover { background: var(--red-soft); }

/* ---------- Order card ---------- */
.order-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; }
.order-card .oc-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.order-card .oc-no { font-weight: 800; font-family: 'Sora'; }
.order-card .oc-meta { color: var(--muted); font-size: .85rem; }
.oc-items { display: flex; gap: 10px; padding: 14px 0; flex-wrap: wrap; }
.oc-thumb { width: 52px; height: 52px; border-radius: 8px; background: var(--bg); overflow: hidden; display: grid; place-items: center; font-size: 1.2rem; }
.oc-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Badges / status ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.badge.pending { background: #fef9c3; color: #a16207; }
.badge.paid { background: var(--green-soft); color: #166534; }
.badge.preparing { background: #e0e7ff; color: #3730a3; }
.badge.shipped { background: #cffafe; color: #155e75; }
.badge.delivered { background: var(--green-soft); color: #166534; }
.badge.cancelled { background: var(--red-soft); color: var(--red); }

/* ---------- Result page ---------- */
.result { text-align: center; max-width: 520px; margin: 50px auto; background: var(--surface); padding: 48px 40px; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.result-icon { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; font-size: 2.6rem; }
.result.ok .result-icon { background: var(--green-soft); }
.result.fail .result-icon { background: var(--red-soft); }
.result.ok h1 { color: var(--green); }
.result.fail h1 { color: var(--red); }
.result-order { background: var(--bg); padding: 18px; border-radius: var(--radius); margin: 20px 0; text-align: left; }
.result-order .l { display: flex; justify-content: space-between; padding: 4px 0; }

/* ---------- Alerts / flash ---------- */
.flash-stack { position: fixed; top: 16px; right: 16px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.flash { background: #fff; border-left: 4px solid var(--muted); border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow-lg); animation: slideIn .3s ease; font-size: .92rem; }
.flash.success { border-color: var(--green); }
.flash.error { border-color: var(--red); }
.flash.info { border-color: var(--blue); }
@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: none; opacity: 1; } }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .92rem; }
.alert.error { background: var(--red-soft); color: var(--red); }
.alert.success { background: var(--green-soft); color: #166534; }
.alert ul { margin: 0; padding-left: 18px; }

/* ---------- Toast ---------- */
#toast-stack { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; animation: toastIn .3s ease; }
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #94a3b8; margin-top: 56px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding: 52px 0 36px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin: 0 0 16px; }
.footer-col a { display: block; color: #94a3b8; padding: 5px 0; font-size: .9rem; }
.footer-col a:hover { color: var(--brand); }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; max-width: 36ch; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input { flex: 1; padding: 11px 14px; border-radius: 999px; border: 1px solid #1e293b; background: #1e293b; color: #fff; outline: none; }
.payment-icons { display: flex; gap: 8px; margin-top: 16px; font-size: 1.6rem; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: .84rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom strong { color: var(--brand); }

/* ---------- Misc ---------- */
.empty-state { text-align: center; padding: 64px 24px; color: var(--muted); }
.empty-state .emoji { font-size: 4rem; }
.empty-state h3 { color: var(--ink); margin: 12px 0 6px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--ink-2); padding: 0 12px; }
.pagination a:hover { border-color: var(--brand); color: var(--brand-700); }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination .disabled { opacity: .4; pointer-events: none; }
.page-hero { background: linear-gradient(135deg, #11203b, #0f172a); color: #fff; border-radius: var(--radius-lg); padding: 40px 44px; margin: 24px 0; }
.page-hero h1 { color: #fff; font-size: 2.2rem; margin: 0 0 6px; }
.page-hero p { color: #cbd5e1; margin: 0; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin: 28px 0 10px; }
.prose p { color: var(--ink-2); }

/* ---------- Admin shell ---------- */
.admin-body { background: #f1f5f9; }
.admin-shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.admin-side { background: var(--ink); color: #cbd5e1; padding: 22px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand { color: #fff; font-family: 'Sora'; font-weight: 800; font-size: 1.15rem; padding: 6px 12px 18px; display: flex; gap: 10px; align-items: center; }
.admin-side nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--radius-sm); color: #cbd5e1; font-weight: 600; font-size: .92rem; margin-bottom: 3px; }
.admin-side nav a:hover, .admin-side nav a.active { background: rgba(255,255,255,.08); color: #fff; }
.admin-side nav a.active { background: var(--brand); }
.admin-side .sec-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: #64748b; padding: 16px 14px 6px; }
.admin-main { padding: 28px 32px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.admin-topbar h1 { font-size: 1.6rem; margin: 0; }
.admin-topbar .who { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .9rem; }
.admin-topbar form { display: inline; }
.admin-topbar .logout { background: none; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--ink-2); font-weight: 600; }
.admin-topbar .logout:hover { border-color: var(--red); color: var(--red); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.stat-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 14px; }
.stat-card .ic.o { background: var(--brand-soft); }
.stat-card .ic.g { background: var(--green-soft); }
.stat-card .ic.b { background: #e0e7ff; }
.stat-card .ic.a { background: #fef9c3; }
.stat-card .num { font-family: 'Sora'; font-size: 1.9rem; font-weight: 800; }
.stat-card .lbl { color: var(--muted); font-size: .88rem; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.card-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.card-head h3 { margin: 0; font-size: 1.1rem; }
.card-body { padding: 22px; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 13px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
.table th { background: #f8fafc; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; }
.table tbody tr:hover { background: #fafbfc; }
.table .actions { display: flex; gap: 10px; align-items: center; }
.table .actions a, .table .actions button { font-size: .85rem; }
.table .thumb-sm { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; background: var(--bg); }
.link-danger { background: none; border: none; color: var(--red); cursor: pointer; padding: 0; font: inherit; }
.link-danger:hover { text-decoration: underline; }

.admin-form { max-width: 720px; }
.admin-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-form label { display: block; margin-bottom: 16px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.admin-form input[type=text], .admin-form input[type=number], .admin-form input[type=email], .admin-form input[type=password], .admin-form input[type=date], .admin-form textarea, .admin-form select { width: 100%; margin-top: 6px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; outline: none; }
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { border-color: var(--brand); box-shadow: var(--ring); }
.admin-form .check { display: flex; align-items: center; gap: 8px; }
.admin-form .check input { width: auto; margin: 0; }
.form-actions { display: flex; gap: 12px; margin-top: 8px; }
.img-preview-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.img-preview-row .pi { position: relative; width: 80px; height: 80px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.img-preview-row .pi img { width: 100%; height: 100%; object-fit: cover; }

.status-select { padding: 6px 10px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; display: none; }
}
@media (max-width: 860px) {
  .pd, .cart-layout, .checkout-grid, .shop-layout, .account-layout { grid-template-columns: 1fr; }
  .sidebar, .summary, .account-nav { position: static; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .mobile-toggle { display: block; }
  .header-main { gap: 12px; }
  .searchbar { order: 3; flex-basis: 100%; max-width: none; }
  .header-main { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .catnav { display: none; }
  .catnav.open { display: block; }
  .catnav.open .catnav-inner { flex-direction: column; align-items: stretch; height: auto; padding: 8px 16px; gap: 8px; }
  .catnav-links { flex-wrap: wrap; overflow: visible; }
  .catnav-links a { padding: 10px 12px; }
  /* Mobilde mega: tam genislik, sadece kategori listesi */
  .mega { position: static; }
  .mega-btn { width: 100%; justify-content: center; }
  .mega-panel { position: static; width: 100%; display: flex !important; flex-direction: column; box-shadow: none; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-top: 8px; }
  .mega-cats { width: 100%; max-height: 260px; border-right: none; border-bottom: 1px solid var(--line); }
  .mega-content { display: none; }
  .hero-main { padding: 36px 24px; }
  .hero-main h1 { font-size: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .cat-grid, .features { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .topbar .tb-left span:not(:first-child) { display: none; }
}

/* ============================================================
   Yapı Market eklemeleri (birim, stok uyarısı, admin araçları, grafik)
   ============================================================ */
/* Satış birimi rozeti (fiyat yanı) */
.pc-price .now .unit, .pd-price .now .unit { font-size: .72rem; font-weight: 600; color: var(--muted); margin-left: 2px; }

/* Ürün sayfası düşük stok uyarısı */
.stock-warn { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; border-radius: var(--radius-sm); padding: 10px 14px; font-size: .9rem; margin: 14px 0; }

/* Sepet birim etiketi */
.ci-unit-label { display: inline-block; margin-left: 8px; color: var(--muted); font-size: .85rem; font-weight: 600; vertical-align: middle; }

/* ---------- Admin: filtre çubuğu ---------- */
.admin-filterbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-filterbar .input, .admin-filterbar select { padding: 9px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; outline: none; background: #fff; }
.admin-filterbar .input { min-width: 220px; flex: 1; }
.admin-filterbar .input:focus, .admin-filterbar select:focus { border-color: var(--brand); box-shadow: var(--ring); }

/* ---------- Admin: hızlı toggle çipi ---------- */
.chip-toggle { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: .75rem; font-weight: 700; cursor: pointer; color: var(--muted); transition: var(--t); }
.chip-toggle:hover { border-color: var(--brand); }
.chip-toggle.on { background: var(--green-soft); color: #166534; border-color: transparent; }
.chip-toggle.off { background: var(--red-soft); color: #9f1239; border-color: transparent; }

/* Düzenlenen satır vurgusu */
.row-editing { background: var(--brand-soft); }

/* Admin sipariş detay form etiketi */
.adm-lbl { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.adm-lbl input, .adm-lbl textarea { width: 100%; margin-top: 6px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; outline: none; }
.adm-lbl input:focus, .adm-lbl textarea:focus { border-color: var(--brand); box-shadow: var(--ring); }

/* ---------- Dashboard: 7 günlük bar grafiği ---------- */
.bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 190px; padding-top: 10px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.bar-col .bar { width: 100%; max-width: 54px; background: linear-gradient(180deg, var(--brand), var(--brand-700)); border-radius: 8px 8px 0 0; transition: height var(--t); }
.bar-col .bar-val { font-size: .68rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.bar-col .bar-lbl { font-size: .76rem; color: var(--muted); font-weight: 600; }

@media (max-width: 680px) {
  .admin-filterbar .input { min-width: 0; flex-basis: 100%; }
  .bar-col .bar-val { display: none; }
}

/* ============================================================
   Premium Hero Slider + Koleksiyon Slider'ları
   ============================================================ */
.hero-slider { position: relative; margin: 24px 0 16px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #0b1424; }
.hs-viewport { overflow: hidden; }
.hs-track { display: flex; transition: transform .75s cubic-bezier(.65, .05, .36, 1); will-change: transform; }
.hs-slide { position: relative; flex: 0 0 100%; min-height: 470px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(135deg, #11203b 0%, #0f172a 60%); }
.hs-img { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.1); }
.hs-slide.is-active .hs-img { animation: hsZoom 7.5s ease-out forwards; }
@keyframes hsZoom { to { transform: scale(1); } }
.hs-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 14, 28, .94) 0%, rgba(8, 14, 28, .74) 44%, rgba(8, 14, 28, .28) 100%); }
.hs-content { position: relative; z-index: 2; padding: 0 clamp(28px, 6vw, 76px); max-width: 660px; }
.hs-eyebrow { display: inline-block; color: var(--accent, var(--brand)); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; padding: 6px 15px; border: 1px solid color-mix(in srgb, var(--accent, var(--brand)) 45%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--accent, var(--brand)) 14%, transparent); }
.hs-title { color: #fff; font-size: clamp(1.95rem, 4.4vw, 3.25rem); line-height: 1.07; margin: 18px 0 14px; max-width: 19ch; letter-spacing: -.015em; }
.hs-sub { color: #cbd5e1; font-size: clamp(1rem, 1.5vw, 1.14rem); max-width: 48ch; margin: 0 0 28px; }
.hs-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hs-btn { background: var(--accent, var(--brand)); color: #fff; border: none; box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--accent, var(--brand)) 75%, transparent); }
.hs-btn:hover { color: #fff; filter: brightness(.93); transform: translateY(-2px); }
.hs-btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .32); backdrop-filter: blur(4px); }
.hs-btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; transform: translateY(-2px); }

/* Slayt içeriği giriş animasyonu (kademeli) */
.hs-slide .hs-eyebrow, .hs-slide .hs-title, .hs-slide .hs-sub, .hs-slide .hs-actions { opacity: 0; transform: translateY(24px); }
.hs-slide.is-active .hs-eyebrow { animation: hsIn .65s .15s cubic-bezier(.2, .7, .3, 1) forwards; }
.hs-slide.is-active .hs-title { animation: hsIn .65s .29s cubic-bezier(.2, .7, .3, 1) forwards; }
.hs-slide.is-active .hs-sub { animation: hsIn .65s .43s cubic-bezier(.2, .7, .3, 1) forwards; }
.hs-slide.is-active .hs-actions { animation: hsIn .65s .57s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes hsIn { to { opacity: 1; transform: none; } }

/* Oklar */
.hs-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 52px; height: 52px; border-radius: 50%; border: none; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); display: grid; place-items: center; opacity: 0; transition: var(--t); }
.hero-slider:hover .hs-arrow { opacity: 1; }
.hs-arrow:hover { background: var(--brand); transform: translateY(-50%) scale(1.07); }
.hs-prev { left: 18px; }
.hs-next { right: 18px; }

/* Noktalar */
.hs-dots { position: absolute; bottom: 20px; left: clamp(28px, 6vw, 76px); z-index: 5; display: flex; gap: 9px; }
.hs-dot { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: none; background: rgba(255, 255, 255, .45); cursor: pointer; transition: var(--t); }
.hs-dot:hover { background: rgba(255, 255, 255, .8); }
.hs-dot.is-active { background: #fff; width: 30px; }

@media (hover: none) { .hs-arrow { opacity: 1; } }
@media (max-width: 720px) {
  .hs-slide { min-height: 440px; }
  .hs-overlay { background: linear-gradient(180deg, rgba(8, 14, 28, .55) 0%, rgba(8, 14, 28, .9) 100%); }
  .hs-arrow { width: 42px; height: 42px; font-size: 1.5rem; }
  .hs-prev { left: 8px; } .hs-next { right: 8px; }
}

/* Güven şeridi */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0 6px; }
.ts-item { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-sm); transition: var(--t); }
.ts-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ts-ic { font-size: 1.65rem; }
.ts-item strong { display: block; font-size: .92rem; }
.ts-item small { color: var(--muted); font-size: .8rem; }
@media (max-width: 720px) { .trust-strip { grid-template-columns: 1fr 1fr; } }

/* Koleksiyon: yatay kayan ürün slider'ı */
.row-slider { position: relative; }
.rs-track { display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x proximity; padding: 4px 2px 14px; scrollbar-width: none; -ms-overflow-style: none; }
.rs-track::-webkit-scrollbar { display: none; }
.rs-item { flex: 0 0 clamp(220px, 24%, 270px); scroll-snap-align: start; }
.rs-item .product-card { height: 100%; }
.rs-arrow { position: absolute; top: 42%; transform: translateY(-50%); z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; transition: var(--t); }
.rs-arrow:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.rs-prev { left: -10px; }
.rs-next { right: -10px; }
.rs-arrow[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 720px) {
  .rs-arrow { display: none; }
  .rs-item { flex-basis: 76%; }
  .rs-track { scroll-snap-type: x mandatory; }
}

/* ---------- Admin: koleksiyon ürün seçici ---------- */
.pick-list { max-height: 360px; overflow-y: auto; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 6px; }
.pick-item { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; cursor: pointer; margin: 0; font-weight: 500; }
.pick-item:hover { background: var(--brand-soft); }
.pick-item input { width: auto; margin: 0; flex-shrink: 0; }
.pick-thumb { width: 38px; height: 38px; border-radius: 7px; overflow: hidden; background: var(--bg); display: grid; place-items: center; flex-shrink: 0; font-size: 1.1rem; }
.pick-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pick-meta { display: flex; flex-direction: column; min-width: 0; }
.pick-name { font-size: .85rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-meta small { color: var(--muted); font-size: .72rem; }

@media (max-width: 1024px) { .dash-grid { grid-template-columns: 1fr !important; } }
