@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* White gaps shrink faster than bars on small viewports; cap at 1em */
  --gap: clamp(0.2em, 1vw, 1em);
  /* Stripe width adapts to fit five bands across the viewport */
  --stripe: calc((100vw - (var(--gap) * 4)) / 5);
  --c1: #0b7a73;
  --c2: #f06b64;
  --c3: #027cba;
  --c4: #9f67d3;
  --c5: #f38c20;
  --content-max: 820px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 4vw, 2rem) 3rem;
  background-color: #ffffff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  position: relative;
  overflow-x: hidden;
  color: #0d141a;
}

/* Five responsive color bands; white gaps stay a fixed pixel width */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(var(--c1), var(--c1)),
    linear-gradient(var(--c2), var(--c2)),
    linear-gradient(var(--c3), var(--c3)),
    linear-gradient(var(--c4), var(--c4)),
    linear-gradient(var(--c5), var(--c5));
  background-repeat: no-repeat;
  background-size:
    var(--stripe) 100%,
    var(--stripe) 100%,
    var(--stripe) 100%,
    var(--stripe) 100%,
    var(--stripe) 100%;
  background-position:
    0 0,
    calc(var(--stripe) + var(--gap)) 0,
    calc((var(--stripe) + var(--gap)) * 2) 0,
    calc((var(--stripe) + var(--gap)) * 3) 0,
    calc((var(--stripe) + var(--gap)) * 4) 0;
  z-index: -1;
}

.wordmark {
  width: min(52vw, 520px);
  height: auto;
}

@media (max-width: 640px) {
  .wordmark {
    width: 85%;
    max-width: 540px;
  }
}

nav.primary-nav {
  display: flex;
  gap: clamp(0.25rem, 1.5vw, 1rem);
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  padding: clamp(0.4rem, 2vw, 1rem) clamp(0.5rem, 3vw, 1.5rem);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

nav.primary-nav a {
  text-decoration: none;
  color: #0d141a;
  font-weight: 700;
  padding: 0.4rem clamp(0.5rem, 2vw, 0.9rem);
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
}

nav.primary-nav a:hover,
nav.primary-nav a:focus-visible {
  background-color: rgba(13, 20, 26, 0.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

nav.primary-nav a[aria-current="page"] {
  background-color: rgba(13, 20, 26, 0.08);
}

.content-card {
  width: min(88vw, var(--content-max));
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 4vw, 2rem);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(2px);
  color: #0d141a;
}

footer.site-footer {
  width: min(92vw, var(--content-max));
  margin: 1.5rem auto 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

footer.site-footer a {
  text-decoration: none;
  color: #0d141a;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

footer.site-footer img {
  display: block;
}

body.page-home {
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  overflow-y: auto;
  --content-max: 780px;
}

body.page-home .wordmark {
  margin-top: 3em;
}

body.page-home nav.primary-nav a {
  font-weight: 600;
}

body.page-home .logo {
  width: min(40vw, 420px);
  height: auto;
  margin-bottom: 3em;
}

body.page-home .content-card h2 {
  margin: 0 0 0.35em;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

body.page-home .content-card p {
  margin: 0;
  line-height: 1.6;
  font-size: clamp(1rem, 2.4vw, 1.1rem);
  color: #1f2a34;
}

body.page-home .app-store-badge {
  margin-top: 1em;
  padding: 1em 0;
}

body.page-home .app-store-badge img {
  height: 70px;
}

body.page-home .feature-grid {
  width: min(92vw, var(--content-max));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.4rem);
}

@media (max-width: 640px) {
  body.page-home .feature-grid {
    grid-template-columns: 1fr;
  }
}

body.page-home .feature {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: clamp(1rem, 3vw, 1.25rem);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

body.page-home .feature svg {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  stroke: #0d141a;
}

body.page-home .feature h3 {
  margin: 0 0 0.25em;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  color: #0d141a;
}

body.page-home .feature p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #1f2a34;
}

body.page-home .chat {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  max-width: 25em;
  justify-items: center;
  margin-left: auto;
  margin-right: auto;
}

body.page-home .bubble {
  max-width: 28rem;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.98rem;
  line-height: 1.5;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

body.page-home .bubble strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

body.page-home .bubble.user {
  justify-self: end;
  background: #0b7a73;
  color: #ffffff;
  border-top-right-radius: 6px;
}

body.page-home .bubble.siri {
  justify-self: start;
  background: #ffffff;
  color: #0d141a;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top-left-radius: 6px;
}

body.page-home .placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  margin-top: 1.2rem;
}

body.page-home .phone-shell {
  aspect-ratio: 10 / 19;
  border: 2px dashed rgba(0, 0, 0, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.55);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.page-home .screenshot-placeholder {
  width: 100%;
  min-height: 220px;
  border: 2px dashed rgba(0, 0, 0, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.6);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 1rem;
}

body.page-home .otherfeatures {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

@media (max-width: 640px) {
  body.page-home .otherfeatures {
    grid-template-columns: 1fr;
  }
}

body.page-home .otherfeatures li {
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  font-size: 0.98rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

body.page-home .otherfeatures li svg {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  stroke: #0d141a;
}

body.page-home .faq-list {
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

body.page-home .faq-list dt {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #0d141a;
}

body.page-home .faq-list dd {
  margin: 0.35rem 0 0 0;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  line-height: 1.55;
  color: #1f2a34;
}

body.page-home footer.site-footer {
  margin: 2rem auto 3rem;
  gap: 1.5rem;
}

body.page-howto {
  --content-max: 860px;
}

body.page-howto .page-title {
  margin: 0 0 0.35em;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

body.page-howto .lead {
  margin: 0.35rem 0 0;
  line-height: 1.6;
  font-size: clamp(1rem, 2.4vw, 1.05rem);
  color: #1f2a34;
}

body.page-howto .content-card h2 {
  margin: 1.6rem 0 0.5rem;
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

body.page-howto .content-card h3 {
  margin: 1.15rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: 0.01em;
}

body.page-howto .content-card p,
body.page-howto .content-card li {
  margin: 0.35rem 0;
  line-height: 1.65;
  font-size: clamp(1rem, 2.4vw, 1.05rem);
  color: #1f2a34;
}

body.page-howto .content-card a {
  color: #0b7a73;
  font-weight: 750;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

body.page-howto .toc {
  margin-top: 1.1rem;
  padding: 1rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

body.page-howto .toc h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 850;
}

body.page-howto .toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 0.85rem;
}

@media (max-width: 640px) {
  body.page-howto .toc ul {
    grid-template-columns: 1fr;
  }
}

body.page-howto .toc a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  background: rgba(13, 20, 26, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: #0d141a;
  font-weight: 750;
}

body.page-howto .toc a:hover,
body.page-howto .toc a:focus-visible {
  background: rgba(13, 20, 26, 0.08);
}

body.page-howto .path {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 750;
  font-size: 0.95em;
  color: #0d141a;
  white-space: nowrap;
}

body.page-howto .steps {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0;
}

body.page-howto .steps li {
  margin: 0.55rem 0;
}

body.page-howto .callout {
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

body.page-howto .callout strong {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 900;
  color: #0d141a;
}

body.page-howto .divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 1.4rem 0;
}

body.page-howto footer.site-footer a {
  font-weight: 800;
}

body.page-legal {
  --content-max: 860px;
}

body.page-legal .page-title {
  margin: 0 0 0.35em;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

body.page-legal .content-card h2 {
  margin: 1.4rem 0 0.5rem;
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

body.page-legal .content-card p,
body.page-legal .content-card li {
  margin: 0.35rem 0;
  line-height: 1.6;
  font-size: clamp(1rem, 2.4vw, 1.05rem);
  color: #1f2a34;
}

body.page-legal .content-card ul {
  padding-left: 1.2rem;
}

/* Support Page */
body.page-support {
  --content-max: 860px;
}

body.page-support .page-title {
  margin: 0 0 0.35em;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

body.page-support .lead {
  margin: 0.35rem 0 0;
  line-height: 1.6;
  font-size: clamp(1rem, 2.4vw, 1.05rem);
  color: #1f2a34;
}

body.page-support .content-card h2 {
  margin: 1.4rem 0 0.5rem;
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

body.page-support .content-card h3 {
  margin: 1.15rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

body.page-support .content-card p,
body.page-support .content-card li {
  margin: 0.35rem 0;
  line-height: 1.6;
  font-size: clamp(1rem, 2.4vw, 1.05rem);
  color: #1f2a34;
}

body.page-support .content-card ul {
  padding-left: 1.2rem;
}


/* Shops Directory Pages */
body.page-shops {
  --content-max: 860px;
}

body.page-shops .page-title {
  margin: 0 0 0.35em;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

body.page-shops .lead {
  margin: 0.35rem 0 0;
  line-height: 1.6;
  font-size: clamp(1rem, 2.4vw, 1.05rem);
  color: #1f2a34;
}

body.page-shops .stats {
  display: flex;
  gap: 1.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

body.page-shops .stat {
  background: rgba(11, 122, 115, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-weight: 700;
}

body.page-shops .stat-value {
  color: #0b7a73;
  font-size: 1.25rem;
}

body.page-shops .add-shop-cta {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #0b7a73, #096b65);
  border-radius: 16px;
  color: #fff;
}

body.page-shops .add-shop-cta a {
  color: #fff;
  font-weight: 700;
}

body.page-shops .region-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

body.page-shops .region-nav a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: rgba(13, 20, 26, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  text-decoration: none;
  color: #0d141a;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, box-shadow 0.2s;
}

body.page-shops .region-nav a:hover {
  background: rgba(13, 20, 26, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.page-shops .region-section {
  margin-top: 2rem;
  scroll-margin-top: 1rem;
}

body.page-shops .region-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0b7a73;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #0b7a73;
}

body.page-shops .shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

@media (max-width: 640px) {
  body.page-shops .shop-grid {
    grid-template-columns: 1fr;
  }
}

body.page-shops .shop-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

body.page-shops .shop-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body.page-shops .shop-header {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

body.page-shops .shop-photo {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

body.page-shops .shop-photo-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0b7a73, #027cba);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.page-shops .shop-photo-placeholder svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

body.page-shops .shop-name {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: #0d141a;
}

body.page-shops .shop-location {
  font-size: 0.9rem;
  color: #555;
  margin: 0.15rem 0 0;
}

body.page-shops .shop-address {
  font-size: 0.85rem;
  color: #666;
  margin: 0.5rem 0;
  line-height: 1.4;
}

body.page-shops .shop-details {
  font-size: 0.85rem;
  color: #555;
  margin: 0.5rem 0;
}

body.page-shops .shop-details a {
  color: #0b7a73;
  text-decoration: none;
  font-weight: 600;
}

body.page-shops .shop-details a:hover {
  text-decoration: underline;
}

body.page-shops .shop-qr {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.page-shops .shop-qr summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0b7a73;
}

body.page-shops .qr-container {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
}

body.page-shops .qr-container svg {
  max-width: 180px;
  height: auto;
}

body.page-shops .empty-state {
  text-align: center;
  padding: 3rem;
  color: #666;
}

body.page-shops .build-date {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  margin-top: 2rem;
}

/* Shop Form Styles */
body.page-shops .form-group {
  margin-bottom: 1.25rem;
}

body.page-shops .form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #0d141a;
}

body.page-shops .form-group input,
body.page-shops .form-group select,
body.page-shops .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  background: #fff;
}

body.page-shops .form-group input:focus,
body.page-shops .form-group select:focus,
body.page-shops .form-group textarea:focus {
  outline: none;
  border-color: #0b7a73;
  box-shadow: 0 0 0 3px rgba(11, 122, 115, 0.15);
}

body.page-shops .form-group textarea {
  min-height: 100px;
  resize: vertical;
}

body.page-shops .form-group .hint {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.25rem;
}

body.page-shops .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  body.page-shops .form-row {
    grid-template-columns: 1fr;
  }
}

body.page-shops .btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: #0b7a73;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

body.page-shops .btn:hover {
  background: #096b65;
}

body.page-shops .btn:active {
  transform: scale(0.98);
}

body.page-shops .btn-danger {
  background: #dc3545;
}

body.page-shops .btn-danger:hover {
  background: #c82333;
}

body.page-shops .btn-warning {
  background: #f38c20;
}

body.page-shops .btn-warning:hover {
  background: #e07c10;
}

body.page-shops .btn-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

body.page-shops .message {
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

body.page-shops .message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

body.page-shops .message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

body.page-shops .required {
  color: #dc3545;
}

/* Shop Admin Styles */
body.page-shops-admin {
  --content-max: 860px;
}

body.page-shops-admin .page-title {
  margin: 0 0 0.35em;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 900;
}

body.page-shops-admin .admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

body.page-shops-admin .section-title {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
}

body.page-shops-admin .count-badge {
  display: inline-block;
  background: #0b7a73;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.5rem;
}

body.page-shops-admin .submission-card,
body.page-shops-admin .shop-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.page-shops-admin .submission-card.pending {
  border-left: 4px solid #f38c20;
}

body.page-shops-admin .submission-card.chain-submission {
  border-left: 4px solid #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
}

body.page-shops-admin .submission-type-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  background: #3b82f6;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

body.page-shops-admin .chain-locations {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

body.page-shops-admin .locations-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
}

body.page-shops-admin .locations-list li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

body.page-shops-admin .locations-list .loc-address,
body.page-shops-admin .locations-list .loc-phone {
  color: #64748b;
  font-size: 0.85rem;
}

body.page-shops-admin .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

body.page-shops-admin .shop-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}

body.page-shops-admin .shop-meta {
  font-size: 0.9rem;
  color: #555;
  margin: 0.25rem 0;
}

body.page-shops-admin .shop-photo {
  max-width: 120px;
  max-height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

body.page-shops-admin .btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: #0b7a73;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

body.page-shops-admin .btn:hover {
  background: #096b65;
}

body.page-shops-admin .btn-danger {
  background: #dc3545;
}

body.page-shops-admin .btn-danger:hover {
  background: #c82333;
}

body.page-shops-admin .btn-warning {
  background: #f38c20;
}

body.page-shops-admin .btn-warning:hover {
  background: #e07c10;
}

body.page-shops-admin .btn-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

body.page-shops-admin .message {
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

body.page-shops-admin .message.success {
  background: #d4edda;
  color: #155724;
}

body.page-shops-admin .message.error {
  background: #f8d7da;
  color: #721c24;
}

body.page-shops-admin .empty-state {
  text-align: center;
  padding: 2rem;
  color: #666;
}

body.page-shops-admin .region-group {
  margin-bottom: 1.5rem;
}

body.page-shops-admin .region-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0b7a73;
  margin: 1rem 0 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid #0b7a73;
}

body.page-shops-admin .qr-data {
  font-family: monospace;
  font-size: 0.75rem;
  background: #f5f5f5;
  padding: 0.5rem;
  border-radius: 6px;
  margin-top: 0.5rem;
  word-break: break-all;
  max-height: 100px;
  overflow: auto;
}

body.page-shops-admin details {
  margin-top: 0.5rem;
}

body.page-shops-admin details summary {
  cursor: pointer;
  font-size: 0.85rem;
  color: #0b7a73;
  font-weight: 600;
}

body.page-shops-admin .form-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.page-shops-admin .form-input:focus {
  outline: none;
  border-color: #0b7a73;
  box-shadow: 0 0 0 3px rgba(11, 122, 115, 0.12);
}

body.page-shops-admin .form-input:hover:not(:focus) {
  border-color: rgba(0, 0, 0, 0.2);
}

body.page-shops-admin textarea.form-input {
  resize: vertical;
  min-height: 60px;
}

body.page-shops-admin .shop-edit-form {
  display: grid;
  gap: 0.85rem;
}

body.page-shops-admin .shop-edit-form .form-row {
  display: grid;
  gap: 0.85rem;
}

body.page-shops-admin .shop-edit-form .form-row.two-col {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
  body.page-shops-admin .shop-edit-form .form-row.two-col {
    grid-template-columns: 1fr;
  }
}

body.page-shops-admin .shop-edit-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

body.page-shops-admin .shop-edit-form .field-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

body.page-shops-admin .shop-edit-form .field-inline label {
  min-width: 70px;
  flex-shrink: 0;
}

body.page-shops-admin .shop-edit-form .field-inline .form-input {
  flex: 1;
}

body.page-shops-admin .shop-edit-form label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

body.page-shops-admin .shop-edit-form .shop-name-input {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.7rem 0.85rem;
}

body.page-shops-admin .shop-edit-form .form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 0.25rem;
}

body.page-shops-admin .btn-secondary {
  background: #6c757d;
}

body.page-shops-admin .btn-secondary:hover {
  background: #5a6268;
}

body.page-shops-admin .search-form {
  margin-bottom: 1.5rem;
}

body.page-shops-admin .search-form .search-row {
  display: flex;
  gap: 0.5rem;
}

body.page-shops-admin .search-form .form-input {
  flex: 1;
}

body.page-shops-admin .shop-result {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

body.page-shops-admin .shop-result summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.15s;
}

body.page-shops-admin .shop-result summary::-webkit-details-marker {
  display: none;
}

body.page-shops-admin .shop-result summary::before {
  content: "▶";
  font-size: 0.65rem;
  color: #888;
  transition: transform 0.2s;
}

body.page-shops-admin .shop-result[open] summary::before {
  transform: rotate(90deg);
}

body.page-shops-admin .shop-result summary:hover {
  background: rgba(0, 0, 0, 0.02);
}

body.page-shops-admin .shop-result-name {
  font-weight: 700;
  color: #0d141a;
}

body.page-shops-admin .shop-result-location {
  font-size: 0.85rem;
  color: #666;
}

body.page-shops-admin .shop-result .shop-edit-form {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.01);
}

/* Age Gate Modal */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.age-gate.hidden {
  display: none;
}

.age-gate-modal {
  background: #fff;
  border-radius: 24px;
  padding: 2rem 2.5rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.age-gate-modal h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: #0d141a;
}

.age-gate-modal p {
  margin: 0 0 1.5rem;
  color: #555;
  line-height: 1.5;
}

.age-gate-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-gate-btn {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.1s, background-color 0.2s;
}

.age-gate-btn:active {
  transform: scale(0.97);
}

.age-gate-btn.yes {
  background: #0b7a73;
  color: #fff;
}

.age-gate-btn.yes:hover {
  background: #096b65;
}

.age-gate-btn.no {
  background: #e0e0e0;
  color: #333;
}

.age-gate-btn.no:hover {
  background: #d0d0d0;
}

.age-gate-denied {
  display: none;
}

.age-gate-denied.visible {
  display: block;
}

.age-gate-denied p {
  color: #dc3545;
  font-weight: 600;
}

/* Video Container */
.video-container {
  margin: 1.5rem auto;
  max-width: 300px;
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  background: #000;
}

.video-container video {
  display: block;
  width: 100%;
  height: auto;
}
