/* Pisicik Butik — appearance layer: AI assistant components, dark mode, glass ("cam") theme, style panel.
   Loaded after site.css. Everything keys off <html data-theme="light|dark"> and <html data-bg="g1…g6|l1…l4">. */

:root {
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .8);
  --glass-line: rgba(255, 255, 255, .7);
  --veil-rgb: 255, 250, 252;
  --veil: .62;
  --shadow-soft: 0 10px 30px -14px rgba(42, 33, 64, .28);
  --ai: linear-gradient(135deg, #C83D68 0%, #8E5BD6 100%);
}

/* ---------- AI: buttons, product note, search insight, home band ---------- */
.btn-ai { border: 0; color: #fff; background: var(--ai); box-shadow: 0 8px 20px -10px rgba(142, 91, 214, .8); }
.btn-ai:hover { filter: brightness(1.06); background: var(--ai); color: #fff; }
.ask-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 6px; }
.ask-row .btn { flex: 1 1 180px; }
.ask-row.center { justify-content: center; margin-top: 14px; }
.ask-row.center .btn { flex: 0 1 auto; }

.pitch { position: relative; margin: 18px 0 4px; padding: 18px 20px; border-radius: var(--r); background: linear-gradient(160deg, #FFF6FA, #F4EFFF); border: 1px solid #EBDDF5; }
.pitch-tag { margin: 0 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #8E5BD6; }
.pitch h3 { font-size: 1.15rem; margin: 0 0 8px; }
.pitch ul { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 6px; }
.pitch li { position: relative; padding-left: 24px; }
.pitch li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--mint); color: #1f6a43; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.pitch > p:not(.pitch-tag) { color: var(--ink-2); margin-bottom: 8px; }
.pitch-combo { border-top: 1px dashed #DCCDEB; margin-top: 10px; padding-top: 10px; }
.pitch-combo p { margin-bottom: 8px; }
.pitch-skel i { display: block; height: 12px; border-radius: 6px; margin: 10px 0; background: linear-gradient(90deg, #EFE7F7 25%, #F8F3FC 50%, #EFE7F7 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.pitch-skel i:nth-child(3) { width: 80%; } .pitch-skel i:nth-child(4) { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.minis { display: grid; gap: 8px; margin-top: 10px; }
.mini { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; padding: 6px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, transform .15s; }
.mini:hover { border-color: var(--ink); transform: translateY(-1px); }
.mini img { width: 52px; height: 69px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.mini span { display: grid; gap: 1px; min-width: 0; }
.mini b { font-size: .9rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mini small { color: var(--ink-2); font-size: .78rem; }
.mini em { font-style: normal; font-weight: 800; font-size: .9rem; }
.mini del { color: var(--ink-2); font-weight: 600; font-size: .8rem; }

.insight { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r); margin: 0 0 18px; background: linear-gradient(120deg, #FFF3F7, #F1ECFF); border: 1px solid #EBDDF5; }
.insight p { margin: 0; flex: 1; font-weight: 600; }
.insight-ico { font-size: 1.3rem; }
.loading-dots::after { content: '…'; display: inline-block; animation: dots 1.2s steps(4) infinite; width: 1.2em; overflow: hidden; vertical-align: bottom; }
@keyframes dots { from { width: 0; } }
.ai-why { margin: 4px 0 0; font-size: .8rem; font-weight: 700; color: #8E5BD6; line-height: 1.3; }

.ask-band { display: flex; gap: 22px; align-items: center; margin-top: 40px; padding: 26px 28px; border-radius: var(--r-lg); background: linear-gradient(120deg, #F4EFFF 0%, #FFF0F5 60%, #FFF7E3 100%); border: 1px solid #ECE2F6; }
.ask-band h2 { margin-bottom: 4px; }
.ask-band p { color: var(--ink-2); margin-bottom: 12px; }
.ask-band-avatar { flex: 0 0 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-soft); }
.ask-band-avatar svg { width: 46px; height: 46px; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-chips .chip, .ai-sugg .chip { border: 0; cursor: pointer; background: #fff; box-shadow: inset 0 0 0 1.5px #E2D6F0; font-weight: 700; }
.ask-chips .chip:hover, .ai-sugg .chip:hover { box-shadow: inset 0 0 0 1.5px #8E5BD6; background: #fff; }

[hidden] { display: none !important; }

/* ---------- checkout, cart, orders ---------- */
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: .9rem; margin-right: 6px; vertical-align: 3px; font-family: var(--body); }
.pay-methods { display: grid; gap: 10px; }
.pay-opt { position: relative; display: block; cursor: pointer; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt > span { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--r); background: var(--paper); transition: border-color .15s, box-shadow .15s; }
.pay-opt b { grid-column: 1; } .pay-opt small { grid-column: 1; color: var(--ink-2); } .pay-opt em { grid-column: 2; grid-row: 1 / 3; align-self: center; font-style: normal; font-weight: 800; font-size: 1.1rem; }
.pay-opt input:checked + span, .pay-opt.on > span { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(200, 61, 104, .12); }
.pay-opt input:focus-visible + span { outline: 3px solid var(--rose); }
.save { font-style: normal; font-size: .75rem; background: var(--mint); color: #1f6a43; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.invoice-box { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; background: var(--soft); }
.invoice-box summary { cursor: pointer; font-weight: 800; }
.invoice-box[open] summary { margin-bottom: 12px; }
.seg-inline { margin-bottom: 12px; max-width: 280px; }
.legal-checks { display: grid; gap: 10px; padding: 14px 0 4px; }
.secure-note { text-align: center; }
.coupon-form { display: flex; gap: 8px; margin: 10px 0 14px; }
.coupon-form input { flex: 1; min-width: 0; padding: 9px 12px; border: 1.5px dashed var(--line); border-radius: 10px; background: var(--paper); text-transform: uppercase; }
.welcome-offer { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 4px; padding: 12px 14px; border: 1.5px dashed var(--ok); border-radius: 12px; background: color-mix(in srgb, var(--ok) 7%, var(--paper)); cursor: pointer; }
.welcome-offer input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--ok); }
.welcome-offer span { display: grid; gap: 2px; line-height: 1.35; }
.welcome-offer small { color: var(--muted, #6b6480); font-size: .8rem; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 8px; }
.inline-form { display: inline; margin: 0; }
.disc b, p.disc b { color: var(--ok); }
.trust { margin-top: 10px; color: var(--ink-2); }
.upsell { padding-left: 0; padding-right: 0; }
.ship-box .btn { margin-top: 6px; }
.doc-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .92rem; }
.pay-frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.grecaptcha-badge { visibility: hidden; }   /* allowed: the checkout shows the reCAPTCHA notice instead */
/* PayTR form inside the checkout, right under the card option */
.card-slot { margin: -2px 0 4px; padding: 12px 14px; border: 2px solid var(--rose); border-top: 0; border-radius: 0 0 var(--r) var(--r); background: var(--soft); }
.card-slot[hidden] { display: none; }
.card-slot p { margin: 0 0 8px; }
.card-slot .cf-head { font-size: .95rem; }
.card-slot iframe { display: block; width: 100%; min-height: 600px; border: 0; border-radius: 12px; background: #fff; }
.co-paying .pay-opt:not(:first-child), .co-paying .legal-checks, .co-paying .secure-note { display: none; }
.co-paying input:disabled, .co-paying select:disabled, .co-paying textarea:disabled { opacity: .7; }
@media (max-width: 600px) { .card-slot { padding: 10px 8px; } .card-slot iframe { min-height: 680px; } }
/* legal texts */
.legal h2 { font-size: 1.15rem; margin-top: 1.4em; }
.legal h3 { font-size: 1rem; margin-top: 1em; }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: .93rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 7px 10px; border-bottom: 1px solid var(--line); }
.legal-table th { width: 34%; color: var(--ink-2); font-weight: 700; }
.legal-meta { color: var(--ink-2); font-size: .88rem; }
.legal-form { border: 1.5px dashed var(--line); border-radius: var(--r); padding: 14px 16px; background: var(--soft); }
.legal-missing { background: #FFE58F; color: #5b4300; padding: 0 4px; border-radius: 4px; }
.legal-blank { color: var(--ink-2); font-style: italic; }
.modal-doc { width: min(820px, calc(100vw - 24px)); }
.modal-doc .legal { max-height: 70vh; overflow-y: auto; padding-right: 6px; }
@media print { .site-header, .m-menu, .topbar, .site-footer, .ai-fab, .style-gear, .wa-float, .crumbs { display: none !important; } }
/* favourites, stock alerts, video, review photos */
.card { position: relative; }
.fav-btn { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper); color: var(--rose); font-size: 1.25rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px -4px rgba(42, 33, 64, .3); display: grid; place-items: center; transition: transform .15s; }
.fav-btn:active { transform: scale(.88); }
.fav-btn.on { background: var(--rose); color: #fff; }
.card-fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; font-size: 1.1rem; }
.title-row { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.title-row h1 { margin-bottom: .2em; }
.alert-link { display: block; margin-top: 8px; color: var(--rose); font-weight: 700; text-decoration: none; }
.video-slide { background: #000; }
.video-slide video, .video-slide iframe { width: 100%; height: 100%; border: 0; object-fit: contain; display: block; }
.thumb-video { position: relative; background: var(--ink); min-height: 96px; }
.thumb-video span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.4rem; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.rv-photos { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.rv-photos img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
.site-footer .imprint { font-size: .78rem; opacity: .8; margin-top: 4px; }
.etbis-badge { margin-top: 10px; } .etbis-badge img { max-width: 110px; height: auto; }
/* instagram bio page */
.bio-body { background: linear-gradient(160deg, #FFE4EF, #EEE7FF 55%, #E3FAF1); min-height: 100vh; }
.bio { max-width: 480px; margin: 0 auto; padding: 28px 16px 40px; text-align: center; }
.bio-avatar { display: inline-block; padding: 4px; border-radius: 50%; background: linear-gradient(45deg, #FFC56C, #F56A79, #C83D68, #8E5BD6); }
.bio-avatar img { width: 96px; height: 96px; border-radius: 50%; border: 4px solid #fff; }
.bio h1 { margin: 10px 0 2px; font-size: 1.6rem; } .bio-head p { color: var(--ink-2); }
.bio-links { display: grid; gap: 10px; margin: 18px 0 26px; }
.bio-links a { display: block; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .85); font-weight: 800; text-decoration: none; box-shadow: 0 6px 18px -10px rgba(42, 33, 64, .35); }
.bio-links a.primary { background: var(--rose); color: #fff; } .bio-links a.wa { background: #25D366; color: #fff; }
.bio h2 { font-size: 1.15rem; text-align: left; }
.bio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bio-grid a { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.bio-grid img { width: 100%; height: 100%; object-fit: cover; }
.bio-grid span { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: .75rem; font-weight: 800; }
.bio-foot { margin-top: 22px; font-size: .9rem; }

/* ---------- AI chat widget ---------- */
.ai-fab { position: fixed; right: 18px; bottom: 86px; z-index: 31; display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border: 0; border-radius: 999px; cursor: pointer; color: #fff; font-weight: 800; background: var(--ai); box-shadow: 0 14px 30px -12px rgba(142, 91, 214, .9); transition: transform .2s, opacity .2s; }
.ai-fab:hover { transform: translateY(-2px); }
.ai-fab.hide { opacity: 0; pointer-events: none; transform: scale(.8); }
.ai-fab-cat { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.ai-fab-cat svg { width: 28px; height: 28px; }
.ai-chat { position: fixed; right: 18px; bottom: 18px; z-index: 65; width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100vh - 36px)); display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 70px -20px rgba(42, 33, 64, .45); overflow: hidden; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .18s, transform .18s; }
.ai-chat.open { opacity: 1; transform: none; }
.ai-chat[hidden] { display: none; }
.ai-head { display: flex; align-items: center; gap: 10px; padding: 12px 10px 12px 14px; color: #fff; background: var(--ai); }
.ai-head .icon-btn { color: #fff; width: 38px; height: 38px; }
.ai-head .icon-btn:hover { background: rgba(255, 255, 255, .18); }
.ai-avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.ai-avatar svg { width: 28px; height: 28px; }
.ai-title { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.ai-title small { font-size: .74rem; opacity: .9; }
.online { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #7CF5B5; margin-right: 3px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }
.ai-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); scroll-behavior: smooth; }
.msg { max-width: 88%; }
.msg p { margin: 0; padding: 10px 14px; border-radius: 18px; white-space: pre-line; line-height: 1.45; font-size: .95rem; }
.msg.bot p { background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; }
.msg.me p { background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.msg .minis { margin-top: 8px; }
.typing p { display: flex; gap: 4px; padding: 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #B6A9CC; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; transform: translateY(-2px); } }
.ai-sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-sugg .chip { font-size: .82rem; padding: 6px 12px; }
.ai-input { display: flex; gap: 8px; align-items: flex-end; padding: 10px; border-top: 1px solid var(--line); background: var(--paper); }
.ai-input textarea { flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 18px; padding: 10px 14px; max-height: 120px; outline: none; background: var(--paper); }
.ai-input textarea:focus { border-color: #8E5BD6; }
.ai-input .btn { min-width: 46px; width: 46px; height: 46px; padding: 0; background: var(--ai); border: 0; }
.ai-foot { margin: 0; padding: 0 12px 10px; font-size: .72rem; color: var(--ink-2); background: var(--paper); }

/* ---------- style panel ---------- */
.style-gear { position: fixed; right: 0; top: 46%; z-index: 32; width: 44px; height: 46px; border: 0; border-radius: 12px 0 0 12px; display: grid; place-items: center; cursor: pointer; color: #fff; background: var(--ink); box-shadow: var(--shadow-soft); }
.style-gear svg { transition: transform .4s; }
.style-gear:hover svg { transform: rotate(40deg); }
.style-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 75; width: min(310px, 88vw); padding: 18px; overflow-y: auto; background: var(--paper); border-left: 1px solid var(--line); box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .35); transform: translateX(105%); transition: transform .25s ease; }
.style-panel.open { transform: none; }
.sp-backdrop { position: fixed; inset: 0; z-index: 74; background: rgba(20, 14, 32, .35); }
.sp-backdrop[hidden], .style-panel[hidden] { display: none; }
.sp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 1.1rem; }
.sp-label { display: block; margin: 16px 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.sp-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--soft); }
.sp-seg button { border: 0; background: none; padding: 9px 4px; border-radius: 10px; font-weight: 800; cursor: pointer; color: var(--ink-2); }
.sp-seg button.on { background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.sp-swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sw { position: relative; aspect-ratio: 1.25; border: 0; border-radius: 14px; cursor: pointer; overflow: hidden; display: flex; align-items: flex-end; padding: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.sw span { width: 100%; padding: 3px 4px; font-size: .68rem; font-weight: 800; background: rgba(255, 255, 255, .78); color: #2A2140; }
.sw.on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--rose); }
.style-panel input[type=range] { width: 100%; accent-color: var(--rose); }
.sp-range { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-2); margin-bottom: 16px; }

/* background swatches double as previews */
.sw-g1, html[data-bg="g1"] .bg-layer { background: radial-gradient(circle at 20% 30%, #FF9EC2 0, transparent 45%), radial-gradient(circle at 80% 20%, #C9A7FF 0, transparent 48%), radial-gradient(circle at 60% 85%, #FFD1A8 0, transparent 52%), #FFE4EF; }
.sw-g2, html[data-bg="g2"] .bg-layer { background: radial-gradient(circle at 25% 25%, #8EE8C6 0, transparent 46%), radial-gradient(circle at 78% 30%, #9ED4FF 0, transparent 46%), radial-gradient(circle at 50% 90%, #FFF0A6 0, transparent 52%), #E3FAF1; }
.sw-g3, html[data-bg="g3"] .bg-layer { background: radial-gradient(circle at 25% 30%, #B79BFF 0, transparent 46%), radial-gradient(circle at 80% 25%, #FFB3D9 0, transparent 46%), radial-gradient(circle at 55% 85%, #8FB5FF 0, transparent 52%), #EEE7FF; }
.sw-g4, html[data-bg="g4"] .bg-layer { background: radial-gradient(circle at 20% 25%, #FFB38A 0, transparent 46%), radial-gradient(circle at 80% 30%, #FF8FB1 0, transparent 46%), radial-gradient(circle at 55% 90%, #FFE08A 0, transparent 52%), #FFF0E3; }
.sw-g5, html[data-bg="g5"] .bg-layer { background: radial-gradient(circle at 25% 30%, #3ED3E0 0, transparent 46%), radial-gradient(circle at 80% 20%, #6C8CFF 0, transparent 48%), radial-gradient(circle at 60% 85%, #1E5A8C 0, transparent 55%), #12355B; }
.sw-g6, html[data-bg="g6"] .bg-layer { background: radial-gradient(circle at 20% 30%, #C83D68 0, transparent 45%), radial-gradient(circle at 80% 25%, #6A4BD6 0, transparent 48%), radial-gradient(circle at 55% 90%, #2B1E52 0, transparent 55%), #17112A; }
.sw-l1, html[data-bg="l1"] .bg-layer { background: linear-gradient(135deg, #FFD1E3, #E2D4FF 55%, #D5F0FF); }
.sw-l2, html[data-bg="l2"] .bg-layer { background: linear-gradient(135deg, #D8F8E7, #FFF4C2 55%, #FFD9C7); }
.sw-l3, html[data-bg="l3"] .bg-layer { background: linear-gradient(135deg, #6A2BD9, #C83D68 60%, #FF9E6B); }
.sw-l4, html[data-bg="l4"] .bg-layer { background: linear-gradient(135deg, #0F4C81, #2F8FD8 55%, #7FE3D6); }

/* ---------- background layers (only visible in glass mode) ---------- */
.bg-layer, .bg-veil { position: fixed; inset: 0; pointer-events: none; }
.bg-layer { z-index: -2; }
.bg-veil { z-index: -1; opacity: 0; background: rgba(var(--veil-rgb), var(--veil)); transition: opacity .3s, background .3s; }
html[data-bg] body { background: transparent; }
html[data-bg] .bg-veil { opacity: 1; }
html[data-bg^="g"] .bg-layer { filter: blur(40px) saturate(1.15); transform: scale(1.15); }

/* ---------- glass surfaces ---------- */
html[data-bg] .site-header, html[data-bg] .nav-drop, html[data-bg] .ask, html[data-bg] .drawer-panel, html[data-bg] .modal,
html[data-bg] .consent, html[data-bg] .ai-chat, html[data-bg] .style-panel, html[data-bg] .summary, html[data-bg] .review-summary,
html[data-bg] .filters.open, html[data-bg] .card-form, html[data-bg] .pay-box, html[data-bg] .notice-box, html[data-bg] .iban,
html[data-bg] .cat, html[data-bg] .sale-band, html[data-bg] .pitch, html[data-bg] .insight, html[data-bg] .ask-band, html[data-bg] .mini,
html[data-bg] .facts li, html[data-bg] .age, html[data-bg] .review-list, html[data-bg] .promises, html[data-bg] .seo-text, html[data-bg] .empty {
  background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(1.35); backdrop-filter: blur(16px) saturate(1.35); border-color: var(--glass-line);
}
html[data-bg] .site-header { background: var(--glass-strong); }
html[data-bg] .header-search { background: var(--glass); border-color: var(--glass-line); }
html[data-bg] .cat-nav { border-color: var(--glass-line); }
html[data-bg] .m-menu-panel { background: var(--glass-strong); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); }
html[data-bg] .hero { background: transparent; }
html[data-bg] .card-media, html[data-bg] .gallery-main { box-shadow: var(--shadow-soft); }
html[data-bg] .card-body { padding: 10px 12px 12px; margin-top: -2px; border-radius: 0 0 var(--r) var(--r); background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
html[data-bg] .card-media { border-radius: var(--r) var(--r) 0 0; }
html[data-bg] .promises, html[data-bg] .seo-text, html[data-bg] .review-list, html[data-bg] .empty { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--glass-line); }
html[data-bg] .promises { margin-top: 48px; }
html[data-bg] .review-list { padding: 4px 22px; }
html[data-bg] .sale-band { border-radius: var(--r-lg); max-width: var(--wrap); margin-left: auto; margin-right: auto; }
html[data-bg] .ai-log { background: transparent; }
html[data-bg] .ai-input, html[data-bg] .ai-foot { background: transparent; }
html[data-bg] .site-footer { background: rgba(28, 20, 44, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
html[data-bg] .field input, html[data-bg] .field select, html[data-bg] .field textarea { background: var(--glass-strong); }

/* ---------- dark mode ---------- */
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #F3EEFA; --ink-2: #B8AECB; --line: #2F2842; --paper: #15111E; --soft: #1D1829;
  --blush: #3A2232; --lilac: #2B2545; --mint: #1C3A2F; --butter: #3A3220; --sky: #1B2D40; --peach: #3D2820;
  --glass: rgba(24, 19, 36, .62); --glass-strong: rgba(24, 19, 36, .8); --glass-line: rgba(255, 255, 255, .09);
  --veil-rgb: 14, 10, 22; --veil: .55;
}
html[data-theme="dark"] .site-header { background: rgba(21, 17, 30, .94); }
html[data-theme="dark"] .topbar, html[data-theme="dark"] .site-footer { background: #0D0A14; }
html[data-theme="dark"] .progress li.done::before { color: var(--paper); }
html[data-theme="dark"] .nav-drop, html[data-theme="dark"] .ask, html[data-theme="dark"] .drawer-panel, html[data-theme="dark"] .consent,
html[data-theme="dark"] .iban, html[data-theme="dark"] .modal, html[data-theme="dark"] .badge, html[data-theme="dark"] .age-d,
html[data-theme="dark"] .field input, html[data-theme="dark"] .field select, html[data-theme="dark"] .field textarea, html[data-theme="dark"] .bar,
html[data-theme="dark"] .m-menu-panel { background-color: var(--paper); color: var(--ink); }
html[data-theme="dark"] .btn:hover { color: var(--paper); }
html[data-theme="dark"] .btn-primary:hover, html[data-theme="dark"] .btn-ai:hover { color: #fff; }
html[data-theme="dark"] .seg input:checked + span, html[data-theme="dark"] .size-pick input:checked + span,
html[data-theme="dark"] .msg.me p, html[data-theme="dark"] .badge-out, html[data-theme="dark"] .toast, html[data-theme="dark"] .style-gear { color: var(--paper); }
html[data-theme="dark"] .ask { box-shadow: 6px 6px 0 var(--rose); border-color: var(--line); }
html[data-theme="dark"] .logo-svg text:first-of-type { fill: var(--ink); }
html[data-theme="dark"] .logo-svg path[stroke] { stroke: var(--ink); }
html[data-theme="dark"] .verified { color: #9BE3BD; }
html[data-theme="dark"] .flash-error, html[data-theme="dark"] .alert { background: #4A1F1C; color: #FFD7D2; }
html[data-theme="dark"] .stock-note { color: #F2C14E; }
html[data-theme="dark"] .pitch, html[data-theme="dark"] .insight, html[data-theme="dark"] .ask-band { background: linear-gradient(150deg, #241B33, #1C1730); border-color: #352A4C; }
html[data-theme="dark"] .ask-chips .chip, html[data-theme="dark"] .ai-sugg .chip, html[data-theme="dark"] .ask-band-avatar { background: var(--soft); box-shadow: inset 0 0 0 1.5px #3A2F52; }
html[data-theme="dark"] .ai-why, html[data-theme="dark"] .pitch-tag { color: #C9A9FF; }
html[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg); }
html[data-theme="dark"] .sw span { background: rgba(21, 17, 30, .8); color: #fff; }
html[data-theme="light"] .t-dark, html[data-theme="dark"] .t-light, html:not([data-theme]) .t-dark { display: none; }

@media (max-width: 600px) {
  .ai-fab { bottom: 82px; right: 14px; padding: 5px; }
  .ai-fab-txt { display: none; }
  .ai-chat { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
  .ask-band { flex-direction: column; text-align: center; padding: 22px 18px; }
  .ask-chips { justify-content: center; }
  .style-gear { width: 36px; height: 40px; top: 58%; }
  .insight { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .ai-chat, .style-panel, .ai-fab { transition: none; } }

/* ---------- membership: sign in / sign up, Hesabım, checkout offer ---------- */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 76px !important; }
.pw-eye { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); padding: 6px 10px; border: 0; border-radius: 8px; background: var(--soft); color: var(--ink-2); font-size: .78rem; font-weight: 700; cursor: pointer; }
.pw-eye:hover { color: var(--ink); }
.hp { position: absolute; left: -9999px; opacity: 0; }
/* checkout */
.acct-hello-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 0; padding: 10px 14px; border-radius: var(--r); background: var(--soft); font-size: .92rem; }
.acct-hello-bar a:not(.btn) { font-weight: 800; color: var(--rose); }
.acct-offer { position: relative; margin: 10px 0 4px; padding: 18px 18px 16px; border: 2px dashed var(--rose); border-radius: var(--r); background: linear-gradient(135deg, var(--blush), var(--paper) 70%); }
.acct-offer.is-open { border-style: solid; }
.acct-offer-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.acct-offer-ico { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--rose); color: #fff; }
.acct-offer h3 { margin: 2px 0 6px; font-size: 1.08rem; }
.acct-perks { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; font-size: .86rem; color: var(--ink-2); }
.acct-perks li::before { content: '✓ '; color: var(--ok); font-weight: 800; }
.acct-toggle { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); background: var(--paper); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.acct-toggle:hover { border-color: var(--rose); }
.acct-toggle input { width: 22px; height: 22px; accent-color: var(--rose); flex-shrink: 0; }
.acct-toggle span { display: grid; gap: 1px; }
.acct-toggle small { color: var(--ink-2); font-size: .82rem; }
.acct-offer.is-open .acct-toggle { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(200, 61, 104, .12); }
.acct-fields { display: grid; gap: 10px; margin-top: 12px; }
.acct-fields > p { margin: 0; }
.acct-linked { margin: 0 0 20px; }
.addr-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.addr-opt { position: relative; cursor: pointer; }
.addr-opt input { position: absolute; opacity: 0; }
.addr-opt > span { display: grid; gap: 2px; height: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r); background: var(--paper); font-size: .88rem; transition: border-color .15s; }
.addr-opt b i { font-style: normal; font-weight: 700; font-size: .72rem; color: var(--ok); margin-left: 4px; }
.addr-opt small { color: var(--ink-2); }
.addr-opt input:checked + span { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(200, 61, 104, .12); }
.addr-opt input:focus-visible + span { outline: 3px solid var(--rose); }
.addr-new > span { border-style: dashed; place-content: center; text-align: center; }
/* sign in / sign up */
.auth-page { padding-top: 28px; padding-bottom: 64px; }
.auth-tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 22px; padding: 4px; border-radius: 999px; background: var(--soft); }
.auth-tabs a { padding: 9px 22px; border-radius: 999px; text-decoration: none; font-weight: 800; color: var(--ink-2); }
.auth-tabs a[aria-current] { background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 32px; max-width: 980px; margin: 0 auto; align-items: start; }
.auth-card { padding: clamp(20px, 4vw, 34px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.auth-card h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.auth-narrow { max-width: 480px; margin: 0 auto; }
.auth-row { margin: -4px 0 0; text-align: right; font-size: .9rem; }
.auth-switch { margin: 18px 0 0; text-align: center; color: var(--ink-2); }
.auth-switch a, .auth-row a { font-weight: 800; color: var(--rose); }
.auth-perks { padding: clamp(20px, 4vw, 30px); border-radius: var(--r-lg); background: var(--soft); }
.auth-perks h2 { font-size: 1.3rem; }
.auth-perks ul { display: grid; gap: 14px; margin: 0 0 14px; padding: 0; list-style: none; }
.auth-perks li { display: grid; gap: 2px; padding-left: 30px; position: relative; }
.auth-perks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--rose); color: #fff; font-size: .72rem; font-weight: 800; }
.auth-perks span { color: var(--ink-2); font-size: .92rem; }
/* Hesabım */
.acct-head h1 { margin-bottom: 0; }
.acct-head .eyebrow { margin: 0 0 4px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.acct { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 8px; padding-bottom: 64px; }
.acct-nav { position: sticky; top: 100px; display: grid; gap: 2px; padding: 10px; border-radius: var(--r-lg); background: var(--soft); }
.acct-nav a, .acct-out button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: var(--r-sm); background: none; color: var(--ink-2); font: inherit; font-weight: 700; text-decoration: none; text-align: left; cursor: pointer; }
.acct-nav a span, .acct-out span { flex: 1; }
.acct-nav a:hover, .acct-out button:hover { color: var(--ink); background: var(--paper); }
.acct-nav a[aria-current] { background: var(--paper); color: var(--rose); box-shadow: 0 2px 10px -4px rgba(0, 0, 0, .15); }
.acct-nav b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--rose); color: #fff; font-size: .72rem; }
.acct-out { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line); }
.acct-main { min-width: 0; display: grid; gap: 18px; align-content: start; }
.acct-main > p { margin: 0; }
.acct-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.acct-stats a { display: grid; gap: 2px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .15s, transform .15s; }
.acct-stats a:hover { border-color: var(--ink); transform: translateY(-2px); }
.acct-stats b { font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.acct-stats span { color: var(--ink-2); font-size: .85rem; font-weight: 700; }
.acct-sec { display: grid; gap: 12px; }
.acct-sec-head { display: flex; justify-content: space-between; align-items: baseline; }
.acct-sec-head h2 { margin: 0; font-size: 1.3rem; }
.acct-sec-head a { font-weight: 800; color: var(--rose); text-decoration: none; }
.acct-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.acct-quick a { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--r); background: var(--soft); text-decoration: none; }
.acct-quick span { color: var(--ink-2); font-size: .85rem; }
.acct-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.acct-card h2 { font-size: 1.25rem; margin: 0 0 4px; }
.acct-card > summary { cursor: pointer; font-weight: 800; }
.acct-card[open] > summary { margin-bottom: 12px; }
.acct-claim form { align-items: end; grid-template-columns: 1fr 1fr auto; }
.acct-danger > summary { color: var(--err); }
.acct-empty { padding: 28px; border: 1.5px dashed var(--line); border-radius: var(--r); text-align: center; color: var(--ink-2); }
.acct-empty p { max-width: 52ch; margin: 0 auto 14px; }
/* order cards */
.ord { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); overflow: hidden; }
.ord-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--soft); }
.ord-head div { display: grid; gap: 2px; }
.ord-head small { color: var(--ink-2); font-size: .8rem; }
.st { padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; white-space: nowrap; background: var(--paper); }
.st-pending { background: #FFF2C4; color: #7A5A00; } .st-preparing { background: #E7E1FA; color: #4B3592; } .st-shipped { background: #DDEEFB; color: #1D5584; }
.st-completed { background: #DCF3E9; color: #1F6A43; } .st-cancelled { background: #FDE2DF; color: #8E2A1E; }
html[data-theme="dark"] .st-pending, html[data-theme="dark"] .st-preparing, html[data-theme="dark"] .st-shipped, html[data-theme="dark"] .st-completed, html[data-theme="dark"] .st-cancelled { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.ord-items { display: flex; gap: 8px; padding: 14px 16px 4px; overflow-x: auto; }
.ord-items img { width: 56px; height: 75px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.ord-more { display: grid; place-items: center; width: 56px; height: 75px; border-radius: 8px; background: var(--soft); font-weight: 800; color: var(--ink-2); }
.ord-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 16px 14px; }
.ord-total { font-weight: 800; font-size: 1.05rem; }
.ord-cargo { color: var(--ink-2); font-size: .86rem; }
.ord-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
/* favourites / waiting list rows */
.fav-rows { display: grid; gap: 10px; }
.fav-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.fav-img img { width: 76px; height: 101px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.fav-info { display: grid; gap: 4px; min-width: 0; }
.fav-info > a { font-weight: 800; text-decoration: none; }
.fav-info p { margin: 0; }
.fav-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fav-tags span, .addr-card h3 span { padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 800; }
.tag-in { background: var(--mint); color: var(--ok); } .tag-low { background: var(--butter); color: #7A5A00; } .tag-out { background: var(--soft); color: var(--ink-2); } .tag-drop { background: var(--rose); color: #fff; }
html[data-theme="dark"] .tag-low { color: #F2C14E; }
.fav-acts { display: grid; gap: 6px; justify-items: end; }
.fav-acts form { margin: 0; }
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.addr-card { display: grid; gap: 6px; align-content: start; }
.addr-card h3 { display: flex; gap: 8px; align-items: center; margin: 0; }
.addr-card p { margin: 0; font-size: .92rem; }
.addr-card .row-actions form { margin: 0; }
.addr-card.is-default { border-color: var(--ok); }
.hact-acct span { max-width: 74px; overflow: hidden; text-overflow: ellipsis; }
.m-links .m-acct { color: var(--rose); font-weight: 800; }
@media (max-width: 900px) {
  .auth-grid { grid-template-columns: 1fr; }
  .acct { grid-template-columns: 1fr; gap: 16px; }
  .acct-nav { position: static; display: flex; overflow-x: auto; padding: 6px; gap: 4px; scrollbar-width: none; }
  .acct-nav::-webkit-scrollbar { display: none; }
  .acct-nav a, .acct-out button { flex: 0 0 auto; width: auto; white-space: nowrap; padding: 8px 12px; }
  .acct-nav a svg, .acct-out svg { display: none; }
  .acct-out { margin: 0; padding: 0; border: 0; }
  .acct-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acct-quick { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .fav-row { grid-template-columns: 64px minmax(0, 1fr); }
  .fav-img img { width: 64px; height: 85px; }
  .fav-acts { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .acct-claim form { grid-template-columns: 1fr; }
  .ord-actions { margin-left: 0; width: 100%; }
  .ord-actions .btn { flex: 1; }
  .acct-offer-head { gap: 10px; }
  .acct-offer-ico { flex-basis: 40px; height: 40px; }
}

/* ---------- campaign popup ---------- */
.pop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(20, 16, 30, .55); opacity: 0; transition: opacity .25s ease; }
.pop.show { opacity: 1; }
.pop[hidden] { display: none; }
.pop-card { position: relative; width: min(440px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--paper); color: var(--ink); border-radius: var(--r, 18px); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); transform: translateY(14px) scale(.98); transition: transform .3s ease; }
.pop.show .pop-card { transform: none; }
.pop-img { display: block; width: 100%; height: auto; max-height: 70dvh; object-fit: contain; background: var(--soft); }
.pop-x { position: absolute; top: 10px; right: 10px; z-index: 1; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #111; font-size: 15px; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.pop-body { display: grid; gap: 10px; padding: 18px 20px 6px; text-align: center; }
.pop-body h2 { margin: 0; font-size: 1.35rem; line-height: 1.2; }
.pop-body p { margin: 0; color: var(--muted, #6b6480); }
.pop-card.no-img .pop-body { padding-top: 34px; }
.pop-foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 20px 16px; font-size: .85rem; }
.pop-foot .link-btn { color: var(--muted, #6b6480); }
@media (prefers-reduced-motion: reduce) { .pop, .pop-card { transition: none; } }
