/* RC8 Guest Hub visual layer only. Keeps RC7 behavior/cart/availability untouched. */
:root {
  --rc8-bg: #faf9f7;
  --rc8-card: #ffffff;
  --rc8-ink: #1b1b1d;
  --rc8-muted: #77756f;
  --rc8-line: rgba(27, 27, 29, 0.08);
  --rc8-soft: #f1efeb;
  --rc8-orange: #f26a21;
  --rc8-green: #149455;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, system-ui, sans-serif;
}

html,
body,
button,
input,
textarea {
  font-family: inherit;
}

body {
  color: var(--rc8-ink);
  background:
    radial-gradient(circle at 92% 0%, rgba(242, 106, 33, 0.055), transparent 25rem),
    var(--rc8-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.catalog-shell {
  max-width: 760px;
  padding: max(20px, env(safe-area-inset-top)) 22px 0;
}

.venue-header {
  position: relative;
  align-items: flex-start;
  padding: 12px 2px 26px;
}

.venue-header > div {
  min-width: 0;
}

.status-dot {
  width: 10px;
  height: 10px;
  margin-right: 8px;
  background: var(--rc8-green);
  box-shadow: 0 0 0 7px rgba(20, 148, 85, 0.09);
}

.status-label {
  color: var(--rc8-green);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.venue-header h1 {
  margin: 17px 0 7px;
  max-width: 570px;
  color: var(--rc8-ink);
  font-size: clamp(43px, 11.5vw, 70px);
  font-weight: 620;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.venue-header p {
  max-width: 560px;
  color: var(--rc8-muted);
  font-size: clamp(17px, 4.4vw, 21px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.018em;
}

.round-button {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  margin-top: 34px;
  border-radius: 23px;
  background: rgba(255,255,255,.94);
  color: #e43e36;
  box-shadow: 0 12px 34px rgba(34, 30, 26, 0.10);
  font-size: 25px;
}

.category-strip {
  gap: 12px;
  margin: 0 -22px;
  padding: 4px 22px 24px;
  scroll-padding-inline: 22px;
}

.category-button {
  width: 106px;
  color: var(--rc8-ink);
}

.category-icon {
  height: 108px;
  border: 1px solid rgba(27, 27, 29, 0.045);
  border-radius: 30px;
  background: var(--rc8-card);
  box-shadow: 0 12px 32px rgba(30, 26, 22, 0.065);
  font-size: 49px;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.category-button small {
  margin-top: 10px;
  color: var(--rc8-ink);
  font-size: 14px;
  font-weight: 560;
  letter-spacing: -0.016em;
}

.category-button.active .category-icon {
  background: #1c1c1e;
  box-shadow: 0 14px 32px rgba(20,20,20,.17);
  transform: translateY(-2px);
}

.category-button.active small {
  font-weight: 650;
}

.search-row {
  padding: 0 0 18px;
}

.search-box {
  height: 64px;
  gap: 14px;
  padding: 0 21px;
  border: 1px solid var(--rc8-line);
  border-radius: 25px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 9px 26px rgba(33,29,25,.035);
}

.search-box > span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  min-width: 32px;
  color: var(--rc8-ink);
  font-size: 32px;
  line-height: 1;
  transform: scale(1.12);
  transform-origin: center;
}

.search-box input {
  color: var(--rc8-ink);
  font-size: 17px;
  font-weight: 430;
  letter-spacing: -0.015em;
}

.search-box input::placeholder {
  color: #aaa7a1;
  opacity: 1;
}

.content-section {
  padding: 22px 0 8px;
}

.section-heading {
  align-items: flex-end;
  padding: 0 2px 18px;
}

.eyebrow.dark {
  margin-bottom: 8px;
  color: #8e8c87;
  font-size: 12px;
  font-weight: 620;
  letter-spacing: .13em;
}

.section-heading h2 {
  color: var(--rc8-ink);
  font-size: clamp(36px, 9vw, 52px);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.045em;
}

.item-count {
  margin-bottom: 2px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff0e5;
  color: var(--rc8-orange);
  font-size: 12px;
  font-weight: 650;
}

.featured-row {
  gap: 14px;
  margin: 0 -22px;
  padding: 0 22px 14px;
  scroll-padding-inline: 22px;
}

.featured-card,
.product-card {
  border: 1px solid rgba(27, 27, 29, 0.045);
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 40px rgba(34,30,26,.07);
}

.featured-card {
  flex-basis: min(78vw, 400px);
  border-radius: 31px;
}

.product-card {
  border-radius: 28px;
}

.card-copy {
  padding: 17px 18px 20px;
}

.card-copy h3 {
  margin-bottom: 6px;
  color: var(--rc8-ink);
  font-size: 18px;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.card-copy p {
  color: var(--rc8-muted);
  font-weight: 400;
}

.price {
  color: var(--rc8-ink);
  font-weight: 650;
}

.product-grid {
  gap: 14px;
}

.empty-state {
  min-height: 315px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 44px 24px;
  border: 1px solid var(--rc8-line);
  border-radius: 32px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 42px rgba(31,27,23,.055);
  color: var(--rc8-muted);
  font-size: 16px;
  line-height: 1.45;
}

.empty-state::before {
  content: "🛍️";
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin-bottom: 9px;
  border-radius: 50%;
  background: #fff6ed;
  font-size: 54px;
}

.empty-state strong,
.empty-state b {
  color: var(--rc8-ink);
  font-size: 19px;
  font-weight: 620;
}

.guest-dock {
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(calc(100% - 30px), 620px);
  gap: 2px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 31px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 54px rgba(25,22,19,.16);
  backdrop-filter: blur(25px) saturate(1.25);
}

.dock-action {
  min-height: 62px;
  gap: 4px;
  border-radius: 23px;
  color: #66645f;
}

.dock-action span {
  font-size: 23px;
}

.dock-action small {
  font-size: 10px;
  font-weight: 560;
  letter-spacing: -0.01em;
}

.dock-action.active {
  color: var(--rc8-orange);
  background: #fff1e7;
}

.guest-dock .dock-action[data-action="order"] {
  position: relative;
  color: var(--rc8-orange);
}

.guest-dock .dock-action[data-action="order"] span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: -19px;
  border-radius: 50%;
  background: var(--rc8-orange);
  color: #fff;
  box-shadow: 0 9px 25px rgba(242,106,33,.34);
  font-size: 21px;
}

.dock-action.whatsapp {
  color: var(--rc8-green);
}

.cart-bar {
  bottom: calc(max(14px, env(safe-area-inset-bottom)) + 86px);
  border-radius: 24px;
  background: #1c1c1e;
  box-shadow: 0 18px 45px rgba(0,0,0,.21);
}

.product-sheet,
.order-sheet {
  background: #fcfbf9;
}

.product-sheet h2,
.order-sheet h2 {
  font-weight: 620;
  letter-spacing: -0.045em;
}

.order-sheet-copy,
.sheet-description,
.order-location-copy small {
  font-weight: 400;
}

.order-field,
.order-total span,
.order-location-copy strong {
  font-weight: 560;
}

.order-field input,
.order-field textarea {
  background: #f3f1ee;
  font-weight: 430;
}

.order-submit,
.order-from-product {
  background: #1c1c1e;
  font-weight: 620;
}

.order-continue-shopping,
.order-browse-products {
  font-weight: 560;
}

@media (max-width: 470px) {
  .catalog-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .category-strip,
  .featured-row {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    scroll-padding-inline: 16px;
  }

  .venue-header h1 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .venue-header p {
    font-size: 17px;
  }

  .round-button {
    width: 58px;
    height: 58px;
    margin-top: 32px;
    border-radius: 21px;
  }

  .category-button {
    width: 96px;
  }

  .category-icon {
    height: 96px;
    border-radius: 27px;
    font-size: 45px;
  }

  .search-box {
    height: 58px;
  }

  .search-box > span {
    width: 30px;
    min-width: 30px;
    font-size: 30px;
    transform: scale(1.15);
  }

  .empty-state {
    min-height: 285px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-icon {
    transition: none;
  }
}
