@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f8f3ed;
  --surface: #fffdfb;
  --surface-2: #f2e8e6;
  --ink: #242124;
  --muted: #736b70;
  --line: rgba(36, 33, 36, 0.11);
  --brand: #d90064;
  --brand-dark: #ad004f;
  --brand-soft: #ffe3ef;
  --gold: #f5b800;
  --success: #277a58;
  --danger: #b94242;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px rgba(48, 31, 40, 0.10);
  --shadow-soft: 0 8px 30px rgba(48, 31, 40, 0.07);
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.display { font-family: 'Cormorant Garamond', Georgia, serif; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
}

.btn {
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: white; box-shadow: 0 12px 24px rgba(217,0,100,.18); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-danger { background: #fff0f0; color: var(--danger); border: 1px solid rgba(185,66,66,.18); }
.btn-small { min-height: 40px; padding: 0 14px; font-size: 13px; border-radius: 12px; }

/* Landing */
.landing-body { overflow: hidden; background: #eadfd5; }
.split-landing { min-height: 100svh; display: flex; position: relative; background: #eadfd5; }
.brand-badge {
  position: absolute;
  z-index: 10;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  padding: 7px;
  box-shadow: 0 14px 40px rgba(34,20,28,.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.brand-badge:hover { transform: translateX(-50%) scale(1.04); box-shadow: 0 18px 48px rgba(34,20,28,.23); }
.brand-badge img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.split-panel {
  flex: 1 1 50%;
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  transition: flex .5s cubic-bezier(.2,.8,.2,1);
}
.split-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform .65s cubic-bezier(.2,.8,.2,1), filter .45s ease;
  z-index: -2;
}
.split-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,15,17,.05) 15%, rgba(19,15,17,.12) 45%, rgba(19,15,17,.68) 100%);
  z-index: -1;
  transition: background .35s ease;
}
.split-panel.physical::before { background-image: url('/assets/hero-physical.webp'); }
.split-panel.digital::before { background-image: url('/assets/hero-digital.webp'); }
.split-landing:hover .split-panel:hover { flex-grow: 1.12; }
.split-panel:hover::before { transform: scale(1.07); }
.split-panel:hover::after { background: linear-gradient(180deg, rgba(19,15,17,.02) 15%, rgba(19,15,17,.08) 42%, rgba(19,15,17,.62) 100%); }
.split-panel-content {
  position: absolute;
  left: clamp(24px, 5vw, 76px);
  right: clamp(24px, 5vw, 76px);
  bottom: clamp(38px, 7vh, 88px);
  color: white;
  text-shadow: 0 2px 18px rgba(0,0,0,.18);
}
.split-panel-content .eyebrow { color: rgba(255,255,255,.78); }
.split-panel h1 { margin: 8px 0 8px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(40px, 5.3vw, 76px); line-height: .95; }
.split-panel p { max-width: 520px; margin: 0 0 18px; line-height: 1.65; color: rgba(255,255,255,.88); }
.discover-link { display: inline-flex; gap: 9px; align-items: center; font-weight: 800; }
.discover-link span { transition: transform .2s ease; }
.split-panel:hover .discover-link span { transform: translateX(5px); }
.split-divider { position: absolute; z-index: 2; top: 0; bottom: 0; width: 1px; left: 50%; background: rgba(255,255,255,.35); pointer-events: none; }

/* Store header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248,243,237,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 82px; display: flex; align-items: center; gap: 24px; }
.header-logo { width: 60px; height: 60px; flex: none; }
.header-logo img { width: 100%; height: 100%; object-fit: contain; }
.header-nav { display: flex; align-items: center; gap: 6px; margin-left: 10px; }
.header-nav a { padding: 10px 13px; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--muted); }
.header-nav a:hover, .header-nav a.active { color: var(--ink); background: rgba(255,255,255,.62); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.mobile-menu-btn { display: none; border: 0; background: transparent; width: 44px; height: 44px; border-radius: 12px; }

.page-hero { padding: 64px 0 34px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.page-hero h1 { margin: 6px 0 8px; font-size: clamp(44px, 6vw, 76px); line-height: .95; }
.page-hero p { max-width: 690px; line-height: 1.7; color: var(--muted); }

.filter-bar {
  position: sticky;
  top: 82px;
  z-index: 20;
  padding: 14px 0;
  background: linear-gradient(var(--bg) 70%, rgba(248,243,237,.75));
}
.filter-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--shadow-soft);
}
.search-wrap { position: relative; flex: 1 1 260px; min-width: 180px; }
.search-wrap input {
  width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); padding: 0 42px 0 15px; outline: none;
}
.search-wrap input:focus { border-color: rgba(217,0,100,.42); box-shadow: 0 0 0 4px rgba(217,0,100,.08); }
.search-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.filter-chips { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filter-chips::-webkit-scrollbar { display: none; }
.chip {
  white-space: nowrap;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.chip:hover, .chip.active { color: white; background: var(--ink); border-color: var(--ink); }

.products-section { padding: 26px 0 80px; }
.products-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.products-meta strong { font-size: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .24s ease, box-shadow .24s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-cover { aspect-ratio: 4 / 5; background: #ede4de; overflow: hidden; position: relative; }
.product-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-cover img { transform: scale(1.025); }
.product-placeholder { height: 100%; display: grid; place-items: center; color: #9d9097; background: linear-gradient(145deg,#f0e5df,#fff8f4); font-size: 13px; text-align: center; padding: 20px; }
.product-card-body { padding: 17px 17px 18px; }
.product-type { color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-card h3 { margin: 7px 0 7px; font-size: 18px; line-height: 1.3; }
.product-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; min-height: 40px; }
.product-card-footer { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-weight: 800; }
.inspect-link { color: var(--ink); font-size: 13px; font-weight: 800; display: inline-flex; gap: 4px; }
.empty-state { grid-column: 1 / -1; padding: 70px 20px; text-align: center; border: 1px dashed rgba(36,33,36,.18); border-radius: 24px; background: rgba(255,255,255,.4); }
.empty-state h3 { font-size: 28px; margin: 0 0 8px; }
.empty-state p { color: var(--muted); margin: 0 auto 20px; max-width: 560px; }

.custom-callout {
  margin: 0 auto 72px;
  border-radius: 28px;
  padding: clamp(28px,5vw,54px);
  background: linear-gradient(135deg, #ffe5ef, #fff9f5 62%, #f7efe7);
  border: 1px solid rgba(217,0,100,.10);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.custom-callout h2 { margin: 4px 0 8px; font-size: clamp(34px,4.5vw,54px); line-height: 1; }
.custom-callout p { margin: 0; max-width: 740px; color: var(--muted); line-height: 1.7; }

/* Product detail */
.product-detail { padding: 44px 0 90px; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: clamp(34px, 6vw, 86px); align-items: start; }
.gallery-main { aspect-ratio: 4/5; border-radius: 26px; overflow: hidden; background: #eee3dd; border: 1px solid var(--line); }
.gallery-main img, .gallery-main video { width: 100%; height: 100%; object-fit: cover; display: block; background: #151515; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; margin-top: 12px; }
.gallery-thumb { aspect-ratio: 1; border-radius: 12px; overflow: hidden; padding: 0; border: 2px solid transparent; background: #eee3dd; }
.gallery-thumb.active { border-color: var(--brand); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-video-thumb { display: grid; place-items: center; align-content: center; gap: 4px; color: var(--ink); font-size: 10px; font-weight: 800; }
.gallery-video-thumb .play-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: white; font-size: 12px; padding-left: 2px; }
.product-info { position: sticky; top: 120px; }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.product-info h1 { margin: 4px 0 12px; font-size: clamp(42px, 5vw, 68px); line-height: .98; }
.product-short { font-size: 17px; color: var(--muted); line-height: 1.7; }
.product-price { font-size: 24px; font-weight: 800; margin: 20px 0 14px; }
.order-panel { display: flex; gap: 10px; margin: 20px 0 24px; }
.order-panel .btn { flex: 1; }
.product-code { font-size: 12px; color: var(--muted); margin-top: 9px; }
.feature-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 9px; }
.feature-list li { padding: 12px 14px; background: rgba(255,255,255,.62); border: 1px solid var(--line); border-radius: 13px; font-size: 14px; }
.long-description { line-height: 1.8; white-space: pre-line; color: #4e484c; }
.mobile-order-bar { display: none; }

.site-footer { padding: 48px 0; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 32px; }
.footer-logo { width: 78px; height: 78px; background: white; padding: 4px; border-radius: 50%; margin-bottom: 16px; }
.footer-logo img { border-radius: 50%; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.7; }
.site-footer a:hover { color: white; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-title { font-weight: 800; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; color: rgba(255,255,255,.55); font-size: 12px; }

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  background: #211d20;
  color: white;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  font-size: 13px;
  max-width: calc(100% - 30px);
}
.toast.show { opacity: 1; transform: translate(-50%,0); }

/* Admin */
.admin-body { background: #f4f1ee; }
[hidden] { display: none !important; }
.admin-login { min-height: 100svh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(100%, 430px); background: white; border: 1px solid var(--line); border-radius: 26px; padding: 28px; box-shadow: var(--shadow); }
.login-logo { width: 92px; height: 92px; margin: 0 auto 14px; }
.login-card h1 { text-align: center; margin: 0; font-size: 30px; }
.login-card p { text-align: center; color: var(--muted); }
.form-field { display: grid; gap: 7px; margin: 14px 0; }
.form-field label { font-size: 12px; font-weight: 800; color: #5b5358; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 12px 13px; outline: none; color: var(--ink);
}
.form-field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: rgba(217,0,100,.42); box-shadow: 0 0 0 4px rgba(217,0,100,.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-help { font-size: 11px; color: var(--muted); }
.admin-shell { min-height: 100svh; display: grid; grid-template-columns: 250px 1fr; }
.admin-sidebar { position: sticky; top: 0; height: 100svh; padding: 24px 18px; background: #242124; color: white; }
.admin-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.admin-brand img { width: 52px; height: 52px; background: white; border-radius: 50%; }
.admin-brand strong { font-size: 15px; }
.admin-nav { display: grid; gap: 6px; }
.admin-nav button { width: 100%; text-align: left; padding: 12px 13px; border-radius: 12px; border: 0; color: rgba(255,255,255,.68); background: transparent; font-weight: 700; }
.admin-nav button:hover, .admin-nav button.active { background: rgba(255,255,255,.10); color: white; }
.admin-sidebar-bottom { position: absolute; bottom: 20px; left: 18px; right: 18px; }
.admin-main { padding: 30px; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 24px; }
.admin-top h1 { margin: 0; font-size: 30px; }
.admin-view { display: none; }
.admin-view.active { display: block; }
.stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.stat-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.stat-card span { color: var(--muted); font-size: 12px; font-weight: 700; }
.stat-card strong { display: block; font-size: 28px; margin-top: 8px; }
.admin-panel { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 20px; margin-top: 18px; }
.admin-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.admin-toolbar .search-wrap { max-width: 340px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 780px; }
.admin-table th, .admin-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: 13px; }
.admin-table th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.admin-thumb { width: 48px; height: 58px; border-radius: 9px; object-fit: cover; background: #eee3dd; }
.status-pill { display: inline-flex; padding: 6px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.status-live { background: #e6f5ed; color: #277a58; }
.status-hidden { background: #f2eeee; color: #74666e; }
.actions { display: flex; gap: 6px; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: white; }

.modal-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(25,20,23,.55); display: none; padding: 18px; overflow-y: auto; }
.modal-backdrop.open { display: block; }
.modal { width: min(100%, 880px); margin: 20px auto; background: #fdfbf9; border-radius: 24px; box-shadow: 0 28px 80px rgba(0,0,0,.25); overflow: hidden; }
.modal-head { padding: 18px 22px; background: white; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; position: sticky; top: 0; z-index: 2; }
.modal-head h2 { margin: 0; font-size: 22px; }
.modal-body { padding: 22px; }
.modal-footer { padding: 16px 22px; background: white; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; position: sticky; bottom: 0; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; }
.toggle { position: relative; width: 48px; height: 28px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span { position: absolute; inset: 0; border-radius: 999px; background: #d7d0d4; transition: .2s; }
.toggle span::before { content: ''; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; border-radius: 50%; background: white; transition: .2s; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.toggle input:checked + span { background: var(--brand); }
.toggle input:checked + span::before { transform: translateX(20px); }
.upload-box { border: 1.5px dashed rgba(36,33,36,.22); border-radius: 16px; padding: 18px; background: rgba(255,255,255,.55); }
.image-preview-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.image-preview { position: relative; width: 94px; height: 112px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #eee3dd; }
.image-preview img { width: 100%; height: 100%; object-fit: cover; }
.image-preview button { position: absolute; right: 5px; top: 5px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(20,16,18,.78); color: white; }
.video-preview-list { margin-top: 12px; }
.video-preview { position: relative; width: min(100%, 320px); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #151515; }
.video-preview video { display: block; width: 100%; max-height: 220px; background: #151515; }
.video-preview button { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(20,16,18,.82); color: white; }
.features-editor { display: grid; gap: 8px; }
.feature-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.media-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.media-item { background: white; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.media-item img, .media-item video { width: 100%; aspect-ratio: 1; object-fit: cover; background: #151515; display: block; }
.media-item-body { padding: 9px; }
.media-key { font-size: 10px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-mobile-bar { display: none; }
.error-text { color: var(--danger); font-size: 12px; margin-top: 9px; }
.success-text { color: var(--success); font-size: 12px; }

@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .stat-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .media-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (max-width: 800px) {
  .landing-body { overflow: auto; }
  .split-landing { min-height: 100svh; flex-direction: column; padding-top: 0; }
  .split-divider { display: none; }
  .brand-badge { width: 88px; height: 88px; top: 16px; }
  .split-panel { flex: none; min-height: 50svh; width: 100%; }
  .split-panel.physical::before { background-position: center 32%; }
  .split-panel.digital::before { background-position: center 45%; }
  .split-panel:first-of-type .split-panel-content { padding-top: 84px; }
  .split-panel-content { left: 22px; right: 22px; bottom: 26px; }
  .split-panel h1 { font-size: clamp(38px, 11vw, 56px); }
  .split-panel p { font-size: 13px; margin-bottom: 12px; }

  .header-inner { height: 72px; }
  .header-logo { width: 52px; height: 52px; }
  .header-nav { display: none; position: absolute; top: 72px; left: 20px; right: 20px; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .header-nav.open { display: grid; }
  .header-nav a { padding: 12px; }
  .mobile-menu-btn { display: grid; place-items: center; }
  .header-actions .btn { display: none; }
  .page-hero { padding-top: 46px; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .filter-bar { top: 72px; }
  .filter-shell { align-items: stretch; flex-direction: column; }
  .search-wrap { flex-basis: auto; max-width: none; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .product-card-body { padding: 13px; }
  .product-card h3 { font-size: 15px; }
  .product-card p { display: none; }
  .product-card-footer { align-items: flex-end; }
  .inspect-link { font-size: 12px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 26px; }
  .product-info { position: static; }
  .product-info h1 { font-size: 46px; }
  .order-panel { display: none; }
  .mobile-order-bar { display: block; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,253,251,.94); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
  .mobile-order-bar .btn { width: 100%; }
  .site-footer { padding-bottom: 90px; }
  .footer-grid { grid-template-columns: 1fr; }
  .custom-callout { grid-template-columns: 1fr; }
  .custom-callout .btn { width: 100%; }

  .admin-shell { display: block; padding-bottom: 78px; }
  .admin-sidebar { display: none; }
  .admin-main { padding: 18px; }
  .admin-top { align-items: flex-start; }
  .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .media-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .admin-mobile-bar { display: grid; grid-template-columns: repeat(5,1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #242124; padding: 8px 5px calc(8px + env(safe-area-inset-bottom)); }
  .admin-mobile-bar button { border: 0; background: transparent; color: rgba(255,255,255,.65); font-size: 10px; padding: 8px 3px; }
  .admin-mobile-bar button.active { color: white; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .product-card { border-radius: 14px; }
  .product-card-body { padding: 10px; }
  .product-type { font-size: 9px; }
  .product-card h3 { font-size: 13px; }
  .price { font-size: 12px; }
  .inspect-link { font-size: 10px; }
  .gallery-thumbs { grid-template-columns: repeat(4,1fr); }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .stat-card { padding: 14px; }
  .stat-card strong { font-size: 23px; }
  .media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .modal-backdrop { padding: 0; }
  .modal { margin: 0; min-height: 100svh; border-radius: 0; }
}


/* Product variations */
.product-variations { display: grid; gap: 18px; margin: 22px 0 8px; }
.variation-group { display: grid; gap: 10px; }
.variation-label { font-size: 13px; font-weight: 800; color: var(--ink); }
.variation-label span { margin-left: 7px; color: var(--muted); font-size: 11px; font-weight: 600; }
.variation-options-public { display: flex; flex-wrap: wrap; gap: 8px; }
.variation-choice {
  border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 12px;
  min-height: 42px; padding: 9px 12px; font-weight: 750; cursor: pointer; transition: .18s ease;
}
.variation-choice:hover { border-color: rgba(217,0,100,.35); }
.variation-choice.selected { background: var(--brand); border-color: var(--brand); color: white; box-shadow: 0 7px 22px rgba(217,0,100,.18); }
.variation-choice small { font-size: 10px; font-weight: 800; opacity: .78; }

/* Admin variation editor */
.variations-editor { display: grid; gap: 12px; margin-top: 10px; }
.variation-group-editor { border: 1px solid var(--line); border-radius: 16px; padding: 13px; background: rgba(255,255,255,.6); }
.variation-group-head { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.variation-group-head input, .variation-option-row input {
  width: 100%; border: 1px solid var(--line); background: white; border-radius: 11px; padding: 10px 11px; outline: none; color: var(--ink);
}
.variation-options { display: grid; gap: 8px; margin: 10px 0; }
.variation-option-row { display: grid; grid-template-columns: minmax(0,1fr) 170px auto; gap: 8px; align-items: center; }
.variation-group-editor input:focus { border-color: rgba(217,0,100,.42); box-shadow: 0 0 0 4px rgba(217,0,100,.08); }
@media (max-width: 600px) {
  .variation-option-row { grid-template-columns: 1fr 115px auto; }
}
