/* Renkli Tarifler Profesyonel Header - scoped styles */
body.rtph-active {
  --rtph-bg: #ffffff;
  --rtph-surface: #ffffff;
  --rtph-soft: #fff7ed;
  --rtph-text: #1f2933;
  --rtph-muted: #667085;
  --rtph-border: rgba(159, 21, 62, 0.14);
  --rtph-shadow: 0 14px 40px rgba(28, 25, 23, 0.10);
}

html.dark-mode body.rtph-active,
body.dark-mode.rtph-active {
  --rtph-bg: #111318;
  --rtph-surface: #171a21;
  --rtph-soft: rgba(233, 134, 6, 0.12);
  --rtph-text: #f7f7f8;
  --rtph-muted: #b8bdc7;
  --rtph-border: rgba(255, 255, 255, 0.10);
  --rtph-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
}

body.rtph-drawer-open {
  overflow: hidden;
}

.rtph-header,
.rtph-header * {
  box-sizing: border-box;
}

.rtph-header {
  width: 100%;
  position: relative;
  z-index: 9998;
  background: var(--rtph-bg);
  border-bottom: 1px solid var(--rtph-border);
  box-shadow: 0 8px 22px rgba(28, 25, 23, 0.04);
  color: var(--rtph-text);
  font-family: var(--theme_font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
}

.rtph-header--sticky {
  position: sticky;
  top: 0;
}

body.admin-bar .rtph-header--sticky {
  top: 32px;
}


/* v1.0.31: Mobilde WordPress admin bar görünür kalsın; header onun altında sabit dursun. */
@media (max-width: 1100px) {
  body.rtph-active.rtph-sticky-enabled {
    padding-top: var(--rtph-mobile-header-height, 115px) !important;
  }

  body.rtph-active.rtph-sticky-enabled #rtph-header.rtph-header--sticky,
  body.rtph-active.rtph-mobile-fixed-header #rtph-header.rtph-header--sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99998 !important;
    transform: none !important;
  }

  body.admin-bar {
    --rtph-mobile-adminbar-height: 46px;
  }

  body.admin-bar #wpadminbar {
    display: block !important;
    visibility: visible !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999999 !important;
    min-height: var(--rtph-mobile-adminbar-height, 46px) !important;
    height: auto !important;
    overflow: visible !important;
    transform: none !important;
  }

  body.admin-bar.rtph-active.rtph-sticky-enabled #rtph-header.rtph-header--sticky,
  body.admin-bar.rtph-active.rtph-mobile-fixed-header #rtph-header.rtph-header--sticky,
  body.admin-bar .rtph-header--sticky {
    top: var(--rtph-mobile-adminbar-height, 46px) !important;
  }

  body.admin-bar .rtph-drawer {
    top: var(--rtph-mobile-adminbar-height, 46px) !important;
    height: calc(100dvh - var(--rtph-mobile-adminbar-height, 46px)) !important;
  }
}

@media (min-width: 783px) and (max-width: 1100px) {
  body.admin-bar {
    --rtph-mobile-adminbar-height: 32px;
  }
}


.rtph-shell {
  width: min(calc(100% - 28px), var(--rtph-max-width, 1320px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.rtph-brand-wrap {
  flex: 0 0 auto;
  min-width: 160px;
  display: flex;
  align-items: center;
}

.rtph-logo,
.rtph-logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  color: var(--rtph-text);
  line-height: 1;
}

.rtph-logo img,
.rtph-logo--theme img,
.rtph-logo--wp img {
  width: auto;
  max-width: 205px;
  max-height: 52px;
  object-fit: contain;
  display: block;
}

.rtph-logo--text {
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.rtph-logo--text::first-letter {
  color: var(--rtph-accent);
}

.rtph-nav {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rtph-menu,
.rtph-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rtph-menu--desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}

.rtph-menu--desktop > li {
  position: relative;
  margin: 0;
}

.rtph-menu--desktop > li > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--rtph-text);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.rtph-menu--desktop > li:hover > a,
.rtph-menu--desktop > li:focus-within > a,
.rtph-menu--desktop > li.current-menu-item > a,
.rtph-menu--desktop > li.current-menu-ancestor > a {
  color: var(--rtph-frame);
  background: rgba(233, 134, 6, 0.10);
}

.rtph-menu--desktop > li > a:hover {
  transform: translateY(-1px);
}

.rtph-menu--desktop .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 230px;
  padding: 10px;
  border: 1px solid var(--rtph-border);
  border-radius: 18px;
  background: var(--rtph-surface);
  box-shadow: var(--rtph-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.rtph-menu--desktop li:hover > .sub-menu,
.rtph-menu--desktop li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.rtph-menu--desktop .sub-menu a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--rtph-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}

.rtph-menu--desktop .sub-menu a:hover,
.rtph-menu--desktop .sub-menu li.current-menu-item > a {
  background: var(--rtph-soft);
  color: var(--rtph-frame);
}

.rtph-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: 0;
}

.rtph-search {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.rtph-search--desktop {
  width: 245px;
}

.rtph-search-label {
  min-width: 0;
  flex: 1 1 auto;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--rtph-border);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.82);
  color: var(--rtph-muted);
  transition: border .18s ease, background .18s ease, box-shadow .18s ease;
}

html.dark-mode .rtph-search-label,
body.dark-mode .rtph-search-label {
  background: rgba(255, 255, 255, 0.05);
}

.rtph-search-label:focus-within {
  border-color: var(--rtph-accent);
  box-shadow: 0 0 0 4px rgba(233, 134, 6, 0.12);
  background: var(--rtph-surface);
}

.rtph-search input[type="search"] {
  min-width: 0;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--rtph-text) !important;
  font-size: 13px;
  font-weight: 650;
}

.rtph-search input::placeholder {
  color: var(--rtph-muted);
  opacity: .85;
}

.rtph-search-submit,
.rtph-icon-button,
.rtph-mobile-search-toggle,
.rtph-burger,
.rtph-drawer-close,
.rtph-search-close,
.rtph-mode-toggle,
.rtph-account-button,
.rtph-login-button,
.rtph-notification-button {
  appearance: none;
  border: 0;
  margin: 0;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none !important;
}

.rtph-search-submit,
.rtph-icon-button,
.rtph-mobile-search-toggle,
.rtph-drawer-close,
.rtph-search-close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rtph-soft);
  color: var(--rtph-frame);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.rtph-search-submit {
  width: 40px;
  height: 40px;
  color: #ffffff;
  background: var(--rtph-accent);
  flex: 0 0 auto;
}

.rtph-search-submit:hover,
.rtph-icon-button:hover,
.rtph-mobile-search-toggle:hover,
.rtph-drawer-close:hover,
.rtph-search-close:hover {
  transform: translateY(-1px);
}

.rtph-header svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.rtph-search-icon svg {
  width: 18px;
  height: 18px;
}

.rtph-cta,
.rtph-drawer-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid var(--rtph-accent);
  border-radius: 999px;
  background: var(--rtph-accent);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(233, 134, 6, 0.18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.rtph-cta:hover,
.rtph-drawer-cta:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
  background: var(--rtph-frame);
  border-color: var(--rtph-frame);
  box-shadow: 0 12px 22px rgba(159, 21, 62, 0.20);
}

.rtph-mode-toggle {
  width: 68px;
  height: 36px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  border: 1px solid var(--rtph-border);
  border-radius: 999px;
  background: var(--rtph-surface);
  color: var(--rtph-muted);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.rtph-mode-toggle .rtph-mode-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.rtph-mode-toggle .rtph-mode-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  margin: auto;
}

.rtph-mode-knob,
.rtph-mode-toggle .geo-switch {
  position: absolute !important;
  top: 4px !important;
  left: 4px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: var(--rtph-accent) !important;
  box-shadow: 0 8px 16px rgba(233, 134, 6, .22) !important;
  transition: transform .22s ease, background .22s ease !important;
  z-index: 1;
}

.rtph-mode-toggle.geo-switch-on .rtph-mode-knob,
.rtph-mode-toggle.geo-switch-on .geo-switch,
html.dark-mode .rtph-mode-toggle .rtph-mode-knob,
html.dark-mode .rtph-mode-toggle .geo-switch {
  transform: translateX(32px) !important;
  background: var(--rtph-frame) !important;
}

.rtph-notifications,
.rtph-account {
  position: relative;
}

.rtph-notification-button {
  position: relative;
}

.rtph-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--rtph-frame);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  line-height: 18px;
  text-align: center;
  border: 2px solid var(--rtph-bg);
}

.rtph-notification-menu,
.rtph-account-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 280px;
  padding: 11px;
  border: 1px solid var(--rtph-border);
  border-radius: 18px;
  background: var(--rtph-surface);
  box-shadow: var(--rtph-shadow);
  z-index: 50;
}

.rtph-notification-menu strong {
  display: block;
  padding: 4px 8px 9px;
  color: var(--rtph-text);
  font-size: 14px;
  font-weight: 850;
}

.rtph-notification-menu a,
.rtph-account-menu a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--rtph-text) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.rtph-notification-menu a:hover,
.rtph-account-menu a:hover {
  background: var(--rtph-soft);
  color: var(--rtph-frame) !important;
}

.rtph-account-button,
.rtph-login-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--rtph-border);
  border-radius: 999px;
  background: var(--rtph-surface);
  color: var(--rtph-text) !important;
  font-size: 13px;
  font-weight: 800;
  box-shadow: none;
  white-space: nowrap;
  transition: background .18s ease, border .18s ease, color .18s ease;
}

.rtph-login-button {
  border-color: rgba(159, 21, 62, 0.24);
  color: var(--rtph-frame) !important;
}

.rtph-account-button:hover,
.rtph-login-button:hover,
.rtph-account-button[aria-expanded="true"] {
  background: var(--rtph-soft);
  border-color: rgba(233, 134, 6, 0.34);
}

.rtph-account-button svg {
  width: 17px;
  height: 17px;
}

.rtph-avatar {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 28px;
}

.rtph-account-logout {
  color: var(--rtph-frame) !important;
}

.rtph-burger {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 999px;
  background: var(--rtph-frame);
  color: #ffffff;
}

.rtph-burger span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.rtph-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.rtph-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.rtph-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.rtph-mobile-search-toggle {
  display: none;
}

.rtph-search-panel {
  border-top: 1px solid var(--rtph-border);
  background: var(--rtph-surface);
}

.rtph-search-panel-inner {
  min-height: 76px;
}

.rtph-search--panel {
  flex: 1 1 auto;
}

.rtph-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(15, 23, 42, 0.48);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.rtph-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(390px, 92vw);
  height: 100dvh;
  z-index: 9999;
  transform: translateX(105%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border-left: 1px solid var(--rtph-border);
  background: var(--rtph-surface);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.22);
  transition: transform .24s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.admin-bar .rtph-drawer {
  top: 32px;
  height: calc(100dvh - 32px);
}

body.rtph-drawer-open .rtph-drawer {
  transform: translateX(0);
}

body.rtph-drawer-open .rtph-drawer-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rtph-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
}

.rtph-drawer-search .rtph-search,
.rtph-drawer-search .rtph-search-label {
  width: 100%;
}

.rtph-mobile-nav {
  display: block;
}

.rtph-menu--mobile {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rtph-menu--mobile li {
  list-style: none;
  margin: 0;
}

.rtph-menu--mobile a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border: 1px solid var(--rtph-border);
  border-radius: 14px;
  color: var(--rtph-text) !important;
  background: rgba(248, 250, 252, 0.54);
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 800;
}

html.dark-mode .rtph-menu--mobile a,
body.dark-mode .rtph-menu--mobile a {
  background: rgba(255, 255, 255, 0.045);
}

.rtph-menu--mobile a:hover,
.rtph-menu--mobile .current-menu-item > a {
  background: var(--rtph-soft);
  color: var(--rtph-frame) !important;
}

.rtph-menu--mobile .sub-menu {
  display: none;
  margin: 7px 0 4px 12px;
  padding-left: 10px;
  border-left: 2px solid rgba(233, 134, 6, 0.18);
}

.rtph-menu--mobile .menu-item.rtph-submenu-open > .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rtph-submenu-toggle {
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  background: var(--rtph-soft);
  color: var(--rtph-frame);
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.rtph-drawer-cta {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1240px) {
  .rtph-search--desktop {
    width: 205px;
  }

  .rtph-menu--desktop > li > a {
    padding-inline: 10px;
    font-size: 13px;
  }

  .rtph-brand-wrap {
    min-width: 140px;
  }
}

@media (max-width: 1080px) {
  .rtph-shell {
    min-height: 70px;
  }

  .rtph-nav,
  .rtph-search--desktop,
  .rtph-account,
  .rtph-login-button span,
  .rtph-cta {
    display: none;
  }

  .rtph-burger,
  .rtph-mobile-search-toggle {
    display: inline-flex;
  }

  .rtph-brand-wrap {
    min-width: 0;
    flex: 1 1 auto;
  }

  .rtph-actions {
    gap: 7px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .rtph-header--sticky {
    top: 46px;
  }

  body.admin-bar .rtph-drawer {
    top: 46px;
    height: calc(100dvh - 46px);
  }
}

@media (max-width: 620px) {
  .rtph-shell {
    width: min(calc(100% - 18px), var(--rtph-max-width, 1320px));
    min-height: 64px;
    gap: 10px;
  }

  .rtph-logo img,
  .rtph-logo--theme img,
  .rtph-logo--wp img {
    max-width: 168px;
    max-height: 44px;
  }

  .rtph-logo--text {
    font-size: 21px;
  }

  .rtph-mode-toggle {
    width: 62px;
    height: 34px;
    padding-inline: 7px;
  }

  .rtph-mode-knob,
  .rtph-mode-toggle .geo-switch {
    top: 4px !important;
    left: 4px !important;
    width: 26px !important;
    height: 26px !important;
  }

  .rtph-mode-toggle.geo-switch-on .rtph-mode-knob,
  .rtph-mode-toggle.geo-switch-on .geo-switch,
  html.dark-mode .rtph-mode-toggle .rtph-mode-knob,
  html.dark-mode .rtph-mode-toggle .geo-switch {
    transform: translateX(28px) !important;
  }

  .rtph-icon-button,
  .rtph-mobile-search-toggle,
  .rtph-burger {
    width: 40px;
    height: 40px;
  }

  .rtph-notifications {
    display: none;
  }
}

@media (max-width: 410px) {
  .rtph-logo img,
  .rtph-logo--theme img,
  .rtph-logo--wp img {
    max-width: 140px;
  }

  .rtph-mode-toggle {
    width: 56px;
  }

  .rtph-mode-toggle .rtph-mode-icon svg {
    width: 14px;
    height: 14px;
  }

  .rtph-mode-toggle.geo-switch-on .rtph-mode-knob,
  .rtph-mode-toggle.geo-switch-on .geo-switch,
  html.dark-mode .rtph-mode-toggle .rtph-mode-knob,
  html.dark-mode .rtph-mode-toggle .geo-switch {
    transform: translateX(22px) !important;
  }
}

.rtph-menu--mobile .menu-item-has-children {
  position: relative;
}

.rtph-menu--mobile .menu-item-has-children > a {
  padding-right: 54px;
}

.rtph-menu--mobile .menu-item-has-children > .rtph-submenu-toggle {
  position: absolute;
  top: 5px;
  right: 6px;
}

/* v1.0.1: desktop first-paint and Geoit dark-toggle conflict fix */
.rtph-header,
.rtph-header * ,
.rtph-header *::before,
.rtph-header *::after {
  box-sizing: border-box;
}

.rtph-header svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
  flex: 0 0 auto;
}

.rtph-mode-toggle.geo-switch-button {
  width: 68px !important;
  height: 36px !important;
  min-width: 68px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  line-height: 1 !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.rtph-mode-toggle.geo-switch-button::before,
.rtph-mode-toggle.geo-switch-button::after,
.rtph-mode-toggle.geo-switch-button .geo-switch::after,
.rtph-mode-toggle .rtph-mode-knob::after {
  content: none !important;
  display: none !important;
}

.rtph-mode-toggle .rtph-mode-icon {
  position: relative;
  z-index: 2;
  flex: 0 0 18px;
}

.rtph-mode-toggle .rtph-mode-knob,
.rtph-mode-toggle .geo-switch.rtph-mode-knob {
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

@media (max-width: 1100px) {
  .rtph-mode-toggle.geo-switch-button {
    width: 62px !important;
    min-width: 62px !important;
    height: 34px !important;
    min-height: 34px !important;
  }
}

@media (max-width: 410px) {
  .rtph-mode-toggle.geo-switch-button {
    width: 56px !important;
    min-width: 56px !important;
  }
}

/* v1.0.2: sol menü butonu, mobil bildirim ve premium çekmece düzeni */
.rtph-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 10px 28px rgba(28, 25, 23, 0.055);
}

html.dark-mode .rtph-header,
body.dark-mode .rtph-header {
  background: rgba(17, 19, 24, 0.96);
}

.rtph-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rtph-frame), var(--rtph-accent));
  opacity: .95;
  pointer-events: none;
}

.rtph-actions {
  position: relative;
  z-index: 2;
}

.rtph-menu-trigger {
  flex: 0 0 auto;
}

.rtph-menu-trigger .rtph-menu-trigger-label,
.rtph-menu-trigger .rtph-burger-lines,
.rtph-menu-trigger .rtph-burger-line {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  transform: none;
  opacity: 1;
  background: transparent;
}

.rtph-menu-trigger .rtph-menu-trigger-label {
  display: block;
  color: currentColor;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.rtph-menu-trigger .rtph-burger-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  line-height: 0;
}

.rtph-menu-trigger .rtph-burger-line {
  width: 17px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease, width .2s ease;
}

.rtph-menu-trigger[aria-expanded="true"] .rtph-burger-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.rtph-menu-trigger[aria-expanded="true"] .rtph-burger-line:nth-child(2) {
  opacity: 0;
}

.rtph-menu-trigger[aria-expanded="true"] .rtph-burger-line:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.rtph-menu-trigger[aria-expanded="true"] .rtph-menu-trigger-label {
  opacity: .88;
}

.rtph-notification-button {
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
  border: 1px solid rgba(233, 134, 6, 0.18);
  color: var(--rtph-frame);
  box-shadow: 0 8px 20px rgba(159, 21, 62, 0.08);
}

html.dark-mode .rtph-notification-button,
body.dark-mode .rtph-notification-button {
  background: rgba(255,255,255,.065);
  border-color: rgba(255,255,255,.10);
}

.rtph-drawer {
  left: 0;
  right: auto;
  transform: translateX(-105%);
  border-left: 0;
  border-right: 1px solid var(--rtph-border);
  box-shadow: 18px 0 40px rgba(0, 0, 0, 0.20);
  background:
    radial-gradient(circle at 12% 0%, rgba(233, 134, 6, 0.12), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(159, 21, 62, 0.10), transparent 30%),
    var(--rtph-surface);
}

.rtph-drawer-head {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rtph-border);
}

.rtph-drawer-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 13px;
  border: 1px solid var(--rtph-border);
  border-radius: 18px;
  background: rgba(255, 247, 237, 0.74);
  box-shadow: 0 10px 24px rgba(233, 134, 6, 0.08);
}

html.dark-mode .rtph-drawer-tools,
body.dark-mode .rtph-drawer-tools {
  background: transparent;
  box-shadow: none;
}

.rtph-drawer-tools-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rtph-drawer-tools-text strong {
  color: var(--rtph-text);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.rtph-drawer-tools-text span {
  color: var(--rtph-muted);
  font-size: 12px;
  font-weight: 650;
}

.rtph-mode-toggle--drawer {
  flex: 0 0 auto;
}

.rtph-menu--mobile a {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
}

.rtph-menu--mobile a::after {
  content: "›";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: var(--rtph-frame);
  background: rgba(233, 134, 6, 0.10);
  font-size: 18px;
  line-height: 1;
}

.rtph-menu--mobile .menu-item-has-children > a::after {
  display: none;
}

@media (max-width: 1080px) {
  .rtph-shell {
    gap: 8px;
  }

  .rtph-menu-trigger {
    width: 58px;
    height: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border: 1px solid rgba(159, 21, 62, 0.16);
    border-radius: 15px;
    background: linear-gradient(180deg, var(--rtph-frame), #7e1030);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(159, 21, 62, 0.18);
  }

  .rtph-brand-wrap {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 0;
    justify-content: center;
  }

  .rtph-actions {
    flex: 0 0 auto;
    gap: 6px;
  }

  .rtph-mode-toggle--desktop {
    display: none !important;
  }

  .rtph-notifications {
    display: inline-flex !important;
  }
}

@media (max-width: 620px) {
  .rtph-shell {
    width: min(calc(100% - 16px), var(--rtph-max-width, 1320px));
    gap: 7px;
  }

  .rtph-menu-trigger {
    width: 54px;
    height: 42px;
    border-radius: 14px;
  }

  .rtph-menu-trigger .rtph-menu-trigger-label {
    font-size: 9px;
  }

  .rtph-icon-button,
  .rtph-mobile-search-toggle,
  .rtph-notification-button,
  .rtph-login-button {
    width: 38px;
    height: 38px;
  }

  .rtph-notifications {
    display: inline-flex !important;
  }

  .rtph-logo img,
  .rtph-logo--theme img,
  .rtph-logo--wp img {
    max-width: 154px;
  }
}

@media (max-width: 410px) {
  .rtph-menu-trigger {
    width: 50px;
    height: 40px;
  }

  .rtph-menu-trigger .rtph-menu-trigger-label {
    font-size: 8px;
  }

  .rtph-actions {
    gap: 4px;
  }

  .rtph-icon-button,
  .rtph-mobile-search-toggle,
  .rtph-notification-button,
  .rtph-login-button {
    width: 36px;
    height: 36px;
  }

  .rtph-logo img,
  .rtph-logo--theme img,
  .rtph-logo--wp img {
    max-width: 132px;
  }
}

/* v1.0.2 güvenlik: eski hamburger span kuralları yeni Menü yazısını etkilemesin */
.rtph-menu-trigger[aria-expanded="true"] > .rtph-menu-trigger-label,
.rtph-menu-trigger[aria-expanded="true"] > .rtph-burger-lines {
  transform: none !important;
  opacity: 1 !important;
  background: transparent !important;
}

.rtph-menu-trigger[aria-expanded="true"] > .rtph-menu-trigger-label {
  opacity: .88 !important;
}

/* v1.0.3: mobil menü açılma, kaliteli menü butonu, mobil hızlı sayfa satırı ve koyu mod düzeltmeleri */
.rtph-mobile-strip {
  display: none;
}

.rtph-mobile-strip-inner {
  width: min(calc(100% - 16px), var(--rtph-max-width, 1320px));
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.rtph-mobile-strip-inner::-webkit-scrollbar {
  display: none;
}

.rtph-menu--mobilebar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  padding: 0 0 10px !important;
  list-style: none !important;
  white-space: nowrap;
}

.rtph-menu--mobilebar > li {
  flex: 0 0 auto;
  margin: 0 !important;
  list-style: none !important;
}

.rtph-menu--mobilebar > li > a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(159, 21, 62, 0.14);
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.88);
  color: #7a1635 !important;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 6px 14px rgba(28, 25, 23, 0.055);
}

.rtph-menu--mobilebar > li.current-menu-item > a,
.rtph-menu--mobilebar > li.current-menu-ancestor > a,
.rtph-menu--mobilebar > li > a:hover {
  background: var(--rtph-frame);
  border-color: var(--rtph-frame);
  color: #ffffff !important;
}


body.rtph-active #rtph-header .rtph-drawer {
  display: flex !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.rtph-drawer-open #rtph-header .rtph-drawer {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateX(0) !important;
}

body.rtph-drawer-open #rtph-header .rtph-drawer-overlay {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

@media (max-width: 1080px) {
  .rtph-mobile-strip {
    display: block;
    border-top: 1px solid rgba(159, 21, 62, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.74), rgba(255,247,237,0.48));
  }

  .rtph-shell {
    min-height: 66px;
  }

  .rtph-menu-trigger {
    width: 68px !important;
    height: 43px !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border: 1px solid rgba(159, 21, 62, 0.18) !important;
    border-radius: 17px !important;
    background: var(--rtph-surface) !important;
    color: var(--rtph-frame) !important;
    box-shadow: 0 9px 20px rgba(159, 21, 62, 0.10) !important;
  }

  .rtph-menu-trigger .rtph-menu-trigger-label {
    order: 1;
    font-size: 11px !important;
    font-weight: 950 !important;
    letter-spacing: -0.015em !important;
    text-transform: none !important;
  }

  .rtph-menu-trigger .rtph-burger-lines {
    order: 0;
    width: 25px !important;
    height: 25px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    border-radius: 10px !important;
    background: rgba(233, 134, 6, 0.12) !important;
  }

  .rtph-menu-trigger .rtph-burger-line {
    width: 14px !important;
    height: 2px !important;
    background: currentColor !important;
  }

  .rtph-menu-trigger:hover,
  .rtph-menu-trigger[aria-expanded="true"] {
    color: #ffffff !important;
    background: var(--rtph-frame) !important;
    border-color: var(--rtph-frame) !important;
  }

  .rtph-menu-trigger:hover .rtph-burger-lines,
  .rtph-menu-trigger[aria-expanded="true"] .rtph-burger-lines {
    background: rgba(255,255,255,0.15) !important;
  }
}

@media (max-width: 620px) {
  .rtph-menu-trigger {
    width: 64px !important;
    height: 41px !important;
    gap: 6px !important;
  }

  .rtph-menu-trigger .rtph-menu-trigger-label {
    font-size: 10px !important;
  }

  .rtph-menu-trigger .rtph-burger-lines {
    width: 23px !important;
    height: 23px !important;
  }

  .rtph-menu--mobilebar {
    gap: 6px;
    padding-bottom: 9px !important;
  }

  .rtph-menu--mobilebar > li > a {
    min-height: 32px;
    padding: 0 11px;
    font-size: 11.5px;
  }
}

@media (max-width: 410px) {
  .rtph-menu-trigger {
    width: 59px !important;
  }

  .rtph-menu-trigger .rtph-menu-trigger-label {
    font-size: 9.5px !important;
  }
}

/* Koyu modda menü ve sayfa isimleri net görünsün */
html.dark-mode #rtph-header,
body.dark-mode #rtph-header,
.dark-mode #rtph-header {
  color: #f8fafc !important;
}

html.dark-mode #rtph-header .rtph-menu--desktop > li > a,
body.dark-mode #rtph-header .rtph-menu--desktop > li > a,
.dark-mode #rtph-header .rtph-menu--desktop > li > a,
html.dark-mode #rtph-header .rtph-menu--mobile > li > a,
body.dark-mode #rtph-header .rtph-menu--mobile > li > a,
.dark-mode #rtph-header .rtph-menu--mobile > li > a,
html.dark-mode #rtph-header .rtph-menu--mobilebar > li > a,
body.dark-mode #rtph-header .rtph-menu--mobilebar > li > a,
.dark-mode #rtph-header .rtph-menu--mobilebar > li > a {
  color: #ffffff !important;
  text-shadow: none !important;
}

html.dark-mode #rtph-header .rtph-menu--desktop > li > a,
body.dark-mode #rtph-header .rtph-menu--desktop > li > a,
.dark-mode #rtph-header .rtph-menu--desktop > li > a {
  background: transparent !important;
}

html.dark-mode #rtph-header .rtph-menu--desktop > li:hover > a,
body.dark-mode #rtph-header .rtph-menu--desktop > li:hover > a,
.dark-mode #rtph-header .rtph-menu--desktop > li:hover > a,
html.dark-mode #rtph-header .rtph-menu--desktop > li.current-menu-item > a,
body.dark-mode #rtph-header .rtph-menu--desktop > li.current-menu-item > a,
.dark-mode #rtph-header .rtph-menu--desktop > li.current-menu-item > a {
  background: rgba(233, 134, 6, 0.16) !important;
  color: #ffd796 !important;
}

html.dark-mode #rtph-header .rtph-mobile-strip,
body.dark-mode #rtph-header .rtph-mobile-strip,
.dark-mode #rtph-header .rtph-mobile-strip {
  background: rgba(255,255,255,0.035) !important;
  border-top-color: rgba(255,255,255,0.08) !important;
}

html.dark-mode #rtph-header .rtph-menu--mobilebar > li > a,
body.dark-mode #rtph-header .rtph-menu--mobilebar > li > a,
.dark-mode #rtph-header .rtph-menu--mobilebar > li > a {
  background: rgba(255,255,255,0.075) !important;
  border-color: rgba(255,255,255,0.12) !important;
  box-shadow: none !important;
}

html.dark-mode #rtph-header .rtph-menu--mobilebar > li.current-menu-item > a,
body.dark-mode #rtph-header .rtph-menu--mobilebar > li.current-menu-item > a,
.dark-mode #rtph-header .rtph-menu--mobilebar > li.current-menu-item > a,
html.dark-mode #rtph-header .rtph-menu--mobilebar > li > a:hover,
body.dark-mode #rtph-header .rtph-menu--mobilebar > li > a:hover,
.dark-mode #rtph-header .rtph-menu--mobilebar > li > a:hover {
  background: var(--rtph-frame) !important;
  border-color: var(--rtph-frame) !important;
  color: #ffffff !important;
}

/* Masaüstünde sıkışmayı azalt: orta çözünürlükte arama alanını kısalt, yapı düz kalsın */
@media (min-width: 1081px) and (max-width: 1280px) {
  .rtph-search--desktop {
    width: 185px;
  }

  .rtph-menu--desktop > li > a {
    padding-inline: 9px;
    font-size: 13px;
  }

  .rtph-cta {
    padding-inline: 13px;
  }
}


/* v1.0.4: arama alanı kaldırıldı, mobil menü ortalandı ve renkler #e98606 / #9f153e çizgisinde sakinleştirildi */
.rtph-search,
.rtph-mobile-search-toggle,
.rtph-search-panel,
.rtph-drawer-search {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.rtph-header::before {
  height: 2px;
  background: linear-gradient(90deg, var(--rtph-frame) 0%, var(--rtph-frame) 58%, var(--rtph-accent) 58%, var(--rtph-accent) 100%);
  opacity: .88;
}

.rtph-actions {
  min-width: 148px;
}

.rtph-nav {
  justify-content: center !important;
}

.rtph-menu--desktop {
  justify-content: center !important;
}

.rtph-menu--desktop > li > a {
  color: var(--rtph-text) !important;
  background: transparent !important;
}

.rtph-menu--desktop > li:hover > a,
.rtph-menu--desktop > li:focus-within > a,
.rtph-menu--desktop > li.current-menu-item > a,
.rtph-menu--desktop > li.current-menu-ancestor > a {
  color: var(--rtph-frame) !important;
  background: rgba(233, 134, 6, 0.095) !important;
}

.rtph-cta,
.rtph-drawer-cta {
  background: var(--rtph-frame) !important;
  border-color: var(--rtph-frame) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(159, 21, 62, 0.15) !important;
}

.rtph-cta:hover,
.rtph-drawer-cta:hover {
  background: var(--rtph-accent) !important;
  border-color: var(--rtph-accent) !important;
  box-shadow: 0 10px 20px rgba(233, 134, 6, 0.16) !important;
}

.rtph-icon-button,
.rtph-notification-button,
.rtph-account-button,
.rtph-login-button,
.rtph-drawer-close,
.rtph-search-close {
  background: #ffffff !important;
  border: 1px solid rgba(159, 21, 62, 0.18) !important;
  color: var(--rtph-frame) !important;
  box-shadow: 0 6px 16px rgba(159, 21, 62, 0.07) !important;
}

.rtph-notification-button {
  border-color: rgba(233, 134, 6, 0.32) !important;
}

.rtph-count {
  background: var(--rtph-accent) !important;
  border-color: var(--rtph-bg) !important;
}

.rtph-menu-trigger {
  background: #ffffff !important;
  color: var(--rtph-frame) !important;
  border-color: rgba(159, 21, 62, 0.22) !important;
  box-shadow: 0 7px 18px rgba(159, 21, 62, 0.09) !important;
}

.rtph-menu-trigger .rtph-burger-lines {
  background: rgba(233, 134, 6, 0.10) !important;
}

.rtph-menu-trigger:hover,
.rtph-menu-trigger[aria-expanded="true"] {
  background: var(--rtph-frame) !important;
  color: #ffffff !important;
  border-color: var(--rtph-frame) !important;
}

.rtph-menu-trigger:hover .rtph-burger-lines,
.rtph-menu-trigger[aria-expanded="true"] .rtph-burger-lines {
  background: rgba(255, 255, 255, 0.16) !important;
}

.rtph-mobile-strip-inner {
  display: flex !important;
  justify-content: center !important;
  overflow-x: auto;
  overflow-y: hidden;
}

.rtph-menu--mobilebar {
  width: max-content;
  min-width: 100%;
  justify-content: center !important;
  padding: 8px 0 10px !important;
  margin: 0 auto !important;
}

.rtph-menu--mobilebar > li > a {
  background: #ffffff !important;
  color: var(--rtph-frame) !important;
  border-color: rgba(159, 21, 62, 0.16) !important;
  box-shadow: none !important;
}

.rtph-menu--mobilebar > li.current-menu-item > a,
.rtph-menu--mobilebar > li.current-menu-ancestor > a,
.rtph-menu--mobilebar > li > a:hover {
  background: rgba(233, 134, 6, 0.10) !important;
  color: var(--rtph-frame) !important;
  border-color: rgba(233, 134, 6, 0.38) !important;
}

html.dark-mode #rtph-header .rtph-icon-button,
body.dark-mode #rtph-header .rtph-icon-button,
.dark-mode #rtph-header .rtph-icon-button,
html.dark-mode #rtph-header .rtph-notification-button,
body.dark-mode #rtph-header .rtph-notification-button,
.dark-mode #rtph-header .rtph-notification-button,
html.dark-mode #rtph-header .rtph-account-button,
body.dark-mode #rtph-header .rtph-account-button,
.dark-mode #rtph-header .rtph-account-button,
html.dark-mode #rtph-header .rtph-login-button,
body.dark-mode #rtph-header .rtph-login-button,
.dark-mode #rtph-header .rtph-login-button,
html.dark-mode #rtph-header .rtph-drawer-close,
body.dark-mode #rtph-header .rtph-drawer-close,
.dark-mode #rtph-header .rtph-drawer-close {
  background: rgba(255,255,255,0.065) !important;
  border-color: rgba(255,255,255,0.14) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

html.dark-mode #rtph-header .rtph-menu-trigger,
body.dark-mode #rtph-header .rtph-menu-trigger,
.dark-mode #rtph-header .rtph-menu-trigger {
  background: rgba(255,255,255,0.065) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.15) !important;
  box-shadow: none !important;
}

html.dark-mode #rtph-header .rtph-menu--desktop > li > a,
body.dark-mode #rtph-header .rtph-menu--desktop > li > a,
.dark-mode #rtph-header .rtph-menu--desktop > li > a {
  color: #ffffff !important;
  background: transparent !important;
}

html.dark-mode #rtph-header .rtph-menu--desktop > li:hover > a,
body.dark-mode #rtph-header .rtph-menu--desktop > li:hover > a,
.dark-mode #rtph-header .rtph-menu--desktop > li:hover > a,
html.dark-mode #rtph-header .rtph-menu--desktop > li.current-menu-item > a,
body.dark-mode #rtph-header .rtph-menu--desktop > li.current-menu-item > a,
.dark-mode #rtph-header .rtph-menu--desktop > li.current-menu-item > a {
  background: rgba(233, 134, 6, 0.13) !important;
  color: #ffffff !important;
}

html.dark-mode #rtph-header .rtph-menu--mobilebar > li > a,
body.dark-mode #rtph-header .rtph-menu--mobilebar > li > a,
.dark-mode #rtph-header .rtph-menu--mobilebar > li > a {
  background: rgba(255,255,255,0.07) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.14) !important;
  box-shadow: none !important;
}

html.dark-mode #rtph-header .rtph-menu--mobilebar > li.current-menu-item > a,
body.dark-mode #rtph-header .rtph-menu--mobilebar > li.current-menu-item > a,
.dark-mode #rtph-header .rtph-menu--mobilebar > li.current-menu-item > a,
html.dark-mode #rtph-header .rtph-menu--mobilebar > li > a:hover,
body.dark-mode #rtph-header .rtph-menu--mobilebar > li > a:hover,
.dark-mode #rtph-header .rtph-menu--mobilebar > li > a:hover {
  background: rgba(233,134,6,0.18) !important;
  border-color: rgba(233,134,6,0.38) !important;
  color: #ffffff !important;
}

@media (max-width: 1080px) {
  .rtph-actions {
    min-width: 76px;
  }
}

@media (max-width: 620px) {
  .rtph-actions {
    min-width: 42px;
  }
}

/* v1.0.5: canlı arama ikonu, profil dropdown ve daha dengeli mobil header */
.rtph-search-toggle {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  pointer-events: auto !important;
  background: #ffffff !important;
  color: var(--rtph-frame) !important;
  border: 1px solid rgba(159, 21, 62, 0.18) !important;
  box-shadow: 0 6px 16px rgba(159, 21, 62, 0.07) !important;
}

.rtph-search-toggle:hover,
.rtph-search-toggle[aria-expanded="true"] {
  background: rgba(233, 134, 6, 0.10) !important;
  border-color: rgba(233, 134, 6, 0.36) !important;
  color: var(--rtph-frame) !important;
  transform: translateY(-1px);
}

.rtph-search-panel {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  pointer-events: auto !important;
  border-top: 1px solid rgba(159, 21, 62, 0.10) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(233, 134, 6, 0.08), transparent 30%),
    var(--rtph-bg) !important;
}

.rtph-search-panel[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.rtph-search-panel-inner {
  width: min(calc(100% - 24px), 760px);
  min-height: auto !important;
  margin: 0 auto;
  padding: 14px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rtph-search-panel .rtph-search {
  display: flex !important;
  visibility: visible !important;
  align-items: center;
  gap: 8px;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

.rtph-search-panel .rtph-search-label {
  min-height: 46px;
  background: var(--rtph-surface) !important;
  border-color: rgba(159, 21, 62, 0.16) !important;
  box-shadow: 0 8px 22px rgba(28, 25, 23, 0.055);
}

.rtph-search-panel .rtph-search-label:focus-within {
  border-color: rgba(233, 134, 6, 0.50) !important;
  box-shadow: 0 0 0 4px rgba(233, 134, 6, 0.12), 0 10px 24px rgba(28, 25, 23, 0.06);
}

.rtph-search-panel .rtph-search-submit,
.rtph-search-panel .rtph-search-close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.rtph-search-panel .rtph-search-submit {
  background: var(--rtph-frame) !important;
  border: 1px solid var(--rtph-frame) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(159, 21, 62, 0.15) !important;
}

.rtph-search-panel .rtph-search-close {
  background: #ffffff !important;
  border: 1px solid rgba(159, 21, 62, 0.16) !important;
  color: var(--rtph-frame) !important;
}

.rtph-live-search-box {
  overflow: hidden;
  border: 1px solid rgba(159, 21, 62, 0.12);
  border-radius: 18px;
  background: var(--rtph-surface);
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.075);
}

.rtph-live-search-status {
  padding: 10px 14px;
  color: var(--rtph-muted);
  font-size: 12px;
  font-weight: 750;
  border-bottom: 1px solid rgba(159, 21, 62, 0.08);
}

.rtph-live-search-results {
  display: grid;
  gap: 4px;
  padding: 7px;
}

.rtph-live-search-results:empty {
  display: none;
}

.rtph-live-search-result,
.rtph-live-search-all {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 13px;
  color: var(--rtph-text) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.rtph-live-search-result:hover,
.rtph-live-search-all:hover {
  background: rgba(233, 134, 6, 0.10);
  color: var(--rtph-frame) !important;
}

.rtph-live-search-result::after,
.rtph-live-search-all::after {
  content: "›";
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  border-radius: 999px;
  background: rgba(159, 21, 62, 0.08);
  color: var(--rtph-frame);
  font-size: 18px;
  line-height: 1;
}

.rtph-live-search-all {
  color: var(--rtph-frame) !important;
  background: rgba(159, 21, 62, 0.055);
}

.rtph-account {
  display: block !important;
  position: relative !important;
}

.rtph-account-menu {
  z-index: 10000;
}

.rtph-account-menu a.rtph-account-cta {
  background: rgba(159, 21, 62, 0.07);
  color: var(--rtph-frame) !important;
}

.rtph-account-menu a.rtph-account-cta:hover {
  background: rgba(233, 134, 6, 0.12);
  color: var(--rtph-frame) !important;
}

html.dark-mode #rtph-header .rtph-search-toggle,
body.dark-mode #rtph-header .rtph-search-toggle,
.dark-mode #rtph-header .rtph-search-toggle,
html.dark-mode #rtph-header .rtph-search-panel .rtph-search-close,
body.dark-mode #rtph-header .rtph-search-panel .rtph-search-close,
.dark-mode #rtph-header .rtph-search-panel .rtph-search-close {
  background: rgba(255,255,255,0.065) !important;
  border-color: rgba(255,255,255,0.14) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

html.dark-mode #rtph-header .rtph-search-panel,
body.dark-mode #rtph-header .rtph-search-panel,
.dark-mode #rtph-header .rtph-search-panel {
  background: var(--rtph-bg) !important;
  border-top-color: rgba(255,255,255,0.08) !important;
}

html.dark-mode #rtph-header .rtph-search-panel .rtph-search-label,
body.dark-mode #rtph-header .rtph-search-panel .rtph-search-label,
.dark-mode #rtph-header .rtph-search-panel .rtph-search-label,
html.dark-mode #rtph-header .rtph-live-search-box,
body.dark-mode #rtph-header .rtph-live-search-box,
.dark-mode #rtph-header .rtph-live-search-box {
  background: rgba(255,255,255,0.055) !important;
  border-color: rgba(255,255,255,0.13) !important;
  box-shadow: none !important;
}

html.dark-mode #rtph-header .rtph-live-search-status,
body.dark-mode #rtph-header .rtph-live-search-status,
.dark-mode #rtph-header .rtph-live-search-status {
  border-bottom-color: rgba(255,255,255,0.09) !important;
  color: #d1d5db !important;
}

html.dark-mode #rtph-header .rtph-live-search-result,
body.dark-mode #rtph-header .rtph-live-search-result,
.dark-mode #rtph-header .rtph-live-search-result,
html.dark-mode #rtph-header .rtph-live-search-all,
body.dark-mode #rtph-header .rtph-live-search-all,
.dark-mode #rtph-header .rtph-live-search-all {
  color: #ffffff !important;
}

@media (max-width: 1080px) {
  .rtph-account {
    display: block !important;
  }

  .rtph-account-button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    overflow: hidden;
  }

  .rtph-account-button > span,
  .rtph-account-button > svg {
    display: none !important;
  }

  .rtph-account-button .rtph-avatar {
    width: 28px !important;
    height: 28px !important;
    flex-basis: 28px !important;
    border: 2px solid rgba(233, 134, 6, 0.30);
  }

  .rtph-account-menu {
    right: 0 !important;
    width: min(265px, calc(100vw - 18px));
    padding: 10px;
    border-radius: 18px;
  }

  .rtph-actions {
    min-width: 128px;
    gap: 6px;
  }
}

@media (max-width: 620px) {
  .rtph-search-toggle,
  .rtph-notification-button,
  .rtph-account-button,
  .rtph-login-button {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }

  .rtph-search-panel-inner {
    width: min(calc(100% - 18px), 760px);
    padding: 10px 0 12px;
  }

  .rtph-search-panel .rtph-search {
    gap: 6px;
  }

  .rtph-search-panel .rtph-search-label {
    min-height: 42px;
    padding-inline: 11px;
  }

  .rtph-search-panel .rtph-search-submit,
  .rtph-search-panel .rtph-search-close {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}

@media (max-width: 410px) {
  .rtph-actions {
    min-width: 118px;
    gap: 4px;
  }

  .rtph-search-toggle,
  .rtph-notification-button,
  .rtph-account-button,
  .rtph-login-button {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }
}

/* v1.0.6: Mobil çekmece içinde gece/gündüz alanında metin kaldırıldı; sadece buton gösterilir. */
.rtph-drawer-tools--icon-only .rtph-mode-toggle--drawer {
  margin-inline: auto;
}
.rtph-drawer-tools-text {
  display: none !important;
}
.rtph-drawer-tools.rtph-drawer-tools--icon-only {
  justify-content: center !important;
  gap: 0 !important;
  padding: 8px 0 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* v1.0.7: Mobil profil menüsünde Tarif Gönder seçili gibi görünmesin; diğer bağlantılarla aynı dursun. */
body.rtph-active #rtph-header .rtph-account-menu a.rtph-account-cta,
body.rtph-active #rtph-header .rtph-account-menu a.rtph-account-cta:visited {
  background: transparent !important;
  color: var(--rtph-text) !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

body.rtph-active #rtph-header .rtph-account-menu a.rtph-account-cta:hover,
body.rtph-active #rtph-header .rtph-account-menu a.rtph-account-cta:focus {
  background: var(--rtph-soft) !important;
  color: var(--rtph-frame) !important;
}

html.dark-mode body.rtph-active #rtph-header .rtph-account-menu a.rtph-account-cta,
body.dark-mode.rtph-active #rtph-header .rtph-account-menu a.rtph-account-cta,
.dark-mode body.rtph-active #rtph-header .rtph-account-menu a.rtph-account-cta {
  background: transparent !important;
  color: #ffffff !important;
}

html.dark-mode body.rtph-active #rtph-header .rtph-account-menu a.rtph-account-cta:hover,
html.dark-mode body.rtph-active #rtph-header .rtph-account-menu a.rtph-account-cta:focus,
body.dark-mode.rtph-active #rtph-header .rtph-account-menu a.rtph-account-cta:hover,
body.dark-mode.rtph-active #rtph-header .rtph-account-menu a.rtph-account-cta:focus,
.dark-mode body.rtph-active #rtph-header .rtph-account-menu a.rtph-account-cta:hover,
.dark-mode body.rtph-active #rtph-header .rtph-account-menu a.rtph-account-cta:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}


/* v1.0.8: Tarif Gönder butonunda kağıttan uçak ikonu ve mobil header uyumlu CTA */
.rtph-cta,
.rtph-drawer-cta {
  gap: 8px !important;
}

.rtph-cta-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  line-height: 0;
}

.rtph-cta-icon svg {
  width: 17px !important;
  height: 17px !important;
  display: block;
  fill: currentColor;
}

.rtph-cta-text {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

.rtph-mobile-cta-row {
  display: none;
}

.rtph-cta--desktop {
  min-width: max-content;
}

.rtph-drawer-cta .rtph-cta-icon {
  width: 19px;
  height: 19px;
  flex-basis: 19px;
}

@media (max-width: 1080px) {
  .rtph-actions > .rtph-cta--desktop {
    display: none !important;
  }

  .rtph-mobile-cta-row {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 10px 9px;
  }

  .rtph-mobile-cta-row .rtph-cta--mobile-header {
    width: min(100%, 320px);
    min-height: 40px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -0.01em;
    box-shadow: 0 8px 18px rgba(159, 21, 62, 0.13) !important;
  }

  .rtph-mobile-cta-row .rtph-cta-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .rtph-mobile-cta-row .rtph-cta-icon svg {
    width: 16px !important;
    height: 16px !important;
  }

  .rtph-shell {
    flex-wrap: nowrap !important;
  }
}

@media (max-width: 430px) {
  .rtph-mobile-cta-row {
    padding: 0 9px 8px;
  }

  .rtph-mobile-cta-row .rtph-cta--mobile-header {
    width: 100%;
    min-height: 38px;
    padding-inline: 12px;
    font-size: 12.5px;
  }
}

html.dark-mode #rtph-header .rtph-mobile-cta-row .rtph-cta--mobile-header,
body.dark-mode #rtph-header .rtph-mobile-cta-row .rtph-cta--mobile-header,
.dark-mode #rtph-header .rtph-mobile-cta-row .rtph-cta--mobile-header {
  color: #ffffff !important;
  box-shadow: none !important;
}


/* v1.0.9: Mobil büyük Tarif Gönder satırı kaldırıldı; menü içi buton korundu, headerda sadece sığan kağıt uçak ikonu gösterilir */
body.rtph-active #rtph-header .rtph-mobile-compose-link{display:none!important;}
body.rtph-active #rtph-header .rtph-drawer-cta{width:calc(100% - 26px)!important;margin:14px 13px 0!important;min-height:46px!important;border-radius:16px!important;font-size:14px!important;font-weight:850!important;background:var(--rtph-frame)!important;color:#fff!important;box-shadow:0 12px 24px rgba(159,21,62,.16)!important;}
body.rtph-active #rtph-header .rtph-drawer-cta .rtph-cta-icon{width:18px!important;height:18px!important;flex:0 0 18px!important;}
@media(max-width:1080px){body.rtph-active #rtph-header .rtph-mobile-cta-row{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;visibility:hidden!important;}body.rtph-active #rtph-header .rtph-actions>.rtph-mobile-compose-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;border-radius:999px!important;border:1px solid rgba(233,134,6,.34)!important;background:#fff!important;color:var(--rtph-frame)!important;box-shadow:0 6px 16px rgba(159,21,62,.07)!important;}body.rtph-active #rtph-header .rtph-actions>.rtph-mobile-compose-link .rtph-cta-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}body.rtph-active #rtph-header .rtph-actions>.rtph-mobile-compose-link .rtph-cta-icon{width:18px!important;height:18px!important;flex:0 0 18px!important;margin:0!important;}body.rtph-active #rtph-header .rtph-actions>.rtph-mobile-compose-link .rtph-cta-icon svg{width:18px!important;height:18px!important;}body.rtph-active #rtph-header .rtph-actions{gap:7px!important;flex-shrink:1!important;}body.rtph-active #rtph-header .rtph-shell{width:min(calc(100% - 18px),var(--rtph-max-width,1320px))!important;gap:7px!important;}body.rtph-active #rtph-header .rtph-brand-wrap{flex:1 1 auto!important;justify-content:center!important;min-width:0!important;}body.rtph-active #rtph-header .rtph-logo img{max-width:150px!important;}}
@media(max-width:430px){body.rtph-active #rtph-header .rtph-menu-trigger{width:50px!important;height:40px!important;border-radius:14px!important;}body.rtph-active #rtph-header .rtph-menu-trigger-label{font-size:9px!important;}body.rtph-active #rtph-header .rtph-burger-line{width:15px!important;}body.rtph-active #rtph-header .rtph-actions{gap:5px!important;}body.rtph-active #rtph-header .rtph-search-toggle,body.rtph-active #rtph-header .rtph-notification-button,body.rtph-active #rtph-header .rtph-account-button,body.rtph-active #rtph-header .rtph-login-button,body.rtph-active #rtph-header .rtph-actions>.rtph-mobile-compose-link{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;}body.rtph-active #rtph-header .rtph-logo img{max-width:132px!important;max-height:40px!important;}}
@media(max-width:374px){body.rtph-active #rtph-header .rtph-shell{width:min(calc(100% - 12px),var(--rtph-max-width,1320px))!important;gap:5px!important;}body.rtph-active #rtph-header .rtph-actions{gap:4px!important;}body.rtph-active #rtph-header .rtph-menu-trigger{width:46px!important;}body.rtph-active #rtph-header .rtph-search-toggle,body.rtph-active #rtph-header .rtph-notification-button,body.rtph-active #rtph-header .rtph-account-button,body.rtph-active #rtph-header .rtph-login-button,body.rtph-active #rtph-header .rtph-actions>.rtph-mobile-compose-link{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;}body.rtph-active #rtph-header .rtph-logo img{max-width:116px!important;}}
html.dark-mode body.rtph-active #rtph-header .rtph-actions>.rtph-mobile-compose-link,body.dark-mode.rtph-active #rtph-header .rtph-actions>.rtph-mobile-compose-link{background:rgba(255,255,255,.08)!important;color:#fff!important;border-color:rgba(233,134,6,.30)!important;box-shadow:none!important;}


/* v1.0.10: giriş yazısı, menü etiketi konumu ve çekmece gece/gündüz butonu düzeltmeleri */
.rtph-login-button span {
  font-weight: 850;
}

@media (max-width: 1080px) {
  .rtph-menu-trigger {
    width: 52px !important;
    min-width: 52px !important;
    height: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 4px 5px !important;
    border-radius: 14px !important;
  }

  .rtph-menu-trigger .rtph-menu-trigger-label {
    order: 0 !important;
    font-size: 9px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    margin: 0 !important;
  }

  .rtph-menu-trigger .rtph-burger-lines {
    order: 1 !important;
    width: 24px !important;
    height: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 3px !important;
    border-radius: 9px !important;
    background: rgba(233, 134, 6, 0.10) !important;
  }

  .rtph-menu-trigger .rtph-burger-line {
    width: 14px !important;
    height: 2px !important;
  }
}

@media (max-width: 430px) {
  .rtph-menu-trigger {
    width: 48px !important;
    min-width: 48px !important;
    height: 42px !important;
    min-height: 42px !important;
    gap: 3px !important;
    padding: 4px !important;
  }

  .rtph-menu-trigger .rtph-menu-trigger-label {
    font-size: 8.5px !important;
  }

  .rtph-menu-trigger .rtph-burger-lines {
    width: 22px !important;
    height: 18px !important;
  }

  .rtph-menu-trigger .rtph-burger-line {
    width: 13px !important;
  }
}

@media (max-width: 374px) {
  .rtph-menu-trigger {
    width: 44px !important;
    min-width: 44px !important;
  }

  .rtph-menu-trigger .rtph-menu-trigger-label {
    font-size: 8px !important;
  }

  .rtph-menu-trigger .rtph-burger-lines {
    width: 20px !important;
    height: 17px !important;
  }

  .rtph-menu-trigger .rtph-burger-line {
    width: 12px !important;
  }
}

.rtph-drawer-tools--icon-only .rtph-mode-toggle--drawer,
.rtph-mode-toggle--drawer.geo-switch-button {
  width: 78px !important;
  min-width: 78px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 4px !important;
  justify-content: space-between !important;
  overflow: hidden !important;
}

.rtph-mode-toggle--drawer .rtph-mode-icon {
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.rtph-mode-toggle--drawer .rtph-mode-icon svg {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  margin: auto !important;
}

.rtph-mode-toggle--drawer .rtph-mode-knob,
.rtph-mode-toggle--drawer .geo-switch.rtph-mode-knob,
.rtph-mode-toggle--drawer .geo-switch {
  top: 4px !important;
  left: 4px !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
}

.rtph-mode-toggle--drawer.geo-switch-on .rtph-mode-knob,
.rtph-mode-toggle--drawer.geo-switch-on .geo-switch,
html.dark-mode .rtph-mode-toggle--drawer .rtph-mode-knob,
html.dark-mode .rtph-mode-toggle--drawer .geo-switch,
body.dark-mode .rtph-mode-toggle--drawer .rtph-mode-knob,
body.dark-mode .rtph-mode-toggle--drawer .geo-switch {
  transform: translateX(40px) !important;
  background: var(--rtph-frame) !important;
}


/* v1.0.11: mobil açılır menü içine canlı arama motoru */
.rtph-drawer-search {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 2px !important;
  padding: 12px !important;
  overflow: visible !important;
  pointer-events: auto !important;
  border: 1px solid rgba(159, 21, 62, 0.12) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,247,237,0.62)) !important;
  box-shadow: 0 10px 24px rgba(159,21,62,0.07) !important;
}

.rtph-drawer-search-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 9px !important;
  color: var(--rtph-frame) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}

.rtph-drawer-search-title-icon {
  width: 26px !important;
  height: 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: rgba(233,134,6,0.11) !important;
  color: var(--rtph-frame) !important;
}

.rtph-drawer-search-title-icon svg {
  width: 15px !important;
  height: 15px !important;
}

.rtph-drawer-search .rtph-search {
  display: flex !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  pointer-events: auto !important;
  gap: 8px !important;
  align-items: center !important;
}

.rtph-drawer-search .rtph-search-label {
  width: 100% !important;
  min-height: 44px !important;
  background: #ffffff !important;
  border: 1px solid rgba(159,21,62,0.16) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.rtph-drawer-search .rtph-search-label:focus-within {
  border-color: rgba(233,134,6,0.48) !important;
  box-shadow: 0 0 0 3px rgba(233,134,6,0.11) !important;
}

.rtph-drawer-search .rtph-search-submit {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  flex: 0 0 44px !important;
  border-radius: 14px !important;
  background: var(--rtph-frame) !important;
  color: #ffffff !important;
  border-color: var(--rtph-frame) !important;
  box-shadow: 0 8px 18px rgba(159,21,62,0.14) !important;
}

.rtph-drawer-search .rtph-live-search-box {
  display: block !important;
  margin-top: 9px !important;
  border-radius: 15px !important;
  background: #ffffff !important;
  border: 1px solid rgba(159,21,62,0.10) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.rtph-drawer-search .rtph-live-search-status {
  padding: 9px 11px !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  color: #7c5061 !important;
}

.rtph-drawer-search .rtph-live-search-results {
  padding: 6px !important;
}

.rtph-drawer-search .rtph-live-search-result,
.rtph-drawer-search .rtph-live-search-all {
  min-height: 38px !important;
  padding: 8px 10px !important;
  border-radius: 12px !important;
  font-size: 12.5px !important;
}

html.dark-mode #rtph-header .rtph-drawer-search,
body.dark-mode #rtph-header .rtph-drawer-search,
.dark-mode #rtph-header .rtph-drawer-search {
  background: rgba(255,255,255,0.055) !important;
  border-color: rgba(255,255,255,0.12) !important;
  box-shadow: none !important;
}

html.dark-mode #rtph-header .rtph-drawer-search-title,
body.dark-mode #rtph-header .rtph-drawer-search-title,
.dark-mode #rtph-header .rtph-drawer-search-title {
  color: #ffffff !important;
}

html.dark-mode #rtph-header .rtph-drawer-search-title-icon,
body.dark-mode #rtph-header .rtph-drawer-search-title-icon,
.dark-mode #rtph-header .rtph-drawer-search-title-icon {
  background: rgba(233,134,6,0.18) !important;
  color: #ffd796 !important;
}

html.dark-mode #rtph-header .rtph-drawer-search .rtph-search-label,
body.dark-mode #rtph-header .rtph-drawer-search .rtph-search-label,
.dark-mode #rtph-header .rtph-drawer-search .rtph-search-label,
html.dark-mode #rtph-header .rtph-drawer-search .rtph-live-search-box,
body.dark-mode #rtph-header .rtph-drawer-search .rtph-live-search-box,
.dark-mode #rtph-header .rtph-drawer-search .rtph-live-search-box {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.13) !important;
  color: #ffffff !important;
}

html.dark-mode #rtph-header .rtph-drawer-search input,
body.dark-mode #rtph-header .rtph-drawer-search input,
.dark-mode #rtph-header .rtph-drawer-search input {
  color: #ffffff !important;
}

html.dark-mode #rtph-header .rtph-drawer-search input::placeholder,
body.dark-mode #rtph-header .rtph-drawer-search input::placeholder,
.dark-mode #rtph-header .rtph-drawer-search input::placeholder {
  color: rgba(255,255,255,0.62) !important;
}

html.dark-mode #rtph-header .rtph-drawer-search .rtph-live-search-status,
body.dark-mode #rtph-header .rtph-drawer-search .rtph-live-search-status,
.dark-mode #rtph-header .rtph-drawer-search .rtph-live-search-status {
  color: rgba(255,255,255,0.70) !important;
  border-color: rgba(255,255,255,0.08) !important;
}

/* v1.0.12: Mobil menü içi canlı arama sonuçları üst hızlı sayfa satırıyla çakışmasın */
body.rtph-drawer-open #rtph-header .rtph-mobile-strip {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

body.rtph-drawer-open #rtph-header .rtph-drawer-overlay {
  z-index: 2147482990 !important;
}

body.rtph-drawer-open #rtph-header .rtph-drawer,
body.rtph-drawer-open #rtph-mobile-drawer {
  z-index: 2147483000 !important;
}

#rtph-mobile-drawer .rtph-drawer-search {
  position: relative !important;
  z-index: 20 !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
}

#rtph-mobile-drawer .rtph-drawer-search .rtph-live-search-box {
  position: relative !important;
  z-index: 21 !important;
  max-height: 260px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  margin-bottom: 6px !important;
}

#rtph-mobile-drawer .rtph-drawer-search .rtph-live-search-results {
  max-height: none !important;
  overflow: visible !important;
}

#rtph-mobile-drawer .rtph-mobile-nav {
  position: relative !important;
  z-index: 1 !important;
  flex: 0 0 auto !important;
  clear: both !important;
  margin-top: 10px !important;
}

@media (max-height: 740px) {
  #rtph-mobile-drawer .rtph-drawer-search .rtph-live-search-box {
    max-height: 210px !important;
  }
}

@media (max-height: 640px) {
  #rtph-mobile-drawer .rtph-drawer-search .rtph-live-search-box {
    max-height: 170px !important;
  }
}

/* v1.0.13: Gereksiz canlı arama açıklama satırını gizle */
#rtph-header .rtph-live-search-status:empty {
  display: none !important;
}

/* v1.0.15: Mobil menüde gece/gündüz butonu çarpının solunda durur */
#rtph-mobile-drawer .rtph-drawer-head {
  align-items: center !important;
  gap: 10px !important;
}

#rtph-mobile-drawer .rtph-drawer-head .rtph-logo {
  min-width: 0 !important;
  max-width: calc(100% - 136px) !important;
}

#rtph-mobile-drawer .rtph-drawer-head .rtph-logo img {
  max-width: 145px !important;
  max-height: 40px !important;
}

#rtph-mobile-drawer .rtph-drawer-head-actions {
  margin-left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
}

#rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer {
  margin: 0 !important;
  width: 72px !important;
  min-width: 72px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 8px !important;
  box-shadow: none !important;
}

#rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer .rtph-mode-icon {
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer .rtph-mode-icon svg {
  width: 15px !important;
  height: 15px !important;
  display: block !important;
  margin: auto !important;
}

#rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer .rtph-mode-knob,
#rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer .geo-switch {
  top: 4px !important;
  left: 4px !important;
  width: 28px !important;
  height: 28px !important;
}

#rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer.geo-switch-on .rtph-mode-knob,
#rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer.geo-switch-on .geo-switch,
html.dark-mode #rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer .rtph-mode-knob,
html.dark-mode #rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer .geo-switch,
body.dark-mode #rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer .rtph-mode-knob,
body.dark-mode #rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer .geo-switch {
  transform: translateX(36px) !important;
}

#rtph-mobile-drawer .rtph-drawer-head-actions .rtph-drawer-close {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  flex: 0 0 38px !important;
}

@media (max-width: 374px) {
  #rtph-mobile-drawer .rtph-drawer-head .rtph-logo img {
    max-width: 125px !important;
  }

  #rtph-mobile-drawer .rtph-drawer-head-actions {
    gap: 6px !important;
  }

  #rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer {
    width: 66px !important;
    min-width: 66px !important;
  }

  #rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer.geo-switch-on .rtph-mode-knob,
  #rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer.geo-switch-on .geo-switch,
  html.dark-mode #rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer .rtph-mode-knob,
  html.dark-mode #rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer .geo-switch,
  body.dark-mode #rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer .rtph-mode-knob,
  body.dark-mode #rtph-mobile-drawer .rtph-drawer-head-actions .rtph-mode-toggle--drawer .geo-switch {
    transform: translateX(30px) !important;
  }
}

/* v1.0.16: Gece modunda görünmeyen buton/sayfa isimleri için son katman düzeltmesi */
html.dark-mode body.rtph-active #rtph-header,
body.dark-mode.rtph-active #rtph-header,
.dark-mode body.rtph-active #rtph-header {
  --rtph-bg: #111318;
  --rtph-surface: #171a21;
  --rtph-text: #f8fafc;
  --rtph-muted: #d1d5db;
  --rtph-border: rgba(255,255,255,.14);
  background: rgba(17,19,24,.98) !important;
  color: #f8fafc !important;
}

html.dark-mode body.rtph-active #rtph-header .rtph-shell,
body.dark-mode.rtph-active #rtph-header .rtph-shell,
.dark-mode body.rtph-active #rtph-header .rtph-shell {
  color: #f8fafc !important;
}

html.dark-mode body.rtph-active #rtph-header .rtph-menu--desktop > li > a,
body.dark-mode.rtph-active #rtph-header .rtph-menu--desktop > li > a,
.dark-mode body.rtph-active #rtph-header .rtph-menu--desktop > li > a {
  background: rgba(255,255,255,.045) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: #f8fafc !important;
  box-shadow: none !important;
}

html.dark-mode body.rtph-active #rtph-header .rtph-menu--desktop > li.current-menu-item > a,
body.dark-mode.rtph-active #rtph-header .rtph-menu--desktop > li.current-menu-item > a,
.dark-mode body.rtph-active #rtph-header .rtph-menu--desktop > li.current-menu-item > a,
html.dark-mode body.rtph-active #rtph-header .rtph-menu--desktop > li.current-menu-ancestor > a,
body.dark-mode.rtph-active #rtph-header .rtph-menu--desktop > li.current-menu-ancestor > a,
.dark-mode body.rtph-active #rtph-header .rtph-menu--desktop > li.current-menu-ancestor > a,
html.dark-mode body.rtph-active #rtph-header .rtph-menu--desktop > li:hover > a,
body.dark-mode.rtph-active #rtph-header .rtph-menu--desktop > li:hover > a,
.dark-mode body.rtph-active #rtph-header .rtph-menu--desktop > li:hover > a,
html.dark-mode body.rtph-active #rtph-header .rtph-menu--desktop > li:focus-within > a,
body.dark-mode.rtph-active #rtph-header .rtph-menu--desktop > li:focus-within > a,
.dark-mode body.rtph-active #rtph-header .rtph-menu--desktop > li:focus-within > a {
  background: #9f153e !important;
  border-color: #9f153e !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(159,21,62,.24) !important;
}

html.dark-mode body.rtph-active #rtph-header .rtph-menu--desktop .sub-menu,
body.dark-mode.rtph-active #rtph-header .rtph-menu--desktop .sub-menu,
.dark-mode body.rtph-active #rtph-header .rtph-menu--desktop .sub-menu,
html.dark-mode body.rtph-active #rtph-header .rtph-account-menu,
body.dark-mode.rtph-active #rtph-header .rtph-account-menu,
.dark-mode body.rtph-active #rtph-header .rtph-account-menu,
html.dark-mode body.rtph-active #rtph-header .rtph-notification-menu,
body.dark-mode.rtph-active #rtph-header .rtph-notification-menu,
.dark-mode body.rtph-active #rtph-header .rtph-notification-menu {
  background: #171a21 !important;
  border-color: rgba(255,255,255,.14) !important;
  color: #f8fafc !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.35) !important;
}

html.dark-mode body.rtph-active #rtph-header .rtph-menu--desktop .sub-menu a,
body.dark-mode.rtph-active #rtph-header .rtph-menu--desktop .sub-menu a,
.dark-mode body.rtph-active #rtph-header .rtph-menu--desktop .sub-menu a,
html.dark-mode body.rtph-active #rtph-header .rtph-account-menu a,
body.dark-mode.rtph-active #rtph-header .rtph-account-menu a,
.dark-mode body.rtph-active #rtph-header .rtph-account-menu a,
html.dark-mode body.rtph-active #rtph-header .rtph-notification-menu a,
body.dark-mode.rtph-active #rtph-header .rtph-notification-menu a,
.dark-mode body.rtph-active #rtph-header .rtph-notification-menu a {
  color: #f8fafc !important;
  background: transparent !important;
}

html.dark-mode body.rtph-active #rtph-header .rtph-icon-button,
body.dark-mode.rtph-active #rtph-header .rtph-icon-button,
.dark-mode body.rtph-active #rtph-header .rtph-icon-button,
html.dark-mode body.rtph-active #rtph-header .rtph-search-toggle,
body.dark-mode.rtph-active #rtph-header .rtph-search-toggle,
.dark-mode body.rtph-active #rtph-header .rtph-search-toggle,
html.dark-mode body.rtph-active #rtph-header .rtph-notification-button,
body.dark-mode.rtph-active #rtph-header .rtph-notification-button,
.dark-mode body.rtph-active #rtph-header .rtph-notification-button,
html.dark-mode body.rtph-active #rtph-header .rtph-account-button,
body.dark-mode.rtph-active #rtph-header .rtph-account-button,
.dark-mode body.rtph-active #rtph-header .rtph-account-button,
html.dark-mode body.rtph-active #rtph-header .rtph-login-button,
body.dark-mode.rtph-active #rtph-header .rtph-login-button,
.dark-mode body.rtph-active #rtph-header .rtph-login-button,
html.dark-mode body.rtph-active #rtph-header .rtph-actions > .rtph-mobile-compose-link,
body.dark-mode.rtph-active #rtph-header .rtph-actions > .rtph-mobile-compose-link,
.dark-mode body.rtph-active #rtph-header .rtph-actions > .rtph-mobile-compose-link,
html.dark-mode body.rtph-active #rtph-header .rtph-drawer-close,
body.dark-mode.rtph-active #rtph-header .rtph-drawer-close,
.dark-mode body.rtph-active #rtph-header .rtph-drawer-close {
  background: #1f2430 !important;
  border-color: rgba(233,134,6,.30) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.22) !important;
}

html.dark-mode body.rtph-active #rtph-header .rtph-icon-button svg,
body.dark-mode.rtph-active #rtph-header .rtph-icon-button svg,
.dark-mode body.rtph-active #rtph-header .rtph-icon-button svg,
html.dark-mode body.rtph-active #rtph-header .rtph-search-toggle svg,
body.dark-mode.rtph-active #rtph-header .rtph-search-toggle svg,
.dark-mode body.rtph-active #rtph-header .rtph-search-toggle svg,
html.dark-mode body.rtph-active #rtph-header .rtph-notification-button svg,
body.dark-mode.rtph-active #rtph-header .rtph-notification-button svg,
.dark-mode body.rtph-active #rtph-header .rtph-notification-button svg,
html.dark-mode body.rtph-active #rtph-header .rtph-account-button svg,
body.dark-mode.rtph-active #rtph-header .rtph-account-button svg,
.dark-mode body.rtph-active #rtph-header .rtph-account-button svg,
html.dark-mode body.rtph-active #rtph-header .rtph-actions > .rtph-mobile-compose-link svg,
body.dark-mode.rtph-active #rtph-header .rtph-actions > .rtph-mobile-compose-link svg,
.dark-mode body.rtph-active #rtph-header .rtph-actions > .rtph-mobile-compose-link svg {
  fill: currentColor !important;
  color: #ffffff !important;
}

html.dark-mode body.rtph-active #rtph-header .rtph-mode-toggle,
body.dark-mode.rtph-active #rtph-header .rtph-mode-toggle,
.dark-mode body.rtph-active #rtph-header .rtph-mode-toggle {
  background: #1f2430 !important;
  border-color: rgba(233,134,6,.30) !important;
  color: #dbe4ef !important;
}

html.dark-mode body.rtph-active #rtph-header .rtph-mode-toggle .rtph-mode-icon,
body.dark-mode.rtph-active #rtph-header .rtph-mode-toggle .rtph-mode-icon,
.dark-mode body.rtph-active #rtph-header .rtph-mode-toggle .rtph-mode-icon {
  color: #dbe4ef !important;
  opacity: 1 !important;
}

html.dark-mode body.rtph-active #rtph-header .rtph-menu--mobilebar > li > a,
body.dark-mode.rtph-active #rtph-header .rtph-menu--mobilebar > li > a,
.dark-mode body.rtph-active #rtph-header .rtph-menu--mobilebar > li > a {
  background: #1f2430 !important;
  border-color: rgba(255,255,255,.12) !important;
  color: #f8fafc !important;
  box-shadow: none !important;
}

html.dark-mode body.rtph-active #rtph-header .rtph-menu--mobilebar > li.current-menu-item > a,
body.dark-mode.rtph-active #rtph-header .rtph-menu--mobilebar > li.current-menu-item > a,
.dark-mode body.rtph-active #rtph-header .rtph-menu--mobilebar > li.current-menu-item > a,
html.dark-mode body.rtph-active #rtph-header .rtph-menu--mobilebar > li.current-menu-ancestor > a,
body.dark-mode.rtph-active #rtph-header .rtph-menu--mobilebar > li.current-menu-ancestor > a,
.dark-mode body.rtph-active #rtph-header .rtph-menu--mobilebar > li.current-menu-ancestor > a,
html.dark-mode body.rtph-active #rtph-header .rtph-menu--mobilebar > li > a:hover,
body.dark-mode.rtph-active #rtph-header .rtph-menu--mobilebar > li > a:hover,
.dark-mode body.rtph-active #rtph-header .rtph-menu--mobilebar > li > a:hover {
  background: #9f153e !important;
  border-color: #9f153e !important;
  color: #ffffff !important;
}

html.dark-mode body.rtph-active #rtph-header .rtph-drawer,
body.dark-mode.rtph-active #rtph-header .rtph-drawer,
.dark-mode body.rtph-active #rtph-header .rtph-drawer {
  background:
    radial-gradient(circle at 12% 0%, rgba(233,134,6,.13), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(159,21,62,.16), transparent 30%),
    #171a21 !important;
  color: #f8fafc !important;
}


/* v1.0.19: Giriş sonrası profil düğmesi kompakt avatar modunda kalır; isim yazısı header dışına taşmaz. */
body.rtph-active #rtph-header .rtph-actions {
  min-width: 0 !important;
  max-width: 100% !important;
  flex: 0 1 auto !important;
  overflow: visible !important;
}

body.rtph-active #rtph-header .rtph-account {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  flex: 0 0 42px !important;
  overflow: visible !important;
}

body.rtph-active #rtph-header .rtph-account-button {
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  gap: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  flex: 0 0 42px !important;
}

body.rtph-active #rtph-header .rtph-account-button > span,
body.rtph-active #rtph-header .rtph-account-button > svg {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  min-height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  display: block !important;
}

body.rtph-active #rtph-header .rtph-account-button .rtph-avatar {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  flex: 0 0 30px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  object-fit: cover !important;
  display: block !important;
  border: 2px solid rgba(233,134,6,.26) !important;
}

body.rtph-active #rtph-header .rtph-account-menu {
  right: 0 !important;
  top: calc(100% + 12px) !important;
}

@media (max-width: 1080px) {
  body.rtph-active #rtph-header .rtph-account {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    flex-basis: 38px !important;
  }
  body.rtph-active #rtph-header .rtph-account-button {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    flex-basis: 38px !important;
  }
  body.rtph-active #rtph-header .rtph-account-button .rtph-avatar {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    flex-basis: 28px !important;
  }
}

@media (max-width: 430px) {
  body.rtph-active #rtph-header .rtph-account {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    flex-basis: 36px !important;
  }
  body.rtph-active #rtph-header .rtph-account-button {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    flex-basis: 36px !important;
  }
  body.rtph-active #rtph-header .rtph-account-button .rtph-avatar {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    flex-basis: 26px !important;
  }
}

@media (max-width: 374px) {
  body.rtph-active #rtph-header .rtph-account {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    flex-basis: 34px !important;
  }
  body.rtph-active #rtph-header .rtph-account-button {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    flex-basis: 34px !important;
  }
  body.rtph-active #rtph-header .rtph-account-button .rtph-avatar {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-basis: 24px !important;
  }
}


/* v1.0.21 - Mobil menü içi profesyonel üyelik kartı */
body.rtph-active #rtph-header .rtph-drawer-account {
  margin: 12px 13px 6px;
  padding: 13px;
  border: 1px solid rgba(159, 21, 62, 0.14);
  border-radius: 18px;
  background: #fffaf3;
  color: var(--rtph-text);
  box-shadow: 0 10px 26px rgba(159, 21, 62, 0.07);
}

body.rtph-active #rtph-header .rtph-drawer-account-top {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

body.rtph-active #rtph-header .rtph-drawer-account-avatar,
body.rtph-active #rtph-header .rtph-drawer-account-avatar .rtph-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 999px;
  display: block;
}

body.rtph-active #rtph-header .rtph-drawer-account-avatar .rtph-avatar {
  object-fit: cover;
  border: 2px solid rgba(233, 134, 6, 0.34);
  background: #fff;
}

body.rtph-active #rtph-header .rtph-drawer-account-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

body.rtph-active #rtph-header .rtph-drawer-account-text strong {
  color: var(--rtph-frame);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

body.rtph-active #rtph-header .rtph-drawer-account-text span {
  color: var(--rtph-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

body.rtph-active #rtph-header .rtph-drawer-login-button {
  width: 100%;
  min-height: 44px;
  margin: 12px 0 0;
  padding: 0 14px;
  border: 0;
  border-radius: 15px;
  background: var(--rtph-frame);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(159, 21, 62, 0.18);
}

body.rtph-active #rtph-header .rtph-drawer-login-button:hover,
body.rtph-active #rtph-header .rtph-drawer-login-button:focus {
  background: #8f1237;
  color: #fff;
  transform: translateY(-1px);
}

body.rtph-active #rtph-header .rtph-drawer-login-icon,
body.rtph-active #rtph-header .rtph-drawer-login-icon svg {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.rtph-active #rtph-header .rtph-drawer-account-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

body.rtph-active #rtph-header .rtph-drawer-account-links a {
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid rgba(159, 21, 62, 0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--rtph-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.15;
}

body.rtph-active #rtph-header .rtph-drawer-account-links a:hover,
body.rtph-active #rtph-header .rtph-drawer-account-links a:focus {
  border-color: rgba(159, 21, 62, 0.24);
  color: var(--rtph-frame);
  background: #fff7ed;
}

body.rtph-active #rtph-header .rtph-drawer-account-links a.rtph-drawer-account-primary {
  grid-column: 1 / -1;
  background: var(--rtph-frame);
  color: #fff !important;
  border-color: var(--rtph-frame);
  box-shadow: 0 10px 20px rgba(159, 21, 62, 0.16);
}

body.rtph-active #rtph-header .rtph-drawer-account-links a.rtph-drawer-account-primary svg {
  width: 17px;
  height: 17px;
}

body.rtph-active #rtph-header .rtph-drawer-account-links a.rtph-drawer-account-primary:hover,
body.rtph-active #rtph-header .rtph-drawer-account-links a.rtph-drawer-account-primary:focus {
  background: #8f1237;
  border-color: #8f1237;
  color: #fff !important;
}

body.rtph-active #rtph-header .rtph-drawer-account-links a.rtph-drawer-account-logout {
  color: #7a112f;
}

html.dark-mode body.rtph-active #rtph-header .rtph-drawer-account,
body.dark-mode.rtph-active #rtph-header .rtph-drawer-account,
.dark-mode body.rtph-active #rtph-header .rtph-drawer-account {
  background: #1b1e27;
  border-color: rgba(233, 134, 6, 0.22);
  color: #f8fafc;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

html.dark-mode body.rtph-active #rtph-header .rtph-drawer-account-text strong,
body.dark-mode.rtph-active #rtph-header .rtph-drawer-account-text strong,
.dark-mode body.rtph-active #rtph-header .rtph-drawer-account-text strong {
  color: #fff;
}

html.dark-mode body.rtph-active #rtph-header .rtph-drawer-account-text span,
body.dark-mode.rtph-active #rtph-header .rtph-drawer-account-text span,
.dark-mode body.rtph-active #rtph-header .rtph-drawer-account-text span {
  color: #cbd5e1;
}

html.dark-mode body.rtph-active #rtph-header .rtph-drawer-account-links a,
body.dark-mode.rtph-active #rtph-header .rtph-drawer-account-links a,
.dark-mode body.rtph-active #rtph-header .rtph-drawer-account-links a {
  background: #202431;
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.10);
}

html.dark-mode body.rtph-active #rtph-header .rtph-drawer-account-links a:hover,
body.dark-mode.rtph-active #rtph-header .rtph-drawer-account-links a:hover,
.dark-mode body.rtph-active #rtph-header .rtph-drawer-account-links a:hover {
  background: rgba(233, 134, 6, 0.13);
  color: #fff;
}

@media (max-width: 380px) {
  body.rtph-active #rtph-header .rtph-drawer-account {
    margin-left: 10px;
    margin-right: 10px;
    padding: 11px;
    border-radius: 16px;
  }
  body.rtph-active #rtph-header .rtph-drawer-account-links {
    gap: 7px;
  }
  body.rtph-active #rtph-header .rtph-drawer-account-links a {
    min-height: 38px;
    font-size: 12px;
    padding: 8px;
  }
  body.rtph-active #rtph-header .rtph-drawer-account-text strong {
    font-size: 13px;
  }
  body.rtph-active #rtph-header .rtph-drawer-account-text span {
    font-size: 11.5px;
  }
}

/* v1.0.27: Bildirim okundu, tek tek silme ve temizleme düzeni */
.rtph-notification-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 4px 8px;
}

.rtph-notification-head strong {
  padding: 4px 4px 4px !important;
}

.rtph-notification-clear {
  appearance: none;
  border: 1px solid rgba(159, 21, 62, .16);
  border-radius: 999px;
  background: #fff7ed;
  color: var(--rtph-frame);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  padding: 7px 10px;
  white-space: nowrap;
}

.rtph-notification-clear:hover,
.rtph-notification-clear:focus-visible {
  background: var(--rtph-frame);
  border-color: var(--rtph-frame);
  color: #fff;
  outline: none;
}

.rtph-notification-clear:disabled {
  cursor: wait;
  opacity: .65;
}

.rtph-notification-list {
  display: grid;
  gap: 3px;
}

.rtph-notification-item {
  position: relative;
}

.rtph-notification-item--unread {
  padding-left: 22px !important;
  background: rgba(233, 134, 6, .08);
}

.rtph-notification-item--unread::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--rtph-accent);
  transform: translateY(-50%);
}

.rtph-notification-empty {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--rtph-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.rtph-notification-status {
  min-height: 0;
  padding: 5px 8px 0;
  color: var(--rtph-muted);
  font-size: 11px;
  font-weight: 700;
}

html.dark-mode body.rtph-active #rtph-header .rtph-notification-clear,
body.dark-mode.rtph-active #rtph-header .rtph-notification-clear,
.dark-mode body.rtph-active #rtph-header .rtph-notification-clear {
  background: rgba(233, 134, 6, .14);
  border-color: rgba(233, 134, 6, .30);
  color: #fff;
}

html.dark-mode body.rtph-active #rtph-header .rtph-notification-clear:hover,
body.dark-mode.rtph-active #rtph-header .rtph-notification-clear:hover,
.dark-mode body.rtph-active #rtph-header .rtph-notification-clear:hover {
  background: var(--rtph-frame);
  border-color: var(--rtph-frame);
}

html.dark-mode body.rtph-active #rtph-header .rtph-notification-item--unread,
body.dark-mode.rtph-active #rtph-header .rtph-notification-item--unread,
.dark-mode body.rtph-active #rtph-header .rtph-notification-item--unread {
  background: rgba(233, 134, 6, .14) !important;
}


/* v1.0.27: Bildirimleri tek tek silme ve tümünü okundu yapma */
.rtph-notification-head {
  align-items: flex-start;
}

.rtph-notification-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.rtph-notification-action,
.rtph-notification-read-all,
.rtph-notification-clear {
  appearance: none;
  border: 1px solid rgba(159, 21, 62, .16);
  border-radius: 999px;
  background: #fff7ed;
  color: var(--rtph-frame);
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 850;
  line-height: 1;
  padding: 7px 9px;
  white-space: nowrap;
}

.rtph-notification-action:hover,
.rtph-notification-action:focus-visible,
.rtph-notification-delete:hover,
.rtph-notification-delete:focus-visible {
  background: var(--rtph-frame);
  border-color: var(--rtph-frame);
  color: #fff;
  outline: none;
}

.rtph-notification-action:disabled,
.rtph-notification-delete:disabled {
  cursor: wait;
  opacity: .65;
}

.rtph-notification-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  gap: 5px;
}

.rtph-notification-row .rtph-notification-item {
  min-width: 0;
}

.rtph-notification-delete {
  appearance: none;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(159, 21, 62, .14);
  border-radius: 999px;
  background: #fff;
  color: var(--rtph-frame);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  padding: 0;
}

html.dark-mode body.rtph-active #rtph-header .rtph-notification-action,
body.dark-mode.rtph-active #rtph-header .rtph-notification-action,
.dark-mode body.rtph-active #rtph-header .rtph-notification-action,
html.dark-mode body.rtph-active #rtph-header .rtph-notification-delete,
body.dark-mode.rtph-active #rtph-header .rtph-notification-delete,
.dark-mode body.rtph-active #rtph-header .rtph-notification-delete {
  background: rgba(233, 134, 6, .14);
  border-color: rgba(233, 134, 6, .30);
  color: #fff;
}

html.dark-mode body.rtph-active #rtph-header .rtph-notification-action:hover,
body.dark-mode.rtph-active #rtph-header .rtph-notification-action:hover,
.dark-mode body.rtph-active #rtph-header .rtph-notification-action:hover,
html.dark-mode body.rtph-active #rtph-header .rtph-notification-delete:hover,
body.dark-mode.rtph-active #rtph-header .rtph-notification-delete:hover,
.dark-mode body.rtph-active #rtph-header .rtph-notification-delete:hover {
  background: var(--rtph-frame);
  border-color: var(--rtph-frame);
}


/* v1.0.31: Son güvenlik katmanı - mobilde admin bar görünür, header admin bar altında sabit. */
@media (max-width: 1100px) {
  body.admin-bar {
    --rtph-mobile-adminbar-height: 46px;
  }

  body.admin-bar #wpadminbar {
    display: block !important;
    visibility: visible !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999999 !important;
    min-height: var(--rtph-mobile-adminbar-height, 46px) !important;
    height: auto !important;
    overflow: visible !important;
    transform: none !important;
  }

  body.admin-bar.rtph-active.rtph-sticky-enabled #rtph-header.rtph-header--sticky,
  body.admin-bar.rtph-active.rtph-mobile-fixed-header #rtph-header.rtph-header--sticky,
  body.admin-bar .rtph-header--sticky {
    top: var(--rtph-mobile-adminbar-height, 46px) !important;
  }

  body.admin-bar .rtph-drawer {
    top: var(--rtph-mobile-adminbar-height, 46px) !important;
    height: calc(100dvh - var(--rtph-mobile-adminbar-height, 46px)) !important;
  }
}

@media (min-width: 783px) and (max-width: 1100px) {
  body.admin-bar {
    --rtph-mobile-adminbar-height: 32px;
  }
}

/* Bildirim rozet rakamı: sadece sayı hizalama/sığma düzeltmesi */
body.rtph-active #rtph-header .rtph-notification-button,
#rtph-header .rtph-notification-button {
  overflow: visible !important;
}

body.rtph-active #rtph-header .rtph-count,
#rtph-header .rtph-count {
  position: absolute !important;
  top: -2px !important;
  right: -2px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: var(--rtph-accent) !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-sizing: border-box !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 5px rgba(159, 21, 62, 0.14) !important;
}

@media (max-width: 430px) {
  body.rtph-active #rtph-header .rtph-count,
  #rtph-header .rtph-count {
    top: -2px !important;
    right: -2px !important;
    min-width: 17px !important;
    height: 17px !important;
    padding: 0 4px !important;
    font-size: 9.5px !important;
    border-width: 2px !important;
  }
}



/* v1.0.33: Bildirim menüsü tüm bildirimleri gösterir, uzun listede uyumlu kaydırma kullanır. */
body.rtph-active #rtph-header .rtph-notification-menu {
  max-height: min(70vh, 560px) !important;
  overflow: hidden !important;
}

body.rtph-active #rtph-header .rtph-notification-list {
  max-height: min(56vh, 430px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 4px !important;
  overscroll-behavior: contain !important;
  scrollbar-width: thin;
}

body.rtph-active #rtph-header .rtph-notification-list::-webkit-scrollbar {
  width: 6px;
}

body.rtph-active #rtph-header .rtph-notification-list::-webkit-scrollbar-thumb {
  background: rgba(159, 21, 62, .28);
  border-radius: 999px;
}

@media (max-width: 640px) {
  body.rtph-active #rtph-header .rtph-notification-menu {
    max-height: min(72vh, 520px) !important;
  }

  body.rtph-active #rtph-header .rtph-notification-list {
    max-height: min(58vh, 400px) !important;
  }
}
