:root {
  --cream: #faf6f1;
  --terracotta: #c46d4a;
  --terracotta-dark: #a85a3a;
  --sage: #7d9b76;
  --sage-dark: #5f7a59;
  --brown: #3d2c29;
  --brown-light: #5c4540;
  --white: #fff;
  --shadow: 0 4px 20px rgba(61, 44, 41, 0.08);
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--brown);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem 0;
}

.header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-auth a {
  color: var(--brown);
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.header-auth a:hover {
  background: var(--cream);
  color: var(--terracotta);
}

.header-auth .active {
  background: var(--terracotta);
  color: var(--white);
}

.header-auth .active:hover {
  background: var(--terracotta-dark);
  color: var(--white);
}

/* Admin nav links hidden until confirmed admin via nav-admin.js */
.nav-admin {
  display: none;
}

/* Hamburger toggle — visible on mobile only */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.nav-toggle:hover {
  background: var(--cream);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brown);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hamburger nav: below 992px show hamburger, above show inline nav */
@media (max-width: 991px) {
  .nav-toggle {
    display: flex;
  }
  .header .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    padding: 1rem;
    z-index: 100;
    border-top: 1px solid #eee;
  }
  body.nav-open .header .main-nav {
    display: flex;
  }
  .header .main-nav a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
  }
  .header {
    position: relative;
  }
}

@media (min-width: 992px) {
  .header .main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
}

.lang-selector {
  display: flex;
  gap: 0.25rem;
}

.lang-btn {
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  border: 1px solid #ddd;
  background: var(--white);
  color: var(--brown);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.lang-btn:hover {
  border-color: var(--sage);
  color: var(--sage-dark);
}

.lang-btn.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  color: var(--terracotta);
}

.logo a {
  color: inherit;
  text-decoration: none;
}

.tagline {
  font-size: 0.9rem;
  color: var(--brown-light);
  margin-top: 0.25rem;
}

.main-nav {
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  color: var(--brown);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--cream);
  color: var(--terracotta);
}

/* Hero */
.hero {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 109, 74, 0.12) 0%, rgba(125, 155, 118, 0.15) 100%);
  background-image: 
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c46d4a' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  text-align: center;
}

.hero h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.hero p {
  color: var(--brown-light);
  font-size: 1.1rem;
}

/* Notice */
.notice {
  padding: 1.5rem 0;
}

.notice-box {
  background: var(--white);
  border: 2px solid var(--sage);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.notice-box strong {
  display: block;
  color: var(--sage-dark);
  margin-top: 0.75rem;
}

.notice-box strong:first-child {
  margin-top: 0;
}

.notice-box p {
  color: var(--brown-light);
  margin-top: 0.25rem;
}

/* Menu */
.menu {
  padding: 3rem 0;
}

.menu h2,
.payment h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
  text-align: center;
}

.menu-intro {
  text-align: center;
  color: var(--brown-light);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.order-cta {
  text-align: center;
  margin-bottom: 1.5rem;
}

.order-cta .btn {
  display: inline-block;
  text-decoration: none;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.menu-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(61, 44, 41, 0.12);
}

.menu-card-media {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--cream) 0%, #e8e0d8 100%);
  overflow: hidden;
}

.menu-card-media img,
.menu-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-card-body {
  padding: 1.25rem;
}

.menu-card h3 {
  font-size: 1.25rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.menu-card .price {
  font-weight: 600;
  color: var(--terracotta);
  font-size: 1.1rem;
}

.menu-card .description {
  color: var(--brown-light);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.loading {
  color: var(--brown-light);
  text-align: center;
  padding: 2rem;
}

/* Payment */
.payment {
  padding: 3rem 0;
  background: var(--white);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.payment-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  border: 1px solid rgba(125, 155, 118, 0.2);
}

.payment-card .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.payment-card h3 {
  font-size: 1rem;
  color: var(--brown);
  margin-bottom: 0.25rem;
}

.payment-card p {
  font-size: 0.85rem;
  color: var(--brown-light);
}

/* Footer */
footer {
  padding: 2rem 0;
  text-align: center;
  color: var(--brown-light);
  font-size: 0.95rem;
}

footer .small {
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Admin */
.admin-main {
  padding: 2rem 0 4rem;
}

.admin-main h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.add-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 600px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--brown);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(125, 155, 118, 0.2);
}

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

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

.btn {
  background: var(--terracotta);
  color: var(--white);
  border: none;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--terracotta-dark);
}

.message {
  margin-top: 1rem;
  min-height: 1.5rem;
}

.message.success {
  color: var(--sage-dark);
}

.message.error {
  color: #c45;
}

.divider {
  margin: 2.5rem 0;
  border: none;
  border-top: 1px solid #e0d9d3;
}

.admin-main h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-item-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-item-info img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.admin-item-info .placeholder {
  width: 60px;
  height: 60px;
  background: var(--cream);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-light);
  font-size: 1.5rem;
}

.admin-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-item-actions .input-minutes {
  width: 4rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.9rem;
  border: 1px solid #e0d9d3;
  border-radius: 6px;
}

.admin-item-actions button {
  background: none;
  border: none;
  color: #c45;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.5rem;
}

.admin-item-actions button:hover {
  text-decoration: underline;
}

/* Blog */
.blog-main,
.blog-post-main,
.blog-admin-main,
.connect-main {
  padding: 2rem 0 4rem;
}

.blog-main h2,
.blog-admin-main h2,
.connect-main h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--brown);
  margin-bottom: 1.5rem;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(61, 44, 41, 0.12);
}

.blog-card-image {
  aspect-ratio: 16/10;
  background: var(--cream);
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.5;
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-card-body h3 {
  font-size: 1.2rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.blog-card-body .excerpt {
  font-size: 0.95rem;
  color: var(--brown-light);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-body time {
  font-size: 0.85rem;
  color: var(--brown-light);
}

/* Blog post */
.post-header {
  margin-bottom: 1.5rem;
}

.post-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.25rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.post-header time {
  font-size: 0.95rem;
  color: var(--brown-light);
}

.post-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 720px;
}

/* Blog admin */
.blog-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 700px;
}

.blog-form .form-group textarea {
  min-height: 200px;
}

.share-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
}

.share-section h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.share-section .hint {
  font-size: 0.9rem;
  color: var(--brown-light);
  margin-bottom: 1rem;
}

.platform-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.platform-checkboxes label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* Connect */
.connect-intro {
  color: var(--brown-light);
  margin-bottom: 2rem;
  max-width: 600px;
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.platform-card:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow);
}

.platform-card input {
  position: absolute;
  opacity: 0;
}

.platform-card input:checked + .platform-icon {
  transform: scale(1.1);
}

.platform-card:has(input:checked) {
  border-color: var(--terracotta);
  background: rgba(196, 109, 74, 0.05);
}

.platform-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.platform-name {
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.25rem;
}

.platform-desc {
  font-size: 0.85rem;
  color: var(--brown-light);
  text-align: center;
}

/* Order */
.order-main {
  padding: 2rem 0 4rem;
}

.order-main h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.order-intro {
  color: var(--brown-light);
  margin-bottom: 2rem;
}

.order-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 700px;
}

.order-items {
  margin-bottom: 2rem;
}

.order-items h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.order-item-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.order-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--cream);
  border-radius: 8px;
  cursor: pointer;
}

.order-item-row:hover {
  background: #f0ebe3;
}

.order-item-row input[type="checkbox"] {
  flex-shrink: 0;
}

.order-item-name {
  flex: 1;
}

.order-item-price {
  color: var(--terracotta);
  font-weight: 500;
}

.order-qty {
  width: 4rem;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: center;
}

.order-details {
  margin-bottom: 1.5rem;
}

.order-details h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Settings */
.settings-main {
  padding: 2rem 0 4rem;
}

.settings-main h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--brown);
  margin-bottom: 1.5rem;
}

.settings-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 500px;
}

.settings-form .hint {
  font-size: 0.9rem;
  color: var(--brown-light);
  margin-bottom: 0.5rem;
}

.order-calendar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.order-calendar-day {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid rgba(61, 44, 41, 0.12);
}

.order-calendar-day.closed {
  background: rgba(196, 109, 74, 0.12);
  border-color: var(--terracotta);
}

.order-calendar-day .date-label {
  font-weight: 500;
  min-width: 7rem;
}

.order-calendar-day .order-count {
  font-size: 0.85rem;
  color: var(--brown-light);
}

.order-calendar-day .btn-small {
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  border-radius: 6px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(61, 44, 41, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(61, 44, 41, 0.2);
  max-width: 480px;
  width: 100%;
  max-height: 80vh;
  overflow: auto;
}

.modal-content h4 {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(61, 44, 41, 0.1);
  font-family: 'DM Serif Display', serif;
}

.modal-contact-list {
  padding: 1rem 1.25rem;
}

.modal-contact-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(61, 44, 41, 0.08);
  font-size: 0.95rem;
}

.modal-contact-item:last-child {
  border-bottom: none;
}

.modal-contact-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.modal-contact-item a {
  color: var(--terracotta);
  text-decoration: none;
}

.modal-actions {
  padding: 1rem 1.25rem;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* Auth */
.auth-main {
  padding: 2rem 0 4rem;
}

.auth-main h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.auth-intro {
  color: var(--brown-light);
  margin-bottom: 1.5rem;
}

.auth-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 400px;
}

.auth-link {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--brown-light);
}

.auth-link a {
  color: var(--terracotta);
  font-weight: 500;
}

.auth-banner {
  background: rgba(125, 155, 118, 0.15);
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.auth-banner a {
  color: var(--terracotta);
  font-weight: 500;
  margin-left: 0.5rem;
}

.previous-orders {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0d9d3;
}

.previous-orders h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.prev-order {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--brown-light);
}

.turnstile-container {
  margin: 1rem 0;
  min-height: 65px;
}

/* ===== Browse (YouTube-style) ===== */
.browse-body {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

.browse-header {
  flex-shrink: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 10;
}

.browse-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  gap: 0.5rem;
}

.browse-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--terracotta);
  text-decoration: none;
}

.browse-auth a {
  color: var(--brown);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.35rem 0.6rem;
}

.browse-nav {
  display: none;
  flex-direction: column;
  padding: 1rem;
  border-top: 1px solid #eee;
  background: var(--white);
}
body.nav-open .browse-nav {
  display: flex;
}

.browse-main {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.browse-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.browse-sections {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.browse-section {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.browse-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.browse-section.active .browse-item.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.browse-item img,
.browse-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.browse-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: var(--cream);
}

.browse-item-overlay {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: var(--white);
  width: 100%;
}

.browse-item-name {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
}

.browse-item-price {
  font-size: 1.1rem;
  opacity: 0.9;
}

.browse-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2rem;
  text-align: center;
  color: var(--brown-light);
}

.add-to-cart-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.add-to-cart-popup.show {
  opacity: 1;
  visibility: visible;
}

.add-to-cart-inner {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 320px;
  width: 90%;
}

.add-to-cart-item {
  margin: 1rem 0;
  font-weight: 500;
}

.add-to-cart-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cart-bar {
  flex-shrink: 0;
  background: var(--white);
  border-top: 1px solid #eee;
  padding: 0.75rem 1rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.cart-bar.has-items {
  opacity: 1;
  box-shadow: 0 -4px 20px rgba(61,44,41,0.08);
}

.cart-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

.cart-summary {
  font-size: 0.95rem;
}

.cart-bar .btn {
  padding: 0.5rem 1.25rem;
}

/* Admin sections */
.admin-hint {
  color: var(--brown-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.admin-sections-row .form-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}

.btn-secondary {
  background: var(--cream);
  color: var(--brown);
  border: 1px solid #ddd;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--brown-light);
  margin: -0.5rem 0 1rem;
}

.admin-sections-list {
  margin-top: 1rem;
}

.admin-section {
  background: var(--white);
  border: 1px solid #e0d9d3;
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.admin-section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.admin-section-meta {
  font-size: 0.85rem;
  color: var(--brown-light);
}

.btn-small {
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  margin-left: auto;
}

.btn-danger {
  background: #c44;
  color: white;
  border: none;
}

.muted { color: var(--brown-light); }
.text-warn { color: var(--terracotta); }
.text-muted { color: var(--brown-light); font-size: 0.9rem; }

.schedule-days {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.5rem 0;
}
.schedule-days label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.payment-toggles {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}
.payment-toggle-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.order-status-banner {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.order-status-closed {
  background: rgba(196, 77, 68, 0.15);
  border: 1px solid #c44;
  color: #a33;
}

.nav-help {
  font-weight: bold;
  font-size: 1.1rem;
  min-width: 1.5em;
  text-align: center;
}

.help-main {
  padding: 2rem 0 4rem;
}
.help-main h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--brown);
  margin-bottom: 1.5rem;
}
.help-section {
  margin-bottom: 2rem;
}
.help-section h2 {
  font-size: 1.2rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}
.help-section p {
  color: var(--brown-light);
  line-height: 1.7;
}
.help-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e0d9d3;
}
.help-footer a {
  color: var(--terracotta);
  margin-right: 1rem;
}
