/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.pickup-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.pickup-slot {
  background: #fff;
  border: 1px solid rgba(30, 27, 24, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.pickup-slot:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.pickup-slot.selected {
  background: var(--accent);
  color: var(--dust);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(180, 91, 63, 0.2);
}

:root {
  --charcoal: #1f1d1a;
  --forest: #234039;
  --sage: #9bb6a2;
  --mist: #f6f2ec;
  --clay: #e5d6c3;
  --dust: #fdfbf7;
  --accent: #b45b3f;
  --accent-dark: #8c3f27;
  --theme-primary: #b45b3f;
  --theme-secondary: #234039;
  --theme-accent: #8c3f27;
  --theme-background: #f6f2ec;
  --theme-text: #1f1d1a;
  --theme-radius: 18px;
  --font-heading: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --font-body: "Work Sans", "Helvetica Neue", sans-serif;
  --shadow: 0 24px 60px rgba(22, 19, 16, 0.16);
  --radius-lg: calc(var(--theme-radius) * 1.6);
  --radius-md: var(--theme-radius);
  --radius-sm: calc(var(--theme-radius) * 0.6);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--mist);
}

body:not(.admin-body):not(.admin-auth-body) {
  --accent: var(--theme-primary);
  --accent-dark: var(--theme-accent);
  --forest: var(--theme-secondary);
  --mist: var(--theme-background);
  --dust: var(--theme-background);
  --charcoal: var(--theme-text);
  --radius-lg: calc(var(--theme-radius) * 1.6);
  --radius-md: var(--theme-radius);
  --radius-sm: calc(var(--theme-radius) * 0.6);
}

body:not(.admin-body):not(.admin-auth-body) * {
  font-family: var(--font-body) !important;
}

body:not(.admin-body):not(.admin-auth-body) h1,
body:not(.admin-body):not(.admin-auth-body) h2,
body:not(.admin-body):not(.admin-auth-body) h3,
body:not(.admin-body):not(.admin-auth-body) h4,
body:not(.admin-body):not(.admin-auth-body) h5,
body:not(.admin-body):not(.admin-auth-body) h6 {
  font-family: var(--font-heading) !important;
}

body.admin-body,
body.admin-auth-body {
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  background: #f3f2ee;
}

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

h1,
h2,
h3 {
  margin: 0 0 1rem;
  letter-spacing: 0.4px;
}

p {
  margin: 0 0 1rem;
  color: var(--charcoal);
  line-height: 1.6;
}

.storefront-hero {
  padding: 2rem 6vw 3.2rem;
}

.page-nav {
  padding: 2.5rem 6vw 0;
}

.page-nav .nav {
  align-items: center;
}

.page-nav .brand {
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid rgba(44, 40, 35, 0.1);
}

.brand-title {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.brand-subtitle {
  font-size: 0.9rem;
  color: #4d4a44;
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-utility {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-item {
  position: relative;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.75rem;
}

.nav-heading {
  font-weight: 500;
  letter-spacing: 0.4px;
  color: inherit;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px rgba(26, 22, 18, 0.2);
  padding: 0.75rem;
  display: grid;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-link {
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--charcoal);
}

.nav-dropdown-link:hover {
  background: rgba(35, 64, 57, 0.08);
}

.time-clock-page {
  min-height: 100vh;
  padding: 2.5rem 1rem;
  background: radial-gradient(circle at top, rgba(180, 91, 63, 0.14), transparent 42%),
    linear-gradient(180deg, #f8f2e8 0%, #efe3d2 100%);
}

.time-clock-shell {
  width: min(720px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.time-clock-header {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(31, 29, 26, 0.12);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
}

.time-clock-header h1 {
  margin-bottom: 0.35rem;
}

.time-clock-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(31, 29, 26, 0.1);
  box-shadow: 0 12px 32px rgba(28, 24, 20, 0.1);
  padding: 1.25rem 1.5rem;
}

.time-clock-form {
  display: grid;
  gap: 0.9rem;
}

.time-clock-state {
  margin: 1rem 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-weight: 600;
}

.time-clock-state.is-in {
  background: rgba(35, 64, 57, 0.12);
  color: #1f342d;
}

.time-clock-state.is-out {
  background: rgba(180, 91, 63, 0.12);
  color: #6d301f;
}

.time-clock-actions {
  margin-top: 0.9rem;
}

.time-clock-shifts {
  display: grid;
  gap: 0.55rem;
}

.time-clock-shift-row {
  border: 1px solid #e8dfd3;
  border-radius: 12px;
  background: #fcfaf6;
  padding: 0.55rem 0.7rem;
}

.time-clock-shift-window {
  font-weight: 700;
  color: #2d271f;
}

.staff-schedule-page {
  min-height: 100vh;
  padding: 2rem 1rem 2.5rem;
  background: radial-gradient(circle at top left, rgba(35, 64, 57, 0.12), transparent 38%),
    linear-gradient(180deg, #f7f1e6 0%, #efe4d2 100%);
}

.staff-schedule-shell {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.staff-schedule-header,
.staff-schedule-card {
  background: #fff;
  border: 1px solid rgba(31, 29, 26, 0.1);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(26, 21, 16, 0.1);
  padding: 1rem 1.1rem;
}

.staff-schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.staff-schedule-header h1 {
  margin: 0 0 0.25rem;
}

.staff-schedule-header p {
  margin: 0;
  color: #62574b;
}

.staff-schedule-controls {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
}

.staff-schedule-nav {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.staff-schedule-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.staff-schedule-summary article {
  border: 1px solid #eadfce;
  border-radius: 12px;
  background: #fcfaf6;
  padding: 0.75rem;
}

.staff-schedule-summary p {
  margin: 0;
  color: #6f6254;
  font-size: 0.8rem;
}

.staff-schedule-summary strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.28rem;
  color: #2e261d;
}

.staff-schedule-week-note h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.staff-schedule-week-note p {
  margin: 0;
  white-space: pre-wrap;
  color: #41362b;
}

.staff-schedule-info h2 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.staff-schedule-info .trix-content {
  color: #3d342b;
}

.staff-schedule-list-day.is-today {
  border-color: #c18a49;
  box-shadow: inset 0 0 0 1px rgba(193, 138, 73, 0.25);
}

.staff-schedule-list-shifts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.staff-schedule-list-shifts li {
  border: 1px solid #e8dfd4;
  border-radius: 10px;
  background: #fff;
  padding: 0.45rem 0.5rem;
  display: grid;
  gap: 0.1rem;
}

.staff-schedule-list-shifts li span {
  color: #5a4f43;
  font-size: 0.77rem;
}

.staff-schedule-shift__designations {
  font-size: 0.78rem;
  margin-top: 0.05rem;
}

.staff-schedule-empty {
  margin: 0;
  color: #7b7063;
  font-size: 0.85rem;
}

.staff-schedule-day-note {
  margin: 0;
  padding: 0.38rem 0.45rem;
  border-radius: 8px;
  background: #fff4e6;
  border: 1px solid #efd8bc;
  color: #594733;
  font-size: 0.78rem;
  white-space: pre-wrap;
}

.staff-schedule-list {
  display: grid;
  gap: 0.65rem;
}

.staff-schedule-list-day {
  border: 1px solid #e8dfd3;
  border-radius: 12px;
  background: #fcfaf6;
  padding: 0.75rem;
  display: grid;
  gap: 0.45rem;
}

.staff-schedule-list-day h2 {
  margin: 0;
  font-size: 0.98rem;
}

.staff-schedule-qr {
  margin-top: 0.8rem;
  display: inline-grid;
  gap: 0.35rem;
}

.staff-schedule-qr__code {
  width: 168px;
  height: 168px;
  border-radius: 12px;
  border: 1px solid #e2d7c8;
  background: #fff;
  padding: 0.55rem;
  overflow: visible;
}

.staff-schedule-qr__code svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 640px) {
  .staff-schedule-page {
    padding-top: 1.25rem;
  }

  .staff-schedule-header,
  .staff-schedule-card {
    border-radius: 14px;
    padding: 0.9rem;
  }

  .staff-schedule-controls {
    justify-items: stretch;
    width: 100%;
  }

  .staff-schedule-summary {
    grid-template-columns: 1fr;
  }

  .staff-schedule-nav .button {
    flex: 1 1 auto;
    text-align: center;
  }
}

.designer-station-page {
  min-height: 100vh;
  padding: 2rem 1rem 3rem;
  background: radial-gradient(circle at 20% 0%, rgba(35, 64, 57, 0.12), transparent 35%),
    linear-gradient(180deg, #f6efe2 0%, #efe4d1 100%);
}

.designer-station-shell {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.designer-station-header,
.designer-station-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(31, 29, 26, 0.12);
  padding: 1rem 1.1rem;
}

.designer-station-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.designer-station-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.designer-station-status-muted {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 600;
}

.designer-station-section {
  margin-top: 1rem;
}

.designer-station-section h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.designer-station-count {
  color: #6b7280;
  font-weight: 500;
}

.designer-station-product {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.designer-station-product__media {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(31, 29, 26, 0.12);
  background: #f8f5ef;
}

.designer-station-product__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.designer-station-product__meta h2 {
  margin-bottom: 0.45rem;
}

.designer-station-product__meta p {
  margin: 0.2rem 0;
}

.designer-station-active-actions {
  margin-top: 0.5rem;
}

.designer-work-progress {
  display: grid;
  gap: 0.25rem;
  min-width: 170px;
}

.designer-work-progress__totals {
  font-weight: 600;
  font-size: 0.88rem;
}

.designer-work-progress__bar {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #ece6dc;
  overflow: hidden;
}

.designer-work-progress__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #2f7a56;
  transition: width 0.35s ease;
}

.designer-work-progress.is-over-target .designer-work-progress__bar span {
  background: #b45b3f;
}

.designer-work-progress__status {
  font-weight: 600;
}

.designer-work-progress.is-over-target .designer-work-progress__status {
  color: #8f1f1f;
}

@media (max-width: 720px) {
  .designer-station-product {
    grid-template-columns: 1fr;
  }

  .designer-station-product__media {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

.events-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.65rem;
}

.events-calendar-head {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4b5563;
  text-align: center;
}

.events-calendar-cell {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  padding: 0.6rem;
  min-height: 112px;
}

.events-calendar-cell.is-outside {
  background: #f9fafb;
}

.events-calendar-cell header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.events-capacity {
  font-size: 0.66rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}

.events-capacity-open {
  background: #dcfce7;
  color: #166534;
}

.events-capacity-full {
  background: #fef3c7;
  color: #92400e;
}

.events-capacity-overbooked {
  background: #fee2e2;
  color: #991b1b;
}

.events-day-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.events-day-list li a {
  font-weight: 600;
}

.events-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.events-photo-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.4rem;
  background: #fff;
}

.events-photo-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin-bottom: 0.4rem;
}

.events-photo-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.events-photo-action,
.events-photo-action:visited {
  border: 1px solid #e2d9ce;
  background: #fffaf3;
  color: #5a5147;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.events-photo-action svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.events-photo-action:hover {
  border-color: #c9bfb3;
  color: #3f352b;
  transform: translateY(-1px);
}

.events-photo-action:focus-visible {
  outline: 2px solid #2d6a4f;
  outline-offset: 2px;
}

.events-photo-action-form {
  display: inline-flex;
}

.events-photo-action-danger,
.events-photo-action-danger:visited {
  color: #9b1c1c;
  border-color: #efcaca;
  background: #fff6f6;
}

.events-photo-action-danger:hover {
  color: #7f1d1d;
  border-color: #e4a4a4;
}

.event-tabs {
  margin-top: 1.25rem;
}

.event-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.event-tabs-button {
  border: 1px solid #d6cfc5;
  background: #f8f5ef;
  color: #2f2a24;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.event-tabs-button.is-active {
  background: #1f342d;
  border-color: #1f342d;
  color: #fff;
}

.event-tab-panel {
  display: none;
}

.event-tab-panel.is-active {
  display: block;
}

.event-grid-top {
  align-items: start;
}

.event-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.event-section-title {
  margin: 0;
}

.event-subsection-title {
  margin-top: 0;
}

.event-note-tight {
  margin-top: 0;
}

.event-spacing-sm {
  margin-bottom: 1rem;
}

.event-panel-offset {
  margin-top: 1rem;
}

.event-line-item-name {
  max-width: 240px;
  overflow-wrap: anywhere;
}

.event-quote-table th,
.event-quote-table td,
.event-materials-table th,
.event-materials-table td {
  vertical-align: top;
}

.event-suggested-price {
  margin-top: 0.5rem;
  margin-bottom: 0.55rem;
}

.event-inline-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.event-inline-actions input[type="number"] {
  width: 7.5rem;
}

.event-activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.event-activity-list li {
  border: 1px solid #eee8df;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  background: #fcfaf6;
}

.settings-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.settings-tabs-button {
  border: 1px solid #d6cfc5;
  background: #f8f5ef;
  color: #2f2a24;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.settings-tabs-button.is-active {
  background: #1f342d;
  border-color: #1f342d;
  color: #fff;
}

.settings-tab-panel {
  display: none;
}

.settings-tab-panel.is-active {
  display: block;
}

.settings-tab-panel h2 {
  margin-bottom: 0.5rem;
}

.settings-form-actions {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eee8df;
}

.settings-form-actions--top {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-top: 0;
  border-top: 0;
}

.settings-save-fab-wrap {
  position: fixed;
  right: 1.6rem;
  bottom: 1.5rem;
  z-index: 80;
}

.settings-save-fab {
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  box-shadow: 0 14px 28px rgba(20, 20, 20, 0.2);
}

@media (max-width: 980px) {
  .settings-save-fab-wrap {
    right: 1rem;
    bottom: 1rem;
  }

  .settings-save-fab {
    width: calc(100vw - 2rem);
    justify-content: center;
  }
}

.event-chat-window {
  max-height: 280px;
  overflow-y: auto;
}

@media (max-width: 980px) {
  .events-calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-calendar-head {
    display: none;
  }

  .event-quote-table {
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .time-clock-page {
    padding-top: 1.25rem;
  }

  .time-clock-header,
  .time-clock-card {
    border-radius: 14px;
    padding: 1rem;
  }

  .event-tabs-button {
    width: 100%;
    text-align: left;
  }

  .event-inline-actions {
    display: grid;
    width: 100%;
  }

  .event-inline-actions input[type="number"],
  .event-inline-actions .button {
    width: 100%;
  }
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--charcoal);
  color: var(--mist);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.cart-count {
  background: var(--accent);
  color: var(--dust);
  font-size: 0.75rem;
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-lg);
  min-width: 1.6rem;
  text-align: center;
}

.hero-classic {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(280px, 0.9fr);
  gap: 2.2rem;
  align-items: center;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.hero-media {
  position: relative;
}

.hero-image {
  width: 100%;
  height: clamp(260px, 42vw, 420px);
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(44, 40, 35, 0.1);
}

.hero-image.placeholder {
  background: linear-gradient(135deg, #f7eee5 0%, #e7d8c5 100%);
}

.hero-content h1 {
  font-size: clamp(2.6rem, 3vw, 3.4rem);
  max-width: 520px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  font-size: 0.75rem;
  color: var(--accent-dark);
  margin-bottom: 0.6rem;
}

.hero-lede {
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 1.4rem 0 1rem;
  flex-wrap: wrap;
}

.hero-actions .button.ghost {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

.home-categories {
  padding: 2.5rem 6vw 3.2rem;
  display: grid;
  gap: 2rem;
}

.home-category {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.home-category-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}


.home-category-header .text-link {
  margin-top: 0.2rem;
}

.home-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.home-product-card {
  background: var(--dust);
  border-radius: var(--radius-md);
  padding: 0;
  border: 1px solid rgba(44, 40, 35, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.home-product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  border: none;
  display: block;
}

.home-product-photo.placeholder {
  background: linear-gradient(135deg, #f7eee5 0%, #e7d8c5 100%);
}

.home-product-card .home-product-body p {
  margin-bottom: 0;
}

.card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 1rem 0.9rem;
  color: var(--card-overlay-text);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  isolation: isolate;
}

.card-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-overlay-surface);
  z-index: 0;
}

@supports (backdrop-filter: blur(6px)) {
  .card-overlay::before {
    backdrop-filter: blur(6px);
  }
}

.card-overlay p,
.card-overlay h3,
.card-overlay .price,
.card-overlay .text-link {
  color: inherit;
  position: relative;
  z-index: 1;
}

.card-overlay p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-overlay .text-link {
  font-size: 0.8rem;
}

.home-product-body h3 {
  margin-bottom: 0.4rem;
}

.home-product-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-empty {
  text-align: center;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.footer-seo {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(44, 40, 35, 0.1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: var(--dust);
  box-shadow: var(--shadow);
}

.button.secondary {
  background: var(--forest);
  color: var(--dust);
}

.button.ghost {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.admin-body .button.primary {
  background: #3d4b47;
  color: #f7f4ef;
  box-shadow: none;
}

.admin-body .button.secondary,
.admin-auth-body .button.primary {
  background: #1f2624;
  color: #f7f4ef;
}

.admin-body .button.ghost {
  border-color: #3d4b47;
  color: #3d4b47;
}

.button:hover {
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  gap: 2.5rem;
  margin-top: 1rem;
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  font-size: 0.9rem;
}

.meta-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.7rem;
  color: #756d63;
}

.meta-value {
  font-weight: 600;
}

.hero-card {
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.hero-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-lg);
  background: var(--clay);
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.price {
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
}

.price-note {
  font-size: 0.85rem;
  color: #6a6259;
}

.card-footnote {
  font-size: 0.9rem;
  color: #6e655c;
}

.collection,
.how {
  padding: 3.5rem 6vw 4rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-subtitle {
  max-width: 360px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-card {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: var(--dust);
  border: 1px solid rgba(44, 40, 35, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 220px;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(44, 40, 35, 0.12);
}

.product-photo.placeholder {
  background: linear-gradient(135deg, #f7eee5 0%, #e7d8c5 100%);
}

.product-card.romantic {
  background: linear-gradient(140deg, #fdf8f2 0%, #f7e7dc 100%);
}

.product-card.cheerful {
  background: linear-gradient(140deg, #fff6e9 0%, #f7edd0 100%);
}

.product-card.calm {
  background: linear-gradient(140deg, #f3f7f4 0%, #dfece2 100%);
}

.product-card.earthy {
  background: linear-gradient(140deg, #f6f1ea 0%, #e7dccf 100%);
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-link {
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-dark);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.how-item {
  background: rgba(255, 255, 255, 0.75);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.step {
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: var(--accent-dark);
}

.checkout {
  padding: 3.5rem 6vw 5rem;
}

.checkout-header {
  margin-bottom: 2rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.order-summary {
  position: sticky;
  top: 2rem;
}

.summary-card {
  background: var(--dust);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(44, 40, 35, 0.08);
}

.cart-items {
  display: grid;
  gap: 1.5rem;
}

.cart-item {
  background: #fff8f1;
  border-radius: var(--radius-md);
  border: 1px solid rgba(44, 40, 35, 0.08);
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}

.cart-item-main {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cart-item-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  align-items: center;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 27, 24, 0.18);
  padding: 0.35rem 0.6rem;
}

.quantity-control input {
  width: 64px;
  text-align: center;
  border: none;
  padding: 0.35rem 0.2rem;
}

.quantity-btn {
  border: none;
  background: transparent;
  font-size: 1.1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--accent-dark);
}

.quantity-btn:hover {
  background: rgba(180, 91, 63, 0.12);
}

.cart-remove {
  display: flex;
  justify-content: flex-end;
}

.cart-totals {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid rgba(44, 40, 35, 0.1);
}

.cart-empty {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px dashed rgba(44, 40, 35, 0.2);
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.addon-card {
  background: var(--dust);
  border: 1px solid rgba(44, 40, 35, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.addon-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(35, 64, 57, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.addon-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.addon-thumb.placeholder {
  background: rgba(35, 64, 57, 0.12);
}

.addon-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.addon-name,
.addon-price {
  margin: 0;
}

.addon-name {
  font-weight: 600;
}

.addon-price {
  font-size: 0.9rem;
  color: rgba(31, 29, 26, 0.7);
}

.addon-fields .field {
  margin-bottom: 0.6rem;
}

.addon-editor {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(44, 40, 35, 0.12);
}

.addon-editor summary {
  cursor: pointer;
  font-weight: 600;
}

.addon-editor-form {
  margin-top: 1rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 29, 26, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 200;
}

.modal-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow);
  text-align: center;
}

.modal-title {
  margin: 0 0 0.6rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.modal-body {
  margin: 0 0 1.4rem;
  color: rgba(31, 29, 26, 0.75);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.toast {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  background: rgba(31, 29, 26, 0.95);
  color: var(--dust);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
  box-shadow: var(--shadow);
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.toast .text-link {
  color: var(--mist);
}

.product-detail {
  padding: 3.5rem 6vw 5rem;
}

.product-detail .checkout-header {
  margin-bottom: 2.5rem;
}

.product-visual .product-photo,
.product-visual .product-photo.placeholder {
  height: 360px;
  width: 100%;
  object-fit: cover;
}

.product-visual {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  min-height: 420px;
}

.category-index,
.category-page {
  padding: 2.6rem 6vw 3.6rem;
  display: grid;
  gap: 2rem;
}

.category-hero {
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  max-width: 760px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.category-card {
  background: var(--dust);
  border-radius: var(--radius-md);
  border: 1px solid rgba(44, 40, 35, 0.08);
  padding: 1.1rem;
  display: grid;
  gap: 0.8rem;
  box-shadow: 0 18px 40px rgba(22, 19, 16, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(22, 19, 16, 0.12);
}

.category-card-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(44, 40, 35, 0.12);
}

.category-card-photo.placeholder {
  background: linear-gradient(135deg, #f7eee5 0%, #e7d8c5 100%);
}

.category-header {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 0.7fr);
  gap: 1.4rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.category-header-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(44, 40, 35, 0.12);
}

.category-header-photo.placeholder {
  background: linear-gradient(135deg, #f7eee5 0%, #e7d8c5 100%);
}

.category-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b6259;
}

.breadcrumb-separator {
  color: #9a9187;
}

.subcategory-section {
  display: grid;
  gap: 1.1rem;
}

.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.1rem;
}

.subcategory-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  border: 1px solid rgba(44, 40, 35, 0.08);
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  box-shadow: 0 18px 40px rgba(22, 19, 16, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subcategory-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(22, 19, 16, 0.12);
}

.subcategory-photo {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(44, 40, 35, 0.12);
}

.subcategory-photo.placeholder {
  background: linear-gradient(135deg, #f7eee5 0%, #e7d8c5 100%);
}

.category-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.category-empty {
  text-align: center;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.summary-label {
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6d655d;
  margin-bottom: 0.25rem;
}

.summary-value {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.summary-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #5c554d;
}

.checkout-form {
  background: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.checkout-split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.account-actions {
  margin-top: 1.5rem;
}

.recipient-list {
  display: grid;
  gap: 1.2rem;
}

.recipient-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid rgba(44, 40, 35, 0.1);
  padding: 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.recipient-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
}

.recipient-badge {
  background: rgba(35, 64, 57, 0.1);
  color: var(--forest);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-lg);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.recipient-meta {
  display: grid;
  gap: 0.25rem;
  color: #5b5650;
  font-size: 0.95rem;
}

.recipient-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.form-section {
  margin-bottom: 2.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-group.horizontal {
  flex-direction: row;
  gap: 1.5rem;
  align-items: center;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-option label {
  margin-bottom: 0;
  cursor: pointer;
}

label {
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b6259;
}

input,
select,
textarea {
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(30, 27, 24, 0.2);
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  font-size: 0.95rem;
  background: #fff;
  width: 100%;
}

.week-picker {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}

.week-nav {
  border: 1px solid rgba(30, 27, 24, 0.16);
  background: #fff;
  color: var(--accent-dark);
  border-radius: var(--radius-lg);
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.week-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.week-nav:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(24, 20, 16, 0.12);
}

.week-day {
  display: grid;
  gap: 0.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(30, 27, 24, 0.12);
  padding: 0.55rem 0.4rem;
  background: #fff;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
}

.week-day-name {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.65rem;
  color: #6b6259;
}

.week-day-date {
  font-weight: 600;
  color: #3d3731;
}

.week-day-fee {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #b35431;
}

.week-day:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(24, 20, 16, 0.12);
  border-color: rgba(180, 91, 63, 0.4);
}

.week-day.selected {
  background: var(--accent);
  color: var(--dust);
  border-color: transparent;
}

.week-day.selected .week-day-name,
.week-day.selected .week-day-date {
  color: var(--dust);
}

.week-day.selected .week-day-fee {
  color: var(--dust);
}

.week-day.today {
  border-color: var(--accent);
}

.week-day:disabled {
  cursor: not-allowed;
  background: #f2ede5;
  color: #9b948a;
  border-color: rgba(30, 27, 24, 0.08);
  box-shadow: none;
  transform: none;
}

.week-day:disabled .week-day-name,
.week-day:disabled .week-day-date {
  color: #9b948a;
}

.week-day:disabled .week-day-fee {
  color: #b9b2a8;
}

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

  .week-nav {
    justify-self: center;
  }

  .week-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .week-day {
    padding: 0.5rem 0.35rem;
  }
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-note {
  font-size: 0.9rem;
  color: #6b6259;
}

.verification-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.verification-status.is-ok {
  color: #2f6b3a;
}

.verification-status.is-error {
  color: #9b2c1c;
}

.verification-status.is-loading {
  color: #6b6259;
}

.variant-price {
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(30, 27, 24, 0.2);
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  background: #fff9f1;
}

.alert {
  background: #f6e1d6;
  color: #7a2f1a;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-shell.is-minimal {
  grid-template-columns: 1fr;
}

.admin-sidebar {
  background: #1f2624;
  color: #f6f3ee;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.admin-mobile-menu-toggle,
.admin-sidebar-backdrop {
  display: none;
}

.admin-mobile-menu-toggle {
  border: 1px solid #d8cdbf;
  background: #fff7ee;
  color: #3d3229;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  align-items: center;
  gap: 0.45rem;
}

.admin-shop-select {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.8rem;
  border-radius: var(--radius-md);
}

.admin-shop-select .field {
  margin-bottom: 0;
}

.admin-shop-select label {
  color: #d6d0c6;
  font-size: 0.7rem;
}

.theme-preview {
  margin-top: 1.5rem;
  --accent: var(--preview-primary);
  --accent-dark: var(--preview-accent);
  --forest: var(--preview-secondary);
  --mist: var(--preview-background);
  --dust: var(--preview-background);
  --charcoal: var(--preview-text);
  --radius-lg: calc(var(--preview-radius) * 1.6);
  --radius-md: var(--preview-radius);
  --radius-sm: calc(var(--preview-radius) * 0.6);
}

.theme-preview .button.primary {
  background: var(--accent);
  color: var(--dust);
  box-shadow: var(--shadow);
}

.theme-preview-card {
  background: var(--preview-background);
  color: var(--preview-text);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 18px 45px rgba(18, 16, 12, 0.15);
}

.theme-preview-card h3 {
  font-family: var(--preview-heading-font) !important;
  margin-bottom: 0.6rem;
}

.theme-preview-card p {
  font-family: var(--preview-body-font);
  color: var(--preview-text);
}

.theme-preview-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.theme-preview-card .button {
  font-family: var(--preview-body-font);
}

.theme-preview-card .button.ghost {
  background: transparent;
  color: var(--preview-secondary);
  border: 1px solid var(--preview-secondary);
}

.admin-brand span {
  font-family: "Libre Baskerville", "Georgia", serif;
  font-size: 1.4rem;
}

.admin-brand small {
  color: #c7c2b8;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-nav a,
.admin-nav-heading {
  color: inherit;
  font-weight: 600;
}

.admin-nav-group {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.8rem;
}

.admin-nav-group:first-child {
  border-top: none;
  padding-top: 0;
}

.admin-nav-heading {
  background: transparent;
  border: none;
  padding: 0;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.95rem;
}

.admin-nav-heading::after {
  content: "▾";
  font-size: 0.9rem;
  color: #c7c2b8;
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
}

.admin-nav-group.is-open .admin-nav-heading::after {
  transform: rotate(0deg);
}

.admin-nav-items {
  display: none;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.7rem 0 0.2rem 0.9rem;
}

.admin-nav-items a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.admin-nav-group.is-open .admin-nav-items {
  display: flex;
}

.admin-footer {
  margin-top: auto;
  display: grid;
  gap: 0.6rem;
  align-items: stretch;
}

.admin-footer .button_to {
  margin: 0;
}

.admin-logout {
  background: transparent;
  color: #f6f3ee;
  border: 1px solid #5a5f5a;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  display: block;
  text-align: center;
  width: 100%;
}

.admin-badge {
  background: rgba(180, 91, 63, 0.25);
  color: #fef6ed;
  border-radius: 999px;
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  letter-spacing: 0.5px;
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
}

.admin-main {
  padding: 2.5rem 3.5rem;
}

.admin-main--full {
  padding: 2.5rem 4rem 3.5rem;
}

.users-table td {
  vertical-align: top;
}

.users-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.users-avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid #e7ddd1;
  background: #f2e6d8;
}

.users-avatar--large {
  width: 5.5rem;
  height: 5.5rem;
}

.users-avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #654735;
}

.users-name {
  font-weight: 600;
  color: #1f2624;
}

.users-email {
  color: #6a6057;
  font-size: 0.85rem;
}

.users-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9ccbc;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.78rem;
  color: #52463c;
  background: #faf4eb;
}

.users-pill--super {
  border-color: #c7b48f;
  background: #efe4d2;
}

.users-pill--wide {
  min-width: 5.4rem;
  justify-content: center;
}

.users-actions {
  white-space: nowrap;
}

.users-actions a + a {
  margin-left: 0.65rem;
}

.users-profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.4rem;
  align-items: center;
  margin: 0 0 1.3rem;
  padding: 1rem 1.2rem;
  background: #fbf5ed;
  border: 1px solid #e9dece;
  border-radius: var(--radius-md);
}

.users-profile-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem 1rem;
  margin: 0;
}

.users-profile-meta dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6f655b;
  margin-bottom: 0.2rem;
}

.users-profile-meta dd {
  margin: 0;
  font-weight: 600;
  color: #2b231c;
}

.admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.admin-header-actions {
  display: flex;
  gap: 1rem;
}

.shift-grid__header-actions {
  gap: 0.5rem;
  flex-wrap: wrap;
}

.shift-grid__header-actions .button {
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
}

.shift-grid__title-row {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.shift-grid__help-icon {
  border: 1px solid #d9ccbc;
  background: #fbf5ed;
  color: #5a4a3a;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  padding: 0;
}

.shift-grid__help-tooltip {
  position: relative;
  display: inline-flex;
}

.shift-grid__help-bubble {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  width: min(24rem, 76vw);
  background: #2c231a;
  color: #fff8ee;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font-size: 0.75rem;
  line-height: 1.35;
  box-shadow: 0 14px 28px rgba(26, 19, 13, 0.25);
  z-index: 15;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.shift-grid__help-bubble ul {
  margin: 0;
  padding-left: 1rem;
}

.shift-grid__help-bubble li + li {
  margin-top: 0.25rem;
}

.shift-grid__help-bubble::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: #2c231a;
  transform: rotate(45deg);
}

.shift-grid__help-tooltip:hover .shift-grid__help-bubble,
.shift-grid__help-tooltip:focus-within .shift-grid__help-bubble {
  opacity: 1;
  transform: translateY(0);
}

.shift-grid__help-icon:hover,
.shift-grid__help-icon:focus-visible {
  border-color: #bca688;
  color: #3e3124;
  outline: none;
}

.shift-designation-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.shift-designation-picker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #e2d7c8;
  border-radius: 999px;
  background: #faf4eb;
  color: #3b2f23;
  padding: 0.25rem 0.55rem;
  font-size: 0.84rem;
  cursor: pointer;
}

.shift-designation-picker__item input[type="checkbox"] {
  margin: 0;
}

.shift-designation-picker__icon {
  line-height: 1;
}

.admin-page h1,
.admin-dashboard h1 {
  margin-bottom: 0.25rem;
}

.admin-panel {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: 0 22px 50px rgba(20, 20, 20, 0.12);
}

.shift-grid-wrap {
  overflow-x: auto;
}

.scheduler-date-weekday {
  margin-left: 0.35rem;
  font-weight: 600;
  color: #5f5243;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8rem;
}

.scheduler-notes {
  border: 1px solid #e8e1d8;
  border-radius: 12px;
  background: #fcfaf7;
  padding: 0.9rem;
  margin-bottom: 1rem;
}

.scheduler-notes__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.scheduler-notes__header h3 {
  margin: 0;
  font-size: 0.98rem;
}

.scheduler-notes__header p {
  margin: 0;
  color: #6f6253;
  font-size: 0.8rem;
}

.scheduler-notes__grid {
  margin-bottom: 0;
}

.scheduler-notes__actions {
  margin-top: 0.2rem;
}

.shift-grid-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 980px;
}

.shift-grid-table th,
.shift-grid-table td {
  border: 1px solid #e5ddd2;
  vertical-align: top;
  background: #fff;
}

.shift-grid-table thead th {
  background: #f7f2ea;
  position: sticky;
  top: 0;
  z-index: 3;
}

.shift-grid-table__employee-col {
  width: 220px;
  min-width: 220px;
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fdfaf5;
  text-align: left;
  padding: 0.75rem;
}

.shift-grid-table thead .shift-grid-table__employee-col {
  z-index: 4;
}

.shift-grid-table tfoot .shift-grid-table__employee-col {
  z-index: 1;
}

.shift-grid-table__notes-label {
  background: #f7f2ea;
  font-size: 0.75rem;
  color: #6b5d4d;
}

.shift-grid-cell__notes-title {
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #5f5243;
}

.shift-grid-cell__notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.shift-grid-cell__notes-header .shift-grid-cell__notes-title {
  margin-bottom: 0;
}

.shift-grid-table__day-heading {
  display: grid;
  gap: 0.2rem;
  text-align: center;
  padding: 0.5rem 0.2rem;
}

.shift-grid-table__day-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
}

.shift-grid-table__day-link:hover,
.shift-grid-table__day-link:focus-visible {
  background: rgba(140, 63, 39, 0.08);
  outline: none;
}

.shift-grid-table__day-name {
  text-transform: uppercase;
  letter-spacing: 0.9px;
  font-size: 0.72rem;
  color: #7b6f61;
}

.shift-grid-table__day-date {
  font-size: 0.92rem;
  color: #3c352d;
  font-weight: 700;
}

.shift-grid-table__employee-name {
  font-size: 0.94rem;
  font-weight: 700;
  color: #2f281f;
}

.shift-grid-table__employee-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.shift-grid-table__staff-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.shift-grid-table__employee-meta {
  margin-top: 0.2rem;
  font-size: 0.76rem;
  color: #7d7163;
  font-weight: 500;
}

.shift-grid-table__employee-summary {
  margin-top: 0.22rem;
  font-size: 0.72rem;
  color: #66584a;
  line-height: 1.35;
}

.shift-grid-table__employee-actions {
  display: flex;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.shift-grid-table__employee-actions .button_to,
.shift-grid-table__header-actions .button_to {
  display: inline-flex;
  margin: 0;
}

.shift-grid-table__header-actions {
  display: flex;
  gap: 0.35rem;
}

.shift-icon-button {
  border: 1px solid rgba(30, 27, 24, 0.2);
  background: #fff;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.shift-icon-button svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-dark);
}

.shift-icon-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(24, 20, 16, 0.12);
}

.shift-grid-cell {
  min-width: 145px;
  height: 96px;
  padding: 0.4rem;
  background: #fffdf9;
}

.shift-grid-cell--notes {
  background: #fcf8f3;
}

.shift-grid-cell__day-note-form .field {
  margin-bottom: 0.4rem;
}

.shift-grid-cell__week-note-form .field {
  margin-bottom: 0.4rem;
}

.shift-grid-cell__day-note-form label {
  font-size: 0.66rem;
}

.shift-grid-cell__week-note-form label {
  font-size: 0.66rem;
}

.shift-grid-cell__day-note-form textarea {
  padding: 0.35rem 0.45rem;
  font-size: 0.78rem;
}

.shift-grid-cell__week-note-form textarea {
  padding: 0.35rem 0.45rem;
  font-size: 0.78rem;
}

.note-save-button {
  border: 1px solid #8bbf8f;
  background: #eef8ef;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.note-save-button svg {
  width: 12px;
  height: 12px;
  fill: #26672c;
}

.note-save-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 12px rgba(22, 18, 14, 0.12);
}

.note-save-button.is-clean {
  border-color: #84b689;
  background: #edf8ee;
}

.note-save-button.is-clean svg {
  fill: #2d7a33;
}

.note-save-button.is-dirty {
  border-color: #d17070;
  background: #fdecec;
}

.note-save-button.is-dirty svg {
  fill: #a23030;
}

.note-save-button.is-saving {
  border-color: #cfb17e;
  background: #fff5e6;
}

.note-save-button.is-saving svg {
  fill: #8a5f21;
}

.shift-grid-cell__note-status {
  margin: 0.2rem 0 0;
  font-size: 0.68rem;
  color: #5f7c62;
}

.shift-grid-cell__note-status.is-error {
  color: #9b3737;
}

.shift-grid-cell--unavailable {
  background: #fcf8f9;
}

.shift-grid-cell__stack {
  display: grid;
  gap: 0.35rem;
}

.shift-grid-cell__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  width: 100%;
  border-radius: 10px;
  border: 1px dashed #dbcdbd;
  color: #9a7a56;
  font-size: 0.82rem;
  font-weight: 600;
}

.shift-grid-cell__add:hover {
  border-color: #b98a54;
  color: #7e5630;
  background: #fff7ec;
}

.shift-grid-cell__unavailable {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d9ced2;
  color: #7d6670;
  font-size: 0.8rem;
  font-weight: 600;
  background: repeating-linear-gradient(
    -45deg,
    #f4edf0,
    #f4edf0 10px,
    #f9f4f6 10px,
    #f9f4f6 20px
  );
}

.day-shift-wrap {
  overflow-x: auto;
}

.day-shift-axis {
  margin-left: 220px;
  margin-bottom: 0.45rem;
  position: relative;
  height: 18px;
  color: #7b6f61;
  font-size: 0.72rem;
  letter-spacing: 0.4px;
}

.day-shift-axis span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}

.day-shift-axis span:nth-child(1) {
  left: 0%;
  transform: none;
}

.day-shift-axis span:nth-child(2) {
  left: 25%;
}

.day-shift-axis span:nth-child(3) {
  left: 50%;
}

.day-shift-axis span:nth-child(4) {
  left: 75%;
}

.day-shift-axis span:nth-child(5) {
  left: 100%;
  transform: translateX(-100%);
}

.day-shift-table {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
}

.day-shift-table th,
.day-shift-table td {
  border: 1px solid #e5ddd2;
  vertical-align: middle;
  background: #fff;
}

.day-shift-table td {
  padding: 0;
}

.day-shift-table__employee-col {
  width: 220px;
  min-width: 220px;
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fdfaf5;
  text-align: left;
  padding: 0.75rem;
}

.day-shift-lane {
  position: relative;
  height: 64px;
  background: repeating-linear-gradient(
    to right,
    #fffdf9,
    #fffdf9 calc(100% / 12 - 1px),
    #f0e5d6 calc(100% / 12 - 1px),
    #f0e5d6 calc(100% / 12)
  );
}

.shift-block {
  position: relative;
  border: 1px solid #d6c1a4;
  background: linear-gradient(180deg, #fcf4e7 0%, #f7ead7 100%);
  color: #33271a;
  width: 100%;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  padding: 0.45rem 0.5rem;
  display: grid;
  gap: 0.2rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shift-block--draft {
  border-color: #c18a49;
  background: linear-gradient(180deg, #fff5e5 0%, #fbe9cc 100%);
}

.shift-block--approved {
  border-color: #6b9d73;
  background: linear-gradient(180deg, #eff9ef 0%, #deefde 100%);
}

.daily-shift-block {
  position: absolute;
  left: var(--day-shift-left);
  width: var(--day-shift-width);
  top: 8px;
  bottom: 8px;
  min-width: 70px;
  padding: 0.35rem 1rem;
  align-content: center;
}

.daily-shift-block.is-dragging {
  box-shadow: 0 12px 18px rgba(59, 39, 17, 0.22);
}

.daily-shift-handle {
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(141, 88, 44, 0.55);
  cursor: ew-resize;
}

.daily-shift-handle--start {
  left: -5px;
}

.daily-shift-handle--end {
  right: -5px;
}

.shift-block:hover,
.shift-block:focus-visible {
  border-color: #af7a40;
  box-shadow: 0 8px 16px rgba(59, 39, 17, 0.14);
  outline: none;
}

.shift-block__time {
  font-size: 0.81rem;
  font-weight: 700;
  line-height: 1.1;
}

.shift-block__location {
  font-size: 0.73rem;
  color: #72593f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shift-block__duration {
  font-size: 0.72rem;
  color: #5f4f3e;
  font-weight: 600;
}

.shift-block__designations {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  margin-top: 0.1rem;
  max-width: calc(100% - 52px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shift-block__designation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shift-block__status-badge {
  position: absolute;
  top: 6px;
  right: 8px;
  border-radius: 999px;
  border: 1px solid #d5b487;
  background: #fdf2de;
  color: #7f551f;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.12rem 0.32rem;
}

.shift-block--approved .shift-block__status-badge {
  border-color: #8cbb93;
  background: #e7f6e8;
  color: #2f6640;
}

.daily-shift-block .shift-block__status-badge {
  top: 5px;
  right: 8px;
}

.daily-shift-block .shift-block__designations {
  position: absolute;
  top: 6px;
  right: 34px;
  margin-top: 0;
  max-width: none;
}

.shift-popover {
  position: fixed;
  z-index: 220;
  width: min(420px, calc(100vw - 24px));
  background: #fff;
  border: 1px solid #d8cdbf;
  border-radius: 14px;
  box-shadow: 0 26px 42px rgba(16, 13, 9, 0.24);
  padding: 0.9rem;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.shift-popover.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.shift-popover__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}

.shift-popover__heading {
  display: grid;
  gap: 0.2rem;
}

.shift-popover__heading h3 {
  margin: 0;
  font-size: 1rem;
}

.shift-popover__heading p {
  margin: 0;
  font-size: 0.82rem;
  color: #72685d;
}

.shift-popover__close {
  border: 1px solid #d8cdbf;
  background: #fff8ef;
  color: #5c4c3d;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  line-height: 1;
  font-size: 1.05rem;
  cursor: pointer;
}

.shift-popover__close:hover,
.shift-popover__close:focus-visible {
  border-color: #bda58b;
  background: #fdf2e4;
  outline: none;
}

.shift-popover__meta {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  font-size: 0.78rem;
  color: #5b5043;
}

.shift-popover__status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #d9c7b0;
  padding: 0.08rem 0.52rem;
  background: #fdf7ef;
}

.shift-popover__timeline {
  margin-top: 0.65rem;
}

.shift-popover__location-field {
  margin-top: 0.55rem;
}

.shift-popover__notes-field {
  margin-top: 0.55rem;
}

.shift-popover__notes-field label {
  font-size: 0.68rem;
}

.shift-popover__notes-field textarea {
  margin-top: 0.2rem;
  font-size: 0.84rem;
  padding: 0.45rem 0.55rem;
  resize: vertical;
}

.shift-popover__notes-field .button {
  margin-top: 0.3rem;
}

.shift-popover__location-field label {
  font-size: 0.68rem;
}

.shift-popover__location-field select {
  margin-top: 0.2rem;
  font-size: 0.86rem;
  padding: 0.45rem 0.55rem;
}

.shift-popover__timeline-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  letter-spacing: 0.3px;
  color: #8a7c6e;
  margin-bottom: 0.25rem;
}

.shift-popover__track {
  height: 42px;
  border-radius: 12px;
  border: 1px solid #dccfc0;
  background: repeating-linear-gradient(
    to right,
    #f8f2ea,
    #f8f2ea calc(25% - 1px),
    #eadfce calc(25% - 1px),
    #eadfce 25%
  );
  position: relative;
}

.shift-popover__range {
  position: absolute;
  top: 5px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(180deg, #e48646 0%, #c9692d 100%);
  box-shadow: 0 8px 14px rgba(139, 77, 32, 0.35);
}

.shift-popover__handle {
  position: absolute;
  top: -2px;
  width: 12px;
  height: 34px;
  border: 1px solid #9d5626;
  background: #fff;
  border-radius: 999px;
  cursor: ew-resize;
  padding: 0;
}

.shift-popover__handle--start {
  left: -6px;
}

.shift-popover__handle--end {
  right: -6px;
}

.shift-popover.is-dragging .shift-popover__range {
  box-shadow: 0 10px 18px rgba(139, 77, 32, 0.42);
}

.shift-popover__message {
  margin: 0.55rem 0 0;
  font-size: 0.76rem;
}

.shift-popover__message.is-error {
  color: #b0382f;
}

.shift-popover__actions {
  margin-top: 0.45rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .shift-grid-table {
    min-width: 860px;
  }

  .shift-grid-table__employee-col {
    width: 180px;
    min-width: 180px;
  }

  .day-shift-axis {
    margin-left: 180px;
  }

  .day-shift-table__employee-col {
    width: 180px;
    min-width: 180px;
  }
}

.admin-subpanel {
  border: 1px solid #e8e1d8;
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #fcfaf7;
}

.admin-subpanel:last-child {
  margin-bottom: 0;
}

.admin-subpanel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.admin-subpanel-header h3 {
  margin: 0;
  font-size: 1rem;
}

.inline-select {
  width: 100%;
  min-width: 130px;
  padding: 0.35rem 0.45rem;
  border: 1px solid #d6cfc5;
  border-radius: 8px;
  background: #fff;
  font-size: 0.85rem;
}

.button-inline {
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
}

.inventory-counts {
  display: grid;
  gap: 1.5rem;
}

.inventory-count-summary {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #4c453f;
  margin-top: 0.6rem;
}

.inventory-count-summary strong {
  font-weight: 600;
}

.inventory-location {
  background: #f8f5f0;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  border: 1px solid #e7ded4;
}

.inventory-location-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-left: calc(var(--location-depth, 0) * 1.25rem);
}

.inventory-location-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.inventory-list {
  display: grid;
  gap: 1rem;
}

.inventory-row {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0;
  border: 1px solid #e9e0d6;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 0;
}

.inventory-row--fresh {
  background: #f3faf2;
  border-color: #dbe8d8;
}

.inventory-row--stale {
  background: #fff8e3;
  border-color: #f0e2be;
}

.inventory-row.is-hidden {
  display: none;
}

.inventory-meta h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.inventory-location-selector {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.8rem;
}

.inventory-location-selector select {
  padding: 0.25rem 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: white;
  font-size: inherit;
  min-width: 120px;
}

.inventory-meta {
  position: relative;
  padding: 1rem 1rem 0;
  padding-right: 130px; /* Make room for the location selector */
  grid-column: 2;
}

.inventory-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: #4c453f;
}

.inventory-form {
  display: grid;
  gap: 0.6rem;
  padding: 0 1rem 1rem;
  grid-column: 2;
}

.inventory-photo-rail {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 100%;
  background: #f1ebe1;
  border-right: 1px solid #e2d8ca;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

.inventory-photo-rail__image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.inventory-photo-rail__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: #72695f;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.inventory-keypad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.inventory-column {
  background: #f7f3ed;
  border-radius: var(--radius-sm);
  padding: 0.7rem;
  border: 1px solid #e6ddd2;
  display: grid;
  gap: 0.5rem;
}

.inventory-column-label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.7rem;
  color: #736b62;
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
}

.inventory-buttons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
}

.inventory-button {
  border: 1px solid #d7cfc5;
  background: #fff;
  border-radius: 10px;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #403a35;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.inventory-button:hover {
  transform: translateY(-1px);
  border-color: #c5b9ad;
}

.inventory-button.is-selected {
  background: #3d4b47;
  color: #f7f4ef;
  border-color: #2f3a36;
}

/* .inventory-location.is-empty {
  display: none;
} */

.inventory-filter {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  background: #ffffff;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  border: 1px solid #e2d8cc;
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.15);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 120;
}

.inventory-filter-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6f6760;
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
}

.inventory-filter input {
  border: none;
  background: transparent;
  padding: 0.2rem 0;
  min-width: 180px;
  font-size: 0.95rem;
}

.inventory-filter input:focus {
  outline: none;
}

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

  .inventory-photo-rail {
    grid-column: 1;
    grid-row: 1;
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid #e2d8ca;
  }

  .inventory-meta,
  .inventory-form {
    grid-column: 1;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .inventory-meta {
    padding-top: 0.9rem;
  }

  .inventory-form {
    padding-bottom: 0.9rem;
  }

  .inventory-keypad {
    grid-template-columns: 1fr;
  }

  .inventory-buttons {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }

  .inventory-filter {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    border-radius: var(--radius-lg);
    justify-content: space-between;
  }

  .inventory-filter input {
    min-width: 0;
    flex: 1;
  }
}

.admin-list {
  display: grid;
  gap: 0.75rem;
}

.admin-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid #e8e0d6;
  background: #faf8f4;
}

.admin-list-row--nested {
  margin-left: 1.5rem;
  background: #f7f4ef;
}

.admin-list-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.admin-filter-form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
}

.admin-filter-form select {
  min-width: 280px;
}

.category-product-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-product-list.is-saved {
  box-shadow: 0 0 0 2px rgba(36, 120, 76, 0.2);
}

.category-product-list.is-error {
  box-shadow: 0 0 0 2px rgba(165, 58, 43, 0.2);
}

.category-product-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid #e8e0d6;
  background: #faf8f4;
}

.category-product-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid rgba(44, 40, 35, 0.12);
}

.category-product-thumb.placeholder {
  display: inline-block;
  background: linear-gradient(135deg, #f7eee5 0%, #e7d8c5 100%);
}

.drag-handle {
  cursor: grab;
  font-size: 1.1rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid #e0d6c9;
  background: #fff;
}

.drag-handle:active {
  cursor: grabbing;
}

.icon-button {
  border: 1px solid #e2d9ce;
  background: #fffaf3;
  color: #5a5147;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.icon-button:hover {
  border-color: #c9bfb3;
  color: #3f352b;
  transform: translateY(-1px);
}

.admin-panel h2 {
  margin-top: 0;
}

.slideout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 20, 16, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 40;
}

.slideout-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-shadow: -18px 0 40px rgba(20, 20, 20, 0.2);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 50;
}

.slideout-open .slideout-overlay {
  opacity: 1;
  pointer-events: auto;
}

.slideout-open .slideout-panel {
  transform: translateX(0);
}

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

.slideout-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.slideout-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid #efe7dd;
  gap: 1rem;
}

.category-product-result {
  align-items: flex-start;
}

.category-product-result-details {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.category-product-result-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid rgba(44, 40, 35, 0.12);
  background: #f5efe6;
}

.category-product-result-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.checkbox-group {
  display: grid;
  gap: 0.5rem;
  padding: 0.4rem 0;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.inquiry-form-block {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(44, 40, 35, 0.08);
  margin: 2.5rem 0;
  box-sizing: border-box;
}

.trix-content .inquiry-form-block {
  padding: 2.5rem !important;
  margin: 2.5rem 0 !important;
}

.inquiry-form {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.inquiry-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

.inquiry-form .field {
  margin-bottom: 0;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  background: #fffaf4;
  border: 1px solid rgba(44, 40, 35, 0.18);
  box-shadow: 0 1px 0 rgba(44, 40, 35, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  padding: 0.9rem 1rem;
  min-height: 48px;
}

.trix-content .inquiry-form input,
.trix-content .inquiry-form select,
.trix-content .inquiry-form textarea {
  padding: 0.9rem 1rem !important;
  min-height: 48px;
}

.inquiry-form textarea {
  min-height: 140px;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: rgba(35, 64, 57, 0.5);
  box-shadow: 0 0 0 3px rgba(35, 64, 57, 0.12);
}

.inquiry-form .checkbox-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--forest);
}

.inquiry-form .inline-field {
  align-items: center;
}

.inquiry-form .form-actions {
  margin-top: 0.5rem;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.slideout-list li:last-child {
  border-bottom: 0;
}

.slideout-empty {
  color: #6b645c;
}

.variant-card {
  border: 1px solid #e4ddd2;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
  background: #faf8f5;
}

.variant-card .alert {
  margin-bottom: 1rem;
}

.variant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.variant-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.variant-info strong {
  display: block;
}

.variant-thumb.placeholder {
  background: #efe8dd;
  border: 1px dashed rgba(44, 40, 35, 0.2);
}

.variant-header .form-note {
  margin: 0;
}

.variant-header button.text-link {
  border: none;
  background: transparent;
  font-weight: 600;
}

.inline-label {
  margin-left: 0.4rem;
  font-size: 0.9rem;
  color: #5b5650;
}

.inline-field {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.inline-field input[type="checkbox"] {
  margin: 0;
}

.field-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b6259;
  font-weight: 600;
}

.variant-options {
  align-items: start;
}

.option-group {
  border: 1px solid #e4ddd2;
  border-radius: var(--radius-sm);
  padding: 0.8rem;
  margin: 0;
}

.option-group legend {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b6259;
  font-weight: 600;
  padding: 0 0.4rem;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.option-item input {
  margin: 0;
}

.remove-option {
  margin-top: 1rem;
}


.inline-field {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.inline-field input[type="checkbox"] {
  margin: 0;
}

.inline-field input[type="radio"] {
  margin: 0;
}

.field-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b6259;
  font-weight: 600;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.9rem 0.6rem;
  border-bottom: 1px solid #eee8df;
}

.admin-table input[type="time"] {
  min-width: 140px;
}

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

.admin-actions form {
  display: inline;
}

.admin-actions .text-link {
  border: none;
  background: transparent;
  padding: 0;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat {
  background: #f8f4ee;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  display: grid;
  gap: 0.4rem;
}

.admin-stat strong {
  font-size: 1.8rem;
}

.admin-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 0;
}

.admin-details dt {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  color: #6b635b;
}

.admin-details dd {
  margin: 0.3rem 0 0;
  font-weight: 600;
}

.admin-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.admin-two-col h2 {
  margin-bottom: 0.5rem;
}

.admin-divider {
  height: 1px;
  background: #eee8df;
  margin: 2rem 0;
}

.admin-total {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
}

.admin-note-block {
  margin-bottom: 1.25rem;
}

.admin-note-block:last-child {
  margin-bottom: 0;
}

.admin-auth {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
}

.admin-auth-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  width: min(420px, 100%);
  box-shadow: 0 20px 50px rgba(20, 20, 20, 0.18);
}

.admin-auth-card h1 {
  margin-bottom: 0.5rem;
}

.admin-auth-card p {
  margin-bottom: 1.5rem;
  color: #5b5650;
}

.admin-auth-body .field label,
.admin-body .field label {
  font-family: "Manrope", "Helvetica Neue", sans-serif;
}

.admin-body input,
.admin-body select,
.admin-body textarea,
.admin-auth-body input,
.admin-auth-body select,
.admin-auth-body textarea {
  font-family: "Manrope", "Helvetica Neue", sans-serif;
}

.admin-page p,
.admin-dashboard p {
  color: #5b5650;
}

.phone-order-panel {
  padding: 2rem;
}

.phone-order-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.phone-order-top-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 1.5rem;
}

.phone-order-products {
  margin-top: 2rem;
}

.phone-order-results {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.phone-order-result {
  border: 1px solid #e1dad0;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  background: #fff;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
}

.phone-order-result:hover {
  border-color: #cbbcad;
  background: #fdfaf6;
}

.phone-order-product-card {
  border: 1px solid #e7ded2;
  border-radius: var(--radius-md);
  background: #fdfaf7;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.phone-order-product-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.phone-order-variant-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(224, 214, 200, 0.6);
}

.phone-order-variant-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.phone-order-variant-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.phone-order-quantity {
  width: 70px;
}

.phone-order-cart {
  background: #fdfbf8;
  border-radius: var(--radius-md);
  border: 1px solid #e5ded3;
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.phone-order-submit {
  margin-top: 1.5rem;
  justify-content: flex-end;
}

.phone-order-cart-header h3 {
  margin-bottom: 0.25rem;
}

.phone-order-cart-table {
  margin-top: 0.5rem;
}

.phone-order-cart-table td {
  vertical-align: top;
}

.phone-order-addon-list {
  margin-top: 0.4rem;
  color: #6a6157;
  font-size: 0.9rem;
  display: grid;
  gap: 0.2rem;
}

.phone-order-addon-trigger {
  margin-top: 0.35rem;
}

.addon-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 80;
}

.addon-modal.is-open {
  display: block;
}

.addon-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 12, 0.5);
}

.addon-modal-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: min(880px, 92vw);
  max-height: 85vh;
  overflow: auto;
  margin: 6vh auto 0;
  box-shadow: 0 30px 60px rgba(12, 10, 8, 0.25);
}

.addon-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.addon-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.addon-modal-card-item {
  border: 1px solid #e7ded2;
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: #fdfaf7;
  display: grid;
  gap: 0.75rem;
}

.phone-order-quantity-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.phone-order-cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  padding-top: 0.5rem;
  border-top: 1px solid #e2d9cd;
}

.phone-order-empty {
  color: #6b645c;
}

@media (max-width: 900px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-mobile-menu-toggle {
    display: inline-flex;
    position: fixed;
    top: 0.85rem;
    left: 0.9rem;
    z-index: 95;
    box-shadow: 0 10px 24px rgba(26, 19, 13, 0.18);
  }

  .admin-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 11, 8, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    z-index: 89;
    border: 0;
    padding: 0;
  }

  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(82vw, 320px);
    max-width: 100%;
    height: 100vh;
    z-index: 90;
    overflow-y: auto;
    transform: translateX(-104%);
    transition: transform 0.2s ease;
    padding-top: 3.9rem;
  }

  .admin-shell.is-nav-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-shell.is-nav-open .admin-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-body.admin-nav-open {
    overflow: hidden;
  }

  .admin-footer {
    margin-top: 0;
    margin-left: 0;
  }

  .admin-footer .button_to {
    width: 100%;
  }

  .admin-logout {
    width: 100%;
  }

  .admin-main {
    padding: 4.2rem 1rem 2rem;
  }

  .users-profile-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .phone-order-top-grid {
    grid-template-columns: 1fr;
  }
}

.confirmation {
  padding: 4rem 6vw 6rem;
  display: flex;
  justify-content: center;
}

.confirmation-card {
  background: rgba(255, 255, 255, 0.86);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  max-width: 720px;
}

.confirmation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.confirmation-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-index,
.blog-index,
.page-show,
.blog-show {
  padding: 3.5rem 6vw 5rem;
}

.page-header {
  margin-bottom: 2.5rem;
}

.page-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.page-card,
.blog-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  border: 1px solid rgba(44, 40, 35, 0.08);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 18px 40px rgba(22, 19, 16, 0.08);
}

.page-card.featured {
  background: linear-gradient(140deg, #fdf8f2 0%, #f1e3d4 100%);
}

.page-card-meta,
.blog-meta {
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  font-size: 0.85rem;
  color: #6a6259;
}

.blog-excerpt {
  color: #4a433b;
  margin-bottom: 0.5rem;
}

.page-body {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--clay);
  color: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
}


.storefront-footer {
  padding: 3.5rem 6vw 4rem;
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(44, 40, 35, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer-grid h2,
.footer-grid h3 {
  margin-bottom: 0.75rem;
}

.footer-grid a {
  color: var(--accent-dark);
}

.footer-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
  font-size: 0.9rem;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
  font-family: "Work Sans", "Helvetica Neue", sans-serif;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-self: start;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid rgba(44, 40, 35, 0.12);
}

.footer-map {
  margin-top: 0.75rem;
}

.footer-map iframe {
  width: 100%;
  height: 240px;
  max-height: 260px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(24, 20, 16, 0.12);
  display: block;
}

.footer-seo p {
  max-width: 900px;
}

.link-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.copy-text {
  cursor: pointer;
  transition: color 0.2s ease;
}

.copy-text:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.link-copy a {
  word-break: break-all;
}

.copy-button {
  border: 1px solid rgba(30, 27, 24, 0.2);
  background: #fff;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.copy-button svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-dark);
}

.copy-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(24, 20, 16, 0.12);
}

.copy-button.copied {
  background: var(--accent);
  border-color: transparent;
}

.copy-button.copied svg {
  fill: var(--dust);
}

.trix-content {
  line-height: 1.7;
}

.trix-content h1,
.trix-content h2,
.trix-content h3 {
  margin-top: 1.8rem;
}

.trix-content a {
  color: var(--accent-dark);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-classic {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-header {
    grid-template-columns: 1fr;
  }

  .category-hero {
    max-width: 100%;
  }

  .home-category-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-products {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    border-radius: var(--radius-md);
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .storefront-hero {
    padding: 1.6rem 6vw 2.4rem;
  }

  .hero-actions,
  .confirmation-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-actions {
    flex-wrap: wrap;
  }
}

.orders-assignment-board {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(31, 29, 26, 0.14);
  border-radius: 12px;
  background: #faf9f6;
}

.orders-assignment-board__header {
  margin-bottom: 0.75rem;
}

.orders-assignment-board__header h2 {
  margin-bottom: 0.25rem;
}

.orders-assignment-board__lanes {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  min-width: 0;
  max-width: 100%;
}

.orders-assignment-day-group {
  grid-column: auto;
  margin-top: 0.25rem;
  min-width: 0;
  max-width: 100%;
}

.orders-assignment-day-group h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.orders-assignment-date-picker {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.orders-assignment-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

.orders-assignment-stack {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
  max-width: 100%;
}

.orders-assignment-queue-lane .orders-assignment-lane__cards {
  max-height: 72vh;
  overflow-y: auto;
  padding-right: 0.15rem;
}

.orders-assignment-queue-lane--top .orders-assignment-lane__cards {
  max-height: none;
  overflow-y: visible;
  padding-right: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 0.6rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  align-items: start;
  padding-bottom: 0.2rem;
}

@media (max-width: 1100px) {
  .orders-assignment-layout {
    grid-template-columns: 1fr;
  }

  .orders-assignment-queue-lane .orders-assignment-lane__cards {
    max-height: none;
    overflow: visible;
  }

  .orders-assignment-queue-lane--top .orders-assignment-lane__cards {
    grid-auto-flow: row;
    grid-auto-columns: unset;
    overflow-x: visible;
  }
}

.orders-assignment-lane {
  border: 1px solid rgba(31, 29, 26, 0.18);
  border-radius: 10px;
  background: #fff;
  padding: 0.75rem;
  min-height: 180px;
  min-width: 0;
  max-width: 100%;
}

.orders-assignment-lane__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.orders-assignment-lane__header h3 {
  margin: 0;
  font-size: 0.98rem;
}

.orders-assignment-lane__header span {
  font-size: 0.85rem;
  color: #4e4a43;
}

.orders-assignment-lane__cards {
  display: grid;
  gap: 0.5rem;
  min-height: 80px;
  min-width: 0;
  max-width: 100%;
}

.line-item-card {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px solid rgba(31, 29, 26, 0.15);
  border-radius: 8px;
  background: #fcfbf8;
  padding: 0.45rem 0.5rem;
  min-width: 0;
}

.line-item-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.line-item-card > div {
  min-width: 0;
}

.line-item-card-handle {
  border: 0;
  background: transparent;
  color: #6f6961;
  cursor: grab;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0;
  min-width: 20px;
}

.line-item-card-unassign {
  margin-left: auto;
  border: 1px solid #e7c8c8;
  background: #fff6f6;
  color: #8f1f1f;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.line-item-card-unassign:hover {
  border-color: #d99d9d;
  color: #7a1c1c;
}

.line-item-card-unassign:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.assignment-notifications {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: grid;
  gap: 0.55rem;
  z-index: 1200;
  width: min(360px, calc(100vw - 2rem));
}

.assignment-notification {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.18);
}

.assignment-notification.is-success {
  background: #ecfdf3;
  border-color: #7fd7a8;
  color: #155a37;
}

.assignment-notification.is-error {
  background: #fff2f2;
  border-color: #f0b5b5;
  color: #8f1f1f;
}

.assignment-notification__text {
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 600;
}

.assignment-notification__dismiss {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem;
}

.daily-ops-blockers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.daily-ops-blocker {
  border: 1px solid rgba(180, 91, 63, 0.35);
  border-radius: 10px;
  background: #fff7f3;
  padding: 0.65rem 0.7rem;
  display: grid;
  gap: 0.2rem;
}

.daily-ops-blocker strong {
  font-size: 1.15rem;
}

.audit-stats-grid {
  margin-top: 1.2rem;
  margin-bottom: 1.4rem;
}

.audit-filter-wrap {
  position: sticky;
  top: 0.8rem;
  z-index: 30;
  background: #fff;
  border: 1px solid #ece4d9;
  border-radius: 12px;
  padding: 0.85rem;
  margin-bottom: 1rem;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.08);
}

.audit-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.audit-preset-chips {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.audit-log-list {
  display: grid;
  gap: 0.85rem;
}

.audit-log-row {
  border: 1px solid #e7dfd4;
  border-radius: 12px;
  background: #fcfbf8;
  padding: 0.85rem 1rem;
}

.audit-log-row__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.7rem;
}

.audit-log-row__meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.audit-log-row__meta strong {
  font-size: 0.95rem;
}

.audit-log-row time {
  color: #6b635a;
  font-size: 0.82rem;
  white-space: nowrap;
}

.audit-log-row__summary {
  margin-top: 0.55rem;
}

.audit-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.14rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  background: #ece8e1;
  color: #4e473f;
}

.audit-pill--create {
  background: #e5f5eb;
  color: #205a36;
}

.audit-pill--update {
  background: #e9f1fb;
  color: #254f7f;
}

.audit-pill--destroy {
  background: #fdebec;
  color: #8f2f35;
}

.audit-pill--login,
.audit-pill--logout {
  background: #f1edff;
  color: #4d3c86;
}

.audit-field-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.audit-field-chip {
  border: 1px solid #ddd4c8;
  background: #fff;
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0.13rem 0.45rem;
  color: #5a5248;
}

.audit-log-row__details {
  margin-top: 0.6rem;
}

.audit-log-row__details summary {
  cursor: pointer;
  color: #3a6255;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.audit-diff-table {
  margin-top: 0.3rem;
}

.audit-diff-table code {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.8rem;
  background: #f7f4ee;
  border-radius: 6px;
  padding: 0.15rem 0.35rem;
  display: inline-block;
  max-width: 100%;
}

.material-photo-preview {
  display: inline-flex;
  align-items: center;
}

.material-photo-thumb {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e5ddd2;
  background: #f7f4ee;
}

.material-photo-thumb--small {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.material-photo-thumb--tiny {
  width: 52px;
  height: 52px;
  border-radius: 8px;
}

.inventory-material-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

@media (max-width: 900px) {
  .audit-filter-wrap {
    position: static;
  }

  .audit-filter-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}
