:root {
  --maroon: #6b2c2c;
  --maroon-dark: #4a1d1d;
  --maroon-darker: #331414;
  --maroon-light: #8a4343;
  --cream: #f7ede1;
  --cream-dark: #eddfcc;
  --gold: #c9974f;
  --gold-dark: #a8783a;
  --ink: #2b1d1d;
  --shadow-soft: 0 4px 18px rgba(74, 29, 29, .08);
  --shadow-lift: 0 10px 28px rgba(74, 29, 29, .16);
}

html {
  overflow-y: scroll; /* farklı sayfalar arası kaydırma çubuğu genişliği sıçramasını önler */
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.font-brand { font-family: 'Roboto', sans-serif; }

a { text-decoration: none; }

/* ==================================================================
   ADMIN & PANEL SHELL
   ================================================================== */
.app-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #fbf5ec 0%, var(--cream) 260px);
}

.app-sidebar {
  background: linear-gradient(195deg, var(--maroon-darker) 0%, var(--maroon-dark) 45%, var(--maroon) 100%);
  color: #fff;
  height: 100vh;
  width: 268px;
  box-shadow: 4px 0 24px rgba(0,0,0,.12);
  position: fixed;
  top: 0; left: 0;
  z-index: 30;
  overflow: hidden;
}

.app-sidebar > nav { overflow-y: auto; overflow-x: hidden; min-height: 0; flex-wrap: nowrap; }
.app-sidebar nav.flex-column { flex-wrap: nowrap; }

.nav-group-toggle { justify-content: flex-start; text-align: left; cursor: pointer; }
.app-sidebar .nav-link.nav-group-toggle .nav-link-label { flex: 0 1 auto !important; }
.nav-group-caret { transition: transform .2s ease; margin-left: .3rem; font-size: .55rem; flex-shrink: 0; }
.nav-group-toggle:not(.collapsed) .nav-group-caret { transform: rotate(180deg); }
.nav-group-body { display: none; flex-direction: column; min-width: 0; }
.nav-group-body.show { display: flex; }
.nav-group-body .nav-link { padding-left: 2rem; font-size: .82rem; }
.nav-group-body .nav-link i { font-size: .9rem; }

.app-main { margin-left: 0; }
@media (min-width: 992px) {
  .app-main { margin-left: 268px; }
}

/* .app-sidebar is reused on the mobile offcanvas drawer; it must keep Bootstrap's
   fixed/off-screen positioning, which the rule above (same class, later in the
   cascade) would otherwise override and break the whole layout. */
.offcanvas.app-sidebar {
  position: fixed !important;
  width: 300px !important;
  min-height: 0;
  z-index: 1045 !important;
}

.app-sidebar::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 15% 8%, rgba(255,255,255,.07), transparent 45%),
                     radial-gradient(circle at 90% 85%, rgba(201,151,79,.10), transparent 50%);
  pointer-events: none;
}

.app-sidebar .brand {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255,255,255,.10);
  position: relative;
  z-index: 1;
}

.app-sidebar .brand img { max-height: 38px; max-width: 120px; object-fit: contain; }

.app-sidebar .brand strong { font-size: 1.02rem; letter-spacing: .2px; }

.sidebar-profile {
  display: flex; align-items: center; gap: .65rem;
  padding: .65rem 1.15rem;
  margin: .2rem .75rem 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: .9rem;
  position: relative; z-index: 1;
}

.sidebar-profile .avatar-chip {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.sidebar-profile .role-badge {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .4px;
  color: #f0d9b8; opacity: .85;
}

.app-version-tag {
  font-size: .7rem; color: rgba(255,255,255,.4);
  text-align: center; margin-top: .6rem; letter-spacing: .2px;
}

.app-sidebar .nav-link {
  color: rgba(255,255,255,.82);
  border-radius: .6rem;
  padding: .5rem .85rem;
  margin: .08rem .65rem;
  font-size: .87rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  position: relative; z-index: 1;
  min-width: 0;
  transition: background .15s ease, transform .15s ease;
}
.app-sidebar .nav-link .nav-link-label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }

.app-sidebar .nav-link i { font-size: .98rem; width: 1.1rem; text-align: center; opacity: .9; }

.app-sidebar .nav-link:hover { background: rgba(255,255,255,.09); color: #fff; transform: translateX(2px); }
.app-sidebar .nav-link.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff; font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
}

.app-topbar {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eadfd0;
  padding: .8rem 1.1rem;
  position: sticky; top: 0; z-index: 20;
}

.app-content { padding: 1.4rem; }

@media (max-width: 991.98px) {
  .app-content { padding: 1rem .75rem; }
}

.card-soft {
  background: #fff;
  border: 1px solid #eee0cf;
  border-radius: 1.1rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .18s ease, transform .18s ease;
}

.card-soft.card-hover:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }

.stat-card {
  border-radius: 1.1rem;
  padding: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: .9rem;
}

.stat-card::after {
  content: "";
  position: absolute; right: -18px; top: -18px;
  width: 90px; height: 90px; border-radius: 50%;
  background: rgba(255,255,255,.10);
}

.stat-card .stat-icon {
  width: 46px; height: 46px; border-radius: .8rem;
  background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}

.stat-card .stat-number { font-size: 1.7rem; font-weight: 700; line-height: 1.1; }

.btn-maroon {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border-color: var(--maroon-dark);
  color: #fff;
  box-shadow: 0 3px 10px rgba(107,44,44,.28);
}
.btn-maroon:hover { background: linear-gradient(135deg, var(--maroon-dark), var(--maroon-darker)); border-color: var(--maroon-darker); color: #fff; }

.btn-outline-maroon {
  border-color: var(--maroon);
  color: var(--maroon);
}
.btn-outline-maroon:hover { background: var(--maroon); color: #fff; }

.badge-active { background: #2f7a4d; }
.badge-passive { background: #9a9a9a; }

.thumb {
  width: 56px; height: 56px; object-fit: cover; border-radius: .6rem; background: #eee;
}
.thumb-lg { width: 90px; height: 90px; object-fit: cover; border-radius: .8rem; background: #eee; }

.drag-handle { cursor: grab; color: #b7a99a; }

.form-label { font-weight: 600; font-size: .9rem; color: var(--maroon-dark); }

.color-swatch {
  width: 42px; height: 42px; border-radius: .6rem; border: 2px solid #fff; box-shadow: 0 0 0 1px #ddd;
  padding: 0; cursor: pointer;
}

/* ==================================================================
   PUBLIC MENU
   ================================================================== */

.announcement-bar {
  background: var(--gold);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
  padding: .55rem 1rem;
  position: relative;
  z-index: 31;
}

.public-nav {
  position: sticky; top: 0; z-index: 30;
  background: linear-gradient(180deg, var(--maroon-darker), var(--maroon-dark));
  padding: .7rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 14px rgba(0,0,0,.22);
}

.table-badge-bar {
  background: #fdf3e7;
  color: var(--maroon-dark);
  font-size: .8rem;
  font-weight: 700;
  text-align: center;
  padding: .45rem 1rem;
  border-bottom: 1px solid #f0dcc0;
}

.lang-dropdown { min-width: 170px; border-radius: .8rem; padding: .4rem; border: 1px solid #eadfd0; }
.lang-dropdown .dropdown-item { border-radius: .55rem; padding: .5rem .7rem; font-size: .88rem; }
.lang-dropdown .dropdown-item.active, .lang-dropdown .dropdown-item:active { background: var(--maroon); color: #fff; }

.search-hero {
  background: linear-gradient(180deg, var(--maroon-dark), var(--maroon));
  padding: 1.2rem 1rem 1.6rem;
}
.search-form {
  max-width: 640px; margin: 0 auto;
  background: #fff; border-radius: 1rem;
  display: flex; align-items: center; gap: .6rem;
  padding: .8rem 1rem;
  box-shadow: var(--shadow-lift);
}
.search-form i { color: var(--maroon); font-size: 1.1rem; }
.search-form input { border: none; outline: none; flex: 1; font-size: .95rem; font-family: 'Roboto', sans-serif; background: transparent; }

/* RTL (Arapça) düzeltmeleri */
[dir="rtl"] .crumb-path .bi-chevron-right,
[dir="rtl"] .p-chevron { transform: scaleX(-1); }
[dir="rtl"] .back-fab .bi-arrow-left,
[dir="rtl"] .back-to-menu-btn .bi-arrow-left { transform: scaleX(-1); }
[dir="rtl"] .product-row { text-align: right; }
[dir="rtl"] .tile-icon, [dir="rtl"] .menu-tile { direction: ltr; }

.public-nav .nav-brand { display: flex; align-items: center; gap: .6rem; color: #fff; min-width: 0; }
.public-nav .nav-brand .logo-badge {
  height: 40px; padding: .3rem .5rem; border-radius: .7rem; flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, #fffdf8 0%, #f3e4cf 60%, #fff 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.public-nav .nav-brand .logo-badge img { height: 100%; width: auto; object-fit: contain; display: block; }
.public-nav .nav-brand .logo-badge .avatar-fallback {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
}
.public-nav .nav-brand span { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lang-switch {
  display: flex; gap: .3rem; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16);
  border-radius: .8rem; padding: .3rem; flex-shrink: 0;
}
.lang-switch a {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: .55rem;
  opacity: .5;
  filter: grayscale(70%);
  transition: opacity .15s ease, filter .15s ease, background .15s ease;
  overflow: hidden;
}
.lang-switch a img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.lang-switch a.active { background: rgba(255,255,255,.18); opacity: 1; filter: grayscale(0%); box-shadow: 0 0 0 1.5px var(--gold) inset; }

.public-nav .nav-burger {
  width: 40px; height: 40px; border-radius: .7rem;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.public-nav .nav-burger:active { background: rgba(255,255,255,.2); }
.public-nav .nav-burger.lang-toggle { width: auto; padding: 0 .6rem; gap: .32rem; font-size: .74rem; font-weight: 700; letter-spacing: .3px; }
.public-nav .nav-burger.lang-toggle img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

.contact-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; padding: .55rem 1rem; border-radius: 2rem; font-weight: 600; font-size: .88rem;
}
.contact-pill:hover { background: rgba(255,255,255,.2); color: #fff; }
.contact-pill-lg { padding: .7rem 1.4rem; font-size: .95rem; background: var(--gold); border-color: var(--gold); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.contact-pill-lg:hover { background: var(--gold-dark); }

.public-offcanvas { background: linear-gradient(195deg, var(--maroon-darker), var(--maroon-dark)); color: #fff; width: 300px; }
.public-offcanvas .offcanvas-header { border-bottom: 1px solid rgba(255,255,255,.1); }
.public-offcanvas .nav-link { color: rgba(255,255,255,.88); border-radius: .65rem; padding: .7rem .9rem; margin-bottom: .2rem; display: flex; align-items: center; gap: .65rem; font-size: .95rem; }
.public-offcanvas .nav-link:hover, .public-offcanvas .nav-link.active { background: rgba(255,255,255,.1); color: #fff; }
.public-offcanvas .nav-link .cat-emoji { font-size: 1.15rem; }
.public-offcanvas .offcanvas-contact { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; margin-top: .5rem; font-size: .88rem; color: rgba(255,255,255,.75); }
.public-offcanvas .offcanvas-contact a { color: #fff; }

.offcanvas-lang-switch { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; }
.offcanvas-lang-btn {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .6rem .9rem; border-radius: .7rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.9); font-size: .88rem; font-weight: 600;
}
.offcanvas-lang-btn img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.offcanvas-lang-switch .lang-dropdown { min-width: 0; }

.hero-section {
  background: linear-gradient(180deg, var(--maroon-dark) 0%, var(--maroon) 65%, var(--maroon) 100%);
  padding: 1.6rem 1.2rem 2.2rem;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 10% 0%, rgba(255,255,255,.06), transparent 40%),
                     radial-gradient(circle at 95% 100%, rgba(201,151,79,.14), transparent 45%);
  pointer-events: none;
}

.hero-store-name {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.7rem;
  margin: .6rem 0 .15rem;
  position: relative; z-index: 1;
}

.hero-tagline {
  font-family: 'Roboto', sans-serif;
  font-style: italic;
  font-weight: 500;
  color: #f0d9b8;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  position: relative; z-index: 1;
}

.hero-logo-ring {
  display: inline-flex; align-items: center; justify-content: center;
  width: 92px; height: 92px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fffdf8 0%, #f3e4cf 55%, var(--gold) 100%);
  box-shadow: var(--shadow-lift);
  position: relative; z-index: 1;
}

.hero-logo-ring.has-logo {
  width: auto; min-width: 130px; max-width: 220px; height: 92px;
  border-radius: 1.2rem; padding: .6rem 1.1rem;
}

.hero-logo {
  width: 78px; height: 78px; object-fit: cover; border-radius: 50%;
  border: 3px solid #fff;
  background: #fff;
}

.hero-logo-ring.has-logo .hero-logo {
  width: 100%; height: 100%; object-fit: contain; border-radius: 0; border: none; background: transparent;
}

.hero-photo {
  max-width: 480px; margin: 0 auto;
  border-radius: 1.2rem; overflow: hidden;
  box-shadow: 0 16px 34px rgba(0,0,0,.35);
  height: 190px;
  background-size: cover; background-position: center;
  background-color: rgba(255,255,255,.08);
  position: relative; z-index: 1;
}

.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(20,10,10,.45) 100%);
}

.tile-section { padding: 1.4rem 1rem 0.5rem; max-width: 640px; margin: 0 auto; }

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: -2.6rem; position: relative; z-index: 2; }

@media (max-width: 380px) {
  .tile-grid { gap: .55rem; }
}

.menu-tile {
  background: #fffaf3;
  border-radius: 1.1rem;
  padding: 1.05rem .5rem .8rem;
  text-align: center;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(255,255,255,.6);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}

.menu-tile:active { transform: scale(.96); }

.menu-tile .tile-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 10px rgba(107,44,44,.3);
}

.menu-tile .tile-label { font-weight: 700; font-size: .8rem; color: var(--ink); line-height: 1.2; }

.menu-tile.tile-branch .tile-icon { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }

/* Category / product listing pages */
.category-hero {
  position: relative;
  min-height: 190px;
  background-size: cover;
  background-position: center;
  background-color: var(--maroon-dark);
  display: flex;
  align-items: flex-end;
  padding: 1.6rem 1.2rem 1.3rem;
}

.category-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,10,10,.35) 0%, rgba(20,10,10,.55) 50%, rgba(20,10,10,.9) 92%, var(--cream) 100%);
}

.category-hero .crumb-path {
  position: relative; z-index: 1;
  font-size: .8rem; color: rgba(255,255,255,.75);
  max-width: 640px; margin: 0 auto; width: 100%;
}
.category-hero .crumb-path a { color: #fff; opacity: .9; }

.category-hero h1 {
  position: relative; z-index: 1;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.9rem;
  margin: .2rem 0 0;
  letter-spacing: .3px;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
  max-width: 640px; margin-left: auto; margin-right: auto; width: 100%;
}

.category-hero .cat-tagline {
  position: relative; z-index: 1;
  color: #f0d9b8; font-size: .85rem; margin-top: .2rem;
  max-width: 640px; margin-left: auto; margin-right: auto; width: 100%;
}

.cat-chip-row-wrap { background: var(--cream); position: relative; }
.cat-chip-row-wrap::after {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0; width: 28px;
  background: linear-gradient(90deg, transparent, var(--cream));
  pointer-events: none;
}
.cat-chip-row {
  display: flex; gap: .6rem; overflow-x: auto;
  padding: .9rem 1.2rem 1rem; max-width: 640px; margin: 0 auto;
  scrollbar-width: none; scroll-padding-inline: 1.2rem; scroll-snap-type: x proximity;
  cursor: grab;
}
.cat-chip-row.dragging { cursor: grabbing; scroll-snap-type: none; }
.cat-chip-row::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0; white-space: nowrap; scroll-snap-align: start;
  padding: .55rem 1.1rem; border-radius: 2rem;
  font-size: .83rem; font-weight: 600;
  border: 1.5px solid var(--maroon);
  color: var(--maroon); background: #fff;
  box-shadow: 0 2px 6px rgba(107,44,44,.08);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.cat-chip:active { transform: scale(.96); }
.cat-chip.active { background: var(--maroon); color: #fff; box-shadow: 0 3px 10px rgba(107,44,44,.3); }

.product-row {
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: var(--shadow-soft);
  padding: .8rem;
  display: flex;
  gap: .9rem;
  align-items: center;
  margin-bottom: .8rem;
  border: 1px solid #f2e7d8;
  color: inherit;
  transition: box-shadow .15s ease, transform .15s ease;
}

a.product-row:active { transform: scale(.985); box-shadow: var(--shadow-lift); }

.product-row img { width: 68px; height: 68px; object-fit: cover; border-radius: .85rem; flex-shrink: 0; background: var(--cream-dark); }

.product-row .p-name { font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.product-row .p-desc { font-size: .82rem; color: #8a7a6a; margin-top: .1rem; }
.product-row .p-price { font-weight: 700; color: var(--maroon); margin-top: .35rem; font-size: .95rem; }
.product-row .p-chevron { color: #d8c9b8; font-size: 1.1rem; flex-shrink: 0; align-self: center; }

.public-footer {
  background: linear-gradient(180deg, var(--maroon-dark), var(--maroon-darker));
  color: #f0e4d8;
  padding: 1.8rem 1rem;
  text-align: center;
  margin-top: auto;
  flex-shrink: 0;
}

.public-footer a { color: #fff; }
.footer-social {
  display: flex; align-items: center; justify-content: center; gap: .7rem; flex-wrap: wrap;
}
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem; flex-shrink: 0;
  transition: background .15s ease, transform .15s ease;
}
.footer-social a:hover { background: var(--gold); transform: translateY(-2px); }

.offcanvas-contact { padding: 1.1rem .2rem .2rem; }
.offcanvas-contact .offcanvas-address {
  display: flex; align-items: flex-start; gap: .5rem;
  margin-top: .8rem; font-size: .85rem; line-height: 1.4;
}
.offcanvas-contact .footer-social { justify-content: flex-start; margin-top: 1.1rem; }

.qr-preview-box {
  background: #fff; border-radius: 1rem; padding: 1.5rem; text-align: center; border: 1px solid #eadfd0;
}

/* Ürün detay sayfası */
.product-hero-img {
  height: 280px; background-size: cover; background-position: center;
  background-color: var(--cream-dark); position: relative;
}
.product-hero-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,10,10,.25) 0%, rgba(20,10,10,0) 30%, rgba(20,10,10,0) 70%, rgba(255,255,255,.95) 100%);
}
.product-hero-img .back-fab {
  position: absolute; top: 1rem; left: 1rem; z-index: 1;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; backdrop-filter: blur(4px);
}
.product-detail-card {
  background: #fff; border-radius: 1.4rem 1.4rem 0 0;
  margin-top: -1.4rem; position: relative; z-index: 1;
  padding: 1.6rem 1.2rem 2rem; max-width: 640px; margin-left: auto; margin-right: auto;
  box-shadow: 0 -6px 20px rgba(0,0,0,.06);
}
.product-detail-card h1 { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--ink); margin-bottom: .3rem; }
.product-detail-card .price-tag {
  display: inline-block; background: var(--maroon); color: #fff; font-weight: 700;
  padding: .4rem 1rem; border-radius: 2rem; font-size: 1.1rem; margin: .5rem 0 1rem;
}
.product-detail-card .desc { color: #6b6058; line-height: 1.6; }
.product-detail-card .allergen-box {
  background: #fdf3e7; border: 1px solid #f0dcc0; border-radius: .8rem;
  padding: .8rem 1rem; margin-top: 1.2rem; font-size: .88rem; color: #8a5a1f;
}
.back-to-menu-btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; margin-top: 1.6rem;
  padding: .9rem 1rem; border-radius: 1rem;
  border: 1.5px solid var(--maroon); color: var(--maroon);
  font-weight: 600; font-size: .95rem;
  transition: background .15s ease, color .15s ease;
}
.back-to-menu-btn:hover, .back-to-menu-btn:active { background: var(--maroon); color: #fff; }

/* ==================================================================
   TANITIM SAYFASI (LANDING)
   ================================================================== */
.landing-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(74,29,29,.92);
  backdrop-filter: blur(10px);
  padding: .8rem 0;
}
.landing-nav .navbar-brand { color: #fff; font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; gap: .55rem; }
.landing-nav .navbar-brand img { max-height: 34px; max-width: 120px; object-fit: contain; }
.landing-nav .nav-link { color: rgba(255,255,255,.82); font-weight: 500; font-size: .95rem; padding: .5rem .9rem !important; }
.landing-nav .nav-link:hover { color: #fff; }
.landing-nav .btn-landing-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff; font-weight: 600; border-radius: 2rem; padding: .5rem 1.3rem; font-size: .9rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.landing-nav .btn-landing-login {
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.35);
  color: #fff; font-weight: 600; border-radius: 2rem; padding: .5rem 1.2rem; font-size: .9rem;
}
.landing-nav .btn-landing-login:hover { background: rgba(255,255,255,.16); color: #fff; }

.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: "";
  position: absolute; top: 0; left: -150%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg);
  animation: btnShineSweep 3.2s ease-in-out infinite;
}
@keyframes btnShineSweep {
  0% { left: -150%; }
  35% { left: 150%; }
  100% { left: 150%; }
}

.landing-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--maroon-darker) 0%, var(--maroon-dark) 50%, var(--maroon) 100%);
  color: #fff;
  padding: 5rem 0 6rem;
}
.landing-hero .blob {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,151,79,.28), transparent 70%);
  filter: blur(4px);
  animation: landingFloat 9s ease-in-out infinite;
  pointer-events: none;
}
.landing-hero .blob-1 { width: 340px; height: 340px; top: -80px; right: -60px; animation-delay: 0s; }
.landing-hero .blob-2 { width: 220px; height: 220px; bottom: -60px; left: -40px; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); animation-delay: 2.5s; }
@keyframes landingFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-22px) scale(1.05); }
}
.landing-hero h1 { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.15; }
.landing-hero .lead { color: rgba(255,255,255,.86); font-size: 1.1rem; max-width: 560px; }
.landing-hero .btn-hero-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff; font-weight: 700;
  padding: .85rem 1.8rem; border-radius: 2rem; box-shadow: 0 10px 26px rgba(0,0,0,.25);
}
.landing-hero .btn-hero-secondary {
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.45); color: #fff; font-weight: 600;
  padding: .85rem 1.8rem; border-radius: 2rem;
}
.landing-hero .btn-hero-secondary:hover { background: rgba(255,255,255,.18); color: #fff; }
.landing-hero-img { border-radius: 1.4rem; box-shadow: 0 24px 60px rgba(0,0,0,.35); max-width: 100%; position: relative; z-index: 1; }
.landing-phone-mock {
  width: 100%; max-width: 300px; margin: 0 auto; aspect-ratio: 9/16;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 2rem; display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; backdrop-filter: blur(6px);
}
.landing-phone-mock i { font-size: 4.5rem; color: rgba(255,255,255,.5); }

.landing-section { padding: 5rem 0; }
.landing-section-alt { background: var(--cream-dark); }
.landing-eyebrow { color: var(--gold-dark); font-weight: 700; letter-spacing: .08em; font-size: .8rem; text-transform: uppercase; }
.landing-section h2 { font-family: 'Roboto', sans-serif; font-weight: 700; color: var(--maroon-dark); font-size: clamp(1.6rem, 3vw, 2.3rem); }

.landing-feature-card {
  background: #fff; border-radius: 1.2rem; padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-soft); height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.landing-feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.landing-feature-icon {
  width: 56px; height: 56px; border-radius: 1rem;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  margin-bottom: 1rem;
}

.landing-about-img { border-radius: 1.3rem; box-shadow: var(--shadow-lift); width: 100%; }

.landing-pkg-card {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fffaf3 100%);
  border-radius: 1.5rem; padding: 2.4rem 2rem 2rem; height: 100%;
  box-shadow: var(--shadow-lift); border: 1.5px solid var(--gold);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.landing-pkg-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--maroon));
}
.landing-pkg-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(74,29,29,.22); }
.pkg-card-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff;
  font-size: .78rem; font-weight: 700; padding: .35rem .9rem; border-radius: 2rem; margin-bottom: 1rem;
}
.landing-pkg-card .price { font-family: 'Roboto', sans-serif; font-size: 2.4rem; font-weight: 900; color: var(--maroon-dark); line-height: 1.1; }
.pkg-card-duration { color: #8a7a6c; font-size: .85rem; margin-bottom: .5rem; }
.landing-pkg-card ul { list-style: none; padding: 0; margin: 1.4rem 0; }
.landing-pkg-card ul li { padding: .5rem 0; color: #4a3f38; font-size: .95rem; display: flex; gap: .6rem; align-items: flex-start; border-bottom: 1px dashed #f0e4d3; }
.landing-pkg-card ul li:last-child { border-bottom: none; }
.landing-pkg-card ul li i { color: var(--gold-dark); margin-top: .2rem; flex-shrink: 0; }

.pkg-toggle {
  position: relative; display: flex; background: #fff; border-radius: 2.5rem;
  padding: .3rem; box-shadow: var(--shadow-soft); border: 1px solid #eee0cd;
  width: 300px; max-width: 100%;
}
.pkg-toggle-btn {
  position: relative; z-index: 1; border: none; background: transparent;
  flex: 1 1 50%; padding: .6rem 1rem; border-radius: 2rem; font-weight: 700; font-size: .92rem;
  color: var(--maroon-dark); display: flex; align-items: center; justify-content: center; gap: .4rem;
  white-space: nowrap; transition: color .2s ease;
}
.pkg-toggle-btn.active { color: #fff; }
.pkg-toggle-save {
  background: rgba(255,255,255,.25); font-size: .68rem; font-weight: 700;
  padding: .15rem .5rem; border-radius: 1rem;
}
.pkg-toggle-btn:not(.active) .pkg-toggle-save { background: var(--gold); color: #fff; }
.pkg-toggle-slider {
  position: absolute; top: .3rem; left: .3rem; bottom: .3rem; width: calc(50% - .3rem);
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border-radius: 2rem; transition: transform .25s ease;
}
.pkg-toggle-slider.is-yearly { transform: translateX(100%); }

.landing-contact-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid #eee0cd; border-radius: 2rem;
  padding: .5rem 1.1rem; font-size: .88rem; font-weight: 600; color: var(--maroon-dark);
  box-shadow: var(--shadow-soft);
}
.landing-contact-pill i { color: var(--maroon); }

.landing-contact-form-card {
  background: #fff; border-radius: 1.4rem; padding: 2.2rem;
  box-shadow: var(--shadow-lift); border: 1px solid #f2e6d3;
}
@media (max-width: 575.98px) {
  .landing-contact-form-card { padding: 1.5rem 1.2rem; }
}

.btn-contact-submit {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: #fff; font-weight: 700; border-radius: .9rem; padding: .85rem 1.5rem; font-size: 1rem;
  box-shadow: 0 8px 20px rgba(107,44,44,.3);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-contact-submit:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(107,44,44,.38); }

.btn-outline-maroon-pill {
  border: 1.5px solid var(--maroon); color: var(--maroon); font-weight: 600;
  border-radius: 2rem; padding: .55rem 1.4rem; font-size: .9rem; background: transparent;
}
.btn-outline-maroon-pill:hover { background: var(--maroon); color: #fff; }

.landing-footer { background: var(--maroon-darker); color: rgba(255,255,255,.7); padding: 2.2rem 0; font-size: .88rem; margin-top: auto; flex-shrink: 0; }
.landing-footer a { color: rgba(255,255,255,.85); }

html.js-enabled .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
html.js-enabled .reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: .1s; }
.reveal-delay-2.in-view { transition-delay: .2s; }
.reveal-delay-3.in-view { transition-delay: .3s; }

@media (max-width: 767.98px) {
  .landing-hero { padding: 3.2rem 0 3.5rem; text-align: center; }
  .landing-hero .lead { max-width: 100%; margin-left: auto; margin-right: auto; }
  .landing-section { padding: 3.2rem 0; }
}

/* ==================================================================
   BASİT SİPARİŞ / SEPET (masaya özel QR + orders_enabled)
   ================================================================== */
.cart-fab {
  position: fixed; bottom: 20px; right: 16px; z-index: 1045;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff; border: none; box-shadow: 0 8px 24px rgba(0,0,0,.28);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.cart-fab-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--maroon); color: #fff; border-radius: 50%;
  width: 22px; height: 22px; font-size: .72rem; font-weight: 700;
  align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.public-cart-drawer { border-radius: 1.2rem 1.2rem 0 0; max-height: 82vh; }

.variant-pick-btn { border-radius: 2rem; }
.add-to-cart-box { border-top: 1px solid #eee0cd; padding-top: 1rem; }

.legal-page-content { line-height: 1.8; color: #4a3f38; font-size: 1rem; }

/* ==================================================================
   GİRİŞ / ŞİFREMİ UNUTTUM
   ================================================================== */
.auth-shell { min-height: 100vh; display: flex; }

.auth-brand-panel {
  flex: 1 1 46%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--maroon-darker) 0%, var(--maroon-dark) 55%, var(--maroon) 100%);
  color: #fff;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.auth-form-panel {
  flex: 1 1 54%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: var(--cream);
  min-height: 100vh;
}

.auth-card { max-width: 420px; width: 100%; }
.auth-card a, .login-card a { color: var(--maroon); font-weight: 600; }
.auth-card a:hover, .login-card a:hover { color: var(--maroon-dark); }

@media (max-width: 991.98px) {
  .auth-form-panel { background: linear-gradient(160deg, var(--maroon-darker), var(--maroon)); }
  .auth-card { background: #fff; border-radius: 1.25rem; padding: 2rem 1.5rem; box-shadow: var(--shadow-lift); }
}

/* ==================================================================
   ANA SAYFA DEMO MENÜ QR
   ================================================================== */
.landing-demo-card {
  background: linear-gradient(135deg, #fff 0%, #fffaf3 100%);
  border-radius: 1.6rem; padding: 2.5rem; border: 1.5px solid #f0e0c5;
  box-shadow: var(--shadow-lift);
}
@media (max-width: 575.98px) { .landing-demo-card { padding: 1.6rem 1.2rem; } }
.landing-demo-img { max-width: 100%; border-radius: 1.1rem; box-shadow: var(--shadow-soft); }
.landing-demo-qr-box { display: inline-block; }
.landing-demo-qr-frame {
  background: #fff; border-radius: 1.3rem; padding: 1.4rem;
  box-shadow: var(--shadow-lift); border: 2px solid var(--gold);
  display: inline-flex; position: relative;
}
.landing-demo-qr-frame::before {
  content: ""; position: absolute; inset: -8px; border-radius: 1.6rem;
  border: 1.5px dashed var(--gold); opacity: .5; pointer-events: none;
}
.landing-demo-qr { width: 200px; height: 200px; display: block; }
