.store-layout__header {
  color: #ffffff;
  background-color: var(--tenant-header-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.store-layout__header-main {
  border-bottom: 1px solid var(--border-color);
}

.store-layout__categories {
  height: 3.5rem;
}

.store-layout__checkout-timer {
  color: var(--tenant-primary);
  font-weight: 700;
  white-space: nowrap;
}

.store-layout__checkout-timer-label {
  font-size: 13px;
}

.store-layout__checkout-timer-value {
  font-size: 20px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.store-layout__brand-slot {
  min-width: 150px;
}

.store-layout__brand-column {
  max-width: 12rem;
}

.store-layout__brand-logo-shell {
  position: relative;
  width: min(100%, 12rem);
  height: 2.75rem;
}

.store-layout__brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-layout__brand-logo-skeleton {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.12) 100%
  );
  background-size: 200% 100%;
  animation: store-header-logo-skeleton 1.2s ease-in-out infinite;
}

.store-layout__search-wrapper {
  width: 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .store-layout__search-wrapper {
    width: min(100%, 260px);
  }

  .store-layout__actions-column {
    padding-left: 0;
  }

  ::ng-deep .store-layout__tickets-btn-host {
    flex: 0 0 clamp(8rem, 15vw, 13.5rem);
    width: clamp(8rem, 15vw, 13.5rem);
  }
}

.store-layout__search {
  width: 100%;
}

.store-layout__search-error {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--tenant-danger, #dc3545);
}

.store-layout__search-input {
  color: #666666;
  border-color: var(--border-color);
  background-color: rgba(255, 255, 255, 0.96);
}

.store-layout__search-input::placeholder {
  color: #666666;
}

.store-layout__search-input:focus {
  border-color: var(--border-color);
  box-shadow: none;
  outline: none;
}

.store-layout__search-button {
  color: #a0a0a0;
  border-color: var(--border-color);
  background-color: rgba(255, 255, 255, 0.96);
}

.store-layout__search-button:hover,
.store-layout__search-button:focus-visible {
  color: #8a8a8a;
  border-color: var(--border-color);
  background-color: #ffffff;
}

.store-layout__action-button {
  color: #a0a0a0;
}

.store-layout__action-button:hover,
.store-layout__action-button:focus-visible {
  color: #8a8a8a;
}

.store-layout__user-menu {
  position: relative;
  display: inline-flex;
}

.store-layout__category-trigger {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: #a0a0a0;
}

.store-layout__category-trigger:hover,
.store-layout__category-trigger:focus-visible {
  color: #8a8a8a;
}

.store-layout__category-menu {
  position: relative;
  display: inline-flex;
  flex-direction: column;
}

.store-layout__category-menu app-category-dropdown {
  position: absolute;
  z-index: 1050;
  top: 100%;
  left: 0;
}

@keyframes store-header-logo-skeleton {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

@media (max-width: 767.98px) {
  .store-layout__brand-slot {
    min-width: 0;
    max-width: 150px;
  }

  .store-layout__actions-column {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  ::ng-deep .store-layout__tickets-btn-host {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 50vw;
  }

  .store-layout__mobile-separator {
    border-color: var(--border-color);
    opacity: 1;
    margin: 0 -1rem;
  }
}

@media (max-width: 399.98px) {
  .store-layout__brand-column {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    padding-right: 0.25rem;
  }

  .store-layout__brand-slot {
    width: 100%;
    max-width: 6.5rem;
  }

  .store-layout__actions-column {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin-left: 0 !important;
    padding-left: 0.25rem;
    gap: 0.25rem !important;
  }

  ::ng-deep .store-layout__tickets-btn-host .btn {
    padding-inline: 0.75rem;
    font-size: 0.875rem;
  }
}

.store-layout__mobile-dropdown-menu {
  top: 100%;
  min-width: 220px;
  z-index: 1050;
}

.store-layout__mobile-dropdown-item {
  cursor: pointer;
  color: #8a8a8a;

  &:hover,
  &:focus-visible {
    color: #666666;
  }
}
