/* ───────────────────────── BuySvg storefront ───────────────────────── */
:root {
    --paper: #fbf8f3;
    --paper-2: #f3eee5;
    --card: #ffffff;
    --ink: #1c1a24;
    --ink-2: #4a4656;
    --muted: #8a8494;
    --line: #e7e1d6;
    --accent: #ff5b2e;
    --accent-2: #ffb020;
    --accent-ink: #fff;
    --teal: #1f6f63;
    --teal-soft: #dff1ec;
    --lilac: #ece6ff;
    --ok: #1f8a4c;
    --danger: #c63a2b;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(28, 26, 36, .05), 0 8px 24px -12px rgba(28, 26, 36, .18);
    --shadow-lg: 0 24px 60px -24px rgba(28, 26, 36, .35);
    --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    font-size: 15.5px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.tiny { font-size: 12.5px; }
.small { font-size: 13.5px; }
.center { text-align: center; }

/* ── Header ── */
.announce {
    background: var(--ink); color: #f2eee8; text-align: center;
    font-size: 13px; padding: 7px 16px; letter-spacing: .01em;
}
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.logo b { color: var(--accent); font-weight: 800; }
.logo.light { color: #fff; }
.search {
    flex: 1; max-width: 520px; display: flex; align-items: center; gap: 8px;
    background: var(--card); border: 1px solid var(--line); border-radius: 999px;
    padding: 0 16px; height: 44px; color: var(--muted); transition: border-color .15s, box-shadow .15s;
}
.search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(28,26,36,.06); }
.search input { border: 0; outline: 0; background: transparent; flex: 1; font: inherit; color: var(--ink); min-width: 0; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a { padding: 8px 12px; border-radius: 999px; font-weight: 500; color: var(--ink-2); font-size: 14.5px; }
.nav > a:hover, .nav > a.on { color: var(--ink); background: var(--paper-2); }
.nav .pill-dark { background: var(--ink); color: #fff; }
.nav .pill-dark:hover { background: #000; color: #fff; }
.cart-btn { position: relative; display: inline-flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0 !important; }
.cart-count {
    position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
    border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
    display: grid; place-items: center; border: 2px solid var(--paper);
}
.cart-count.empty { display: none; }
.cart-btn.bump .cart-count { animation: bump .5s ease; }
@keyframes bump { 30% { transform: scale(1.4); } }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
    font: 600 15px/1 var(--font); cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -6px rgba(255, 91, 46, .6); }
.btn-primary:hover { background: #f04a1d; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ok { background: var(--teal); color: #fff; }
.btn-ok:hover { background: #185a50; }
.btn-block { width: 100%; }
.btn-lg { height: 54px; font-size: 16px; padding: 0 28px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.linkish { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkish:hover { color: var(--danger); }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px;
    background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 22px;
}
.eyebrow i { font-style: normal; background: var(--teal-soft); color: var(--teal); border-radius: 999px; padding: 3px 9px; font-size: 12px; }
.hero h1 { font-size: clamp(40px, 6vw, 74px); font-weight: 800; letter-spacing: -0.045em; margin-bottom: 18px; }
.hero h1 .swash { color: var(--accent); position: relative; white-space: nowrap; }
.hero h1 .swash svg { position: absolute; left: -2%; bottom: -10px; width: 104%; height: 18px; }
.hero .lead { font-size: 18.5px; color: var(--ink-2); max-width: 520px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 28px; letter-spacing: -0.03em; }
.hero-stats span { color: var(--muted); font-size: 13.5px; }

.collage { position: relative; aspect-ratio: 1 / .92; }
.collage .tile {
    position: absolute; background: var(--card); border-radius: 22px; box-shadow: var(--shadow-lg);
    overflow: hidden; border: 6px solid #fff; transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.collage .tile img { width: 100%; height: 100%; object-fit: cover; }
.collage .t1 { width: 54%; aspect-ratio: 1; left: 4%; top: 6%; transform: rotate(-6deg); z-index: 2; }
.collage .t2 { width: 46%; aspect-ratio: 1; right: 2%; top: 0; transform: rotate(5deg); }
.collage .t3 { width: 44%; aspect-ratio: 1; right: 10%; bottom: 0; transform: rotate(-3deg); z-index: 3; }
.collage .t4 { width: 34%; aspect-ratio: 1; left: 14%; bottom: 2%; transform: rotate(8deg); z-index: 1; }
.collage:hover .t1 { transform: rotate(-8deg) translateY(-6px); }
.collage:hover .t3 { transform: rotate(-1deg) translateY(-6px); }
.collage .sticker {
    position: absolute; z-index: 5; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-8deg);
    background: var(--accent-2); color: var(--ink); font-family: var(--font-display); font-weight: 800;
    padding: 14px 18px; border-radius: 999px; font-size: 15px; box-shadow: var(--shadow-lg); text-align: center; line-height: 1.05;
}
.tile.placeholder { display: grid; place-items: center; }
.tile.placeholder svg { width: 70%; height: 70%; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1; }
.blob.b1 { width: 420px; height: 420px; background: #ffd9c9; right: -80px; top: -60px; }
.blob.b2 { width: 360px; height: 360px; background: #dff1ec; left: -120px; bottom: -160px; }

/* ── Sections ── */
.section { padding: 48px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.section-head a { font-weight: 600; white-space: nowrap; }
.section-head a:hover { color: var(--accent); }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px; display: flex; gap: 14px; align-items: center; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card .ico { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--paper-2); display: grid; place-items: center; font-size: 24px; }
.cat-card:nth-child(4n+1) .ico { background: #ffe6dc; }
.cat-card:nth-child(4n+2) .ico { background: var(--teal-soft); }
.cat-card:nth-child(4n+3) .ico { background: var(--lilac); }
.cat-card:nth-child(4n+4) .ico { background: #fff1cc; }
.cat-card b { display: block; font-size: 15.5px; }
.cat-card span { color: var(--muted); font-size: 13px; }

/* ── Product card ── */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pcard {
    position: relative; display: flex; flex-direction: column; background: var(--card);
    border: 1px solid var(--line); border-radius: 20px; padding: 8px; min-width: 0;
    transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(28,26,36,.45); border-color: transparent; }
.pcard-media {
    position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden;
    background:
        radial-gradient(circle at 1px 1px, rgba(28,26,36,.07) 1px, transparent 0) 0 0 / 14px 14px,
        linear-gradient(160deg, #fbf9f5, #f1ece3);
}
.pcard:nth-child(4n+2) .pcard-media { background: radial-gradient(circle at 1px 1px, rgba(28,26,36,.07) 1px, transparent 0) 0 0 / 14px 14px, linear-gradient(160deg, #f4faf8, #e3efeb); }
.pcard:nth-child(4n+3) .pcard-media { background: radial-gradient(circle at 1px 1px, rgba(28,26,36,.07) 1px, transparent 0) 0 0 / 14px 14px, linear-gradient(160deg, #faf8ff, #ebe6f7); }
.pcard:nth-child(4n+4) .pcard-media { background: radial-gradient(circle at 1px 1px, rgba(28,26,36,.07) 1px, transparent 0) 0 0 / 14px 14px, linear-gradient(160deg, #fffaf0, #f6ecd8); }
/* Kapakların beyaz zemini kartın renkli zeminine karışsın */
.pcard-media img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%;
    mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.badge { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); letter-spacing: .01em; }
.badge.free { background: var(--teal); color: #fff; }
.badge.bundle { background: var(--ink); color: #fff; }
.badge.sale { background: var(--accent); color: #fff; }
.pcard { container-type: inline-size; }
.pcard-add {
    /* görselin alt kenarına hizalı: 100cqw = kart iç genişliği = kare görselin kenarı */
    position: absolute; left: 50%; top: calc(8px + 100cqw - 50px); z-index: 3;
    transform: translate(-50%, 6px); opacity: 0;
    display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border: 0; border-radius: 999px;
    background: var(--ink); color: #fff; font: 600 13.5px var(--font); cursor: pointer; white-space: nowrap;
    box-shadow: 0 10px 24px -10px rgba(28,26,36,.6); transition: opacity .2s, transform .2s, background .15s;
}
.pcard:hover .pcard-add, .pcard-add:focus-visible { opacity: 1; transform: translate(-50%, 0); }
.pcard-add:hover { background: var(--accent); }
.pcard-add.added { background: var(--teal); opacity: 1; transform: translate(-50%, 0); }
.pcard-body { padding: 12px 6px 4px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-title {
    font-weight: 600; font-size: 15px; line-height: 1.35; letter-spacing: -.005em; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
.pcard-title:hover { color: var(--accent); }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.pcard-cat {
    font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--paper-2); border-radius: 999px;
    padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}.price { font-family: var(--font-display); font-weight: 700; font-size: 17px; white-space: nowrap; }
.price s { color: var(--muted); font-weight: 500; font-size: 13px; margin-right: 4px; }
.price.free { color: var(--teal); }

/* ── Value strip ── */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.value .vi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); margin-bottom: 12px; font-size: 20px; }
.value b { display: block; margin-bottom: 4px; }
.value p { color: var(--muted); font-size: 14px; margin: 0; }

.band {
    background: var(--ink); color: #f6f2ec; border-radius: 28px; padding: 44px; display: grid;
    grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden;
}
.band h2 { font-size: clamp(28px, 3.6vw, 42px); color: #fff; }
.band p { color: #bdb6c7; }
.band .chips span { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.12); }
.band::after { content: ""; position: absolute; width: 360px; height: 360px; right: -80px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255,91,46,.45), transparent 70%); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span, .chips a {
    border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; font-weight: 500;
}
.chips a:hover, .chips a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips.small span { padding: 4px 10px; font-size: 12px; }

/* ── Catalog ── */
.page-head { padding: 40px 0 20px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.04em; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a:hover { color: var(--ink); }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 8px 0 26px; }
.select {
    height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231c1a24' stroke-width='2.5'/%3E%3C/svg%3E") no-repeat right 14px center;
    padding: 0 38px 0 16px; font: 500 14px var(--font); color: var(--ink); appearance: none; cursor: pointer;
}
.pager { display: flex; gap: 6px; justify-content: center; margin: 40px 0 10px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 14px; padding: 0 12px; }
.pager .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 70px 20px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty .big { font-size: 46px; margin-bottom: 8px; }

/* ── Detail ── */
.detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; padding: 28px 0 40px; align-items: start; }
.gallery { position: sticky; top: 92px; }
.gallery .main { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 1; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.gallery .thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: #fff; aspect-ratio: 1; }
.gallery .thumbs button.on { border-color: var(--ink); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox h1 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 12px; }
.buybox .price-row { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 20px; }
.buybox .price { font-size: 34px; }
.buybox .save { background: #ffe6dc; color: var(--accent); font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.buy-actions form { display: contents; }
.buy-actions .full { grid-column: 1 / -1; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; }
.panel h3 { font-size: 16px; font-family: var(--font); font-weight: 700; letter-spacing: 0; margin-bottom: 10px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: start; font-size: 14.5px; color: var(--ink-2); }
.check-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%231f6f63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.desc { white-space: pre-line; color: var(--ink-2); font-size: 15px; }
.files-list { display: grid; gap: 8px; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.file-row .ext { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 11px; color: #fff; background: var(--ink); flex: none; }
.file-row .ext.svg { background: var(--accent); }
.file-row .ext.png { background: var(--teal); }
.file-row .ext.zip { background: #6b4fd8; }
.file-row .fn { flex: 1; min-width: 0; }
.file-row .fn b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row .fn span { font-size: 12.5px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags a { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.tags a:hover { background: var(--ink); color: #fff; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 6px; }
.trust span { display: inline-flex; gap: 6px; align-items: center; }

/* ── Cart ── */
.cart-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; padding-bottom: 60px; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.cart-item img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.cart-item .t { font-weight: 600; }
.summary { position: sticky; top: 92px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.summary .row { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--ink-2); }
.summary .total { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--ink); border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 6px; }
.alert { border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: 14.5px; }
.alert.err { background: #fde8e5; color: var(--danger); }
.alert.ok { background: var(--teal-soft); color: var(--teal); }
.alert.info { background: var(--lilac); color: #4a3aa6; }

/* ── Forms / auth ── */
.auth { max-width: 440px; margin: 56px auto 80px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.auth h1 { font-size: 32px; font-weight: 800; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 13.5px; }
.input { height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); padding: 0 14px; font: inherit; color: var(--ink); width: 100%; }
.input:focus { outline: 0; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(28,26,36,.06); }

/* ── Library ── */
.order-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; margin-bottom: 16px; }
.order-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.status { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.status.paid { background: var(--teal-soft); color: var(--teal); }
.status.pending { background: #fff1cc; color: #8a5a00; }
.status.refunded { background: #fde8e5; color: var(--danger); }
.lib-item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.lib-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.dl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.dl-chips a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; }
.dl-chips a:hover { background: var(--accent); }

/* ── Prose ── */
.prose { max-width: 760px; padding: 20px 0 70px; }
.prose h2 { font-size: 24px; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
details.faq { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
details.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 10px 0 0; color: var(--ink-2); }

/* ── Footer ── */
.site-footer { background: var(--ink); color: #cfc8d8; margin-top: 60px; padding: 56px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { color: #fff; font-family: var(--font); font-size: 14px; letter-spacing: .02em; margin-bottom: 12px; }
.site-footer a:not(.logo) { display: block; padding: 4px 0; font-size: 14.5px; color: #cfc8d8; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: #8f879b; max-width: 360px; margin-top: 12px; }
.site-footer .chips span { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 18px; font-size: 13px; color: #8f879b; }

.toast {
    position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120%); z-index: 100;
    background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow-lg);
    display: flex; gap: 12px; align-items: center; font-weight: 500; font-size: 14.5px; transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--accent-2); font-weight: 700; }

/* ── Responsive ── */
@media (max-width: 1080px) {
    .grid { grid-template-columns: repeat(3, 1fr); }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .hero { padding: 36px 0 28px; }
    .hero-grid, .detail, .cart-grid, .band { grid-template-columns: 1fr; }
    .collage { max-width: 460px; margin: 0 auto; width: 100%; }
    .gallery, .summary { position: static; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .header-row { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 10px; }
    .search { order: 3; max-width: none; flex-basis: 100%; }
    .hide-sm { display: none; }
    .band { padding: 30px 24px; }
}
@media (max-width: 560px) {
    body { font-size: 15px; }
    .grid, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .cat-grid, .values { grid-template-columns: 1fr; }
    .pcard-add { opacity: 1; transform: translate(-50%, 0); height: 34px; padding: 0 12px; font-size: 12.5px; }
    .pcard-add span { display: none; }
    .pcard-title { font-size: 14px; }
    .buy-actions { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 72px 1fr; }
    .cart-item img { width: 72px; height: 72px; }
    .cart-item > :last-child { grid-column: 2; }
    .foot-grid { grid-template-columns: 1fr; }
    .auth { padding: 24px; margin-top: 28px; }
    .nav > a { padding: 8px 9px; }
}
