:root {
  --bg: #0c0b0a;
  --bg-2: #0f0e0c;
  --surface: #1a1814;
  --surface-2: #221f1a;
  --text: #f5f0e8;
  --text-soft: #f4f1ea;
  --muted: #b8a990;
  --muted-2: #a3988c;
  --gold: #e2b84a;
  --amber: #c9853a;
  --wa: #25d366;
  --wa-ink: #06210f;
  --line: rgba(226, 184, 74, 0.28);
  --line-soft: rgba(245, 240, 232, 0.08);
  --danger: #c45c4a;
  --max: 72rem;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --header-h: 4.25rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  min-height: 100vh;
}

body.eser-lock { overflow: hidden; }

img { max-width: 100%; }

a { color: inherit; }

button,
[role="button"],
.btn { cursor: pointer; }

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: #1a1408;
  padding: 0.5rem 0.8rem;
  z-index: 80;
}
.skip:focus { top: 0.5rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.eser-ticker {
  background: #14120e;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 0.55rem 0;
  animation: eser-tick 42s linear infinite;
}

.ticker-track span { white-space: nowrap; }
.ticker-track strong { color: var(--gold); font-weight: 500; }

@keyframes eser-tick {
  to { transform: translateX(-50%); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 11, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.6rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: 0.05rem;
  min-width: 10rem;
}

.brand-mark {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-soft);
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li { margin: 0; }

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.55rem 0.7rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(226, 184, 74, 0.08);
}

.hero {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem 0 0.5rem;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0.2rem 0 0.6rem;
}

.kicker {
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.lede {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.trust-row span,
.delivery-box {
  border: 1px solid var(--line);
  background: rgba(226, 184, 74, 0.05);
  color: var(--text-soft);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
}

.trust-row span {
  border: 0;
  font-weight: 600;
  color: #1a1408;
}
.trust-row .trust-craft { background: #e2b84a; }
.trust-row .trust-shop { background: #3ddc84; color: #06210f; }
.trust-row .trust-ship { background: #7eb6ff; color: #0b1b33; }
.trust-row .trust-no { background: #ff5c5c; color: #2a0707; }

.reel {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 1.1rem;
  overflow: hidden;
  position: relative;
}

.reel-slide { display: none; }
.reel-slide.is-active {
  display: grid;
  gap: 0.75rem;
}

.reel-photo {
  position: relative;
  width: min(100%, 26rem);
  aspect-ratio: 1;
  margin-inline: auto;
  background: #141210;
  padding: 0;
  overflow: hidden;
  border-radius: 1rem;
}

.reel-photo .card-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.card-stage .sharp {
  display: block;
  object-fit: cover;
  object-position: center;
}

.reel-photo img,
.sheet-photo img,
.single-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.reel-meta { padding: 0 1rem 1rem; }

.reel-meta h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 560;
  margin: 0.15rem 0 0.35rem;
  line-height: 1.15;
}

.reel-nav {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  padding: 0 1rem 1rem;
}

.reel-nav button,
.icon-btn {
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.reel-dots { display: flex; gap: 0.35rem; margin-right: auto; }
.reel-dots button {
  width: 0.45rem;
  min-width: 0.45rem;
  height: 0.45rem;
  min-height: 0.45rem;
  padding: 0;
  border-radius: 99px;
  border: 0;
  background: rgba(245, 240, 232, 0.28);
}
.reel-dots button[aria-current="true"] {
  background: var(--gold);
  width: 1.1rem;
}

.section { padding: 1.1rem 0 0.4rem; }

.section h2,
.block h2,
.page-head h1 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.7rem;
}

.filters { display: grid; gap: 0.75rem; }

.chips,
.price-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip,
.price-rail a,
.price-rail button {
  border: 1px solid var(--line-soft);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.chip[aria-pressed="true"],
.price-rail a[aria-pressed="true"],
.price-rail button[aria-pressed="true"] {
  color: #1a1408;
  background: var(--gold);
  border-color: var(--gold);
}

.search-row { display: flex; gap: 0.5rem; }
.search-row input {
  flex: 1;
  min-height: 48px;
  border-radius: 0.8rem;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  padding: 0 0.9rem;
}

.search-row button,
.btn {
  min-height: 48px;
  border-radius: 0.8rem;
  border: 1px solid transparent;
  padding: 0.55rem 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 560;
}

.btn-gold {
  background: var(--gold);
  color: #1a1408;
}
.btn-gold:hover { filter: brightness(1.05); }

.btn-line {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

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

.btn[disabled],
.btn.is-off {
  background: #2a2620;
  color: var(--muted-2);
  border-color: transparent;
  pointer-events: none;
}

.suggest {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.suggest-card,
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 1rem;
  overflow: hidden;
}

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

.eser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding-bottom: 1.5rem;
}

.card-stage {
  position: relative;
  background: #0c0b0a;
  aspect-ratio: 1;
  min-height: 0;
  display: block;
  overflow: hidden;
}

.card-stage .blur {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: cover;
  filter: blur(16px);
  opacity: 0.4;
  pointer-events: none;
}

.card-stage .card-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.card-stage .sharp {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.card-open {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.badges {
  position: absolute;
  z-index: 2;
  left: 0.45rem;
  top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.badge {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  background: #1a1408;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.18rem 0.45rem;
}

.badge-last {
  background: #c41e24;
  color: #fff;
  border-color: transparent;
  animation: eser-son-flash 1.1s ease-in-out infinite;
}
.card-last { animation: eser-card-flash 1.1s ease-in-out infinite; }

@keyframes eser-son-flash {
  0%, 100% { background: #8e1519; color: #fff; box-shadow: 0 0 0 0 rgba(196, 30, 36, 0); }
  50% { background: #ff2a2a; color: #fff; box-shadow: 0 0 0 3px rgba(255, 42, 42, 0.45); }
}
@keyframes eser-card-flash {
  0%, 100% { border-color: rgba(196, 30, 36, 0.35); }
  50% { border-color: #ff2a2a; }
}

@media (prefers-reduced-motion: reduce) {
  .badge-last,
  .card-last,
  .sim-last { animation: none; }
  .badge-last { background: #c41e24; color: #fff; }
  .card-last,
  .sim-last { border-color: #c41e24; }
}
.badge-out { background: #2a2420; color: var(--muted); }

.card-body { padding: 0.7rem 0.7rem 0.8rem; display: grid; gap: 0.45rem; }

.card-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 560;
  line-height: 1.25;
}

.card-body h3 button {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  color: var(--text-soft);
  font: inherit;
}

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.5rem; }
.price b {
  font-family: var(--serif);
  font-weight: 560;
  color: var(--gold);
  font-size: 1.15rem;
}
.price s { color: var(--muted-2); font-size: 0.85rem; }
.price .cargo {
  flex-basis: 100%;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}
.cargo-free { color: #3ddc84; }
.cargo-fee { color: #e7c56a; }
.sim .cargo {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  font-weight: 600;
}
.sim .cargo-free { color: #3ddc84; }
.sim .cargo-fee { color: #e7c56a; }

.card-cta,
.sheet-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.4rem;
  align-items: stretch;
}
.card-cta .btn,
.sheet-cta .btn,
.cta-row .btn {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding-inline: 0.4rem;
  font-size: 0.92rem;
}
.add-row { display: grid; gap: 0.35rem; }
.card-cta .add-row,
.sheet-cta .add-row,
.cta-row .add-row { grid-column: 1 / -1; }
.qty {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 0.35rem;
}
.qty button,
.qty input {
  height: 44px;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  text-align: center;
  font: inherit;
}
.qty input { width: 100%; }
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn-cart { width: 100%; }
.cart-fab {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 30;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--gold);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.cart-fab span {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #c41e24;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.2rem;
}
.cart-fab span[hidden] { display: none; }
.cart-sheet {
  position: fixed;
  z-index: 36;
  left: 1rem;
  bottom: 5.2rem;
  width: min(24rem, calc(100vw - 2rem));
  max-height: min(70dvh, 32rem);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.7rem;
  box-shadow: var(--shadow);
}
.cart-sheet[hidden] { display: none; }
.cart-list { display: grid; gap: 0.7rem; margin: 0.4rem 0 0.7rem; }
.cart-line {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
}
.cart-line img {
  width: 4.2rem;
  height: auto;
  object-fit: contain;
  background: #141210;
  border-radius: 0.45rem;
}
.cart-line strong { display: block; font-size: 0.92rem; }
.cart-line .x {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.2rem;
}
.cart-total { margin: 0 0 0.35rem; color: var(--gold); font-family: var(--serif); }
.cta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.45rem;
}

.card[hidden] { display: none !important; }

.empty {
  grid-column: 1 / -1;
  color: var(--muted);
  padding: 1.5rem 0 2rem;
}

.page-head { padding: 1.4rem 0 0.4rem; }
.page-head p { color: var(--muted); margin: 0; max-width: 40rem; }

.prose {
  padding-bottom: 3rem;
  max-width: 42rem;
}
.prose p,
.prose li { color: var(--text-soft); }
.prose a { color: var(--gold); }
.prose h2 { font-size: 1.35rem; margin-top: 1.4rem; }

.single {
  display: grid;
  gap: 1rem;
  padding: 1rem 0 3rem;
}

.single-photo {
  position: relative;
  width: min(100%, 28rem);
  aspect-ratio: 1;
  margin-inline: auto;
  background: #141210;
  border-radius: 1rem;
  border: 0;
  padding: 0;
  overflow: hidden;
}

.single-photo img {
  position: absolute;
  inset: 0;
}

.crumb { color: var(--muted-2); font-size: 0.85rem; margin: 0 0 0.4rem; }
.crumb a { color: var(--muted); text-decoration: none; }

.single h1 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.1;
  margin: 0.2rem 0 0.5rem;
}

.desc {
  white-space: pre-line;
  color: var(--text-soft);
  margin: 0.6rem 0;
}

.delivery-box {
  display: block;
  border-radius: 0.8rem;
  margin: 0.8rem 0 1rem;
  line-height: 1.45;
}

.similar h2 { font-size: 1.2rem; }
.similar-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.sim {
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
  border-radius: 0.7rem;
  padding: 0.4rem;
  text-align: left;
  color: var(--text);
  min-width: 0;
}
.sim img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  background: #141210;
  border-radius: 0.45rem;
}
.sim b {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 0.35rem;
  line-height: 1.3;
  min-height: 2.6em;
}
.sim span { color: var(--gold); font-size: 0.78rem; }
.sim .badge-last {
  display: inline-block;
  margin-top: 0.28rem;
  color: #fff;
  font-size: 0.68rem;
}
.sim-last { animation: eser-card-flash 1.1s ease-in-out infinite; }

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 1.5rem 0 6.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.foot-grid {
  display: grid;
  gap: 1rem;
}
.site-footer a { color: var(--text-soft); }
.site-footer strong { color: var(--text); font-weight: 560; }

.eser-fab {
  position: fixed;
  bottom: 1rem;
  z-index: 30;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  text-decoration: none;
  border: 0;
}
.eser-fab { right: 1rem; background: var(--wa); color: var(--wa-ink); }

.eser-recent {
  position: fixed;
  z-index: 28;
  left: 1rem;
  bottom: 4.6rem;
  width: min(18rem, calc(100vw - 6.5rem));
  background: rgba(26, 24, 20, 0.96);
  border: 1px solid var(--line-soft);
  border-radius: 0.9rem;
  padding: 0.35rem 0.45rem 0.5rem;
  box-shadow: var(--shadow);
}
.eser-recent[hidden] { display: none; }
.recent-head { display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; }
.eser-recent p { margin: 0; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.recent-x {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
}
.recent-pin {
  position: fixed;
  z-index: 28;
  left: 5.4rem;
  bottom: 1rem;
  height: 44px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(26, 24, 20, 0.96);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  box-shadow: var(--shadow);
}
.recent-pin[hidden] { display: none; }
.recent-row { display: flex; gap: 0.4rem; overflow-x: auto; }
.recent-row button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--text);
  display: grid;
  justify-items: center;
  width: 4.6rem;
  padding: 0;
}
.recent-row img { width: 4.2rem; height: auto; object-fit: contain; background: #141210; border-radius: 0.4rem; }
.recent-row span { font-size: 0.68rem; line-height: 1.2; max-height: 2.4em; overflow: hidden; }

.eser-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.72);
  padding: 1rem;
}
.eser-modal[hidden] { display: none; }

.sheet {
  width: min(920px, 100%);
  max-height: min(40rem, calc(100dvh - 2rem));
  background: #12110e;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  display: grid;
  grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sheet-photo {
  position: relative;
  min-height: 0;
  height: auto;
  align-self: stretch;
  background: #141210;
  border-radius: 0;
  padding: 0.6rem;
  overflow: hidden;
}
.sheet-photo img {
  position: absolute;
  inset: 0.6rem;
}

.sheet-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: auto;
  max-height: min(40rem, calc(100dvh - 2rem));
  background: var(--surface);
  overflow: hidden;
}

.sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.7rem 0 1.15rem;
}
.sheet-top .kicker { margin: 0; }
.sheet-x {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  flex: 0 0 auto;
}
.sheet-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.15;
  margin: 0;
  padding: 0.15rem 1.15rem 0.45rem;
}
.sheet-body {
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 1.15rem 0.75rem;
}
.sheet .desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sheet .delivery-box { margin: 0.35rem 0 0.5rem; }
.sheet .similar-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sheet .sim { padding: 0.35rem; }
.sheet .sim img {
  width: 100%;
  height: 5.25rem;
  aspect-ratio: auto;
  object-fit: contain;
}
.sheet .sim b { min-height: 0; -webkit-line-clamp: 2; }
.sheet .sim .cargo,
.sheet .sim .badge { display: none; }
.eser-similar-wrap { margin-top: 0.55rem; }
.eser-similar-wrap p { margin: 0 0 0.35rem; color: var(--muted); font-size: 0.82rem; }
.sheet-cta {
  padding: 0.75rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-soft);
  background: #16140f;
}
.note { color: var(--muted); font-size: 0.92rem; }

body.eser-lock .site-header,
body.eser-lock .eser-ticker,
body.eser-lock .eser-recent,
body.eser-lock .recent-pin,
body.eser-lock .cart-fab,
body.eser-lock .cart-sheet,
body.eser-lock .eser-fab {
  visibility: hidden;
  pointer-events: none;
}

@media (min-width: 720px) {
  .eser-modal { padding: 0.45rem; }
  html.admin-bar .eser-modal { top: var(--wp-admin--admin-bar--height, 32px); }
  .sheet {
    width: min(1120px, calc(100vw - 0.8rem));
    max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 0.9rem);
    overflow: hidden;
    grid-template-columns: minmax(18rem, min(58vh, 36rem)) minmax(22rem, 1fr);
  }
  .sheet-photo {
    aspect-ratio: 1;
    align-self: center;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0.4rem;
  }
  .sheet-photo img {
    inset: 0.4rem;
    width: calc(100% - 0.8rem);
    height: calc(100% - 0.8rem);
    object-fit: contain;
  }
  .sheet-panel {
    max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 0.9rem);
    overflow: hidden;
  }
  .sheet-top { padding: 0.2rem 0.45rem 0 0.9rem; }
  .sheet-x { width: 36px; height: 36px; }
  .sheet-title {
    font-size: clamp(1.25rem, 1.8vw, 1.7rem);
    padding: 0 0.9rem 0.05rem;
  }
  .sheet-body {
    overflow: hidden;
    padding: 0 0.9rem 0.2rem;
  }
  .sheet .price b { font-size: 1.05rem; }
  .sheet .desc {
    -webkit-line-clamp: 2;
    margin: 0.2rem 0;
    font-size: 0.92rem;
  }
  .sheet .delivery-box {
    margin: 0.15rem 0 0.25rem;
    padding: 0.28rem 0.65rem;
  }
  .eser-similar-wrap { margin-top: 0.2rem; }
  .eser-similar-wrap p { margin-bottom: 0.25rem; }
  .sheet .sim { padding: 0.28rem; }
  .sheet .sim img { height: 3.35rem; }
  .sheet .sim b {
    font-size: 0.7rem;
    line-height: 1.2;
    -webkit-line-clamp: 1;
    min-height: 0;
  }
  .sheet-cta { padding: 0.4rem 0.75rem 0.5rem; gap: 0.3rem; }
  .sheet-cta .add-row { gap: 0.28rem; }
  .sheet-cta .btn { min-height: 42px; }
  .sheet-cta .qty button,
  .sheet-cta .qty input { height: 38px; }
}

@media (min-width: 720px) and (max-height: 860px) {
  .sheet .desc { -webkit-line-clamp: 1; }
  .sheet .delivery-box { display: none; }
  .sheet .sim img { height: 3rem; }
}

@media (min-width: 720px) {
  .hero { grid-template-columns: 1fr; align-items: start; padding-top: 1rem; }
  .reel-slide.is-active { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .reel-meta { padding-top: 1rem; }
  .reel-nav { padding-top: 0; }
  .eser-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
  .suggest { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .single { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
  .single-photo { position: sticky; top: calc(var(--header-h) + 0.8rem); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1100px) {
  .eser-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 719px) {
  .similar-row,
  .sheet .similar-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav a { padding-inline: 0.45rem; }
  .brand-mark { font-size: 1.15rem; }
  .reel-photo,
  .single-photo { width: min(100%, 22rem); }
  .sheet {
    width: min(28rem, 100%);
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    max-height: calc(100dvh - 1rem);
  }
  .sheet-photo { height: 9.5rem; padding: 0.35rem; }
  .sheet-photo img { inset: 0.35rem; }
  .sheet .desc { display: none; }
  .sheet .sim img { height: 4.6rem; }
  .sheet .sim { flex: 0 0 calc(50% - 0.25rem); scroll-snap-align: start; }
  .sheet .similar-row {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.5rem;
    padding-bottom: 0.15rem;
  }
  .sheet-panel {
    max-height: calc(100dvh - 11.5rem);
    height: auto;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; padding-inline: 1rem; }
  html { scroll-behavior: auto; }
}
