/* Albayrak Oto – premium floating 7/24 call action */
.albayrak-call-fab,
.albayrak-call-fab:visited {
  --fab-orange: #ff8a32;
  --fab-gold: #ffb35f;
  position: fixed !important;
  right: clamp(14px, 2.2vw, 28px) !important;
  bottom: max(22px, env(safe-area-inset-bottom, 0px)) !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 264px;
  min-height: 70px;
  box-sizing: border-box;
  padding: 10px 15px 10px 11px;
  overflow: hidden;
  isolation: isolate;
  color: #17100a !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 222, 187, .8);
  border-radius: 20px;
  background:
    linear-gradient(112deg, rgba(255,255,255,.24), transparent 34%),
    linear-gradient(135deg, #ffc078 0%, #ff963f 43%, #f36a19 100%);
  box-shadow:
    0 14px 34px rgba(0,0,0,.42),
    0 7px 22px rgba(255,116,27,.34),
    inset 0 1px 0 rgba(255,255,255,.55);
  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  -webkit-tap-highlight-color: transparent;
}
.albayrak-call-fab::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 22%, rgba(255,255,255,.58) 48%, transparent 66%);
  transform: translateX(-130%) skewX(-15deg);
  animation: albayrak-fab-shine 4.2s ease-in-out infinite;
}
.albayrak-call-fab::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -7px;
  border-radius: 26px;
  border: 1px solid rgba(255,153,73,.56);
  opacity: 0;
  pointer-events: none;
  animation: albayrak-fab-ring 2.5s ease-out infinite;
}
.albayrak-call-fab__pulse {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.albayrak-call-fab__icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff8ef;
  background: linear-gradient(145deg, #1a2639, #09111f);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 5px 12px rgba(45,18,0,.25), inset 0 1px 0 rgba(255,255,255,.13);
}
.albayrak-call-fab__icon svg { width: 24px; height: 24px; display: block; }
.albayrak-call-fab__copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  line-height: 1.1;
}
.albayrak-call-fab__eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(43,23,9,.78);
  font-size: 9px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: .105em;
  white-space: nowrap;
}
.albayrak-call-fab__eyebrow i {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #1d9b58;
  box-shadow: 0 0 0 3px rgba(29,155,88,.16), 0 0 10px rgba(29,155,88,.55);
  animation: albayrak-fab-status 1.8s ease-in-out infinite;
}
.albayrak-call-fab__label {
  display: block;
  color: #17100a;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.albayrak-call-fab__arrow {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff4e8;
  background: rgba(28,17,10,.84);
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(39,15,0,.2);
  transition: transform .22s ease, background .22s ease;
}
.albayrak-call-fab__arrow svg { width: 16px; height: 16px; }
.albayrak-call-fab:hover {
  filter: saturate(1.08) brightness(1.04);
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 18px 40px rgba(0,0,0,.48), 0 9px 28px rgba(255,116,27,.48), inset 0 1px 0 rgba(255,255,255,.65);
}
.albayrak-call-fab:hover .albayrak-call-fab__arrow { transform: translateX(3px); background: #101827; }
.albayrak-call-fab:active { transform: translateY(0) scale(.985); }
.albayrak-call-fab:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
@keyframes albayrak-fab-shine {
  0%, 58% { transform: translateX(-130%) skewX(-15deg); }
  78%, 100% { transform: translateX(130%) skewX(-15deg); }
}
@keyframes albayrak-fab-ring {
  0% { transform: scale(.96); opacity: .65; }
  75%, 100% { transform: scale(1.12); opacity: 0; }
}
@keyframes albayrak-fab-status {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(29,155,88,.16), 0 0 10px rgba(29,155,88,.55); }
  50% { opacity: .72; box-shadow: 0 0 0 5px rgba(29,155,88,.08), 0 0 14px rgba(29,155,88,.72); }
}
@media (max-width: 899px) {
  .albayrak-call-fab,
  .albayrak-call-fab:visited {
    right: 13px !important;
    bottom: calc(var(--nav-h, 72px) + env(safe-area-inset-bottom, 0px) + 13px) !important;
    width: min(238px, calc(100vw - 26px));
    min-height: 64px;
    gap: 10px;
    padding: 8px 12px 8px 9px;
    border-radius: 18px;
  }
  .albayrak-call-fab__icon { width: 43px; height: 43px; flex-basis: 43px; border-radius: 14px; }
  .albayrak-call-fab__label { font-size: 16px; }
  .albayrak-call-fab__eyebrow { font-size: 8px; letter-spacing: .09em; }
  .albayrak-call-fab__arrow { width: 26px; height: 26px; flex-basis: 26px; }
}
@media (max-width: 360px) {
  .albayrak-call-fab,
  .albayrak-call-fab:visited {
    right: 10px !important;
    width: min(222px, calc(100vw - 20px));
    min-height: 60px;
    gap: 8px;
  }
  .albayrak-call-fab__icon { width: 40px; height: 40px; flex-basis: 40px; }
  .albayrak-call-fab__label { font-size: 15px; }
}
@media (min-width: 900px) {
  .albayrak-call-fab,
  .albayrak-call-fab:visited {
    right: 26px !important;
    bottom: 26px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .albayrak-call-fab,
  .albayrak-call-fab::before,
  .albayrak-call-fab::after,
  .albayrak-call-fab__eyebrow i {
    animation: none !important;
    transition: none !important;
  }
}


/* Branch selector: labels intentionally use only Şube 1 / Şube 2. */
.albayrak-call-fab-wrap {
  position: fixed !important;
  right: clamp(14px, 2.2vw, 28px) !important;
  bottom: max(22px, env(safe-area-inset-bottom, 0px)) !important;
  z-index: 9999 !important;
}
.albayrak-call-fab-wrap > summary {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  cursor: pointer;
  list-style: none;
}
.albayrak-call-fab-wrap > summary::-webkit-details-marker { display: none; }
.albayrak-call-fab-wrap > summary::marker { content: ""; }
.albayrak-call-fab-wrap[open] .albayrak-call-fab__arrow {
  transform: rotate(90deg);
}
.albayrak-call-fab-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 13px);
  width: min(294px, calc(100vw - 28px));
  box-sizing: border-box;
  display: grid;
  gap: 9px;
  padding: 13px;
  border: 1px solid rgba(255, 171, 105, .28);
  border-radius: 19px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,132,47,.14), transparent 44%),
    linear-gradient(145deg, #172338, #0a111e 78%);
  box-shadow: 0 20px 48px rgba(0,0,0,.55), 0 5px 22px rgba(255,122,26,.13);
  animation: albayrak-branch-panel-in .2s ease-out both;
}
.albayrak-call-fab-panel__title {
  margin: 1px 3px 4px;
  color: #f7e9dc;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .015em;
}
.albayrak-call-fab-option {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px;
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.albayrak-call-fab-option:hover,
.albayrak-call-fab-option:focus-visible {
  background: rgba(255,132,47,.14);
  border-color: rgba(255,157,83,.48);
  transform: translateY(-1px);
  outline: none;
}
.albayrak-call-fab-option__number {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #211205;
  background: linear-gradient(145deg, #ffc17c, #ff812c);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .03em;
}
.albayrak-call-fab-option__copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 3px;
}
.albayrak-call-fab-option__copy strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 850;
}
.albayrak-call-fab-option__copy small {
  color: #c7d0dc;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: .02em;
}
.albayrak-call-fab-option__call {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #1a1008;
  border-radius: 10px;
  background: linear-gradient(145deg, #ffc17c, #ff812c);
}
.albayrak-call-fab-option__call svg { width: 16px; height: 16px; }
@keyframes albayrak-branch-panel-in {
  from { opacity: 0; transform: translateY(7px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 899px) {
  .albayrak-call-fab-wrap {
    right: 13px !important;
    bottom: calc(var(--nav-h, 72px) + env(safe-area-inset-bottom, 0px) + 13px) !important;
  }
  .albayrak-call-fab-panel {
    width: min(282px, calc(100vw - 26px));
    bottom: calc(100% + 11px);
    padding: 11px;
  }
}
@media (max-width: 360px) {
  .albayrak-call-fab-wrap { right: 10px !important; }
  .albayrak-call-fab-panel { width: min(270px, calc(100vw - 20px)); }
}
@media (min-width: 900px) {
  .albayrak-call-fab-wrap {
    right: 26px !important;
    bottom: 26px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .albayrak-call-fab-panel { animation: none !important; }
}
