:root {
  --accent: #16def2;
  --ink: #111111;
  --paper: #ffffff;
  --muted: #646464;
  --line: #dedede;
  --danger: #a61f2b;
  --soft: #f6f7f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 2rem + 1vw, 3.25rem);
  margin: 0 0 0.7rem;
}

h2 {
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
}

p {
  margin: 0 0 1rem;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.65rem clamp(1rem, 4vw, 3rem);
  background: var(--ink);
  color: var(--paper);
  border-bottom: 4px solid var(--accent);
}

.brand img {
  width: 92px;
  height: 76px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  font-weight: 700;
}

.left-nav {
  justify-content: flex-start;
}

.right-nav {
  justify-content: flex-end;
}

.site-nav a,
.link-button {
  color: var(--paper);
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0.35rem;
}

.cart-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  min-height: 1.5rem;
  border-radius: 99px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.85rem;
  margin-left: 0.2rem;
}

main {
  min-height: 72vh;
}

.intro-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2rem, 7vw, 5rem) clamp(1rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.intro-band > div,
.catalog-section,
.product-detail,
.cart-page,
.checkout-page,
.admin-page,
.narrow {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.intro-band p {
  max-width: 680px;
  color: #e9e9e9;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.82rem;
}

.catalog-section,
.cart-page,
.checkout-page,
.admin-page,
.narrow {
  padding: clamp(1.5rem, 5vw, 3.5rem) 0;
}

.section-heading {
  margin-bottom: 1.4rem;
}

.section-heading-with-action {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

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

.product-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
}

.product-image {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--soft);
}

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

.product-card-body {
  padding: 1rem;
}

.card-row,
.summary-panel > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
}

.status-chip,
.notice,
.error {
  display: inline-block;
  border-radius: 99px;
  padding: 0.35rem 0.65rem;
  font-weight: 700;
}

.status-chip {
  background: var(--soft);
  color: var(--muted);
}

.notice {
  background: #defcff;
  margin: 1rem auto;
  width: min(1120px, calc(100% - 2rem));
}

.error {
  background: #ffe2e5;
  color: var(--danger);
  margin-bottom: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  padding: 0.65rem 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.button.secondary {
  background: var(--paper);
  color: var(--ink);
}

.button.danger {
  background: var(--paper);
  color: var(--danger);
  border-color: var(--danger);
}

.button.full {
  width: 100%;
}

.button.mini {
  min-height: 34px;
  padding: 0.4rem 0.7rem;
  font-size: 0.86rem;
}

.dark-store-body,
.dark-store-body main {
  background: #050505;
  color: #eeeeee;
}

.dark-store-body .site-header {
  border-bottom: 1px solid #1e1e1e;
}

.shop-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 6vw, 4rem) 0;
}

.category-sidebar {
  display: grid;
  align-content: start;
  gap: 1.2rem;
  color: #cfcfcf;
  font-size: 1.15rem;
}

.category-link {
  text-decoration: none;
}

.category-link.active {
  color: var(--accent);
  font-weight: 800;
}

.shop-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.shop-heading h1 {
  color: #eeeeee;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.35rem);
  font-weight: 600;
}

.shop-heading span {
  color: #9a9a9a;
  font-size: 1.05rem;
}

.shop-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: min(430px, 100%);
}

.shop-search input {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  border: 1px solid #333333;
  border-radius: 4px;
  background: #080808;
  color: #eeeeee;
  padding: 0.55rem 0.7rem;
}

.shop-search input::placeholder {
  color: #8c8c8c;
}

.shop-search .button {
  min-height: 42px;
}

.shop-search-clear {
  color: #a8a8a8;
  text-decoration: none;
  font-weight: 700;
}

.shop-search-summary {
  margin: -0.25rem 0 0;
  color: #9a9a9a;
}

.shop-search-summary strong {
  color: #eeeeee;
}

.shop-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2rem);
}

.shop-product-card {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  color: #d8d8d8;
}

.shop-product-image {
  aspect-ratio: 1 / 1;
  background: #0a0a0a;
}

.shop-product-image img {
  object-fit: contain;
}

.shop-product-body {
  padding: 0.9rem 0 0;
}

.shop-product-body h2 {
  margin-bottom: 0.7rem;
  color: #e5e5e5;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
}

.shop-product-body h2 a,
.more-options {
  text-decoration: none;
}

.shop-product-body .eyebrow {
  color: #898989;
}

.shop-product-body .card-row {
  justify-content: start;
  margin: 0 0 0.8rem;
  color: #d6d6d6;
}

.color-dots {
  display: flex;
  gap: 0.45rem;
  min-height: 24px;
  margin-bottom: 0.75rem;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--swatch);
  border: 1px solid #d5d5d5;
}

.more-options,
.shop-empty {
  color: #9f9f9f;
}

.dark-store-body .detail-panel,
.dark-store-body .summary-panel {
  border-color: #2b2b2b;
  background: #101010;
  color: #eeeeee;
}

.dark-store-body .carousel .slides,
.dark-store-body .thumbs button,
.dark-store-body .field-group,
.dark-store-body input,
.dark-store-body select,
.dark-store-body textarea {
  border-color: #333333;
  background: #080808;
  color: #eeeeee;
}

.dark-store-body .carousel .slides {
  background: #050505;
}

.dark-store-body .swatch span {
  border-color: #333333;
  background: #090909;
  color: #eeeeee;
}

.dark-store-body .swatch input:checked + span {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.dark-store-body .option-row span span,
.dark-store-body .cart-item ul {
  color: #a8a8a8;
}

.dark-store-body .total-preview {
  border-top-color: #333333;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(1.25rem, 4vw, 3rem);
  padding: clamp(1.5rem, 5vw, 3.5rem) 0;
}

.carousel .slides {
  aspect-ratio: 1 / 1;
  background: var(--soft);
  border: 1px solid var(--line);
  overflow: hidden;
}

.carousel .slides img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hidden {
  display: none !important;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.thumbs button {
  border: 1px solid var(--line);
  background: var(--paper);
  aspect-ratio: 1;
  padding: 0;
  cursor: pointer;
}

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

.detail-panel,
.summary-panel,
.login-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--paper);
}

.base-price {
  font-size: 1.2rem;
  font-weight: 800;
}

.stacked-form,
.checkout-form {
  display: grid;
  gap: 1rem;
}

.form-help {
  margin: -0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.admin-save-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  padding: 0.75rem;
}

.admin-save-bar .button {
  width: auto;
}

.unsaved-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.58);
}

.unsaved-dialog {
  width: min(440px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  padding: 1.25rem;
}

.unsaved-dialog h2 {
  margin-bottom: 0.5rem;
}

.unsaved-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

label span,
.option-row > span,
legend {
  display: block;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.7rem 0.75rem;
  background: var(--paper);
}

.field-group {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.9rem;
}

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

.swatch {
  display: block;
}

.swatch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.swatch span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin: 0;
}

.swatch span i {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.swatch input:checked + span {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.option-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.option-row[type="checkbox"],
.option-row:has(input[type="checkbox"]) {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.option-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
}

.option-row span span {
  color: var(--muted);
  font-weight: 700;
}

.total-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: 1.2rem;
}

.pickup-only-note {
  display: grid;
  gap: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.85rem 0.95rem;
  background: var(--soft);
}

.pickup-only-note span {
  color: var(--muted);
}

.cart-list {
  display: grid;
  gap: 0.8rem;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem;
}

.cart-item.has-thumb {
  grid-template-columns: 88px minmax(0, 1fr) auto auto;
}

.cart-thumb {
  display: block;
  width: 88px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.quantity-form {
  display: flex;
  align-items: end;
  gap: 0.5rem;
}

.quantity-form input {
  width: 82px;
}

.cart-actions {
  display: grid;
  gap: 0.5rem;
  justify-items: end;
}

.cart-actions form,
.inline-form {
  display: inline;
}

.summary-panel {
  margin-top: 1rem;
  background: var(--soft);
}

.checkout-review {
  width: min(680px, 100%);
  margin-bottom: 1rem;
}

.checkout-review-item {
  grid-template-columns: 88px minmax(0, 1fr) auto;
}

.checkout-line-total {
  display: grid;
  gap: 0.15rem;
  justify-items: end;
}

.checkout-line-total span {
  color: var(--muted);
}

.checkout-form {
  width: min(680px, 100%);
}

.empty-state,
.confirmation,
.login-page {
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1rem;
  background: var(--ink);
  color: var(--paper);
}

.admin-actions,
.admin-split,
.compact-form,
.report-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
}

.admin-split {
  align-items: start;
  justify-content: space-between;
}

.kpi-grid,
.chart-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

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

.chart-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.kpi-card,
.sales-chart {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  padding: 1rem;
}

.kpi-card {
  display: grid;
  gap: 0.35rem;
}

.kpi-card span,
.chart-heading span,
.sales-bar span,
.sales-bar small {
  color: var(--muted);
}

.kpi-card strong {
  font-size: clamp(1.6rem, 1.1rem + 1vw, 2.4rem);
  line-height: 1;
}

.chart-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sales-bars {
  display: flex;
  flex-wrap: nowrap;
  align-items: end;
  gap: 0.65rem;
  min-height: 220px;
  overflow-x: auto;
  padding-bottom: 0.15rem;
}

.sales-bar {
  display: grid;
  grid-template-rows: auto 1fr auto;
  flex: 1 1 0;
  gap: 0.4rem;
  height: 220px;
  min-width: 42px;
  text-align: center;
}

.sales-bar span,
.sales-bar small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
}

.sales-bar i {
  align-self: end;
  display: block;
  height: var(--bar-height);
  min-height: 6px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--accent), #0b9faf);
}

.table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.table-subtle {
  color: var(--muted);
  font-size: 0.92rem;
}

.table-select {
  min-width: 130px;
  padding: 0.45rem 0.55rem;
}

.table-button {
  min-height: 36px;
  padding: 0.35rem 0.8rem;
}

.sort-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

.sort-button::after {
  content: "↕";
  color: var(--muted);
  font-size: 0.8rem;
}

.sort-button.is-sorted[data-direction="asc"]::after {
  content: "↑";
}

.sort-button.is-sorted[data-direction="desc"]::after {
  content: "↓";
}

.table-filter-row th {
  background: var(--paper);
}

.table-filter-row input,
.table-filter-row select {
  min-width: 120px;
  padding: 0.45rem 0.55rem;
}

.table-filter-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.table-filter-actions select {
  flex: 1 1 auto;
}

.featured-inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.featured-inline-form input[type="number"] {
  width: 84px;
  padding: 0.4rem 0.5rem;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
}

.wide-form {
  width: min(720px, 100%);
}

.admin-list {
  display: grid;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.admin-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.45rem 0.75rem;
}

.option-checkbox-group legend {
  margin-bottom: 0;
}

.option-group-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.35rem 0 0.8rem;
}

.settings-option-lists {
  display: grid;
  gap: 1rem;
}

.settings-option-list {
  background: var(--soft);
}

.settings-option-grid,
.product-option-admin-grid,
.personalization-admin-grid {
  display: grid;
  gap: 0.55rem;
}

.option-admin-section-heading {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.option-admin-section-heading + .product-option-admin-row,
.option-admin-section-heading + .personalization-admin-row {
  border-top: 0;
  padding-top: 0;
}

.settings-option-row,
.product-option-admin-row,
.personalization-admin-row {
  display: grid;
  gap: 0.75rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 0.55rem;
}

.settings-option-row {
  grid-template-columns: minmax(0, 1fr) minmax(90px, 120px) auto auto;
}

.settings-option-row-no-required {
  grid-template-columns: minmax(0, 1fr) minmax(90px, 120px) auto;
}

.product-option-admin-row,
.personalization-admin-row {
  grid-template-columns: minmax(0, 1fr) minmax(90px, 120px) auto;
}

.product-option-admin-row-no-required {
  grid-template-columns: minmax(0, 1fr) minmax(90px, 120px);
}

.settings-option-row-simple {
  grid-template-columns: minmax(0, 1fr) auto;
}

.settings-option-list [data-settings-option-add] {
  margin-top: 0.75rem;
}

.settings-option-row:first-child,
.product-option-admin-row:first-child,
.personalization-admin-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.required-toggle {
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.personalization-row em {
  color: var(--accent);
  font-style: normal;
  font-size: 0.82rem;
  margin-left: 0.35rem;
}

.product-form-preview {
  width: min(220px, 100%);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  padding: 0.5rem;
}

.product-form-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.product-image-manager {
  display: grid;
  gap: 0.85rem;
}

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

.product-image-admin-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 96px auto;
  gap: 0.75rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}

.image-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.inline-upload-form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.inline-upload-form label {
  flex: 1 1 280px;
}

.admin-subsection {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

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

.homepage-about-editor {
  display: grid;
  gap: 0.75rem;
}

.homepage-image-preview {
  width: min(220px, 100%);
  min-height: 120px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #111;
  color: var(--muted);
}

.homepage-image-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-image-thumb {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #111;
  aspect-ratio: 1 / 1;
}

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

.primary-image-badge {
  position: absolute;
  left: 0.35rem;
  bottom: 0.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #001014;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.18rem 0.45rem;
  text-transform: uppercase;
}

.image-meta {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.danger-check {
  color: #9f1d1d;
  font-weight: 800;
}

.admin-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-row.compact-form {
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.admin-row img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: var(--soft);
}

.add-row {
  padding: 0.8rem;
  background: var(--soft);
  border-radius: 6px;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-line input {
  width: auto;
}

.login-page {
  display: grid;
  place-items: center;
  min-height: 65vh;
}

.login-card {
  width: min(380px, 100%);
  display: grid;
  gap: 1rem;
}

.login-card img {
  width: 120px;
  margin: 0 auto;
}

.home-body,
.home-body main {
  background: #050505;
  color: #eeeeee;
}

.home-header {
  position: relative;
  background: #050505;
  border-bottom: 0;
  padding-top: 1rem;
  padding-bottom: 0.7rem;
}

.home-header .brand img {
  width: 132px;
  height: 106px;
}

.home-header .site-nav {
  align-self: center;
  color: #f8f8f8;
  font-size: 0.98rem;
}

.home-page {
  overflow: hidden;
  background: #050505;
  color: #e8e8e8;
}

.home-page .notice {
  display: block;
  width: min(760px, calc(100% - 2rem));
  text-align: center;
  color: var(--ink);
}

.home-hero,
.home-buttons,
.home-section,
.home-testimonials {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
}

.home-hero {
  width: 100%;
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  text-align: center;
}

.home-line-title,
.home-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 3vw, 2rem);
  margin: 0 auto clamp(1.4rem, 4vw, 3rem);
  color: #f3f3f3;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.05rem, 1rem + 1.1vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.home-line-title {
  width: min(1180px, calc(100% - 2rem));
}

.home-line-title::before,
.home-line-title::after,
.home-section-title::before,
.home-section-title::after {
  content: "";
  flex: 1 1 80px;
  max-width: 250px;
  border-top: 1px solid #9f9f9f;
}

.home-line-title span,
.home-section-title span {
  max-width: 760px;
}

.home-carousel {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
  overflow: hidden;
}

.home-slides {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.45rem, 1vw, 0.75rem);
  min-height: clamp(260px, 34vw, 440px);
  background: #050505;
}

.home-slides img {
  flex: 0 0 min(54vw, 560px);
  width: min(54vw, 560px);
  height: clamp(240px, 31vw, 420px);
  object-fit: contain;
  background: #090909;
  opacity: 0.36;
  filter: brightness(0.42);
  transition: opacity 280ms ease, filter 280ms ease, transform 280ms ease;
}

.home-slides img.is-active {
  opacity: 1;
  filter: none;
  transform: scale(1);
}

.home-slides img.is-prev,
.home-slides img.is-next {
  transform: scale(0.96);
}

.home-slides img.is-offstage {
  display: none;
}

.home-thumbs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.home-thumbs button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: #555555;
  padding: 0;
  cursor: pointer;
}

.home-thumbs button.is-active {
  background: var(--accent);
}

.home-thumbs img {
  display: none;
}

.home-buttons {
  width: min(900px, calc(100% - 2rem));
  padding: 0 0 clamp(3rem, 7vw, 5rem);
  text-align: center;
}

.home-buttons h1 {
  margin-bottom: 1.7rem;
  color: #f3f3f3;
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.55rem);
}

.home-buttons > div {
  display: grid;
  gap: 0.85rem;
}

.home-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  background: var(--accent);
  color: #050505;
  font-weight: 800;
  text-decoration: none;
}

.home-section {
  padding: clamp(2rem, 6vw, 4.5rem) 0;
  text-align: center;
}

.home-about {
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
  width: min(900px, 100%);
  margin: 0 auto;
}

.home-about-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  text-align: left;
}

.home-about-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.home-about-copy {
  color: #dddddd;
}

.home-about-copy h3,
.home-testimonials h2,
.contact-section h2,
.home-menu-section h2 {
  color: #f4f4f4;
}

.home-about-copy h3 {
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.45rem);
}

.home-about-copy p,
.home-menu-section p {
  color: #cfcfcf;
  font-size: 1.04rem;
}

.home-testimonials {
  padding: clamp(2rem, 6vw, 4.5rem) 0;
  text-align: center;
}

.facebook-card {
  width: min(520px, 100%);
  margin: 1.2rem auto 0;
  border-radius: 6px;
  background: #ffffff;
  color: #202020;
  padding: 1.2rem;
  text-align: left;
}

.facebook-card strong,
.facebook-card span {
  display: block;
}

.review-bubble {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  margin-top: 1rem;
  border-top: 1px solid #d8d8d8;
  padding-top: 1rem;
}

.review-bubble img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.social-section {
  padding-top: 2rem;
}

.social-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #050505;
  font-family: Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-section {
  width: min(620px, calc(100% - 2rem));
}

.home-contact-form {
  display: grid;
  gap: 0.75rem;
  margin: 1.2rem auto 1.6rem;
}

.home-contact-form input,
.home-contact-form textarea {
  border-color: #d4d4d4;
  background: #ffffff;
}

.home-contact-form .button {
  justify-self: center;
  min-width: 120px;
  border-radius: 4px;
}

.home-contact-meta {
  display: grid;
  gap: 0.35rem;
  color: #d8d8d8;
}

.home-menu-section {
  width: min(900px, calc(100% - 2rem));
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.home-menu-section h2 {
  margin-top: 1.3rem;
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.6rem);
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  text-align: left;
}

.home-category-card {
  display: grid;
  gap: 0.35rem;
  min-height: 92px;
  align-content: center;
  border: 1px solid #2b2b2b;
  border-radius: 6px;
  padding: 1rem;
  color: #eeeeee;
  text-decoration: none;
  background: #0a0a0a;
}

.home-category-card h3 {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 1.1rem;
}

.home-category-card span {
  color: var(--accent);
  font-weight: 800;
}

.home-menu-grid {
  display: grid;
  gap: 0;
  margin: 1.2rem auto 2.2rem;
  text-align: left;
}

.home-menu-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1rem 0;
  border-top: 1px solid #2b2b2b;
  color: #eeeeee;
  text-decoration: none;
}

.home-menu-item:last-child {
  border-bottom: 1px solid #2b2b2b;
}

.home-menu-item img {
  grid-row: span 2;
  width: 96px;
  height: 96px;
  object-fit: cover;
  background: #151515;
}

.home-menu-item h3 {
  margin: 0;
  font-size: 1.15rem;
}

.home-menu-item div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
}

.home-menu-item span {
  white-space: nowrap;
  color: var(--accent);
  font-weight: 800;
}

.home-menu-item p {
  grid-column: 2;
  margin: -0.35rem 0 0;
  color: #cfcfcf;
}

.home-footnote {
  margin-top: 2rem;
  color: #bdbdbd;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .site-nav {
    justify-content: center;
    font-size: 0.95rem;
  }

  .settings-option-row,
  .product-option-admin-row,
  .personalization-admin-row,
  .product-image-admin-row {
    grid-template-columns: 1fr;
  }

  .product-detail,
  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item.has-thumb,
  .checkout-review-item {
    grid-template-columns: 1fr;
  }

  .shop-page {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .category-sidebar {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.4rem;
    white-space: nowrap;
  }

  .shop-heading,
  .shop-search {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-search {
    width: 100%;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1rem;
  }

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

  .cart-actions {
    justify-items: stretch;
  }

  .checkout-line-total {
    justify-items: start;
  }

  .quantity-form {
    align-items: stretch;
  }

  .home-header .brand {
    order: -1;
  }

  .home-header .brand img {
    width: 116px;
    height: 92px;
  }

  .home-line-title::before,
  .home-line-title::after,
  .home-section-title::before,
  .home-section-title::after {
    flex-basis: 34px;
  }

  .home-slides {
    min-height: clamp(260px, 96vw, 420px);
  }

  .home-slides img {
    flex-basis: 78vw;
    width: 78vw;
    height: clamp(250px, 88vw, 390px);
  }

  .home-about-row,
  .home-about-row.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-menu-item,
  .home-menu-item p {
    grid-column: auto;
  }

  .home-menu-item {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .home-menu-item img {
    width: 82px;
    height: 82px;
  }
}

@media (max-width: 520px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}
