/* Karmin Lastik — mağaza bileşenleri: ürün kartı, katalog, ürün sayfası, sepet, kasa, sipariş (Faz 6) */
.pg-title { font: 800 clamp(26px, 4vw, 36px)/1.1 var(--display); margin: 18px 0 16px; }
.wrap--narrow { max-width: 820px; }
.muted { color: var(--g-500); } .small { font-size: 13px; }
.mono { font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 0 0 12px; border-radius: var(--r); background: var(--red-50); color: var(--red-700); font-weight: 500; }
.alert--ok { background: #E7F8F1; color: #0B6B37; } .alert--warn { background: #FFF6E5; color: #8A4B05; }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--g-100); color: var(--g-700); }
.tag--pending_payment, .tag--pending { background: #FFF6E5; color: var(--warn); } .tag--approved, .tag--completed { background: #E7F8F1; color: var(--ok); }
.tag--processing, .tag--shipped { background: #E6F0FE; color: #1D4ED8; } .tag--cancelled, .tag--refunded { background: var(--red-50); color: var(--red-700); }

/* Ürün kartı */
.sgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.sgrid--row { grid-auto-flow: column; grid-auto-columns: minmax(210px, 240px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.sgrid--row > * { scroll-snap-align: start; }
.sc { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--g-200); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.sc:hover { box-shadow: 0 10px 30px rgba(14, 15, 18, .08); transform: translateY(-2px); }
.sc__img { position: relative; display: block; aspect-ratio: 1; background: var(--g-50); }
.sc__img > img:first-child { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.sc__badge { position: absolute; width: 44px; height: auto; } .sc__badge--md { width: 56px; } .sc__badge--lg { width: 72px; }
.sc__badge--top-left { left: 8px; top: 8px; } .sc__badge--top-right { right: 8px; top: 8px; } .sc__badge--bottom-left { left: 8px; bottom: 8px; } .sc__badge--bottom-right { right: 8px; bottom: 8px; }
.sc__fav { position: absolute; z-index: 2; right: 10px; top: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--g-500); box-shadow: 0 1px 4px rgba(0,0,0,.12); cursor: pointer; }
.sc__fav .ic { width: 18px; height: 18px; } .sc__fav.is-on { color: var(--red); } .sc__fav.is-on .ic { fill: currentColor; }
.sc__fav--inline { position: static; width: auto; height: 36px; padding: 0 14px; gap: 6px; display: inline-flex; border-radius: 999px; box-shadow: none; border: 1.5px solid var(--g-200); font-weight: 600; }
.sc__body { display: grid; gap: 4px; padding: 12px 14px 6px; flex: 1; }
.sc__brand { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.sc__name { font-weight: 600; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--g-600); }
.sc__season { display: inline-flex; align-items: center; gap: 3px; } .sc__season .ic { width: 14px; height: 14px; }
.sc__season--sun { color: var(--sun); } .sc__season--snow { color: var(--snow); } .sc__season--all { color: var(--all); }
.sc__stars { display: inline-flex; align-items: center; gap: 4px; color: var(--g-500); font-size: 12.5px; text-decoration: none; }
.sc__stars i { --r: 0; position: relative; display: inline-block; font-style: normal; font-size: 14px; letter-spacing: 1px; color: var(--g-300); }
.sc__stars i::before { content: "★★★★★"; }
.sc__stars i::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: calc(var(--r) / 5 * 100%); overflow: hidden; color: #F5A524; white-space: nowrap; }
.sc__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 6px 14px 12px; }
.sc__price b { display: block; font: 800 22px/1 var(--display); color: var(--ink); } .sc__price small { color: var(--g-500); font-size: 11.5px; }
.sc__add { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--red); color: #fff; cursor: pointer; transition: background .2s, transform .1s; }
.sc__add:hover { background: var(--red-600); } .sc__add:active { transform: scale(.94); } .sc__add.is-done { background: var(--ok); }
.sc__cmp { display: flex; align-items: center; gap: 6px; padding: 0 14px 12px; font-size: 12.5px; color: var(--g-600); cursor: pointer; }
.sc__cmp input { accent-color: var(--red); }

/* Katalog */
.cat-bar { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.sortsel { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--g-600); }
.sortsel select, .fsel { height: 40px; padding: 0 10px; border: 1.5px solid var(--g-200); border-radius: var(--r); background: #fff; width: 100%; }
.sortsel select { width: auto; }
.frange { display: flex; align-items: center; gap: 6px; } .frange input { width: 100%; height: 40px; padding: 0 10px; border: 1.5px solid var(--g-200); border-radius: var(--r); }
.fchecks { display: grid; gap: 8px; margin: 12px 0; } .fchecks label { display: flex; gap: 8px; align-items: center; } .fchecks input { accent-color: var(--red); width: 16px; height: 16px; }
.fclear { display: block; text-align: center; margin-top: 10px; font-size: 14px; color: var(--g-600); }
.spager { display: flex; justify-content: center; margin: 20px 0; }
.sgrid.is-loading { opacity: .55; transition: opacity .2s; }
.cmpbar { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; background: var(--ink); color: #fff; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.25); white-space: nowrap; }
.cmpbar .btn--ghost { color: #fff; border-color: rgba(255,255,255,.25); }
@media (max-width: 860px) { .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .cmpbar { bottom: calc(76px + env(safe-area-inset-bottom)); } .sc__price b { font-size: 19px; } .sc__add { width: 40px; height: 40px; } }

/* Ürün sayfası */
.sp { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(260px, .9fr); align-items: start; margin: 8px 0 32px; }
.sp__gallery { background: var(--g-50); border-radius: var(--r-xl); aspect-ratio: 1; display: grid; place-items: center; }
.sp__gallery img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.sp__info h1 { font: 800 clamp(24px, 3vw, 32px)/1.15 var(--display); margin: 6px 0 8px; }
.sp__hl { font-weight: 600; color: var(--g-700); margin: 10px 0; }
.sp__spec { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.sp__spec div { padding: 10px 12px; background: var(--g-50); border-radius: var(--r); } .sp__spec dt { font-size: 12px; color: var(--g-500); } .sp__spec dd { margin: 0; font-weight: 700; }
.eulabel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.eulabel div { display: grid; gap: 4px; padding: 10px; border: 1px solid var(--g-200); border-radius: var(--r); text-align: center; } .eulabel small { font-size: 11.5px; color: var(--g-500); }
.eu { justify-self: center; min-width: 40px; padding: 4px 10px; border-radius: 6px; color: #fff; font: 800 18px/1 var(--display); }
.eu--a { background: #00A651; } .eu--b { background: #50B848; } .eu--c { background: #BED630; color: #222; } .eu--d { background: #FFF200; color: #222; } .eu--e { background: #FDB913; color: #222; } .eu--n { background: var(--ink-3); font-size: 15px; }
.sp__buy { position: sticky; top: 90px; padding: 18px; border: 1px solid var(--g-200); border-radius: var(--r-lg); background: #fff; display: grid; gap: 14px; }
.sp__price b { display: block; font: 800 34px/1 var(--display); } .sp__price small { color: var(--g-500); }
.sp__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--g-700); }
.sp__lines li { display: flex; gap: 8px; align-items: center; } .sp__lines .ic { width: 18px; height: 18px; color: var(--red); flex: none; }
.sp__add { display: flex; gap: 10px; } .sp__add .btn { flex: 1; }
.sp__acts { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .sp__acts .sc__cmp { padding: 0; }
.sp__stock { list-style: none; margin: 0; padding: 10px 12px; background: var(--g-50); border-radius: var(--r); display: grid; gap: 6px; font-size: 14px; }
.sp__stock li { display: flex; justify-content: space-between; }
.sp__desc, .sp__reviews { max-width: 860px; margin: 0 0 32px; } .sp__desc h2, .sp__reviews h2, .sp__h2 { font: 800 24px/1.2 var(--display); margin: 0 0 12px; }
.sp__reviews h2 small { font: 500 15px var(--font); color: var(--g-500); }
.prose p { margin: 0 0 10px; line-height: 1.6; } .prose ul { padding-left: 20px; }
.rv { padding: 14px 0; border-bottom: 1px solid var(--g-100); } .rv header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .rv header small { color: var(--g-500); margin-left: auto; }
.rv h3 { margin: 6px 0 2px; font-size: 15px; } .rv p { margin: 4px 0; color: var(--g-700); }
.rv__v { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--ok); font-weight: 700; } .rv__v .ic { width: 14px; height: 14px; }
.rv blockquote { margin: 8px 0 0; padding: 10px 12px; background: var(--g-50); border-left: 3px solid var(--red); border-radius: 0 var(--r) var(--r) 0; font-size: 14px; }
.rv__form { margin-top: 14px; } .rv__form .co-body { display: grid; gap: 10px; max-width: 520px; margin-top: 12px; }
.stars-in { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; border: 0; padding: 0; margin: 0; }
.stars-in legend { width: 100%; font-size: 14px; margin-bottom: 4px; } .stars-in input { position: absolute; opacity: 0; }
.stars-in label { font-size: 30px; color: var(--g-300); cursor: pointer; }
.stars-in input:checked ~ label, .stars-in label:hover, .stars-in label:hover ~ label { color: #F5A524; }
.stars-in input:focus-visible + label { outline: 2px solid var(--red); border-radius: 4px; }
@media (max-width: 1080px) { .sp { grid-template-columns: 1fr 1fr; } .sp__buy { grid-column: 1 / -1; position: static; } }
@media (max-width: 680px) { .sp { grid-template-columns: 1fr; } .sp__gallery { max-width: 420px; justify-self: center; width: 100%; } }

/* Sepet + kasa */
.co { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; margin-bottom: 40px; }
.co__main { display: grid; gap: 14px; }
.co__side { position: sticky; top: 90px; display: grid; gap: 14px; padding: 18px; border: 1px solid var(--g-200); border-radius: var(--r-lg); background: #fff; }
.co__side h2 { margin: 0; font: 800 20px var(--display); }
.co__box { padding: 18px; border: 1px solid var(--g-200); border-radius: var(--r-lg); background: #fff; margin: 0 0 14px; display: grid; gap: 12px; }
.co__box legend, .co__box h2 { font: 800 18px var(--display); padding: 0 6px; margin: 0; }
.co__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; } .co__lines li { display: flex; justify-content: space-between; gap: 12px; }
.co__login { margin: -6px 0 14px; color: var(--g-600); }
.co__agree { align-items: flex-start; font-size: 13.5px; } .co__agree a { color: var(--red); text-decoration: underline; }
.cline { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto auto 36px; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--g-200); border-radius: var(--r-lg); background: #fff; }
.cline img { width: 80px; height: 80px; object-fit: contain; background: var(--g-50); border-radius: var(--r); }
.cline__info { display: grid; gap: 2px; } .cline__info a { font-weight: 600; color: var(--ink); } .cline__info small { color: var(--g-500); }
.cline__total { font: 800 18px var(--display); white-space: nowrap; }
.cline__rm { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--g-100); color: var(--g-600); cursor: pointer; }
.totals { display: grid; gap: 8px; margin: 0; } .totals div { display: flex; justify-content: space-between; } .totals dt { color: var(--g-600); } .totals dd { margin: 0; font-weight: 600; }
.totals__grand { padding-top: 10px; border-top: 1px solid var(--g-200); } .totals__grand dt, .totals__grand dd { font: 800 20px var(--display); color: var(--ink); }
.opts { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; } .opts--row { grid-template-columns: 1fr 1fr; }
.opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--g-200); border-radius: var(--r); cursor: pointer; }
.opt:has(input:checked) { border-color: var(--red); background: var(--red-50); } .opt input { accent-color: var(--red); margin-top: 3px; }
.opt span { display: grid; gap: 2px; } .opt small { color: var(--g-500); font-size: 12.5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .form-grid .field--full { grid-column: 1 / -1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--g-200); border-radius: var(--r); overflow: hidden; height: 48px; }
.qty button { width: 40px; height: 100%; border: 0; background: var(--g-50); font-size: 20px; cursor: pointer; }
.qty input { width: 52px; height: 100%; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; } .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm { height: 38px; } .qty--sm button { width: 32px; } .qty--sm input { width: 40px; }
@media (max-width: 900px) {
    .co { grid-template-columns: 1fr; } .co__side { position: static; }
    .cline { grid-template-columns: 64px minmax(0, 1fr) 36px; } .cline img { width: 64px; height: 64px; }
    .cline .qty { grid-column: 2; justify-self: start; } .cline__total { grid-column: 3 / 4; grid-row: 2; justify-self: end; } .cline__rm { grid-column: 3; grid-row: 1; }
    .form-grid { grid-template-columns: 1fr; }
}

/* Sipariş sonrası */
.done { text-align: center; padding: 28px 16px; } .done h1 { font: 800 30px var(--display); margin: 10px 0; }
.done__ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #E7F8F1; color: var(--ok); } .done__ic .ic { width: 34px; height: 34px; }
.banks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .banks li { display: grid; gap: 2px; padding: 12px 14px; background: var(--g-50); border-radius: var(--r); } .banks small { color: var(--g-500); }
.iban { justify-self: start; margin-top: 4px; padding: 6px 10px; border: 1px dashed var(--g-300); border-radius: 8px; background: #fff; cursor: copy; font-size: 14px; } .iban.is-copied { border-color: var(--ok); color: var(--ok); }
.cmp th, .cmp td { white-space: normal; vertical-align: top; min-width: 160px; } .cmp thead img { object-fit: contain; }
.link-btn { border: 0; background: none; color: var(--red); cursor: pointer; padding: 0; font-size: 13px; }

/* Toast */
.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 999px; font-weight: 600; transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 860px) { .toast { bottom: calc(84px + env(safe-area-inset-bottom)); } }
/* Arama penceresi: öneriler + ebat ağacı */
.sugg { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; }
.sugg a { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: var(--r); color: var(--ink); }
.sugg a:hover, .sugg a:focus-visible { background: var(--g-50); } .sugg img { width: 44px; height: 44px; object-fit: contain; background: var(--g-50); border-radius: 8px; } .sugg b { white-space: nowrap; }
.tree { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-height: 260px; }
.tree > div { overflow-y: auto; display: grid; align-content: start; gap: 4px; border: 1px solid var(--g-200); border-radius: var(--r); padding: 6px; }
.tree button { display: flex; justify-content: space-between; gap: 6px; padding: 7px 10px; border: 0; border-radius: 8px; background: none; cursor: pointer; font: inherit; text-align: left; }
.tree button:hover { background: var(--g-50); } .tree button.is-on { background: var(--red); color: #fff; } .tree button small { opacity: .7; }
/* Hesabım */
.acc { padding-bottom: 40px; }
.acc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 18px 0 14px; } .acc-head h1 { font: 800 30px var(--display); margin: 0; }
.acc-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px; align-items: start; }
.acc-nav { display: grid; gap: 4px; padding: 8px; border: 1px solid var(--g-200); border-radius: var(--r-lg); background: #fff; position: sticky; top: 90px; }
.acc-nav a, .acc-nav button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r); color: var(--g-700); font-weight: 600; border: 0; background: none; font: inherit; cursor: pointer; width: 100%; }
.acc-nav a:hover, .acc-nav button:hover { background: var(--g-50); } .acc-nav a.is-active { background: var(--red-50); color: var(--red-700); } .acc-nav .ic { width: 18px; height: 18px; }
.acc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.acc-tiles a { display: grid; gap: 2px; padding: 16px; border: 1px solid var(--g-200); border-radius: var(--r-lg); background: #fff; color: var(--g-600); }
.acc-tiles b { font: 800 28px/1 var(--display); color: var(--ink); }
.acc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.acc-list a { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r); background: var(--g-50); color: var(--ink); }
.acc-addr { display: flex; justify-content: space-between; gap: 12px; } .acc-addr p { margin: 6px 0 0; color: var(--g-600); } .acc-addr__act { display: flex; gap: 6px; align-items: flex-start; }
.acc-danger summary { cursor: pointer; color: var(--red-700); font-weight: 700; }
.btn--danger { background: var(--red-50); color: var(--red-700); border: 1px solid #FBD5D5; }
@media (max-width: 860px) {
    .acc-grid { grid-template-columns: 1fr; } .acc-nav { position: static; display: flex; overflow-x: auto; gap: 4px; } .acc-nav a, .acc-nav button { white-space: nowrap; width: auto; }
    .acc-nav form { flex: none; } .acc-list a { grid-template-columns: 1fr auto; } .acc-tiles b { font-size: 22px; }
}
.page-doc .prose h2 { font: 800 20px var(--display); margin: 22px 0 8px; } .page-doc .prose ul { padding-left: 20px; } .page-doc .prose li { margin: 4px 0; line-height: 1.55; } .page-doc { padding-bottom: 40px; }
/* Montaj noktaları + bayi profili */
.pts-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; } .pts-bar select, .pts-bar input { height: 44px; padding: 0 12px; border: 1.5px solid var(--g-200); border-radius: var(--r); background: #fff; }
.pts-bar input { flex: 1 1 200px; }
.pts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-bottom: 40px; }
.pt { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--g-200); border-radius: var(--r-lg); overflow: hidden; }
.pt__img { position: relative; aspect-ratio: 1; background: var(--g-50); display: grid; place-items: center; color: var(--g-300); } .pt__img img { width: 100%; height: 100%; object-fit: cover; }
.pt__img .ic { width: 48px; height: 48px; } .pt__dist { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; }
.pt__body { padding: 14px; display: grid; gap: 8px; } .pt__body h2 { margin: 0; font: 800 20px var(--display); }
.pt__svc { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; } .pt__svc li { display: flex; justify-content: space-between; gap: 10px; } .pt__svc small { color: var(--g-500); font-weight: 500; }
.pt__acts { display: flex; flex-wrap: wrap; gap: 6px; }
.dp { padding-bottom: 40px; } .dp__hero { display: grid; gap: 14px; margin: 18px 0; } .dp__cover { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--r-xl); }
.dp__head h1 { font: 800 clamp(26px, 4vw, 36px) var(--display); margin: 0 0 6px; }
.ph-strip { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 20px; } .ph-strip img { height: 140px; border-radius: var(--r); }
.dp-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-bottom: 20px; }
.dp-card { display: grid; grid-template-columns: 80px 1fr; gap: 10px; padding: 10px; background: #fff; border: 1px solid var(--g-200); border-radius: var(--r-lg); }
.dp-card img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--r); } .dp-card > div { display: grid; gap: 2px; align-content: start; } .dp-card__price { font: 800 18px var(--display); }
