:root {
  --ink: #161616;
  --muted: #72706c;
  --line: #e8e5df;
  --paper: #ffffff;
  --soft: #f7f6f2;
  --accent: #9c7137;
  --accent-strong: #6e4a1e;
  --danger: #b42d2d;
  --shadow: 0 18px 60px rgba(19, 17, 13, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
}

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

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

.site-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(232, 229, 223, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.page-admin .site-header {
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
}

.page-admin .top-nav {
  width: 100%;
}

.site-header__tools {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brandmark__symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-strong);
  font-weight: 800;
}

.brandmark strong,
.brandmark small {
  display: block;
}

.brandmark strong {
  font-size: 16px;
}

.brandmark small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
}

.site-search {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 170px;
  min-width: 140px;
  margin-left: auto;
}

.site-search input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}

.site-search button {
  flex: 0 0 auto;
  min-width: 58px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.site-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(156, 113, 55, 0.12);
}

.top-nav a {
  min-width: 82px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.top-nav a.active {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.06);
}

main {
  width: min(1600px, calc(100% - 28px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
  padding: 6px 0 16px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1,
.admin-heading h1,
.login-box h1,
.empty-page h1 {
  margin: 0;
  line-height: 1.08;
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: 0;
}

.hero__lead {
  width: min(640px, 100%);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.store-carousel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--soft);
}

.store-carousel__track {
  position: relative;
  aspect-ratio: 21 / 7;
  min-height: 480px;
  background: #f4f1ea;
}

.store-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 420ms ease, transform 420ms ease;
}

.store-carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.store-carousel__slide img,
.store-carousel__fallback {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.store-carousel__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 12, 0.04), rgba(20, 17, 12, 0.28));
}

.store-carousel__caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 6px;
  color: #fff;
}

.store-carousel__caption span {
  font-size: 12px;
  opacity: 0.88;
}

.store-carousel__caption strong {
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.2;
}

.store-carousel__fallback {
  display: grid;
  place-items: center;
  color: var(--accent-strong);
  background:
    linear-gradient(135deg, rgba(156, 113, 55, 0.08), transparent 45%),
    repeating-linear-gradient(90deg, #fbfaf7, #fbfaf7 18px, #f3efe8 18px, #f3efe8 19px);
  text-align: center;
}

.store-carousel__fallback--empty {
  gap: 10px;
  padding: 24px;
}

.store-carousel__fallback--empty strong {
  font-size: 20px;
}

.store-carousel__fallback--empty span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.store-carousel__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.hero__panel span {
  color: var(--muted);
  font-size: 12px;
}

.hero__panel strong {
  font-size: 18px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.search-feedback {
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.chip,
.ghost-btn,
.danger-btn,
.primary-btn {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  color: var(--muted);
  background: var(--paper);
}

.chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(22, 22, 22, 0.06);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.chip.active,
.chip:hover {
  color: var(--paper);
  border-color: var(--ink);
  background: var(--ink);
}

.chip.active span,
.chip:hover span {
  background: rgba(255, 255, 255, 0.18);
  color: var(--paper);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 72px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 35px rgba(21, 19, 16, 0.06);
}

.product-card__link {
  display: block;
  height: 100%;
  color: inherit;
}

.product-card__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.product-card[hidden] {
  display: none;
}

.product-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--soft);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  padding: 12px 12px 0;
  background: #fff;
}

.image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--accent-strong);
  background:
    linear-gradient(135deg, rgba(156, 113, 55, 0.1), transparent 45%),
    repeating-linear-gradient(90deg, #faf9f5, #faf9f5 18px, #f1eee8 18px, #f1eee8 19px);
}

.image-placeholder span {
  padding: 12px 16px;
  border: 1px solid rgba(110, 74, 30, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 800;
}

.product-card__body {
  display: grid;
  gap: 13px;
  padding: 26px 20px 20px;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-card__meta span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.product-card h3 {
  margin: 0;
  min-height: 56px;
  font-size: 21px;
  line-height: 1.35;
}

.product-card p {
  min-height: 52px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.product-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}

.product-card__bottom strong {
  font-size: 18px;
}

.product-card__bottom a,
.primary-link {
  color: var(--accent-strong);
  font-weight: 800;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 0 0 72px;
}

.pagination button,
.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
}

.pagination button.active,
.pagination a.active {
  color: var(--paper);
  border-color: var(--ink);
  background: var(--ink);
}

.pagination a.pagination-arrow {
  min-width: 52px;
  letter-spacing: 0;
}

.product-detail {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.product-breadcrumb a {
  color: var(--ink);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 42px;
  align-items: start;
}

.detail-main,
.detail-info,
.detail-gallery {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.detail-main {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
}

.detail-main img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff;
}

.detail-placeholder {
  color: var(--accent-strong);
}

.detail-info {
  padding: 6px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.detail-info h1 {
  margin: 0 0 28px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
}

.detail-facts {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.detail-facts div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid var(--line);
}

.detail-facts dt {
  color: var(--accent-strong);
  font-size: 17px;
  font-weight: 800;
}

.detail-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.detail-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  margin-top: 22px;
  padding: 0 22px;
  border: 1px solid #111;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: none;
}

.detail-cta:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.detail-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.detail-gallery {
  margin-top: 24px;
  padding: 22px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-size: 22px;
}

.section-head span {
  color: var(--muted);
}

.detail-gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.detail-gallery__item {
  overflow: hidden;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.detail-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #fff;
}

.scroll-top-btn {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(22, 22, 22, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(18, 18, 18, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 40;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: #111;
  color: #fff;
}

.admin-detail-list {
  display: grid;
  gap: 12px;
}

.admin-detail-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.admin-detail-thumb {
  width: 112px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.admin-detail-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff;
}

.admin-detail-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-detail-meta strong {
  font-size: 15px;
}

.admin-detail-meta span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 8px clamp(20px, 4vw, 56px) 6px;
  color: var(--muted);
}

.site-footer__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.site-footer__links,
.site-footer__company {
  display: grid;
  gap: 2px;
  font-size: 12px;
}

.site-footer__links {
  flex: 1 1 auto;
  text-align: left;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.site-footer__links a:first-child {
  font-size: 16px;
  line-height: 1;
}

.site-footer__company {
  flex: 0 0 auto;
  text-align: right;
  gap: 0;
  white-space: nowrap;
  margin-left: auto;
}

.site-footer__company p {
  margin: 0;
  line-height: 1.15;
}

.static-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 78px;
}

.static-page__panel {
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.static-page__panel h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
}

.static-page__copy {
  display: grid;
  gap: 12px;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

.static-page__copy p {
  margin: 0;
}

.static-page__note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  line-height: 1.7;
}

.admin-shell {
  padding: 44px 0 80px;
}

.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.admin-heading h1,
.login-box h1,
.empty-page h1 {
  font-size: clamp(34px, 4vw, 52px);
}

.admin-heading p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.65;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: start;
}

.admin-card--wide {
  margin-bottom: 20px;
}

.store-admin {
  display: grid;
  grid-template-columns: minmax(280px, 0.6fr) minmax(0, 1.4fr);
  gap: 18px;
}

.store-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.brand-admin {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.brand-chip-list {
  display: grid;
  gap: 12px;
}

.brand-chip-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.brand-chip-label {
  font-size: 15px;
  font-weight: 800;
}

.brand-chip-row small {
  color: var(--muted);
}

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

.store-photo-card__media {
  aspect-ratio: 21 / 9;
  background: var(--soft);
}

.store-photo-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.store-photo-card__body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.store-photo-card__body strong,
.store-photo-card__body small {
  display: block;
}

.store-photo-card__body small {
  margin-top: 4px;
  color: var(--muted);
  word-break: break-all;
}

.admin-card,
.login-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.admin-card {
  padding: 22px;
}

.login-box {
  width: min(460px, 100%);
  margin: 60px auto;
  padding: 28px;
}

.admin-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

.admin-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-list-head h2 {
  margin-bottom: 4px;
}

.admin-list-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.admin-searchbar input[type="search"] {
  width: min(320px, 44vw);
}

.admin-pagination {
  padding-top: 18px;
  padding-bottom: 0;
}

.stack-form {
  display: grid;
  gap: 16px;
}

.stack-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.checkbox-field {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  margin: 0;
  accent-color: var(--accent-strong);
  box-shadow: none;
}

.checkbox-field span {
  min-width: 0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input,
select {
  min-height: 46px;
  padding: 0 13px;
}

textarea {
  resize: vertical;
  padding: 13px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(156, 113, 55, 0.12);
}

.two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.primary-btn,
.ghost-btn,
.danger-btn {
  padding: 0 18px;
  font-weight: 800;
}

.primary-btn {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.ghost-btn {
  color: var(--ink);
  background: var(--paper);
}

.danger-btn {
  min-height: 36px;
  color: var(--danger);
  background: #fff;
}

.primary-btn:hover,
.ghost-btn:hover,
.danger-btn:hover,
.chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(19, 17, 13, 0.1);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 12px;
}

.admin-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-product strong,
.admin-product small {
  display: block;
}

.admin-product small {
  max-width: 280px;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-thumb {
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent-strong);
  font-weight: 900;
}

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

.form-error {
  padding: 12px 14px;
  border: 1px solid rgba(180, 45, 45, 0.25);
  border-radius: 8px;
  color: var(--danger);
  background: rgba(180, 45, 45, 0.07);
}

.form-success {
  padding: 12px 14px;
  border: 1px solid rgba(34, 120, 68, 0.22);
  border-radius: 8px;
  color: #1f6a3d;
  background: rgba(34, 120, 68, 0.08);
}

.empty-state,
.empty-cell,
.empty-page {
  color: var(--muted);
  text-align: center;
}

.empty-state,
.empty-page {
  padding: 70px 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--soft);
}

@media (max-width: 860px) {
  .site-header,
  .admin-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .site-header__tools {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
  }

  .site-search {
    width: min(100%, 260px);
    margin-left: auto;
    order: 1;
  }

  .top-nav {
    width: 100%;
    order: 2;
  }

  .top-nav a {
    flex: 1;
  }

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

  .hero {
    min-height: auto;
    padding-top: 12px;
  }

  .store-carousel__track {
    aspect-ratio: 16 / 10;
    min-height: 240px;
  }

  .store-admin {
    grid-template-columns: 1fr;
  }

  .brand-admin {
    grid-template-columns: 1fr;
  }

  .store-carousel__footer {
    flex-direction: column;
  }

  .store-photo-grid {
    grid-template-columns: 1fr;
  }

  .brand-chip-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .admin-list-head {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-searchbar {
    width: 100%;
  }

  .admin-searchbar input[type="search"] {
    width: 100%;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer__links,
  .site-footer__company {
    text-align: left;
    margin-left: 0;
    font-size: 11px;
  }

  .site-footer__company {
    white-space: normal;
  }

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

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .product-breadcrumb {
    gap: 10px;
    margin-bottom: 20px;
  }

  .detail-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: auto;
    padding: 14px 0;
  }

  .static-page,
  .product-detail {
    width: min(100% - 16px, 1600px);
  }
}

@media (max-width: 620px) {
  main {
    width: min(100% - 16px, 1600px);
  }

  .hero h1 {
    font-size: 38px;
  }

  .site-search {
    flex: 1 1 auto;
    min-width: 0;
    width: min(100%, 180px);
  }

  .site-search input {
    min-height: 40px;
  }

  .site-search button {
    min-width: 58px;
    min-height: 40px;
    padding: 0 12px;
  }

  .filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow-x: visible;
    padding-bottom: 0;
    margin-bottom: 14px;
    gap: 6px;
  }

  .chip {
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
  }

  .chip span {
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-bottom: 54px;
  }

  .product-card__media {
    aspect-ratio: 1 / 1.12;
  }

  .product-card__body {
    gap: 12px;
    padding: 24px 14px 16px;
  }

  .product-card h3 {
    min-height: 0;
    font-size: 16px;
    line-height: 1.32;
    margin-top: 2px;
  }

  .product-card p {
    min-height: 0;
    font-size: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .two-cols {
    grid-template-columns: 1fr;
  }

  .product-detail {
    width: min(100% - 12px, 1600px);
    padding: 20px 0 64px;
  }

  .product-breadcrumb {
    gap: 8px;
    margin-bottom: 18px;
    font-size: 12px;
  }

  .detail-main {
    aspect-ratio: 1 / 1;
  }

  .detail-info h1 {
    margin-bottom: 18px;
    font-size: 28px;
  }

  .detail-facts dt,
  .detail-facts dd {
    font-size: 15px;
  }

  .detail-cta {
    min-height: 66px;
    font-size: 17px;
    margin-top: 18px;
  }

  .detail-gallery {
    margin-top: 16px;
    padding: 16px;
  }

  .scroll-top-btn {
    right: 14px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .section-head h2 {
    font-size: 18px;
  }
}
