.app-shell[aria-label="QRilan ana sayfa"] {
  max-width: min(1280px, calc(100vw - 120px)) !important;
  width: calc(100vw - 120px) !important;
}

.index-hero-header {
  align-items: center !important;
  display: grid !important;
  gap: 16px;
  grid-template-columns: minmax(220px, 330px) minmax(420px, 470px) auto;
  justify-content: stretch !important;
  min-height: 112px;
  overflow: visible !important;
  padding: 24px 32px !important;
  position: relative;
  text-align: left !important;
  z-index: 1000;
}

.index-brand-block {
  align-items: center !important;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-start;
  max-width: 100%;
  min-width: 0;
  pointer-events: auto;
  position: relative;
  text-align: left;
  width: auto !important;
  z-index: 1;
}

.index-header-search {
  align-items: center;
  background: #fff;
  border: 1px solid #bcd2ff;
  border-radius: 13px;
  box-sizing: border-box;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 310px) 126px;
  height: 44px;
  justify-self: center;
  max-width: 436px;
  min-width: 0;
  overflow: hidden;
  width: min(100%, 436px);
}

.index-header-search input {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  color: #111827;
  font-size: 14px;
  font-weight: 850;
  height: 100%;
  line-height: normal;
  min-width: 0;
  padding: 0 15px;
  width: 100%;
}

.index-header-search:focus-within {
  border-color: #0459ff;
  box-shadow: 0 0 0 4px rgba(4, 89, 255, .10);
}

.index-header-search input:focus {
  outline: 0;
}

.index-header-search .index-search-submit {
  align-items: center;
  align-self: stretch;
  background: transparent;
  border: 0;
  border-left: 1px solid #dbe7ff;
  border-radius: 0;
  color: #0459ff;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  justify-content: center;
  min-height: 0;
  min-width: 126px;
  padding: 0 13px;
  white-space: nowrap;
}

.index-header-search .index-search-submit:hover,
.index-header-search .index-search-submit:focus-visible {
  background: #f2f6ff;
  outline: 0;
}

.index-brand-block .brand-logo {
  display: inline-flex !important;
  font-size: 34px !important;
  line-height: 0.95;
  margin: 0 !important;
  max-width: 100%;
  text-align: left;
  white-space: nowrap;
  width: auto !important;
}

.index-brand-logo img {
  display: block;
  height: 74px;
  object-fit: contain;
  width: auto;
}

.index-brand-separator {
  color: #111827;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.index-brand-block p {
  color: #ff7a00 !important;
  display: inline-flex !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 !important;
  text-align: left;
  text-transform: none !important;
  white-space: nowrap;
  width: auto;
}

.vitrin-title {
  justify-content: center;
  text-align: center;
}

.vitrin-title h1 {
  color: #ff7a00;
  font-size: 24px;
  letter-spacing: 0;
  text-align: center;
}

.home-category-section {
  border-bottom: 1px solid #d9e6ff;
  overflow: visible;
}

.home-category-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
  padding: 16px 22px 22px;
}

.home-category-card {
  border: 1px solid #d9e6ff;
  border-radius: 8px;
  min-width: 0;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.home-category-card:hover {
  z-index: 30;
}

.home-category-card header {
  align-items: center;
  border-bottom: 1px solid #eef3ff;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  min-height: 34px;
  padding: 7px 9px;
}

.home-category-card h2 {
  color: #111827;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
}

.home-category-card header a {
  color: #0459ff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.home-mini-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: visible;
  padding: 10px;
}

.home-mini-card {
  align-items: start;
  border-radius: 6px;
  color: inherit;
  display: grid;
  gap: 9px;
  grid-template-columns: 92px minmax(0, 1fr);
  justify-content: stretch;
  min-height: 124px;
  min-width: 0;
  padding: 7px;
  position: relative;
  text-decoration: none;
}

.home-mini-card:hover {
  background: #f6f9ff;
  z-index: 40;
}

.home-mini-media {
  align-content: start;
  display: grid;
  gap: 5px;
  justify-items: center;
  min-width: 0;
  width: 92px;
}

.home-mini-photo {
  align-items: center;
  background: #eef4ff;
  border: 1px solid #d8e6ff;
  border-radius: 6px;
  color: #0459ff;
  display: flex;
  height: 74px;
  justify-content: center;
  overflow: visible;
  position: relative;
  width: 92px;
}

.home-mini-photo b,
.home-result-photo b {
  color: #0459ff;
  font-size: 12px;
  font-weight: 950;
}

.home-mini-photo img {
  border-radius: 6px;
  height: 100%;
  object-fit: cover;
  position: relative;
  transition: transform .16s ease, box-shadow .16s ease;
  width: 100%;
  z-index: 1;
}

.home-mini-card:hover .home-mini-photo img {
  box-shadow: 0 10px 24px rgba(15, 23, 42, .22);
  transform: scale(1.85);
  z-index: 20;
}

.home-mini-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.home-mini-copy-meta-only {
  align-content: start;
  min-height: 18px;
  padding-top: 1px;
}

.home-mini-copy strong {
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.05;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-mini-copy small {
  color: #667085;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  overflow: visible;
  white-space: normal;
}

.home-mini-meta {
  align-items: stretch;
  display: grid !important;
  gap: 4px;
  justify-content: flex-start;
  min-width: 0;
  width: 100%;
}

.home-mini-meta span {
  align-items: center;
  background: #f2f6ff;
  border: 1px solid #dbe7ff;
  border-radius: 6px;
  color: #334155;
  display: flex;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  min-width: 0;
  overflow: hidden;
  padding: 4px 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.home-mini-meta span:not(.home-eye)::before {
  content: none;
  margin-right: 0;
}

.home-mini-meta span:nth-child(2)::before {
  content: "";
  margin-right: 0;
}

.home-eye {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  color: #0459ff;
  display: inline-flex;
  flex: 0 0 auto;
  height: 13px;
  justify-content: center;
  padding: 0 !important;
  width: 14px;
}

.home-eye svg {
  fill: none;
  height: 14px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 14px;
}

.home-mini-stat {
  align-items: center;
  background: #f2f6ff;
  border: 1px solid #dbe7ff;
  border-radius: 6px;
  color: #334155;
  display: inline-flex;
  font-size: 10px;
  font-weight: 950;
  gap: 4px;
  height: 22px;
  justify-content: center;
  line-height: 1;
  max-width: 100%;
  min-width: 0;
  padding: 0 6px;
  white-space: nowrap;
  width: 92px;
}

.home-empty {
  align-items: center;
  background: #f8fbff;
  border: 1px dashed #bcd2ff;
  border-radius: 8px;
  color: #667085;
  display: flex;
  font-size: 12px;
  font-weight: 850;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 86px;
  margin: 0;
  text-align: center;
}

.home-section-results {
  display: grid;
  gap: 8px;
  padding: 14px 22px 22px;
}

.home-result-card {
  align-items: center;
  border: 1px solid #d9e6ff;
  border-radius: 8px;
  color: inherit;
  display: grid;
  gap: 10px;
  grid-template-columns: 144px minmax(0, 1fr) auto;
  padding: 10px;
  text-decoration: none;
}

.home-result-card strong,
.home-result-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-result-card strong {
  font-size: 14px;
  font-weight: 950;
}

.home-result-card small {
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.home-result-card em {
  color: #0459ff;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.home-result-card em.is-home-seeking {
  background: #ecfdf3;
  border: 1px solid #abefc6;
  border-radius: 999px;
  color: #087443;
  font-size: 13px;
  padding: 7px 10px;
}

.home-result-media {
  display: grid;
  gap: 6px;
  grid-template-columns: 96px;
  justify-items: center;
}

.home-result-photo {
  align-items: center;
  background: #eef4ff;
  border-radius: 8px;
  color: #0459ff;
  display: flex;
  height: 72px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 96px;
}

.home-result-photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.home-result-media .home-mini-stat {
  width: 96px;
}

.index-top-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  justify-self: end;
  justify-content: flex-end;
  max-width: 100%;
  overflow: visible;
  padding: 2px;
  pointer-events: auto;
  position: relative !important;
  right: auto;
  top: auto;
  transform: none;
  z-index: 2000;
}

.index-action {
  align-items: center;
  border: 1px solid #9fc0ff;
  border-radius: 11px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  z-index: 1;
}

.index-action.ghost {
  background: #fff;
  color: #0459ff;
}

.index-action.primary {
  background: #0459ff;
  border-color: #0459ff;
  color: #fff;
}

.index-account-menu {
  pointer-events: auto;
  position: relative !important;
  z-index: 3000;
}

.index-account-trigger {
  cursor: pointer;
  gap: 6px;
  max-width: 190px;
  overflow: hidden;
  pointer-events: auto;
  text-overflow: ellipsis;
}

.index-account-dropdown {
  background: #fff;
  border: 1px solid #d8e4ff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .16);
  display: block;
  min-width: 250px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  transform: translateY(0);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  visibility: hidden;
  z-index: 99999;
}

.index-account-menu.is-open .index-account-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.index-account-dropdown a {
  align-items: center;
  border-bottom: 1px solid #eef3ff;
  color: #1f2937;
  display: flex;
  font-size: 14px;
  font-weight: 850;
  justify-content: space-between;
  padding: 13px 16px;
  text-decoration: none;
}

.index-account-dropdown a:first-child {
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.index-account-dropdown a::after {
  color: #98a2b3;
  content: "›";
  font-size: 22px;
  line-height: 1;
}

.index-account-dropdown a:hover {
  background: #f3f7ff;
  color: #0459ff;
}

.index-account-dropdown a.danger {
  color: #ef3b2d;
}

.index-search-panel {
  background: #f7faff;
  border-bottom: 1px solid #d9e6ff;
  padding: 18px 32px;
}

.index-search-grid {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(260px, 1fr) auto;
}

.index-search-grid label {
  display: grid;
  gap: 6px;
}

.index-search-grid span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.index-search-grid input {
  background: #fff;
  border: 1px solid #bcd2ff;
  border-radius: 12px;
  box-sizing: border-box;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  height: 44px;
  line-height: 44px;
  padding: 0 13px;
  width: 100%;
}

.index-search-grid input:focus {
  border-color: #0459ff;
  box-shadow: 0 0 0 4px rgba(4, 89, 255, .10);
  outline: 0;
}

.index-search-grid button {
  background: #0459ff;
  border: 1px solid #0459ff;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 950;
  min-height: 44px;
  padding: 0 22px;
}

@media (max-width: 980px) {
  .app-shell[aria-label="QRilan ana sayfa"] {
    max-width: calc(100vw - 36px) !important;
    width: calc(100vw - 36px) !important;
  }

  .index-hero-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .index-header-search {
    grid-column: 1 / -1;
    max-width: 100%;
    width: 100%;
  }

  .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 82px;
  }

  .app-shell[aria-label="QRilan ana sayfa"] {
    border-left: 0 !important;
    border-right: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    min-height: 100vh;
    width: 100% !important;
  }

  .index-hero-header {
    align-items: stretch !important;
    display: grid !important;
    gap: 12px;
    grid-template-columns: 1fr;
    min-height: 0;
    overflow: visible !important;
    padding: 14px !important;
    text-align: left !important;
  }

  .index-header-search {
    grid-template-columns: minmax(0, 1fr) auto;
    height: 46px;
    max-width: 100%;
    order: 3;
    width: 100%;
  }

  .index-header-search .index-search-submit {
    font-size: 12px;
    grid-column: auto;
    justify-self: stretch;
    padding: 0 12px;
  }

  .index-brand-block {
    align-items: center;
    flex-direction: row;
    gap: 6px;
    justify-content: flex-start;
    max-width: 100%;
    order: 1;
    text-align: left;
    width: 100%;
  }

  .index-brand-block .brand-logo {
    font-size: 30px !important;
  }

  .index-brand-logo img {
    height: 44px;
  }

  .index-brand-separator {
    display: inline;
    font-size: 16px;
  }

  .index-brand-block p {
    font-size: 12px !important;
  }

  .index-top-actions {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    max-width: 100%;
    order: 2;
    padding: 0;
    position: relative !important;
    transform: none;
    width: 100%;
    z-index: 2000;
  }

  .index-top-actions .index-action,
  .index-top-actions .index-account-menu,
  .index-top-actions .index-account-trigger {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .index-top-actions .index-action {
    font-size: 11px;
    min-height: 38px;
    overflow: hidden;
    padding: 0 8px;
    text-overflow: ellipsis;
  }

  .index-top-actions:has(.index-account-menu) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .index-account-dropdown {
    left: 50%;
    right: auto;
    transform: translate(-50%, 0);
  }

  .index-account-menu.is-open .index-account-dropdown {
    transform: translate(-50%, 0);
  }

  .index-search-panel {
    padding: 16px 18px;
  }

  .index-search-grid {
    grid-template-columns: 1fr;
  }

  .index-search-grid button {
    width: 100%;
  }

  .home-category-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0 18px;
  }

  .vitrin-title {
    min-height: 62px;
    padding: 14px;
  }

  .vitrin-title h1 {
    font-size: 21px;
  }

  .home-category-card {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
  }

  .home-category-card header {
    min-height: 42px;
    padding: 9px 14px;
  }

  .home-category-card h2 {
    font-size: 14px;
  }

  .home-mini-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 14px 16px;
    scroll-padding-inline: 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .home-mini-list::-webkit-scrollbar {
    display: none;
  }

  .home-mini-card {
    align-content: start;
    flex: 0 0 150px;
    gap: 7px;
    grid-template-columns: 1fr;
    min-height: 178px;
    padding: 0;
    scroll-snap-align: start;
  }

  .home-mini-media,
  .home-mini-photo,
  .home-mini-stat {
    width: 150px;
  }

  .home-mini-photo {
    height: 104px;
    overflow: hidden;
  }

  .home-mini-card:hover .home-mini-photo img {
    box-shadow: none;
    transform: none;
  }

  .home-mini-copy-meta-only {
    padding: 0;
  }

  .home-mini-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-mini-meta span {
    min-height: 25px;
  }

  .home-empty {
    flex: 0 0 calc(100vw - 28px);
  }

  .bottom-nav {
    bottom: 0;
    box-shadow: 0 -8px 28px rgba(15, 23, 42, .12);
    left: 0;
    position: fixed;
    right: 0;
    z-index: 5000;
  }

  .copyright {
    padding-bottom: 18px;
  }

  .home-result-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .home-result-card em {
    grid-column: 2;
  }
}

@media (max-width: 430px) {
  .index-brand-block .brand-logo {
    font-size: 26px !important;
  }

  .index-header-search input {
    font-size: 13px;
    padding: 0 11px;
  }

  .index-header-search .index-search-submit {
    padding: 0 9px;
  }

  .index-header-search .index-search-submit {
    min-width: 104px;
  }
}
