@charset "UTF-8";
:root {
  --ink: #242720;
  --muted: #77796f;
  --line: #e5e6df;
  --paper: #faf9f6;
  --green: #344b3a;
  --tint: #edf1e9;
  --accent: #b59b6e;
  --sign-red: #a32d34;
  --sign-line: #c7aa9e;
  --sign-paper: #f7efe5;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", "Yu Gothic", "Microsoft YaHei", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: white;
  font: 14px/1.55 var(--sans);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
button,
input,
select {
  border-radius: 0;
}
button {
  background: none;
  border: 0;
}
svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}
input {
  min-width: 0;
}
img {
  display: block;
  width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button,
.button {
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s;
}
.wrap {
  max-width: 1440px;
  padding: 0 56px;
  margin: auto;
}
.utility {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.utility .wrap {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.utility span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.utilities {
  display: flex;
  align-items: center;
  gap: 22px;
}
.utilities a:hover {
  text-decoration: underline;
}
.language {
  border: none;
  background: transparent;
  padding: 4px 18px 4px 0;
  font-size: 11px;
  color: var(--ink);
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 100px;
}
.wordmark {
  font: 28px/0.92 var(--serif);
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
}
.monogram {
  font: italic 29px var(--serif);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  letter-spacing: -5px;
  padding-right: 5px;
}
.wordmark small {
  display: block;
  font: 9px var(--sans);
  letter-spacing: 3px;
  margin-top: 9px;
}
.search {
  display: flex;
  border: 1px solid #bec1b8;
  background: white;
  width: 440px;
  max-width: 100%;
  height: 43px;
  align-items: center;
}
.search > svg {
  margin: 0 13px;
  color: var(--muted);
  width: 17px;
}
.search input {
  width: 100%;
  border: none;
  outline: none;
  background: none;
  height: 100%;
  font-size: 12px;
}
.search input:focus-visible {
  outline: 0;
}
.search button {
  height: 100%;
  padding: 0 17px;
  font-size: 12px;
  background: var(--green);
  color: white;
}
.search button:hover {
  background: #203325;
}
.store-cover {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  background: var(--sign-paper);
  overflow: hidden;
}
.store-intro {
  display: grid;
  padding: clamp(20px, 2.5vw, 38px);
}
.store-sign {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(12px, 1.5vw, 22px);
  padding: 20px 10px;
  border: 1px solid var(--sign-line);
  text-align: center;
}
.store-label {
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #654c42;
}
.store-sign h1 {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: clamp(35px, 4.6vw, 69px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0.025em;
  color: var(--sign-red);
}
.store-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 600 clamp(11px, 1.13vw, 16px)/1.3 var(--serif);
  letter-spacing: 0.22em;
  color: #463027;
}
.store-name::before,
.store-name::after {
  content: "";
  width: clamp(12px, 2vw, 25px);
  height: 1px;
  background: var(--sign-line);
}
.store-cover-image {
  position: relative;
  min-height: clamp(290px, 29vw, 420px);
  background: #906f58;
}
.store-cover-image img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
}
.store-nav {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  height: 57px;
  align-items: stretch;
}
.store-nav button {
  position: relative;
  padding: 0 2px;
  font-size: 12px;
  color: var(--muted);
}
.store-nav button.active {
  color: var(--ink);
  font-weight: 600;
}
.store-nav button.active:after {
  content: "";
  height: 2px;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  background: var(--green);
}
.content {
  padding-top: 35px;
  padding-bottom: 64px;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 23px;
}
.section-heading h2 {
  font: 27px var(--serif);
  letter-spacing: -0.4px;
}
.item-count {
  font-size: 11px;
  color: var(--muted);
  margin-left: 13px;
  font-family: var(--sans);
}
.collection-note {
  font: italic 13px var(--serif);
  color: var(--muted);
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
}
.result-note {
  font-size: 11px;
  color: var(--muted);
}
.controls {
  display: flex;
  align-items: center;
  gap: 18px;
}
.select-control {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted);
}
.select-control select {
  border: 1px solid var(--line);
  height: 36px;
  background: white;
  color: var(--ink);
  padding: 0 27px 0 10px;
  font-size: 11px;
  max-width: 200px;
}
.fx-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: #f5f6f2;
  font-size: 10px;
  color: #66715f;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.fx-strip svg {
  height: 13px;
  width: 13px;
}
.fx-strip .spacer {
  flex: 1;
}
.fx-strip.stale {
  background: #fff6e8;
  color: #8d6624;
}
.fx-strip .rate {
  font-variant-numeric: tabular-nums;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 31px 22px;
}
.product {
  min-width: 0;
  animation: appear 0.32s ease both;
}
.product:nth-child(4n + 2) {
  animation-delay: 0.04s;
}
.product:nth-child(4n + 3) {
  animation-delay: 0.08s;
}
.product:nth-child(4n + 4) {
  animation-delay: 0.12s;
}
.product-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  background: #f4f3ef;
  overflow: hidden;
  padding: 0;
}
.product-image img {
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.45s;
}
.product-image:hover img {
  transform: scale(1.045);
}
.zoom-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: #fffffff0;
  border: 1px solid #e7e7df;
  padding: 6px;
  opacity: 0;
  transition: opacity 0.2s;
}
.zoom-badge svg {
  width: 14px;
  height: 14px;
}
.product-image:hover .zoom-badge,
.product-image:focus-visible .zoom-badge {
  opacity: 1;
}
.product-name {
  font-size: 12px;
  line-height: 1.6;
  font-weight: 400;
  margin: 13px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.price {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums;
}
.price small {
  font-size: 9px;
  letter-spacing: 0.8px;
  margin-right: 5px;
  font-weight: 400;
  color: var(--muted);
}
.original-price {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
  min-height: 16px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 40px 0 12px;
}
.pagination button {
  min-width: 34px;
  height: 34px;
  font-size: 12px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
}
.pagination button:hover {
  background: var(--paper);
}
.pagination button.active {
  background: var(--green);
  color: white;
}
.pagination svg {
  width: 15px;
}
.page-note {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 30px 0 72px;
}
.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand {
  font: 20px var(--serif);
}
.footer p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.footer-right {
  text-align: right;
}
.footer a {
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.empty {
  text-align: center;
  padding: 80px 20px;
  border: 1px dashed var(--line);
  grid-column: 1/-1;
}
.empty svg {
  margin: 0 auto 14px;
  width: 30px;
  height: 30px;
  color: #adb3a5;
}
.empty h3 {
  font: 22px var(--serif);
  margin-bottom: 6px;
}
.empty p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 17px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  font-size: 12px;
  background: white;
  min-height: 41px;
}
.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.button.primary:hover {
  background: #233627;
}
.button:hover {
  background: var(--paper);
}
.button.danger {
  background: #a43b31;
  color: white;
  border-color: #a43b31;
}
.button svg {
  width: 16px;
  height: 16px;
}
.button.text {
  border: 0;
  padding: 6px;
  background: none;
}
.admin {
  background: #f7f8f5;
  min-height: 100vh;
}
.admin-side {
  width: 220px;
  background: white;
  border-right: 1px solid var(--line);
  position: fixed;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 29px 20px;
  z-index: 5;
}
.admin-side .wordmark {
  font-size: 20px;
  gap: 9px;
  padding: 0 4px;
}
.admin-side .monogram {
  width: 35px;
  height: 35px;
  font-size: 23px;
}
.admin-side .wordmark small {
  font-size: 8px;
  letter-spacing: 2px;
  margin-top: 6px;
}
.side-label {
  font-size: 10px;
  color: #989c93;
  margin: 42px 12px 12px;
  letter-spacing: 1px;
}
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.side-nav a {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 12px;
  padding: 12px;
}
.side-nav a.selected {
  background: var(--tint);
  color: var(--green);
  font-weight: 600;
}
.side-nav svg {
  width: 17px;
  height: 17px;
}
.side-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 18px 8px 0;
  font-size: 10px;
  color: var(--muted);
}
.side-bottom strong {
  font-size: 12px;
  color: var(--ink);
}
.side-bottom button {
  padding: 12px 0 0;
  color: var(--muted);
  text-decoration: underline;
  font-size: 11px;
}
.admin-main {
  margin-left: 220px;
  padding: 0 38px 80px;
}
.admin-top {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.admin-top > span:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.admin-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 31px 0 25px;
  gap: 15px;
}
.admin-title h1 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -1px;
}
.admin-title p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  padding: 20px 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.stat strong {
  font: 30px var(--serif);
}
.stat .stat-icon {
  padding: 11px;
  background: var(--paper);
  color: #7b886f;
}
.stat-icon svg {
  width: 19px;
  height: 19px;
}
.admin-panel {
  background: white;
  border: 1px solid var(--line);
  padding: 22px;
}
.admin-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.tabs {
  display: flex;
  gap: 5px;
}
.tabs button {
  padding: 8px 12px;
  font-size: 11px;
  color: var(--muted);
}
.tabs button.active {
  background: var(--tint);
  color: var(--green);
  font-weight: 600;
}
.admin-search {
  width: 245px;
  height: 35px;
}
.admin-search input {
  font-size: 11px;
}
.admin-panel .grid {
  gap: 24px 18px;
}
.admin-panel .product {
  border: 1px solid var(--line);
}
.admin-panel .product-name,
.admin-panel .price {
  margin-left: 12px;
  margin-right: 12px;
}
.admin-panel .product-name {
  font-size: 11px;
}
.admin-panel .price {
  margin-bottom: 13px;
  font-size: 15px;
}
.status-tag {
  position: absolute;
  top: 9px;
  left: 9px;
  font-size: 9px;
  padding: 3px 8px;
  background: #fffffff2;
  color: #53634d;
}
.status-tag.hidden {
  background: #fffbf0;
  color: #8e743a;
}
.is-hidden .product-image img {
  opacity: 0.55;
}
.card-actions {
  display: flex;
  border-top: 1px solid var(--line);
  padding: 7px 4px;
  justify-content: space-evenly;
  gap: 3px;
}
.card-actions button {
  font-size: 10px;
  padding: 6px 4px;
  display: flex;
  gap: 4px;
  align-items: center;
  color: var(--muted);
}
.card-actions button:hover {
  color: var(--green);
  background: var(--paper);
}
.card-actions button.delete:hover {
  color: #a43b31;
}
.card-actions svg {
  width: 12px;
  height: 12px;
}
.admin-footnote {
  font-size: 10px;
  color: var(--muted);
  margin-top: 18px;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--paper);
}
.login-visual {
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 76px);
  background: #eee2d5;
}
.login-cover {
  display: grid;
  width: 100%;
  max-width: 740px;
  padding: 8px;
  border: 1px solid var(--sign-line);
  background: var(--sign-paper);
}
.login-cover-heading {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  min-width: 0;
  padding: clamp(22px, 3vw, 46px) 8px;
  text-align: center;
}
.login-cover-heading:focus-visible {
  outline-offset: -2px;
}
.login-cover-name {
  font: 800 clamp(29px, 4.2vw, 62px)/1.15 "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  letter-spacing: 0.025em;
  color: var(--sign-red);
}
.login-cover-photo {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #906f58;
}
.login-cover-photo img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}
.login-form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 40px 30px;
}
.login-card {
  width: 340px;
  max-width: 100%;
}
.login-card h1 {
  font-size: 25px;
  letter-spacing: -1px;
}
.login-card > p {
  color: var(--muted);
  font-size: 12px;
  margin: 7px 0 30px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 0 20px;
  font-size: 12px;
}
.field input {
  border: 1px solid #d7dbd1;
  background: white;
  min-height: 43px;
  padding: 10px 12px;
  width: 100%;
}
.field input:focus {
  outline: 1px solid var(--green);
  outline-offset: 0;
}
.login-card .button {
  width: 100%;
}
.login-note {
  background: #eeefe9;
  font-size: 11px;
  color: var(--muted);
  padding: 13px;
  margin-top: 22px;
  line-height: 1.8;
}
.login-back {
  display: inline-block;
  margin-top: 21px;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.error {
  color: #a43b31;
  font-size: 11px;
  margin: 0 0 14px;
  min-height: 17px;
}
.login-card .error:empty {
  display: none;
}
dialog {
  border: 0;
  padding: 0;
  color: var(--ink);
  background: white;
  max-height: 90dvh;
  width: min(500px, calc(100% - 30px));
  box-shadow: 0 20px 90px #0003;
  overflow: auto;
}
dialog::backdrop {
  background: #17201890;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 18px;
}
.modal-head p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.icon-button {
  height: 32px;
  width: 32px;
  display: grid;
  place-items: center;
}
.icon-button:hover {
  background: var(--paper);
}
.modal-body {
  padding: 24px 26px;
}
.upload {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border: 1px dashed #bfc7b6;
  background: var(--paper);
  height: 158px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-size: 11px;
}
.upload:hover {
  border-color: var(--green);
}
.upload svg {
  color: #7e8c74;
  width: 26px;
  height: 26px;
}
.upload small {
  font-size: 10px;
  color: var(--muted);
}
.upload img {
  object-fit: contain;
  height: 100%;
}
.upload .replace-hint {
  position: absolute;
  bottom: 0;
  background: #fffe;
  padding: 5px 12px;
  font-size: 10px;
  left: 0;
  right: 0;
  text-align: center;
}
.upload input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  inset: 0;
  padding: 0;
}
.required {
  color: #9d4b36;
}
.input-unit {
  position: relative;
}
.input-unit span {
  position: absolute;
  right: 13px;
  top: 12px;
  color: var(--muted);
  font-size: 11px;
}
.input-unit input {
  padding-right: 54px;
}
.field small {
  font-size: 10px;
  color: var(--muted);
}
.save-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 10px;
  color: #6b765f;
  padding: 12px;
  background: var(--tint);
}
.save-note svg {
  height: 14px;
  width: 14px;
}
.modal-actions {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 16px 26px;
}
.lightbox {
  width: min(850px, calc(100% - 24px));
  background: var(--paper);
}
.lightbox .modal-head h2 {
  font: 18px var(--serif);
  max-width: 85%;
}
.lightbox > img {
  max-height: 65dvh;
  object-fit: contain;
  padding: 20px;
  mix-blend-mode: multiply;
}
.lightbox .lightbox-caption {
  padding: 16px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.confirm-body {
  padding: 30px 26px;
}
.confirm-body h2 {
  font-size: 19px;
  margin-bottom: 10px;
}
.confirm-body p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.confirm-body strong {
  color: var(--ink);
}
#toast {
  position: fixed;
  right: 25px;
  top: 23px;
  z-index: 50;
  background: var(--green);
  color: white;
  padding: 13px 23px;
  box-shadow: 0 5px 25px #0002;
  font-size: 12px;
  opacity: 0;
  transform: translateY(-15px);
  pointer-events: none;
  transition: 0.25s;
}
#toast.show {
  opacity: 1;
  transform: translateY(0);
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1700px) {
  .wrap {
    max-width: 1510px;
  }
  .grid {
    gap: 35px 25px;
  }
}
@media (max-width: 1150px) {
  .wrap {
    padding: 0 32px;
  }
  .admin-side {
    width: 185px;
    padding: 25px 12px;
  }
  .admin-main {
    margin-left: 185px;
    padding: 0 25px 80px;
  }
  .admin-panel .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .admin-panel {
    padding: 18px;
  }
  .controls {
    gap: 10px;
  }
}
@media (max-width: 760px) {
  .wrap {
    padding: 0 20px;
  }
  .utility .wrap {
    height: 31px;
  }
  .utility span:first-child {
    font-size: 9px;
  }
  .utilities {
    gap: 12px;
  }
  .utility .admin-link {
    display: none;
  }
  .masthead {
    min-height: 118px;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .wordmark {
    font-size: 23px;
  }
  .monogram {
    width: 40px;
    height: 40px;
    font-size: 25px;
  }
  .wordmark small {
    font-size: 8px;
    letter-spacing: 2.5px;
    margin-top: 6px;
  }
  .masthead .search {
    width: 100%;
    height: 38px;
  }
  .search input {
    font-size: 11px;
  }
  .store-cover {
    grid-template-columns: minmax(0, 1fr);
  }
  .store-intro {
    padding: 14px;
  }
  .store-sign {
    padding: 19px 8px;
  }
  .store-sign h1 {
    font-size: clamp(29px, 9vw, 49px);
  }
  .store-cover-image {
    aspect-ratio: 3 / 2;
    min-height: auto;
    max-height: 310px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .store-nav {
    height: 49px;
    gap: 25px;
  }
  .store-nav button {
    font-size: 11px;
  }
  .content {
    padding-top: 26px;
    padding-bottom: 40px;
  }
  .section-heading {
    margin-bottom: 20px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .item-count {
    display: block;
    margin: 3px 0 0;
    font-size: 10px;
  }
  .collection-note {
    font-size: 11px;
    max-width: 130px;
    text-align: right;
  }
  .toolbar {
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
    margin-bottom: 12px;
  }
  .controls {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .select-control {
    font-size: 10px;
    gap: 6px;
  }
  .select-control select {
    font-size: 10px;
    max-width: 160px;
    padding-right: 18px;
    height: 33px;
  }
  .result-note {
    font-size: 10px;
  }
  .fx-strip {
    font-size: 9px;
    gap: 6px;
    padding: 9px 10px;
    margin-bottom: 18px;
  }
  .fx-strip .spacer {
    display: none;
  }
  .fx-strip .fx-time {
    width: 100%;
    padding-left: 19px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px 13px;
  }
  .product-name {
    font-size: 11px;
    margin: 9px 0 5px;
    min-height: 35px;
  }
  .price {
    font-size: 15px;
  }
  .price small {
    font-size: 8px;
  }
  .original-price {
    font-size: 9px;
  }
  .zoom-badge {
    display: none;
  }
  .footer .wrap {
    align-items: flex-start;
  }
  .footer-brand {
    font-size: 18px;
  }
  .footer p {
    font-size: 9px;
  }
  .footer-right {
    max-width: 45%;
  }
  .admin-side {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: row;
    padding: 15px 20px;
    justify-content: space-between;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .admin-side .wordmark {
    font-size: 19px;
  }
  .admin-side .side-label,
  .admin-side .side-bottom {
    display: none;
  }
  .side-nav {
    flex-direction: row;
  }
  .side-nav a {
    font-size: 10px;
    padding: 8px;
  }
  .side-nav a svg {
    width: 14px;
  }
  .side-nav .selected {
    display: none;
  }
  .admin-main {
    margin: 0;
    padding: 0 16px 80px;
  }
  .admin-top {
    height: 48px;
    font-size: 10px;
  }
  .admin-title {
    margin: 23px 0 20px;
    align-items: center;
  }
  .admin-title h1 {
    font-size: 22px;
  }
  .admin-title p {
    font-size: 10px;
    max-width: 200px;
  }
  .admin-title .button {
    padding: 9px 12px;
    font-size: 11px;
    white-space: nowrap;
  }
  .stats {
    gap: 8px;
    margin-bottom: 18px;
  }
  .stat {
    padding: 13px;
  }
  .stat strong {
    font-size: 25px;
  }
  .stat p {
    font-size: 10px;
    margin-bottom: 5px;
  }
  .stat .stat-icon {
    display: none;
  }
  .admin-panel {
    padding: 14px;
  }
  .admin-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .tabs button {
    font-size: 10px;
    padding: 7px 11px;
  }
  .admin-search {
    width: 100%;
  }
  .admin-panel .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .admin-panel .product-name,
  .admin-panel .price {
    margin-left: 9px;
    margin-right: 9px;
  }
  .admin-panel .product-name {
    font-size: 10px;
    min-height: 32px;
  }
  .card-actions {
    gap: 0;
    padding: 4px 1px;
  }
  .card-actions button {
    font-size: 9px;
    gap: 2px;
    padding: 6px 3px;
  }
  .card-actions svg {
    display: none;
  }
  .admin-footnote {
    font-size: 9px;
  }
  .login-page {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }
  .login-visual {
    padding: 14px 16px;
  }
  .login-cover {
    max-width: 520px;
    grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
    padding: 5px;
  }
  .login-cover-heading {
    gap: 8px;
    padding: 10px 5px;
  }
  .login-cover-name {
    font-size: clamp(19px, 6vw, 31px);
  }
  .login-cover-heading .store-name::before,
  .login-cover-heading .store-name::after {
    display: none;
  }
  .login-form-wrap {
    padding: 33px 25px 95px;
  }
  .login-card h1 {
    font-size: 23px;
  }
  .modal-head {
    padding: 19px 21px;
  }
  .modal-body {
    padding: 20px 21px;
  }
  .modal-actions {
    padding: 14px 21px;
  }
  .modal-head h2 {
    font-size: 17px;
  }
  .field {
    margin-bottom: 17px;
  }
  .upload {
    height: 135px;
  }
  .lightbox .modal-head h2 {
    font-size: 15px;
  }
  .lightbox .lightbox-caption {
    padding: 14px 18px;
  }
  #toast {
    max-width: calc(100% - 30px);
    right: 15px;
    top: 15px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Keep controls readable on narrow screens. */
.search button {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .controls {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .admin-side {
    gap: 12px;
    flex-wrap: wrap;
  }
}

.list-message {
  grid-column: 1/-1;
  padding: 75px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.list-message p {
  margin-bottom: 16px;
}
.auth-status {
  max-width: 600px;
  margin: 15vh auto;
  padding: 30px;
}
.auth-status h1 {
  font: 30px var(--serif);
  margin-bottom: 15px;
}
.auth-status p {
  margin-bottom: 24px;
  color: var(--muted);
}
.auth-status .button {
  margin-right: 10px;
}
.fx-strip a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.error a {
  text-decoration: underline;
}
