/* Purple Professional — mağaza teması */

/* Jost (SIL Open Font License), sunucudan; Türkçe harfler latin-ext dosyasında */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #141414;
  --ink-2: #3a3a3a;
  --muted: #6b6966;
  --line: #e6e2dc;
  --line-strong: #cfcac2;
  --canvas: #f5f3ef;
  --paper: #ffffff;
  --danger: #b42318;
  --ok: #1d7a4a;

  /* etiketlerdeki seri renkleri */
  --matte: #e8772a;
  --gel: #5872c9;
  --lotion: #22a866;
  --accent: var(--ink);

  --font: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

.p-accent--matte { --accent: var(--matte); }
.p-accent--gel { --accent: var(--gel); }
.p-accent--lotion { --accent: var(--lotion); }

/* ---------- temel ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body.p-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.p-body a { color: inherit; text-decoration: none; }
:where(body.p-body) img { max-width: 100%; height: auto; }
body.p-body :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
body.p-body ::selection { background: var(--ink); color: #fff; }

.p-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* spam koruması: insanlar görmez, ekran okuyucular atlar */
.p-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.p-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.p-skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff !important; }
.p-skip:focus { top: 8px; }

.p-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.p-ic, .p-iconbtn svg, .p-qty__btn svg {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.p-eyebrow {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}

.p-h1, .p-h2, .p-h3, .p-h4 { margin: 0; font-weight: 300; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
.p-h1 { font-size: clamp(2rem, 4vw, 3rem); }
.p-h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.p-h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.p-h4 { font-size: 1.125rem; font-weight: 500; letter-spacing: 0; }
.p-lead { font-size: 1.125rem; color: var(--ink-2); max-width: 36em; }
.p-muted { color: var(--muted); }
.p-error { display: block; color: var(--danger); font-size: 13px; }

.p-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: .1em; }
.p-tag { margin: 0 0 10px; font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--ink-2); }

.p-prose { color: var(--ink-2); }
.p-prose p { margin: 0 0 .8em; }
.p-prose p:last-child { margin-bottom: 0; }
.p-prose a { text-decoration: underline !important; text-underline-offset: 3px; }
.p-prose h2, .p-prose h3, .p-prose h4 { margin: 1.6em 0 .6em; font-size: 1.125rem; font-weight: 500; color: var(--ink); }
.p-prose ul, .p-prose ol { margin: 0 0 1.2em; padding-left: 1.2em; }
.p-prose li { margin-bottom: .45em; }
.p-prose li::marker { color: var(--muted); }
.p-prose strong { font-weight: 600; color: var(--ink); }
.p-prose h2 { margin-top: 2em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: 1.375rem; font-weight: 400; letter-spacing: -.01em; }
.p-prose h2:first-child, .p-prose .p-lead + h2 { margin-top: 1.2em; }
.p-prose h3 { margin: 1.6em 0 .5em; font-size: 1.0625rem; font-weight: 600; }
.p-prose .p-lead { margin-bottom: 1.6em; font-size: 1.1875rem; line-height: 1.55; color: var(--ink); }
.p-company { margin: 0 0 1.2em; }
.p-company > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.p-company dt { color: var(--muted); font-weight: 400; }
.p-company dd { margin: 0; color: var(--ink); }
.p-updated { margin-top: 2.4em !important; font-size: 13px; color: var(--muted); }

/* ---------- düğmeler ---------- */

.p-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 30px;
  border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: #fff !important;
  font: 500 14px/1 var(--font); letter-spacing: .03em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.p-btn:hover { background: #2c2c2c; border-color: #2c2c2c; }
.p-btn:disabled { opacity: .5; cursor: default; }
.p-btn--ghost { background: transparent; color: var(--ink) !important; border-color: var(--line-strong); }
.p-btn--ghost:hover { background: var(--ink); color: #fff !important; border-color: var(--ink); }
.p-btn--light { background: #fff; border-color: #fff; color: var(--ink) !important; }
.p-btn--light:hover { background: var(--canvas); border-color: var(--canvas); }
.p-btn--small { min-height: 40px; padding: 0 18px; }
.p-btn--block { display: flex; width: 100%; }
.p-btn--grow { flex: 1; }

.p-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 0 3px; border: 0; border-bottom: 1px solid currentColor; background: none;
  font: 500 14px/1.4 var(--font); color: var(--ink); cursor: pointer;
}
.p-link .p-ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.p-link:hover .p-ic { transform: translateX(4px); }
.p-link--muted { border-bottom-color: transparent; color: var(--muted); font-weight: 400; font-size: 13px; padding: 0; }
.p-link--muted:hover { color: var(--ink); border-bottom-color: currentColor; }
.p-link--light { color: #fff; }

.p-iconbtn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color .2s var(--ease);
}
.p-iconbtn:hover { background: var(--canvas); }

/* ---------- duyuru + üst bilgi ---------- */

.p-announce {
  display: flex; justify-content: center; align-items: center; gap: 14px;
  min-height: 36px; padding: 6px var(--gutter);
  background: var(--ink); color: #fff;
  font-size: 12px; letter-spacing: .06em; text-align: center;
}
.p-announce__dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, .5); }

.p-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.p-header__inner { display: flex; align-items: center; gap: 40px; height: var(--header-h); }
.p-header__menu { display: none; margin-left: -10px; }

.p-logo { display: inline-flex; color: var(--ink); }
.p-logo svg { width: auto; height: 22px; display: block; }

.p-nav { display: flex; gap: 32px; }
.p-nav a { position: relative; font-size: 14px; font-weight: 500; letter-spacing: .02em; padding: 6px 0; }
.p-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.p-nav a:hover::after { transform: scaleX(1); }

.p-header__actions { display: flex; align-items: center; gap: 2px; margin-left: auto; margin-right: -10px; }

.p-cart__count {
  position: absolute; top: 6px; right: 4px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 600; line-height: 17px; text-align: center;
}

.p-searchbar { border-top: 1px solid var(--line); background: var(--paper); padding: 14px 0; }
.p-searchbar[hidden] { display: none; }

.p-search { display: flex; align-items: center; gap: 12px; }
.p-search > .p-ic { color: var(--muted); }
.p-search__input {
  flex: 1; min-width: 0; height: 44px; padding: 0;
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  background: transparent; font: 400 16px var(--font); color: var(--ink);
}
.p-search__input:focus { outline: none; border-bottom-color: var(--ink); }
.p-search__input::-webkit-search-cancel-button { display: none; }
.p-search--page { max-width: 640px; margin-top: 24px; }

/* ---------- çekmeceler ---------- */

.p-drawer { position: fixed; inset: 0; z-index: 60; background: rgba(20, 20, 20, .32); opacity: 0; transition: opacity .3s var(--ease); }
.p-drawer.is-open { opacity: 1; }
.p-drawer[hidden] { display: none; }
.p-drawer__panel {
  position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column;
  width: min(420px, 100%); background: var(--paper);
  transition: transform .35s var(--ease);
}
.p-drawer--right .p-drawer__panel { right: 0; transform: translateX(100%); }
.p-drawer--left .p-drawer__panel { left: 0; width: min(360px, 88%); transform: translateX(-100%); }
.p-drawer.is-open .p-drawer__panel { transform: none; }
.p-drawer__head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 14px 0 24px; border-bottom: 1px solid var(--line); }
.p-drawer__head .p-eyebrow { margin: 0; color: var(--ink); }
.p-drawer__nav { display: flex; flex-direction: column; padding: 16px 24px; }
.p-drawer__nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 300; letter-spacing: -.01em; }
.p-drawer__foot { margin-top: auto; padding: 20px 24px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
#p-menu .p-drawer__foot a { font-size: 14px; color: var(--ink-2); }
.p-drawer__empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px 24px; color: var(--muted); }

.p-minicart { flex: 1; overflow-y: auto; margin: 0; padding: 0 24px; list-style: none; }
.p-minicart__item { display: grid; grid-template-columns: 60px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.p-minicart__img { background: var(--canvas); }
.p-minicart__img img { display: block; width: 60px; height: 90px; object-fit: contain; }
.p-minicart__body { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.p-minicart__name { font-size: 15px; font-weight: 500; line-height: 1.35; }
.p-minicart__meta { font-size: 13px; color: var(--muted); }
.p-minicart__body form { margin-top: 6px; }
.p-minicart__price { font-size: 14px; font-weight: 500; white-space: nowrap; }

.p-totals { margin: 0 0 6px; }
.p-totals__row { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 14px; color: var(--ink-2); }
.p-totals__row dt { font-weight: 400; }
.p-totals__row dd { margin: 0; white-space: nowrap; }
.p-totals__row--grand { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 600; color: var(--ink); }
.p-totals__row--grand dt { font-weight: 600; }

/* ---------- bildirimler (#alert) ---------- */

.p-toasts {
  position: fixed; z-index: 80; right: 24px; top: 24px;
  display: flex; flex-direction: column; gap: 8px;
  width: min(380px, calc(100% - 32px)); pointer-events: none;
}
.p-toasts .alert {
  position: relative; margin: 0; padding: 16px 44px 16px 18px;
  border: 0; border-radius: var(--radius);
  background: var(--ink); color: #fff;
  font-size: 14px; line-height: 1.5;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
  pointer-events: auto;
  animation: p-toast .35s var(--ease);
}
.p-toasts .alert a { color: #fff; text-decoration: underline; }
.p-toasts .alert-danger { background: var(--danger); }
.p-toasts .alert i { display: none; }
.p-toasts .btn-close { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); filter: invert(1); opacity: .7; padding: 6px; }
@keyframes p-toast { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- ana sayfa ---------- */

.p-hero { padding: clamp(32px, 6vw, 72px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.p-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.p-hero__title { margin: 0; font-size: clamp(2.6rem, 5.4vw, 4.5rem); font-weight: 300; line-height: 1.02; letter-spacing: -.03em; }
.p-hero__lead { max-width: 30em; margin: 28px 0 0; font-size: 1.0625rem; color: var(--ink-2); }
.p-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 36px; }
.p-hero__media { margin: 0; }
.p-hero__media img {
  display: block; width: 100%; max-height: min(82vh, 760px); object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%), linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%), linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
}

.p-section { padding: clamp(56px, 8vw, 104px) 0; }
.p-section--tight { padding: clamp(36px, 5vw, 56px) 0; }
.p-section--canvas { background: var(--canvas); }
.p-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.p-section__head--center { flex-direction: column; align-items: center; text-align: center; }
.p-section__head--center .p-eyebrow { margin-bottom: 10px; }

.p-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.p-split__aside { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.p-split__aside .p-eyebrow { margin: 0; }
.p-split__aside p { margin: 0; max-width: 22em; }

.p-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.p-compare__item { display: flex; flex-direction: column; }
.p-compare__item img {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%), linear-gradient(to right, transparent 18%, #000 30%, #000 70%, transparent 82%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%), linear-gradient(to right, transparent 18%, #000 30%, #000 70%, transparent 82%);
  mask-composite: intersect;
}
.p-compare__body { position: relative; padding-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.p-compare__body::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 2px; background: var(--accent); }
.p-compare__body .p-muted { margin: 0; }
.p-compare__body .p-link { margin-top: 10px; }

.p-checks { margin: 8px 0 0; padding: 0; list-style: none; width: 100%; }
.p-checks li { position: relative; padding: 11px 0 11px 28px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.p-checks li:last-child { border-bottom: 1px solid var(--line); }
.p-checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 11px; height: 6px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }

.p-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.p-facts > div { padding: 8px 24px; border-left: 1px solid var(--line-strong); }
.p-facts > div:first-child { border-left: 0; padding-left: 0; }
.p-facts dt { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.2; }
.p-facts dd { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

.p-band { padding: clamp(56px, 8vw, 104px) 0; background: var(--ink); color: #fff; }
.p-band .p-h2 { color: #fff; }
.p-band .p-eyebrow { color: rgba(255, 255, 255, .6); }
.p-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.p-band__side p { margin: 0 0 28px; color: rgba(255, 255, 255, .75); max-width: 30em; }
.p-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }

.p-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.p-services li { display: flex; gap: 14px; align-items: flex-start; }
.p-services .p-ic { width: 26px; height: 26px; stroke-width: 1.25; margin-top: 2px; }
.p-services div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.p-services strong { font-weight: 500; font-size: 15px; }
.p-services span, .p-services a { color: var(--muted); }
.p-services a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- ürün kartı ---------- */

.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 40px 24px; }
.p-grid--feature { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }

.p-card { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.p-card__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--paper); overflow: hidden; }
.p-section--canvas .p-card__media { background: var(--paper); }
.p-listing .p-card__media, .p-related .p-card__media { background: var(--canvas); }
.p-card__media::after { content: ""; position: absolute; left: 24px; top: 24px; width: 2px; height: 32px; background: var(--accent); }
.p-card__media img { position: absolute; inset: 6% 0; width: 100%; height: 88%; object-fit: contain; transition: transform .6s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.035); }
.p-card__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.p-card__title { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.p-card__sub { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.p-card__form { margin-top: auto; }

.p-price { margin: 0; font-size: 16px; font-weight: 500; white-space: nowrap; }
.p-price ins { text-decoration: none; }
.p-price del { margin-left: 6px; font-weight: 400; color: var(--muted); font-size: .85em; }
.p-price--lg { font-size: 24px; letter-spacing: -.01em; }

/* ---------- sayfa iskeleti ---------- */

.p-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 22px 0; font-size: 13px; color: var(--muted); }
.p-crumbs > * + *::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.p-crumbs a:hover { color: var(--ink); }
.p-crumbs [aria-current] { color: var(--ink); }

.p-listing { padding-bottom: clamp(56px, 8vw, 104px); }
.p-listing__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 16px 0 clamp(28px, 4vw, 48px); }
.p-listing__head--stack { flex-direction: column; align-items: stretch; }
.p-listing__desc { margin-top: 14px; max-width: 40em; }
.p-listing__tools { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.p-listing__tools--bar { justify-content: space-between; padding: 14px 0; margin-bottom: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.p-select {
  height: 40px; padding: 0 32px 0 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 12px center / 10px;
  font: 400 14px var(--font); color: var(--ink);
  -webkit-appearance: none; appearance: none;
}

.p-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.p-chip { padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 40px; font-size: 14px; }
.p-chip:hover { border-color: var(--ink); }

.p-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 48px 0 24px; color: var(--ink-2); }
.p-empty p { margin: 0; }

.p-pagination { margin-top: 48px; }
.p-pagination .pagination, body.p-body .pagination { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
body.p-body .page-link { display: block; min-width: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: none; color: var(--ink); text-align: center; font-size: 14px; }
body.p-body .page-item.active .page-link { background: var(--ink); border-color: var(--ink); color: #fff; }

.p-page { padding-bottom: clamp(56px, 8vw, 104px); }
.p-page__body { max-width: 760px; padding-top: 16px; }
.p-page__body .p-h1 { margin-bottom: 32px; }

.p-notfound { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(48px, 10vw, 140px) 0; max-width: 640px; }
.p-notfound .p-lead, .p-notfound .p-eyebrow { margin: 0; }

/* ---------- ürün sayfası ---------- */

.p-product { padding-bottom: clamp(40px, 6vw, 80px); }
.p-product__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }

.p-gallery__track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.p-gallery__slide { grid-column: span 3; }
/* 3 ek görsel varsa tek sırada üçlü */
.p-gallery__slide:nth-child(2):nth-last-child(3), .p-gallery__slide:nth-child(2):nth-last-child(3) ~ .p-gallery__slide { grid-column: span 2; }
.p-gallery__slide { position: relative; margin: 0; aspect-ratio: 4 / 5; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.p-gallery__slide:first-child { grid-column: 1 / -1; }
.p-gallery__slide img { position: absolute; inset: 5% 0; width: 100%; height: 90%; object-fit: contain; }
.p-gallery__dots { display: none; }

.p-product__sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.p-product__title { margin: 0; font-size: clamp(2.25rem, 3.6vw, 3.25rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; }
.p-product__sub { margin: 12px 0 0; font-size: 15px; color: var(--ink-2); }
.p-product__price { display: flex; align-items: baseline; gap: 12px; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.p-product__price .p-muted { font-size: 13px; }
.p-discounts { margin: 10px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.p-product__desc { margin: 24px 0 0; font-size: 15px; }

.p-buy { margin-top: 28px; }
.p-buy__row { display: flex; gap: 12px; }
.p-field { margin-bottom: 18px; }
.p-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.p-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.p-choice { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 14px; cursor: pointer; }
.p-choice .form-check-input { margin: 0; }

.p-qty { display: inline-flex; align-items: center; height: 50px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.p-qty__btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 100%; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.p-qty__btn svg { width: 16px; height: 16px; }
.p-qty__input { width: 36px; height: 100%; padding: 0; border: 0; background: none; text-align: center; font: 500 15px var(--font); color: var(--ink); -moz-appearance: textfield; }
.p-qty__input::-webkit-outer-spin-button, .p-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.p-qty__input:focus { outline: none; }
.p-qty:focus-within { border-color: var(--ink); }
.p-qty--sm { height: 38px; }
.p-qty--sm .p-qty__btn { width: 34px; }

.p-perks { display: flex; flex-direction: column; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.p-perks li { display: flex; align-items: center; gap: 12px; }
.p-perks .p-ic { width: 20px; height: 20px; color: var(--ink); }
.p-perks--sm { margin-top: 20px; font-size: 13px; }

.p-accordion { margin-top: 32px; border-top: 1px solid var(--line); }
.p-accordion details { border-bottom: 1px solid var(--line); }
.p-accordion summary { position: relative; display: block; padding: 18px 32px 18px 0; font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; }
.p-accordion summary::-webkit-details-marker { display: none; }
.p-accordion summary::before, .p-accordion summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease); }
.p-accordion summary::after { transform: rotate(90deg); }
.p-accordion details[open] summary::after { transform: rotate(0); }
.p-accordion details > :not(summary) { padding-bottom: 22px; font-size: 14px; }

.p-specs { margin: 0; }
.p-specs > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.p-specs > div:first-child { border-top: 0; padding-top: 0; }
.p-specs dt { font-weight: 400; color: var(--muted); }
.p-specs dd { margin: 0; color: var(--ink-2); }

.p-related { padding-bottom: 0; }

/* Ürün hakkında: açıklamanın ayrıntıları ve sık sorulan sorular */
.p-about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: 0; }
.p-about--single { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.p-about__text { max-width: 68ch; font-size: 15px; }
.p-about__text > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.p-about__faq { position: sticky; top: calc(var(--header-h) + 24px); }
.p-about__title { margin: 0; font-size: 1.375rem; font-weight: 400; letter-spacing: -.01em; line-height: 1.25; color: var(--ink); }
.p-about__faq .p-accordion { margin-top: 20px; }

/* ---------- sepet sayfası ---------- */

.p-cartpage { padding-bottom: clamp(56px, 8vw, 104px); }
.p-cartpage .p-h1 { margin: 8px 0 32px; }
.p-cartpage__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.p-cartlist { border-top: 1px solid var(--line); }
.p-cartlist__item { display: grid; grid-template-columns: 88px 1fr auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.p-cartlist__img { background: var(--canvas); }
.p-cartlist__img img { display: block; width: 88px; height: 132px; object-fit: contain; }
.p-cartlist__body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 14px; }
.p-cartlist__name { font-size: 17px; font-weight: 500; }
.p-cartlist__form { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 10px; }
.p-cartlist__total { font-size: 16px; font-weight: 500; white-space: nowrap; }
body.p-body .p-cartlist .btn-danger { background: none; border: 0; padding: 0; color: var(--muted); }
body.p-body .p-cartlist .btn-danger:hover { color: var(--danger); }
.p-summary { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--canvas); }
.p-summary .p-h4 { margin-bottom: 10px; }
.p-summary .p-totals { margin-bottom: 14px; }
.p-summary__modules { margin-top: 14px; }

/* ---------- iletişim ---------- */

.p-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding: 16px 0 0; }
.p-contact__info .p-lead { margin: 20px 0 32px; }
.p-specs--contact > div { grid-template-columns: 140px 1fr; padding: 14px 0; }
.p-specs--contact > div:first-child { padding-top: 14px; border-top: 1px solid var(--line); }
.p-specs--contact a { text-decoration: underline; text-underline-offset: 3px; }
.p-contact__form { padding: clamp(24px, 4vw, 40px); background: var(--canvas); }
.p-contact__form .p-h4 { margin-bottom: 22px; }

/* ---------- alt bilgi ---------- */

.p-footer { margin-top: 0; padding: clamp(56px, 7vw, 88px) 0 28px; background: var(--paper); border-top: 1px solid var(--line); font-size: 14px; }
.p-footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.p-footer__logo { display: inline-block; color: var(--ink); align-self: start; }
.p-footer__logo svg { display: block; width: 170px; height: auto; }
.p-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.p-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: var(--ink-2); }
.p-footer__col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.p-footer__col a, .p-footer__col span { display: inline-flex; align-items: flex-start; gap: 10px; }
.p-footer__col .p-ic { width: 17px; height: 17px; margin-top: 2px; color: var(--muted); }
.p-footer__title { margin: 0 0 6px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.p-footer__muted { color: var(--muted); }
.p-footer__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px 32px; margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.p-footer__bottom p { margin: 0; }
.p-footer__pay { display: block; width: 322px; max-width: 100%; height: auto; }
.p-credit { justify-self: end; color: var(--muted); white-space: nowrap; }
.p-credit a { display: inline-block; margin: 0 3px; vertical-align: -6px; }
.p-credit img { display: block; width: 60px; height: 20px; opacity: .9; transition: opacity .2s var(--ease); }
.p-credit a:hover img { opacity: 1; }

/* ---------- değerlendirmeler ---------- */

.p-reviews { margin-bottom: 20px; }
.p-review-list { margin: 0; padding: 0; list-style: none; }
.p-review-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.p-review-list p { margin: 6px 0 0; }
.p-review-list__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; }
.p-stars { letter-spacing: 2px; color: var(--line-strong); }
.p-stars .is-on { color: var(--ink); }
.p-review-form { padding-top: 18px; border-top: 1px solid var(--line); }
.p-review-form .p-h4 { margin-bottom: 16px; }
.p-rating-input { display: flex; gap: 16px; }
.p-rating-input label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }

/* ---------- Bootstrap'sız (hafif) sayfalar için gerekli temel kurallar ---------- */

.p-lite { -webkit-text-size-adjust: 100%; }
:where(.p-lite) :where(button, input, select, textarea) { margin: 0; font: inherit; color: inherit; }
:where(.p-lite) :where(h1, h2, h3, h4, p, ul, ol, dl, figure) { margin-top: 0; }
:where(.p-lite) :where(p) { margin-bottom: 1rem; }
:where(.p-lite) :where(img, svg) { vertical-align: middle; }
.p-lite [hidden] { display: none !important; }
:where(.p-lite) :where(b, strong) { font-weight: 600; }
:where(.p-lite) :where(fieldset) { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
:where(.p-lite) :where(legend) { margin-bottom: 8px; padding: 0; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.p-lite .mb-1 { margin-bottom: 6px; }
.p-lite .mb-3 { margin-bottom: 18px; }
.p-lite .d-block { display: block !important; }
.p-lite .d-none { display: none !important; }
.p-lite .text-end { text-align: right; }
.p-lite .text-center { text-align: center; }
.p-lite .form-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.p-lite .form-control, .p-lite .form-select {
  display: block; width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background-color: var(--paper); font-size: 16px; line-height: 1.5; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.p-lite textarea.form-control { min-height: 120px; resize: vertical; }
.p-lite .form-select { padding-right: 36px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 14px center / 10px; }
.p-lite .form-control:focus, .p-lite .form-select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.p-lite .form-control.is-invalid, .p-lite .form-select.is-invalid, .p-lite .is-invalid .form-control { border-color: var(--danger); }
.p-lite .invalid-feedback { display: none; margin-top: 6px; font-size: 13px; color: var(--danger); }
.p-lite .form-check-input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); vertical-align: middle; }
.p-lite #captcha { margin-top: 8px; }
.p-lite main .alert { position: relative; margin-bottom: 16px; padding: 14px 44px 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); font-size: 14px; }
.p-lite main .alert-danger { border-color: #f1c4bf; background: #fdf3f2; color: var(--danger); }
.p-lite main .alert-success { border-color: #bfe0cd; background: #f1f8f4; color: var(--ok); }
.p-lite .btn-close {
  position: absolute; top: 50%; right: 12px; width: 28px; height: 28px; padding: 0; margin-top: -14px;
  border: 0; background: none; color: inherit; opacity: .75; cursor: pointer;
}
.p-lite .btn-close::before, .p-lite .btn-close::after { content: ""; position: absolute; left: 7px; right: 7px; top: 13px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.p-lite .btn-close::after { transform: rotate(-45deg); }
.p-lite .p-toasts .btn-close { filter: none; transform: none; color: #fff; }
/* common.js "yükleniyor" düğmesi: Font Awesome yerine CSS dönen halka */
.p-lite .fa-circle-notch { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: p-spin .7s linear infinite; vertical-align: -3px; }
.p-lite .p-btn--ghost .fa-circle-notch { color: var(--ink); }
@keyframes p-spin { to { transform: rotate(360deg); } }

/* ---------- çekirdek sayfalar (hesap, ödeme) için Bootstrap uyarlaması ---------- */

body.p-body main > .container { max-width: calc(var(--wrap) + 2 * var(--gutter)); padding: 0 var(--gutter) clamp(56px, 8vw, 104px); }
body.p-body main > .container > .row { --bs-gutter-x: 48px; }
:where(body.p-body main) h1 { margin: 8px 0 28px; font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; }
:where(body.p-body main) h2 { font-size: 1.5rem; font-weight: 300; letter-spacing: -.01em; }
:where(body.p-body main) h3, :where(body.p-body main) legend { font-size: 1.125rem; font-weight: 500; letter-spacing: 0; }
:where(body.p-body main) legend { margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
:where(body.p-body main) fieldset { margin-bottom: 24px; }
:where(body.p-body main) hr { border-color: var(--line); opacity: 1; }

body.p-body .breadcrumb { margin: 0; padding: 22px 0; background: none; font-size: 13px; color: var(--muted); }
body.p-body .breadcrumb-item + .breadcrumb-item::before { content: "/"; color: var(--line-strong); }
body.p-body .breadcrumb a { color: var(--muted); }

body.p-body .btn { padding: 13px 26px; border-radius: var(--radius); font-size: 14px; font-weight: 500; letter-spacing: .02em; box-shadow: none !important; }
body.p-body .btn-lg { padding: 15px 30px; }
body.p-body .btn-sm { padding: 6px 12px; font-size: 13px; }
body.p-body .btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
body.p-body .btn-primary:hover, body.p-body .btn-primary:focus, body.p-body .btn-primary:active { background: #2c2c2c; border-color: #2c2c2c; color: #fff; }
body.p-body .btn-light, body.p-body .btn-secondary, body.p-body .btn-default, body.p-body .btn-outline-secondary, body.p-body .btn-outline-primary, body.p-body .btn-info, body.p-body .btn-warning {
  background: transparent; border: 1px solid var(--line-strong); color: var(--ink);
}
body.p-body .btn-light:hover, body.p-body .btn-secondary:hover, body.p-body .btn-default:hover, body.p-body .btn-outline-secondary:hover, body.p-body .btn-outline-primary:hover, body.p-body .btn-info:hover, body.p-body .btn-warning:hover {
  background: var(--ink); border-color: var(--ink); color: #fff;
}
body.p-body .btn-danger { background: transparent; border: 1px solid var(--line-strong); color: var(--danger); }
body.p-body .btn-danger:hover { background: var(--danger); border-color: var(--danger); color: #fff; }

body.p-body .form-control, body.p-body .form-select {
  min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 15px; color: var(--ink); box-shadow: none;
}
body.p-body textarea.form-control { min-height: 120px; }
body.p-body .form-control:focus, body.p-body .form-select:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
body.p-body .form-control.is-invalid, body.p-body .form-select.is-invalid { border-color: var(--danger); background-image: none; }
body.p-body .invalid-feedback { color: var(--danger); font-size: 13px; }
body.p-body .col-form-label, body.p-body .form-label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
body.p-body .required .col-form-label::before, body.p-body .required .form-label::before, body.p-body .p-field.required .p-label::after { content: "*"; margin-right: 4px; color: var(--danger); }
body.p-body .p-field.required .p-label::after { margin: 0 0 0 4px; }
body.p-body .form-check-input { border-color: var(--line-strong); }
body.p-body .form-check-input:checked { background-color: var(--ink); border-color: var(--ink); }
body.p-body .form-check-input:focus { box-shadow: 0 0 0 2px rgba(20, 20, 20, .15); border-color: var(--ink); }
body.p-body .input-group-text { border-color: var(--line-strong); background: var(--canvas); border-radius: var(--radius); }

body.p-body .card { border: 1px solid var(--line); border-radius: 0; }
body.p-body .card-header { background: var(--canvas); border-bottom: 1px solid var(--line); font-weight: 500; }
body.p-body .table { --bs-table-striped-bg: var(--canvas); font-size: 14px; border-color: var(--line); }
body.p-body .table > :not(caption) > * > * { padding: 12px; }
body.p-body .table-bordered > :not(caption) > * { border-color: var(--line); }
body.p-body .img-thumbnail { border: 0; border-radius: 0; background: var(--canvas); padding: 4px; }

body.p-body .list-group { border-radius: 0; }
body.p-body .list-group-item { border-color: var(--line); padding: 12px 16px; font-size: 14px; color: var(--ink-2); }
body.p-body .list-group-item:hover { background: var(--canvas); color: var(--ink); }
body.p-body .list-group-item.active { background: var(--ink); border-color: var(--ink); color: #fff; }

body.p-body .nav-tabs { border-color: var(--line); }
body.p-body .nav-tabs .nav-link { border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--muted); }
body.p-body .nav-tabs .nav-link.active { color: var(--ink); border-bottom-color: var(--ink); background: none; }

body.p-body .accordion { --bs-accordion-border-color: var(--line); --bs-accordion-border-radius: 0; --bs-accordion-inner-border-radius: 0; --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: var(--canvas); --bs-accordion-active-color: var(--ink); }
body.p-body .accordion-button { font-size: 15px; font-weight: 500; }

body.p-body main .alert { border-radius: var(--radius); border: 1px solid var(--line); background: var(--canvas); color: var(--ink); font-size: 14px; }
body.p-body main .alert-danger { border-color: #f1c4bf; background: #fdf3f2; color: var(--danger); }
body.p-body main .alert-success { border-color: #bfe0cd; background: #f1f8f4; color: var(--ok); }
body.p-body main .alert-warning, body.p-body main .alert-info { border-color: var(--line-strong); }

body.p-body #cookie { border-radius: 0; border-top: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 14px; box-shadow: 0 -8px 24px rgba(0, 0, 0, .06); }

/* ---------- blog ---------- */

.p-blog__head { max-width: 720px; padding: 8px 0 clamp(28px, 4vw, 44px); }
.p-blog__head .p-eyebrow { margin: 0 0 14px; }
.p-blog__head .p-lead { margin: 18px 0 0; }
.p-blog__topics { margin-bottom: clamp(28px, 4vw, 48px); }
.p-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.p-blog__empty { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--ink-2); }

.p-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 32px); }
.p-post { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.p-post__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--canvas); }
.p-post__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.p-post:hover .p-post__media img { transform: scale(1.03); }
.p-post__body { display: flex; flex-direction: column; gap: 10px; }
.p-post__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: 12px; letter-spacing: .03em; color: var(--muted); }
.p-post__meta > span:first-child:not(:last-child) { color: var(--ink); font-weight: 500; }
.p-post__title { margin: 0; font-size: 1.25rem; font-weight: 400; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.p-post__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.p-post__excerpt { margin: 0; font-size: 15px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.p-post--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding-bottom: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.p-post--featured .p-post__title { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 300; line-height: 1.15; letter-spacing: -.02em; }
.p-post--featured .p-post__excerpt { font-size: 16px; -webkit-line-clamp: 4; }

.p-article { padding-bottom: clamp(48px, 7vw, 96px); }
.p-article__head { max-width: 860px; padding: 8px 0 clamp(24px, 3vw, 40px); }
.p-article__topic { display: inline-block; margin: 0 0 16px; }
.p-article__topic:hover { color: var(--ink); }
.p-article__title { margin: 0; font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 300; line-height: 1.08; letter-spacing: -.025em; color: var(--ink); }
.p-article__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 20px 0 0; font-size: 13px; color: var(--muted); }
.p-article__meta > * + *::before { content: "·"; margin-right: 14px; }
.p-article__media { margin: 0 0 clamp(36px, 5vw, 72px); aspect-ratio: 16 / 9; overflow: hidden; background: var(--canvas); }
.p-article__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.p-article__layout { display: grid; grid-template-columns: 220px minmax(0, 720px); justify-content: center; gap: clamp(32px, 5vw, 88px); }
.p-article__layout--single { grid-template-columns: minmax(0, 720px); }
.p-toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; font-size: 14px; }
.p-toc__title { margin: 0 0 12px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.p-toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.p-toc a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 1px solid transparent; color: var(--ink-2); line-height: 1.4; }
.p-toc a:hover { border-left-color: var(--ink); color: var(--ink); }

.p-article__body { font-size: 17px; line-height: 1.75; }
.p-article__body > p:first-child { font-size: 1.1875rem; line-height: 1.6; color: var(--ink); }
.p-article__body table { display: block; width: 100%; max-width: 100%; margin: 0 0 1.4em; overflow-x: auto; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.p-article__body th, .p-article__body td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.p-article__body th { background: var(--canvas); font-weight: 600; color: var(--ink); white-space: nowrap; }
.p-article__back { margin-top: 2.6em !important; padding-top: 1.6em; border-top: 1px solid var(--line); }
.p-ic--flip { transform: scaleX(-1); }
.p-link:hover .p-ic--flip { transform: scaleX(-1) translateX(4px); }

@media (max-width: 960px) {
  .p-about { grid-template-columns: minmax(0, 1fr); }
  .p-about__faq { position: static; }
  .p-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-post--featured { grid-template-columns: minmax(0, 1fr); }
  .p-article__layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .p-toc { position: static; padding: 18px 20px; background: var(--canvas); }
  .p-toc ol { border-left: 0; }
  .p-toc a { margin: 0; padding: 5px 0; border: 0; }
}

@media (max-width: 600px) {
  .p-posts { grid-template-columns: minmax(0, 1fr); }
  .p-posts--row { display: flex; gap: 16px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .p-posts--row::-webkit-scrollbar { display: none; }
  .p-posts--row .p-post { flex: 0 0 82%; scroll-snap-align: start; }
  .p-article__media { aspect-ratio: 3 / 2; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .p-article__body { font-size: 16px; }
  .p-article__body > p:first-child { font-size: 1.0625rem; }
}

/* ---------- çerez bandı ---------- */

.p-cookie { position: fixed; z-index: 60; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 20px 28px; width: min(760px, calc(100% - 2 * var(--gutter))); padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(20, 20, 20, .12); }
.p-cookie__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.p-cookie__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.p-cookie__actions { display: flex; flex-shrink: 0; gap: 10px; }
.p-cookie .p-btn { min-height: 42px; padding: 0 20px; }

@media (max-width: 600px) {
  .p-cookie { flex-direction: column; align-items: stretch; bottom: 12px; padding: 16px; }
  .p-cookie__actions > * { flex: 1; }
}

/* ---------- duyarlı düzen ---------- */

@media (max-width: 1024px) {
  .p-header__inner { gap: 24px; }
  .p-nav { gap: 24px; }
  .p-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .p-cartpage__grid { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 860px) {
  :root { --header-h: 60px; }

  .p-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; }
  .p-header__menu { display: inline-flex; justify-self: start; }
  .p-logo { justify-self: center; }
  .p-logo svg { height: 18px; }
  .p-nav { display: none; }
  .p-header__actions { justify-self: end; }
  .p-header__account { display: none; }

  .p-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .p-hero__media { order: -1; margin: 0 calc(-1 * var(--gutter)); }
  .p-hero__media img { max-height: 58vh; object-fit: contain; }

  .p-split { grid-template-columns: minmax(0, 1fr); }
  .p-split__aside { position: static; }

  .p-band__grid, .p-contact, .p-footer__top { grid-template-columns: minmax(0, 1fr); }
  .p-footer__bottom { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 18px; }
  .p-footer__pay { order: -1; }
  .p-credit { justify-self: start; }

  .p-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .p-facts > div:nth-child(3) { border-left: 0; padding-left: 0; }

  .p-product__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .p-product__sticky { position: static; }
  .p-gallery { margin: 0 calc(-1 * var(--gutter)); }
  .p-gallery__track {
    display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .p-gallery__track::-webkit-scrollbar { display: none; }
  .p-gallery__slide { flex: 0 0 100%; scroll-snap-align: start; box-shadow: none; }
  .p-gallery__dots { display: flex; justify-content: center; gap: 8px; padding: 14px 0 0; }
  .p-gallery__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); transition: background-color .2s; }
  .p-gallery__dots span.is-active { background: var(--ink); }

  .p-cartpage__grid { grid-template-columns: minmax(0, 1fr); }
  .p-summary { position: static; }

  .p-listing__head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .p-announce { font-size: 11px; gap: 10px; }
  .p-compare { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .p-grid { gap: 32px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-grid--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-card { gap: 12px; }
  .p-card__body { flex-direction: column; gap: 6px; }
  .p-card__title { font-size: 15px; }
  .p-card__media::after { left: 14px; top: 14px; height: 24px; }
  .p-card .p-btn { min-height: 42px; padding: 0 12px; font-size: 13px; }
  .p-services { grid-template-columns: minmax(0, 1fr); }
  .p-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-footer__cols > :last-child { grid-column: 1 / -1; }
  .p-toasts { top: auto; bottom: 16px; right: 16px; }
  .p-cartlist__item { grid-template-columns: 72px 1fr; }
  .p-cartlist__img img { width: 72px; height: 108px; }
  .p-cartlist__total { grid-column: 2; }
  .p-specs > div { grid-template-columns: 110px 1fr; }
  .p-company > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.p-drawer.p-instant, .p-drawer.p-instant .p-drawer__panel { transition: none; }
