/* Less Market — çerez rıza paneli (KVKK / Çerez Rehberi) */ .am-cc { --cc-ink: rgb(var(--lm-ink-900)); --cc-ink-soft: rgb(var(--lm-ink-700)); --cc-paper: rgb(var(--lm-paper)); --cc-muted: rgb(var(--lm-ink-300)); --cc-line: rgba(255, 255, 255, 0.1); --cc-brand-deep: rgb(var(--lm-brand-600)); --cc-accent: rgb(var(--lm-accent-500)); font-family: Inter, system-ui, sans-serif; font-size: 14px; line-height: 1.5; letter-spacing: -0.011em; color: rgb(var(--lm-ink-100)); } .am-cc-bar[hidden], .am-cc-backdrop[hidden], .am-cc-panel[hidden], .am-cc-toast[hidden] { display: none !important; } .am-cc-backdrop { position: fixed; inset: 0; z-index: 85; background: rgb(var(--lm-ink-950) / 0.48); backdrop-filter: blur(4px); } .am-cc-bar { position: fixed; z-index: 86; left: 1rem; right: 1rem; bottom: 1rem; max-width: 72rem; margin: 0 auto; padding: 1.15rem 1.25rem 1.2rem; background: radial-gradient(28rem 10rem at 100% 0%, rgb(var(--lm-brand-500) / 0.18), transparent 55%), linear-gradient(180deg, rgb(var(--lm-ink-800)) 0%, rgb(var(--lm-ink-900)) 100%); border: 1px solid rgb(var(--lm-brand-400) / 0.22); border-radius: 1.15rem; box-shadow: 0 24px 60px -20px rgb(var(--lm-ink-950) / 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset; } .am-cc-bar-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem 1.75rem; align-items: center; } .am-cc-kicker { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 0.4rem; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(var(--lm-brand-300)); } .am-cc-kicker i { font-size: 0.85rem; } .am-cc-title { margin: 0 0 0.35rem; font-family: Manrope, Inter, sans-serif; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; } .am-cc-copy { margin: 0; max-width: 46rem; font-size: 0.8125rem; line-height: 1.65; color: rgb(var(--lm-ink-200)); } .am-cc-copy a { color: rgb(var(--lm-brand-200)); text-decoration: underline; text-underline-offset: 2px; } .am-cc-copy a:hover { color: #fff; } .am-cc-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; align-items: center; } .am-cc-btn { appearance: none; cursor: pointer; border-radius: 999px; font-family: inherit; font-size: 0.8125rem; font-weight: 600; letter-spacing: -0.01em; min-height: 2.6rem; min-width: 7.6rem; padding: 0.55rem 1.15rem; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease; } .am-cc-btn:focus-visible { outline: 2px solid rgb(var(--lm-brand-300)); outline-offset: 3px; } .am-cc-btn-accept { border: 0; background: linear-gradient(100deg, rgb(var(--lm-brand-700)), rgb(var(--lm-brand-500))); color: #fff; box-shadow: 0 10px 24px -12px rgb(var(--lm-brand-500) / 0.8); } .am-cc-btn-accept:hover { transform: translateY(-1px); } .am-cc-btn-reject { border: 1px solid rgba(255, 255, 255, 0.22); background: transparent; color: #fff; } .am-cc-btn-reject:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.4); } .am-cc-btn-prefs { border: 0; background: transparent; color: rgb(var(--lm-brand-200)); min-width: 0; padding-inline: 0.7rem; text-decoration: underline; text-underline-offset: 3px; } .am-cc-btn-prefs:hover { color: #fff; } .am-cc-panel { position: fixed; z-index: 88; left: 50%; top: 50%; width: min(34rem, calc(100vw - 1.5rem)); max-height: min(36rem, calc(100vh - 2rem)); overflow: auto; transform: translate(-50%, -50%); background: var(--cc-paper); color: var(--cc-ink-soft); border-radius: 1.25rem; border: 1px solid rgb(var(--lm-ink-100)); box-shadow: 0 30px 70px -24px rgb(var(--lm-ink-950) / 0.45); } .am-cc-panel-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.25rem 0.9rem; background: var(--cc-paper); border-bottom: 1px solid rgb(var(--lm-ink-100)); } .am-cc-panel-head h2 { margin: 0; font-family: Manrope, Inter, sans-serif; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.03em; color: var(--cc-ink); } .am-cc-panel-head p { margin: 0.3rem 0 0; font-size: 0.75rem; line-height: 1.55; color: rgb(var(--lm-ink-400)); } .am-cc-close { appearance: none; width: 2.1rem; height: 2.1rem; border: 1px solid rgb(var(--lm-ink-100)); background: #fff; border-radius: 0.65rem; color: var(--cc-ink); cursor: pointer; } .am-cc-close:hover { background: rgb(var(--lm-ink-50)); } .am-cc-cats { padding: 0.4rem 0.55rem 0.85rem; } .am-cc-cat { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem; padding: 0.9rem 0.7rem; border-bottom: 1px solid rgb(var(--lm-ink-100)); } .am-cc-cat:last-child { border-bottom: 0; } .am-cc-cat h3 { margin: 0; font-size: 0.84rem; font-weight: 700; color: var(--cc-ink); } .am-cc-cat p { grid-column: 1 / -1; margin: 0.15rem 0 0; font-size: 0.75rem; line-height: 1.55; color: rgb(var(--lm-ink-400)); } .am-cc-switch { position: relative; width: 2.55rem; height: 1.45rem; } .am-cc-switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; } .am-cc-switch input:disabled { cursor: not-allowed; } .am-cc-switch span { display: block; width: 100%; height: 100%; border-radius: 999px; background: rgb(var(--lm-ink-200)); transition: background 0.15s ease; } .am-cc-switch span::after { content: ''; position: absolute; top: 0.16rem; left: 0.16rem; width: 1.12rem; height: 1.12rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgb(var(--lm-ink-900) / 0.2); transition: transform 0.15s ease; } .am-cc-switch input:checked + span { background: var(--cc-brand-deep); } .am-cc-switch input:checked + span::after { transform: translateX(1.1rem); } .am-cc-switch input:disabled + span { background: rgb(var(--lm-brand-600)); opacity: 0.72; } .am-cc-switch input:focus-visible + span { outline: 2px solid rgb(var(--lm-brand-400)); outline-offset: 2px; } .am-cc-locked { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cc-brand-deep); align-self: center; } .am-cc-panel-foot { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; padding: 0.9rem 1.15rem 1.1rem; background: #fff; border-top: 1px solid rgb(var(--lm-ink-100)); } .am-cc-panel-foot .am-cc-btn-reject { color: var(--cc-ink); border-color: rgb(var(--lm-ink-200)); } .am-cc-panel-foot .am-cc-btn-reject:hover { background: rgb(var(--lm-ink-50)); } .am-cc-toast { position: fixed; z-index: 89; left: 50%; bottom: 1.5rem; transform: translateX(-50%); background: var(--cc-ink); color: #fff; font-size: 0.8rem; font-weight: 600; padding: 0.7rem 1.1rem; border-radius: 999px; box-shadow: 0 12px 30px rgb(var(--lm-ink-950) / 0.28); } body.am-cc-open .whatsapp-float { bottom: calc(var(--am-cc-h, 10.5rem) + 1.25rem); } @media (max-width: 820px) { .am-cc-bar { left: 0.65rem; right: 0.65rem; bottom: 0.65rem; padding: 1rem 1rem 1.05rem; } .am-cc-bar-inner { grid-template-columns: 1fr; gap: 0.95rem; } .am-cc-actions { justify-content: stretch; } .am-cc-btn-accept, .am-cc-btn-reject { flex: 1 1 calc(50% - 0.25rem); min-width: 0; } .am-cc-btn-prefs { flex: 1 1 100%; text-align: center; } } @media (prefers-reduced-motion: reduce) { .am-cc-btn, .am-cc-switch span, .am-cc-switch span::after { transition: none; } .am-cc-btn-accept:hover { transform: none; } }