/*
 * Copyright (c) 2026 Doğugün Özkaya. All rights reserved.
 * Unauthorized copying, distribution or use of this file, via any medium,
 * is strictly prohibited. Proprietary and confidential.
 * See the LICENSE file in the project root for full terms.
 */

/* ===========================================================================
   Liquid Glass site theme — the live version of /design/8.
   Everything is scoped to body.lg-theme, which base.html sets on customer
   pages only (admin / organizer panels keep the classic look).
   =========================================================================== */
.lg-theme {
  --main1: var(--theme-main1, #330596); --main1-rgb: var(--theme-main1-rgb, 51,5,150);
  --main2: var(--theme-main2, #fa1980); --main2-rgb: var(--theme-main2-rgb, 250,25,128);
  --ink: #1d1e24; --ink-soft: rgba(29,30,36,.72); --ink-faint: rgba(29,30,36,.5);
  --tint-rgb: 40,42,52;
  --glass-bg: linear-gradient(135deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.32) 100%);
  --glass-border: rgba(255,255,255,.75);
  --glass-blur: blur(22px) saturate(160%);
  --glass-shadow: 0 10px 34px rgba(30,32,40,.12), 0 2px 6px rgba(30,32,40,.06);
  --radius: 26px;
  font-family: -apple-system, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #eceef1;
  overflow-x: hidden;
}
.lg-theme .text-muted { color: var(--ink-soft) !important; }
.lg-theme a { color: var(--main1); }
.lg-theme a:hover { color: var(--main2); }

/* ---------- Living background: light grey with slow, soft grey waves ---------- */
.lg-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
         background: radial-gradient(120% 90% at 50% 0%, #f7f8fa 0%, #eceef1 50%, #e2e4e8 100%); }
.lg-bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9;
           animation: lg-float 22s ease-in-out infinite alternate; }
.lg-bg i:nth-child(1) { width: 46vmax; height: 46vmax; left: -10vmax; top: -12vmax; background: #b6bac3; }
.lg-bg i:nth-child(2) { width: 38vmax; height: 38vmax; right: -8vmax; top: 8vmax; background: #c4c7cf; animation-duration: 26s; animation-delay: -6s; }
.lg-bg i:nth-child(3) { width: 30vmax; height: 30vmax; left: 30vmax; bottom: -12vmax; background: #a9aeb8; animation-duration: 30s; animation-delay: -12s; }
.lg-bg i:nth-child(4) { width: 22vmax; height: 22vmax; left: 8vmax; top: 55vh; background: #fff; opacity: 1; animation-duration: 34s; }
@keyframes lg-float { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(6vmax,4vmax) scale(1.12); } 100% { transform: translate(-4vmax,8vmax) scale(.95); } }
@media (prefers-reduced-motion: reduce) { .lg-bg i { animation: none; } }

/* ---------- The glass material (also applied to Bootstrap cards below) ---------- */
.lg-theme .glass,
.lg-theme main .card,
.lg-theme .funnel-item {
  position: relative; background: var(--glass-bg) !important;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border) !important; border-radius: var(--radius) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(var(--tint-rgb),.06),
              inset 0 0 22px rgba(255,255,255,.35), var(--glass-shadow) !important;
}
.lg-theme .glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 60% at 20% -10%, rgba(255,255,255,.75), transparent 55%),
              radial-gradient(80% 50% at 110% 120%, rgba(255,255,255,.35), transparent 60%);
}
.lg-theme .glass > * { position: relative; }
/* ...except a card's whole-card link: it must stay static so its ::after covers the
   entire card (Bootstrap .stretched-link); buttons inside (.acts) sit above it. */
.lg-theme .glass > .stretched-link { position: static; }
.lg-theme .glass-pill { border-radius: 999px !important; }
.lg-theme .glass-btn { transition: transform .25s cubic-bezier(.2,.9,.3,1.3), background .2s ease, box-shadow .2s ease; }
.lg-theme .glass-btn:hover { transform: translateY(-2px) scale(1.02); background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.55)) !important; }
.lg-theme .glass-btn:active { transform: scale(.97); }
/* Inner surfaces that used to be grey boxes become soft frosted wells */
.lg-theme main .bg-light { background: rgba(255,255,255,.45) !important; }
.lg-theme main section.bg-light, .lg-theme main > .bg-light { background: transparent !important; border: 0 !important; }
.lg-theme main .border-bottom { border-color: rgba(var(--tint-rgb),.08) !important; }

/* ---------- Tinted glass: the brand gradient as a translucent material ---------- */
.lg-theme .grad-btn, .lg-theme .tinted-glass,
.lg-theme .btn-primary, .lg-theme .btn-warning {
  background: linear-gradient(135deg, rgba(var(--main1-rgb),.68), rgba(var(--main2-rgb),.62)) !important;
  -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  border: 1px solid rgba(255,255,255,.45) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(255,255,255,.12), 0 6px 18px rgba(var(--main1-rgb),.18);
  color: #fff !important;
}
.lg-theme .grad-btn, .lg-theme .btn-primary, .lg-theme .btn-warning {
  position: relative; overflow: hidden; font-weight: 700; border-radius: 999px;
  text-shadow: 0 1px 2px rgba(var(--main1-rgb),.35);
  transition: transform .25s cubic-bezier(.2,.9,.3,1.3), background .2s, box-shadow .2s;
}
.lg-theme .grad-btn, .lg-theme .grad-btn:hover, .lg-theme .btn { text-decoration: none; }
.lg-theme .grad-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; cursor: pointer; padding: .8rem 1.6rem; }
.lg-theme .grad-btn::before, .lg-theme .btn-primary::before, .lg-theme .btn-warning::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,0) 55%);
}
.lg-theme .grad-btn:hover, .lg-theme .btn-primary:hover, .lg-theme .btn-warning:hover {
  transform: translateY(-2px); color: #fff !important;
  background: linear-gradient(135deg, rgba(var(--main1-rgb),.8), rgba(var(--main2-rgb),.74)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 26px rgba(var(--main2-rgb),.25);
}
.lg-theme .btn-primary:disabled, .lg-theme .btn-primary.disabled { opacity: .55; transform: none; }

/* Secondary / outline buttons → clear glass */
.lg-theme .btn-outline-primary, .lg-theme .btn-outline-secondary, .lg-theme .btn-outline-dark,
.lg-theme .btn-outline-success, .lg-theme .btn-outline-danger, .lg-theme .btn-outline-light,
.lg-theme .btn-light, .lg-theme .btn-secondary {
  background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,255,255,.4));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.85); border-radius: 999px; font-weight: 600;
  box-shadow: inset 0 1px 0 #fff, 0 3px 10px rgba(30,32,40,.08);
  transition: transform .25s cubic-bezier(.2,.9,.3,1.3), background .2s, color .2s;
}
.lg-theme .btn-outline-primary, .lg-theme .btn-outline-light, .lg-theme .btn-light { color: var(--main1); }
.lg-theme .btn-outline-secondary, .lg-theme .btn-outline-dark, .lg-theme .btn-secondary { color: var(--ink); }
.lg-theme .btn-outline-success { color: #15803d; }
.lg-theme .btn-outline-danger { color: var(--main2); }
.lg-theme .btn-outline-primary:hover, .lg-theme .btn-outline-secondary:hover, .lg-theme .btn-outline-dark:hover,
.lg-theme .btn-outline-success:hover, .lg-theme .btn-outline-danger:hover, .lg-theme .btn-outline-light:hover,
.lg-theme .btn-light:hover, .lg-theme .btn-secondary:hover {
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.65));
  border-color: #fff; transform: translateY(-1px);
}
.lg-theme .btn-outline-primary:hover, .lg-theme .btn-outline-light:hover, .lg-theme .btn-light:hover { color: var(--main2); }
.lg-theme .btn-outline-danger:hover { color: var(--main2); }
.lg-theme .btn-outline-secondary:hover, .lg-theme .btn-outline-dark:hover, .lg-theme .btn-secondary:hover { color: var(--main1); }
.lg-theme .btn-outline-success:hover { color: #166534; }
.lg-theme .btn-secondary:disabled { opacity: .6; transform: none; }

/* ---------- Navbar: floating glass pill ---------- */
.lg-theme .lg-navbar { background: transparent !important; box-shadow: none !important; padding: 12px 0; z-index: 1030; }
.lg-theme .lg-navbar > .container {
  padding: 8px 10px 8px 14px; border-radius: 999px; gap: 6px;
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 22px rgba(255,255,255,.35), var(--glass-shadow);
}
.lg-theme .lg-navbar .navbar-brand > span { border-radius: 999px !important; padding: 6px 12px !important;
  background: rgba(255,255,255,.92) !important; box-shadow: inset 0 1px 0 #fff, 0 3px 10px rgba(30,32,40,.12); }
.lg-theme .lg-navbar .navbar-brand img { height: 22px !important; display: block; }
.lg-theme .lg-navbar .nav-link { color: var(--ink-soft); font-weight: 600; font-size: .92rem;
  padding: 8px 14px !important; border-radius: 999px; transition: background .2s, color .2s; }
.lg-theme .lg-navbar .nav-link:hover, .lg-theme .lg-navbar .nav-link.show { background: rgba(var(--tint-rgb),.07); color: var(--main1); }
.lg-theme .lg-navbar .nav-reg { padding: 8px 16px !important; font-size: .9rem; margin-left: 4px; }
.lg-theme .lg-navbar .navbar-toggler { border: 0; border-radius: 999px; padding: 6px 10px; box-shadow: none; }
.lg-theme .lg-navbar .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(var(--main1-rgb),.15); }
/* Navbar search, as in the design */
.lg-theme .nav-search .input-group {
  height: 44px; padding: 4px; background: rgba(255,255,255,.7); overflow: visible;
  border: 1px solid rgba(var(--tint-rgb),.10); box-shadow: inset 0 1px 2px rgba(var(--tint-rgb),.10);
}
.lg-theme .nav-search .form-control { background: transparent; color: var(--ink); padding: 0 14px; font-size: .95rem; }
.lg-theme .nav-search .form-control::placeholder { color: var(--ink-faint); }
.lg-theme .nav-search .nav-search-icon { width: 36px; border-radius: 50% !important; background: transparent;
  color: var(--main1); box-shadow: none; }
.lg-theme .nav-search .nav-search-icon:hover { background: rgba(var(--tint-rgb),.08); color: var(--main2); }
.lg-theme .nav-search .btn-warning { width: 40px; border-radius: 999px !important; font-size: 1rem; }
/* Dropdowns → glass sheets */
.lg-theme .dropdown-menu {
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.7));
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: 18px; padding: 6px; box-shadow: var(--glass-shadow);
}
.lg-theme .dropdown-item { border-radius: 12px; padding: 8px 12px; color: var(--ink); font-weight: 500; }
.lg-theme .dropdown-item:hover, .lg-theme .dropdown-item:focus { background: rgba(var(--tint-rgb),.07); color: var(--main1); }
.lg-theme .dropdown-item.active { background: rgba(var(--main1-rgb),.12); color: var(--main1); }
.lg-theme .dropdown-item.text-danger { color: var(--main2) !important; }
@media (max-width: 991.98px) {
  .lg-theme .lg-navbar > .container { border-radius: 24px; }
  .lg-theme .lg-navbar .navbar-collapse { padding: 6px 2px 4px; }
  .lg-theme .lg-navbar .nav-reg { display: inline-flex; margin: 4px 0 0; }
}
@media (max-width: 575.98px) {
  .lg-theme .lg-navbar > .container { width: calc(100% - 24px); margin-inline: 12px; }
  .lg-theme .lg-media .carousel-item img, .lg-theme .lg-media .carousel-item video { height: clamp(220px, 62vw, 420px) !important; }
}

/* ---------- Footer: one glass panel ---------- */
.lg-theme .lg-footer { background: transparent !important; color: var(--ink) !important; padding: 0 0 24px !important; margin-top: 48px; }
.lg-theme .lg-footer .lg-footer-panel { padding: 28px 28px 18px; }
.lg-theme .lg-footer h6 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
.lg-theme .lg-footer .footer-links a { color: var(--ink-soft) !important; }
.lg-theme .lg-footer .footer-links a:hover { color: var(--main1) !important; }
.lg-theme .lg-footer .footer-links .text-muted, .lg-theme .lg-footer .text-muted { color: var(--ink-soft) !important; }
.lg-theme .lg-footer hr { border-color: rgba(var(--tint-rgb),.15) !important; opacity: 1; }
.lg-theme .lg-footer .lg-logo-chip { border-radius: 999px !important; background: rgba(255,255,255,.92) !important;
  box-shadow: inset 0 1px 0 #fff, 0 3px 10px rgba(30,32,40,.12); }

/* ---------- Forms ---------- */
.lg-theme main .form-control, .lg-theme main .form-select {
  background-color: rgba(255,255,255,.7); border: 1px solid rgba(var(--tint-rgb),.12); border-radius: 14px; color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(var(--tint-rgb),.06);
}
.lg-theme main .form-control:focus, .lg-theme main .form-select:focus {
  background-color: rgba(255,255,255,.92); border-color: rgba(var(--main1-rgb),.45);
  box-shadow: 0 0 0 4px rgba(var(--main1-rgb),.12);
}
.lg-theme main .input-group > .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.lg-theme main .input-group > .btn:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.lg-theme main .input-group > .btn:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.lg-theme main .input-group > .btn:last-child:not(:first-child) { border-top-right-radius: 14px; border-bottom-right-radius: 14px; }
.lg-theme .form-check-input:checked { background-color: var(--main1); border-color: var(--main1); }
.lg-theme main .form-check.border { border-color: rgba(var(--tint-rgb),.12) !important; border-radius: 14px !important;
  background: rgba(255,255,255,.5); }

/* ---------- Badges, alerts, pagination ---------- */
.lg-theme .badge.bg-primary { background: linear-gradient(135deg, rgba(var(--main1-rgb),.75), rgba(var(--main2-rgb),.68)) !important;
  border-radius: 999px; font-weight: 700; }
.lg-theme .alert { border-radius: 18px; border: 1px solid rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 6px 18px rgba(30,32,40,.07); }
.lg-theme .pagination { gap: 6px; }
.lg-theme .page-link { border-radius: 999px !important; border: 1px solid rgba(255,255,255,.85); color: var(--ink);
  background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); min-width: 40px; text-align: center; }
.lg-theme .page-link:hover { background: rgba(255,255,255,.9); color: var(--main1); }
.lg-theme .page-item.active .page-link { background: linear-gradient(135deg, rgba(var(--main1-rgb),.7), rgba(var(--main2-rgb),.64));
  border-color: rgba(255,255,255,.45); color: #fff; }
.lg-theme .page-item.disabled .page-link { background: rgba(255,255,255,.35); color: var(--ink-faint); }

/* ---------- Chips (design 8) ---------- */
.lg-theme .chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  color: var(--ink); background: #ffffffcc; border: 1px solid #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lg-theme .chip.hot { color: #fff; background: linear-gradient(135deg, rgba(var(--main1-rgb),.68), rgba(var(--main2-rgb),.62));
  border-color: rgba(255,255,255,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }

/* ---------- Featured carousel ---------- */
.lg-theme .lg-hero { position: relative; margin-top: 10px; }
.lg-theme .lg-carousel { padding: 10px; overflow: hidden; }
.lg-theme .lg-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 18px; scrollbar-width: none; }
.lg-theme .lg-track::-webkit-scrollbar { display: none; }
.lg-theme .lg-slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; height: clamp(240px, 30vw, 400px);
  border-radius: 18px; overflow: hidden; background: rgba(var(--tint-rgb),.07); color: var(--ink); text-decoration: none; }
.lg-theme .lg-slide:hover { color: var(--ink); }
.lg-theme .lg-slide .bgimg { position: absolute; inset: -30px; background: center/cover no-repeat; filter: blur(28px) saturate(1.4); opacity: .7; }
.lg-theme .lg-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lg-theme .lg-slide .cap { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 16px 20px; border-radius: 20px !important;
  display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.lg-theme .lg-slide .cap h2 { margin: 4px 0 4px; font-size: clamp(1.15rem, 2.6vw, 1.9rem); font-weight: 700; }
.lg-theme .lg-slide .cap .meta { color: var(--ink-soft); font-size: .9rem; display: flex; gap: 14px; flex-wrap: wrap; }
.lg-theme .lg-slide .cap .grad-btn { margin-left: auto; }
.lg-theme .lg-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.lg-theme .lg-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: rgba(var(--tint-rgb),.21); cursor: pointer; transition: width .3s, background .3s; padding: 0; }
.lg-theme .lg-dots button.on { width: 26px; background: var(--main1); }
.lg-theme .lg-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50% !important;
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); font-size: 1.2rem; }
.lg-theme .lg-arrow:hover { transform: translateY(-50%) scale(1.05); }
.lg-theme .lg-arrow.prev { left: 22px; } .lg-theme .lg-arrow.next { right: 22px; }
@media (max-width: 640px) {
  .lg-theme .lg-arrow { display: none; }
  .lg-theme .lg-slide { height: auto; display: flex; flex-direction: column; background: transparent; }
  .lg-theme .lg-slide .bgimg { bottom: auto; height: 240px; }
  .lg-theme .lg-slide img { position: relative; height: 200px; }
  .lg-theme .lg-slide .cap { position: relative; left: auto; right: auto; bottom: auto; margin-top: 8px; padding: 12px 14px;
    flex-wrap: nowrap; align-items: center; border-radius: 16px !important; }
  .lg-theme .lg-slide .cap > div { min-width: 0; }
  .lg-theme .lg-slide .cap h2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lg-theme .lg-slide .cap .meta { font-size: .78rem; gap: 8px; }
  .lg-theme .lg-slide .cap .meta span:nth-child(2) { display: none; }
  .lg-theme .lg-slide .cap .grad-btn { flex-shrink: 0; padding: .55rem 1rem; font-size: .82rem; }
  .lg-theme .lg-slide .cap .grad-btn .bi { display: none; }
}

/* ---------- Category pills → glass tiles with gradient icons ---------- */
.lg-theme .category-pill {
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: 22px; padding: 14px 18px; min-width: 96px; gap: 6px;
  font-size: .88rem; color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 22px rgba(255,255,255,.35), var(--glass-shadow);
  transition: transform .25s cubic-bezier(.2,.9,.3,1.3), background .2s ease;
}
.lg-theme .category-pill i { font-size: 1.6rem; background: linear-gradient(135deg, var(--main1), var(--main2));
  -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.lg-theme .category-pill:hover { transform: translateY(-2px) scale(1.02); color: var(--ink); border-color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.55));
  box-shadow: inset 0 1px 0 #fff, var(--glass-shadow); }
.lg-theme .category-pill.active { border-color: rgba(var(--main1-rgb),.35); color: var(--main1);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 3px rgba(var(--main1-rgb),.1), var(--glass-shadow); }
.lg-theme .category-section { padding-top: 22px !important; padding-bottom: 8px !important; }
/* One swipeable row at every width (centred while it fits), as in the design */
.lg-theme .category-strip { flex-wrap: nowrap !important; justify-content: flex-start !important; gap: 10px !important;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 6px 12px 14px; margin-inline: -12px; scroll-padding-inline: 12px; }
.lg-theme .category-strip::-webkit-scrollbar { display: none; }
.lg-theme .category-strip > :first-child { margin-left: auto; }
.lg-theme .category-strip > :last-child { margin-right: auto; }
.lg-theme .category-strip .category-pill { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; }
@media (max-width: 991.98px) {
  .lg-theme .category-strip { padding-block: 6px 12px; }
  .lg-theme .category-strip .category-pill { padding: 10px 12px; min-width: 78px; font-size: .8rem; border-radius: 18px; }
  .lg-theme .category-strip .category-pill i { font-size: 1.3rem; }
}

/* ---------- Homepage one-piece search bar → glass pill ---------- */
.lg-theme .home-searchbar {
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); padding: 7px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 22px rgba(255,255,255,.35), var(--glass-shadow);
}
.lg-theme .home-searchbar .hs-field + .hs-field::before { background: rgba(var(--tint-rgb),.13); }
.lg-theme .home-searchbar .hs-field:hover, .lg-theme .home-searchbar .hs-field:focus-within { background: rgba(var(--tint-rgb),.08); }
.lg-theme .home-searchbar .hs-label { color: var(--main1); font-size: .7rem; letter-spacing: .06em; }
.lg-theme .home-searchbar .hs-input { color: var(--ink); }
.lg-theme .home-searchbar .hs-submit {
  background: linear-gradient(135deg, rgba(var(--main1-rgb),.68), rgba(var(--main2-rgb),.62));
  border: 1px solid rgba(255,255,255,.45); text-shadow: 0 1px 2px rgba(var(--main1-rgb),.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 6px 18px rgba(var(--main1-rgb),.18);
}
@media (max-width: 575.98px) {
  .lg-theme .home-searchbar { border-radius: 20px; padding: 6px; gap: 5px; }
  .lg-theme .home-searchbar .hs-field { background: rgba(var(--tint-rgb),.04); border-radius: 14px; }
}

/* ---------- Section titles + glass event cards ---------- */
.lg-theme .event-carousel-section { padding-top: 28px !important; padding-bottom: 4px !important; }
.lg-theme .lg-sec-title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem !important; }
.lg-theme .lg-sec-title .ico { width: 36px; height: 36px; border-radius: 12px !important; display: inline-flex; align-items: center;
  justify-content: center; font-size: 1rem; color: var(--ink); }
.lg-theme .event-strip { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important; gap: 18px !important; }
.lg-theme .event-strip-item { min-width: 0; }
.lg-card { display: flex; flex-direction: column; height: 100%; padding: 8px; border-radius: 24px !important; color: var(--ink);
  transition: transform .35s cubic-bezier(.2,.9,.3,1.25), box-shadow .3s; }
.lg-card:hover { transform: translateY(-6px) scale(1.015);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 20px 44px rgba(30,32,40,.18) !important; }
.lg-card .img { position: relative; height: 190px; border-radius: 18px; overflow: hidden; background: rgba(var(--tint-rgb),.07); }
.lg-card .img .bgimg { position: absolute; inset: -20px; background: center/cover no-repeat; filter: blur(20px) saturate(1.4); opacity: .6; }
/* Server-side pre-blurred copy (same blur + saturation): no live filter needed. */
.lg-card .img .bgimg.pre { filter: none; }
/* Event cards: their live blurs only blurred the page gradient and that (now
   pre-blurred) backdrop, so the look is unchanged without them (pixel-compared:
   0.06% of pixels differ) — and the browser no longer re-blurs every card and
   chip on every frame. Translucency, highlights and shadows stay. */
.lg-theme .lg-card.glass, .lg-theme .lg-card .chip { -webkit-backdrop-filter: none; backdrop-filter: none; }
.lg-card .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lg-card .img .noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: var(--ink-faint); }
.lg-card .img .chip { position: absolute; top: 10px; right: 10px; }
.lg-card .body { padding: 8px 6px 3px; display: flex; flex-direction: column; flex: 1; }
.lg-card h3 { font-size: .86rem; font-weight: 700; margin: 0 0 3px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-card .meta { font-size: .7rem; line-height: 1.2; color: var(--ink-soft); display: flex; flex-direction: column; gap: 0; }
.lg-card .meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 6px; }
.lg-card .price { font-size: .72rem; font-weight: 800; }
.lg-card .acts { display: flex; align-items: center; gap: 4px; position: relative; z-index: 2; }
.lg-card .grad-btn { padding: .3rem .8rem; font-size: .72rem; }
.lg-card .save-btn { width: 28px; height: 28px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.7); color: var(--main2); box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(30,32,40,.08); }
.lg-card .save-btn:hover { background: #fff; }
.event-strip-item .dist-badge { border-radius: 999px; background: rgba(29,30,36,.72) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  top: 18px !important; left: 18px !important; }
@media (max-width: 640px) {
  .lg-theme .event-strip { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .lg-card { border-radius: 22px !important; padding: 6px; }
  .lg-card .img { height: 130px; border-radius: 17px; }
  .lg-card h3 { font-size: .8rem; }
  .lg-card .meta { font-size: .66rem; }
  .lg-card .price { font-size: .68rem; }
  .lg-card .foot { flex-direction: column; align-items: stretch; gap: 4px; }
  .lg-card .acts .grad-btn { flex: 1; padding: .3rem; }
}

/* ---------- Category page header ---------- */
.lg-theme .lg-page-head { margin-top: 10px; padding: 28px 30px; }
.lg-theme .lg-page-head h1 i { background: linear-gradient(135deg, var(--main1), var(--main2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-theme .lg-page-head .input-group { height: 48px; border-radius: 999px; padding: 4px; background: rgba(255,255,255,.7);
  border: 1px solid rgba(var(--tint-rgb),.10); box-shadow: inset 0 1px 2px rgba(var(--tint-rgb),.10); }
.lg-theme .lg-page-head .input-group .form-control { border: 0; background: transparent; box-shadow: none; }
.lg-theme .lg-page-head .input-group .btn { border-radius: 999px !important; padding: 0 1.3rem; }
@media (max-width: 640px) { .lg-theme .lg-page-head { padding: 20px 18px; border-radius: 22px !important; } }

/* ---------- Event detail: media frame + meta chips ---------- */
.lg-theme .lg-media { padding: 10px; }
.lg-theme .lg-media .carousel { border-radius: 18px; overflow: hidden; box-shadow: none !important; margin: 0 !important; }
.lg-theme .lg-media .carousel-item img { background: rgba(var(--tint-rgb),.06) !important; }
.lg-theme .lg-head { padding: 22px 24px; }
.lg-theme .lg-head .metas { display: flex; flex-wrap: wrap; gap: 8px; }
.lg-theme .lg-head .metas span { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; color: var(--ink);
  padding: 5px 11px; border-radius: 999px; background: #ffffffb3; border: 1px solid #fff; }
.lg-theme .lg-head .metas span i { margin: 0 !important; color: var(--main1); }
.lg-theme main .card.p-4 h5 { display: flex; align-items: center; }

/* ---------- Booking funnel / stepper ---------- */
.lg-theme .funnel { gap: 10px; }
.lg-theme .funnel-item { border-radius: 22px !important; overflow: visible; }
/* The open step is just a frame for the page: no extra glass layer, only its header pill */
.lg-theme .funnel-item.current { background: transparent !important; border: 0 !important; box-shadow: none !important;
  -webkit-backdrop-filter: none; backdrop-filter: none; }
.lg-theme .funnel-item.current > .funnel-head { background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255,255,255,.95), var(--glass-shadow); }
.lg-theme .funnel-item.current > .funnel-body { padding: 14px 0 0; }
.lg-theme .funnel-head { border-radius: 22px; color: var(--ink); }
.lg-theme .funnel-head.open { background: transparent; color: var(--main1); }
.lg-theme .funnel-link:hover { background: rgba(255,255,255,.85) !important; }
.lg-theme .funnel-badge { background: rgba(var(--tint-rgb),.25); }
.lg-theme .funnel-item.current .funnel-badge { background: linear-gradient(135deg, rgba(var(--main1-rgb),.8), rgba(var(--main2-rgb),.72)); }
.lg-theme .funnel-item.done .funnel-badge { background: #16a34a; }
.lg-theme .funnel-item.upcoming .funnel-label { color: var(--ink-faint); }
/* Cards nested inside the current step stay one layer of glass, not two */
.lg-theme .funnel-body .card { box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 4px 16px rgba(30,32,40,.07) !important; }
.lg-theme .journey-stepper .js-step.current .js-badge { background: var(--main1); }
.lg-theme .journey-stepper .js-step.current .js-label { color: var(--main1); }

/* ---------- Seat selection: let the page background through ---------- */
.lg-theme .seat-select-header { background: transparent !important; border: 0 !important; }
.lg-theme .lg-seat-wrap { background: transparent !important; }
.lg-theme #seat-map-container { border-radius: 18px; border: 1px solid rgba(255,255,255,.85); box-shadow: inset 0 1px 0 #fff, 0 4px 16px rgba(30,32,40,.06); }

/* ---------- Tickets ---------- */
.lg-theme .ticket-card { border-color: rgba(var(--tint-rgb),.18); }
.lg-theme .ticket-card::before, .lg-theme .ticket-card::after { background: #eceef1; }

/* Fallback when backdrop-filter isn't supported: denser tint, still legible */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lg-theme .glass, .lg-theme main .card, .lg-theme .funnel-item,
  .lg-theme .lg-navbar > .container, .lg-theme .category-pill, .lg-theme .home-searchbar { background: rgba(255,255,255,.9) !important; }
}

/* ---------- Discount stickers (event cards + event page) ----------
 * Shown only when an event has advertised discounts; cards without any are unchanged. */
.lg-card .img .deal-stickers { position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 5px; z-index: 1; pointer-events: none; }
.deal-sticker { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; font-weight: 800; line-height: 1;
  padding: 5px 9px; border-radius: 999px; color: #fff; white-space: nowrap;
  background: linear-gradient(120deg, #fa1980, #c2186e); box-shadow: 0 3px 10px rgba(250,25,128,.3); }
.deal-sticker.campaign { background: linear-gradient(120deg, #f97316, #ea580c); box-shadow: 0 3px 10px rgba(234,88,12,.3); }
.deal-sticker.public { background: #fff; color: #330596; box-shadow: 0 3px 10px rgba(51,5,150,.18); }
.deal-sticker.more { background: rgba(29,30,36,.72); box-shadow: none; }
.deal-sticker.soldout { background: rgba(29,30,36,.82); box-shadow: 0 3px 10px rgba(29,30,36,.25); }
.deals-box { padding: 12px 14px; border-radius: 16px; background: rgba(250,25,128,.06); border: 1px solid rgba(250,25,128,.18); }
.deals-box .deal-item + .deal-item { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(250,25,128,.2); }
.deals-box .deal-code { font-weight: 800; color: #c2186e; background: #fff; padding: 2px 6px; border-radius: 6px; user-select: all; }

/* ---------- Event page header: description / details sections inside it ---------- */
.lg-theme .lg-head .lg-head-sep { margin: 18px 0 16px; border: 0; border-top: 1px solid rgba(var(--tint-rgb),.14); opacity: 1; }
.lg-theme .lg-head .event-section h5 { font-size: 1.05rem; }
.lg-theme .lg-head .event-section .event-desc { color: var(--ink-soft); }
.lg-theme .lg-head .event-section .event-details > :last-child { margin-bottom: 0; }

/* ---------- Event page media gallery (same parts as the homepage slider) ---------- */
.lg-theme .ev-gallery { position: relative; padding: 10px; overflow: hidden; }
.lg-theme .ev-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 18px; scrollbar-width: none; }
.lg-theme .ev-track::-webkit-scrollbar { display: none; }
.lg-theme .ev-slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; overflow: hidden;
  height: clamp(220px, 56vw, 440px); background: rgba(var(--tint-rgb),.06); }
.lg-theme .ev-slide .bgimg { position: absolute; inset: -30px; background: center/cover no-repeat; filter: blur(28px) saturate(1.4); opacity: .7; }
.lg-theme .ev-slide .bgimg.pre { inset: 0; filter: none; opacity: 1; }
.lg-theme .ev-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lg-theme .ev-slide.is-video { background: #000; }
.lg-theme .ev-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lg-theme .ev-gallery .lg-arrow.prev { left: 22px; } .lg-theme .ev-gallery .lg-arrow.next { right: 22px; }
.lg-theme .ev-gallery .lg-arrow { top: calc(50% - 12px); }
.lg-theme .ev-gallery .lg-dots { margin-top: 10px; }
.lg-theme .ev-count { position: absolute; top: 20px; right: 20px; z-index: 3; font-size: .72rem; font-weight: 700; color: #fff;
  padding: 4px 9px; border-radius: 999px; background: rgba(29,30,36,.55); }

/* ---------- Event page: one component — poster + meta banner, foldable text, map ---------- */
.lg-theme .ev-main { padding: 10px; }
.lg-theme .ev-main .ev-gallery { padding: 0; overflow: visible; }
.lg-theme .ev-stage { position: relative; border-radius: 18px; overflow: hidden; }
.lg-theme .ev-stage .ev-track { border-radius: 0; }
.lg-theme .ev-main .ev-slide { height: clamp(280px, 60vw, 480px); }
.lg-theme .ev-main .ev-count { top: 10px; right: 10px; }
.lg-theme .ev-main .ev-gallery .lg-arrow { top: calc(50% - 46px); }
.lg-theme .ev-main .ev-gallery .lg-arrow.prev { left: 12px; } .lg-theme .ev-main .ev-gallery .lg-arrow.next { right: 12px; }

/* Meta banner: frosted strip on the poster's bottom edge */
.lg-theme .ev-banner { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; }
.lg-theme .ev-stage .ev-banner { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.6));
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75); }
.lg-theme .ev-banner-static .ev-banner { padding: 14px 12px 4px 16px; }
.lg-theme .ev-banner-main { flex: 1; min-width: 0; }
.lg-theme .ev-banner-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lg-theme .ev-banner h1 { margin: 0; font-size: 1.35rem; font-weight: 800; line-height: 1.2; color: var(--ink); min-width: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lg-theme .ev-cat { flex-shrink: 0; font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, rgba(var(--main1-rgb),.75), rgba(var(--main2-rgb),.68)); border: 1px solid rgba(255,255,255,.45); }
.lg-theme .ev-banner .metas { display: flex; gap: 6px; margin-top: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.lg-theme .ev-banner .metas::-webkit-scrollbar { display: none; }
.lg-theme .ev-banner .metas span { flex-shrink: 0; display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap;
  font-size: .76rem; font-weight: 600; color: var(--ink); padding: 3px 9px; border-radius: 999px; background: #ffffffb3; border: 1px solid #fff; }
.lg-theme .ev-banner .metas i { color: var(--main1); }
.lg-theme .ev-save { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 14px;
  border-radius: 999px; border: 1px solid #fff; background: #ffffffcc; color: var(--ink); font-weight: 600; font-size: .85rem; }
.lg-theme .ev-save .bi-heart-fill { color: var(--main2); }
@media (max-width: 640px) {
  .lg-theme .ev-banner { gap: 8px; padding: 9px 9px 9px 12px; }
  .lg-theme .ev-banner h1 { font-size: 1.02rem; }
  .lg-theme .ev-banner .metas { margin-top: 6px; }
  .lg-theme .ev-banner .metas span { font-size: .7rem; padding: 2px 8px; }
  .lg-theme .ev-save { width: 36px; height: 36px; padding: 0; }
  .lg-theme .ev-save .save-label { display: none; }
}

/* Description + details: a preview that unfolds */
.lg-theme .ev-more { position: relative; padding: 16px 16px 0; max-height: 7.5rem; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.lg-theme .ev-more.open, .lg-theme .ev-more.all { max-height: none; -webkit-mask-image: none; mask-image: none; }
.lg-theme .ev-more .event-section + .event-section { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(var(--tint-rgb),.14); }
.lg-theme .ev-more .event-section h5 { font-size: 1.05rem; }
.lg-theme .ev-more .event-desc { color: var(--ink-soft); }
.lg-theme .ev-more .event-details > :last-child { margin-bottom: 0; }

/* Footer row: "Devamını oku" left, map button bottom-right */
.lg-theme .ev-foot { display: flex; align-items: center; gap: 10px; padding: 10px 6px 4px 16px; }
.lg-theme .ev-more-btn { border: 0; background: none; padding: 6px 0; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--main1); }
.lg-theme .ev-more-btn i { transition: transform .2s; }
.lg-theme .ev-more-btn[aria-expanded="true"] i { transform: rotate(180deg); }
.lg-theme .ev-map-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px;
  border-radius: 999px; border: 1px solid #fff; background: #ffffffcc; color: var(--ink); font-weight: 700; font-size: .9rem; }
.lg-theme .ev-map-btn i { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff; background: linear-gradient(135deg, rgba(var(--main1-rgb),.8), rgba(var(--main2-rgb),.72)); }
.lg-theme .ev-map-btn.on { background: #fff; box-shadow: 0 0 0 2px rgba(var(--main1-rgb),.25); }
.lg-theme .ev-map { padding: 12px 6px 6px; }


/* Bottom buy bar — below 992px, while the ticket card's own button is off screen */
.ev-buybar { display: none; }
@media (max-width: 991.98px) {
  .lg-theme .ev-buybar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 1030;
    display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 24px !important;
    transform: translateY(150%); transition: transform .3s cubic-bezier(.2,.9,.3,1.1); }
  .lg-theme .ev-buybar.show { transform: none; }
  .lg-theme .ev-buybar-info { flex: 1; min-width: 0; line-height: 1.2; }
  .lg-theme .ev-buybar-info small { display: block; font-size: .74rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lg-theme .ev-buybar-info strong { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
  .lg-theme .ev-buybar .btn { flex-shrink: 0; padding: .75rem 1.15rem; border-radius: 999px; font-weight: 700; white-space: nowrap; }
  .lg-theme.has-buybar main { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .lg-theme .ev-buybar { transition: none; } }
