/* Branded storefront — buyer-facing co-branded menu experience */

.branded-storefront-active {
  --brand-accent: var(--brand-accent-custom, var(--copper, #b87333));
}

.brand-menu-unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 2rem 1rem;
}

.brand-menu-unavailable__card {
  max-width: 520px;
  width: 100%;
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #faf8f5 0%, #f3efe8 100%);
  border: 1px solid rgba(48, 18, 29, 0.08);
  box-shadow: 0 8px 32px rgba(48, 18, 29, 0.06);
}

.brand-menu-unavailable__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper, #b87333);
}

.brand-menu-unavailable__title {
  margin: 0 0 0.75rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.75rem;
  color: #30121d;
}

.brand-menu-unavailable__message {
  margin: 0 0 1.5rem;
  color: #5c4a52;
  line-height: 1.55;
}

.brand-storefront-page .brand-storefront-share {
  border: 1px solid rgba(48, 18, 29, 0.08);
  border-radius: 12px;
}

.brand-storefront-page .brand-accent-swatch {
  width: 2.5rem;
  min-height: 38px;
  border-left: 0;
}

.branded-storefront-hero {
  margin: 0 0 1.75rem;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #faf8f5 0%, #f3efe8 100%);
  border: 1px solid rgba(48, 18, 29, 0.08);
  box-shadow: 0 8px 32px rgba(48, 18, 29, 0.06);
}

.branded-storefront-hero__banner-wrap {
  position: relative;
  max-height: 240px;
  overflow: hidden;
}

.branded-storefront-hero__banner {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.branded-storefront-hero__banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(48, 18, 29, 0.35) 100%);
  pointer-events: none;
}

.branded-storefront-hero__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  flex-wrap: wrap;
}

.branded-storefront-hero__identity {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1 1 280px;
  min-width: 0;
}

.branded-storefront-hero__logo {
  max-height: 80px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.branded-storefront-hero__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-accent, var(--copper, #b87333));
}

.branded-storefront-hero__title {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  color: #30121d;
}

.branded-storefront-hero__tagline {
  margin: 0.35rem 0 0;
  font-style: italic;
  color: rgba(48, 18, 29, 0.72);
}

.branded-storefront-hero__welcome {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(48, 18, 29, 0.85);
  max-width: 42rem;
}

.branded-storefront-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  flex-shrink: 0;
}

.branded-storefront-hero__copy,
.branded-storefront-hero__exit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.branded-storefront-hero__copy {
  border: 1px solid rgba(48, 18, 29, 0.15);
  background: #fff;
  color: #30121d;
  cursor: pointer;
}

.branded-storefront-hero__copy:hover,
.branded-storefront-hero__copy.is-copied {
  border-color: var(--brand-accent, var(--copper, #b87333));
  color: var(--brand-accent, var(--copper, #b87333));
}

.branded-storefront-hero__copy .material-icons {
  font-size: 1.1rem;
}

.branded-storefront-hero__exit {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(48, 18, 29, 0.65);
}

.branded-storefront-hero__exit:hover {
  color: #30121d;
  background: rgba(48, 18, 29, 0.05);
}

.branded-storefront-hero__exit .material-icons {
  font-size: 1rem;
}

.branded-storefront-promo {
  padding: 0.85rem 1.75rem;
  background: var(--brand-accent, #30121d);
  color: #fff;
  font-weight: 500;
  text-align: center;
}

.branded-storefront-promo a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.branded-storefront .filter-section--brand,
.branded-storefront .filter-section--brand[hidden] {
  display: none !important;
}

.branded-storefront-ribbon {
  background: var(--brand-accent, #30121d);
  color: #fff;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
}

.branded-storefront-ribbon a {
  color: #fff;
  text-decoration: underline;
  margin-left: 0.35rem;
}

.branded-storefront-ribbon strong {
  font-weight: 700;
}

@media (max-width: 640px) {
  .branded-storefront-hero__inner {
    padding: 1.25rem;
  }

  .branded-storefront-hero__actions {
    width: 100%;
  }
}
