:root {
  --mysto-template-primary-color: #541c1d;
  --mysto-template-font-heading: Arial, sans-serif;
  --mysto-template-font-body: Arial, sans-serif;
}

/* Apply fonts globally - no need for Tailwind classes */
body,
p,
span,
div,
a,
li,
td,
th {
  font-family: var(--mysto-template-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading {
  font-family: var(--mysto-template-font-heading);
}

/* body,html {
    scroll-behavior: smooth;
  } */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Remove number input arrows for Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.swup-progress-bar {
  height: 4px;
  background-color: white;
}

/* ── Ember premium header (overlay → sticky solid on scroll) ── */
:root,
body {
  --ember-header-main-h: 3.5rem;
  --ember-header-announcement-h: 2.25rem;
  --ember-header-total-h: calc(var(--ember-header-announcement-h) + 0.625rem + var(--ember-header-main-h));
  --ember-header-pill-bg: #f3f1ed;
  --ember-header-pill-shadow: 0 10px 40px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  --ember-header-glass-bg: rgba(255, 255, 255, 0.14);
  --ember-header-glass-bg-fallback: rgba(248, 246, 242, 0.92);
  --ember-header-glass-border: rgba(255, 255, 255, 0.52);
  --ember-header-glass-highlight: rgba(255, 255, 255, 0.62);
  --ember-header-glass-shadow:
    0 10px 40px rgba(15, 23, 42, 0.14),
    0 2px 10px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  --ember-header-dock-glass-bg: rgba(236, 224, 204, 0.82);
  --ember-header-dock-glass-fallback: rgba(245, 238, 226, 0.96);
  --ember-header-dock-border: rgba(255, 255, 255, 0.88);
  --ember-header-dock-shadow:
    0 -8px 32px rgba(15, 23, 42, 0.1),
    0 18px 52px rgba(15, 23, 42, 0.18),
    0 6px 18px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42);
  --ember-bottom-nav-glass-bg: rgba(255, 255, 255, 0.58);
  --ember-bottom-nav-glass-fallback: rgba(255, 255, 255, 0.88);
}

@media (min-width: 768px) {
  :root,
  body {
    --ember-header-main-h: 4.5rem;
  }
}

.ember-header {
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.ember-header__announcement {
  background: var(--mysto-template-primary-color, #541c1d) !important;
  color: rgba(255, 255, 255, 0.95);
  transition: background-color 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 75%, #000000);
}

.ember-header__announcement .ember-header__icon {
  color: rgba(255, 255, 255, 0.95);
  opacity: 1;
}

.ember-header__main {
  position: relative;
  overflow: visible;
  isolation: isolate;
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
}

.ember-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.ember-header__cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 100%;
  min-width: 0;
  position: relative;
  isolation: isolate;
}

@media (max-width: 767px) {
  .ember-header__inner {
    width: 100%;
  }

  .ember-header__cluster {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
    padding-left: 0.875rem;
    padding-right: 0.875rem;
    box-sizing: border-box;
  }

  .ember-header__brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .ember-header__actions {
    flex-shrink: 0;
    margin-left: auto;
  }
}

@media (min-width: 768px) {
  .ember-header__cluster {
    gap: 1.25rem;
    width: auto;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }
}

.ember-header__brand {
  flex-shrink: 0;
  min-width: 0;
}

.ember-header__pill-nav {
  flex-shrink: 1;
  min-width: 0;
}

.ember-header__actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ember-header__link,
.ember-header__action,
.ember-header__icon {
  color: inherit;
}

/* Logo — mark + serif wordmark */
.ember-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

@media (min-width: 768px) {
  .ember-header__logo {
    gap: 0.75rem;
  }
}

.ember-header__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: auto;
  height: auto;
  line-height: 0;
  background: transparent;
  box-shadow: none;
}

.ember-header__filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.ember-header__logo-wordmark {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 10rem;
}

@media (min-width: 768px) {
  .ember-header__logo-wordmark {
    font-size: 1.375rem;
    max-width: 14rem;
  }
}

/* Centered floating pill navigation */
.ember-header__pill-list {
  margin: 0;
  padding: 0.375rem 0.375rem 0.375rem 0.5rem;
  list-style: none;
  border-radius: 9999px;
  background: var(--ember-header-pill-bg);
  border: none;
  box-shadow: var(--ember-header-pill-shadow);
  gap: 0.125rem;
}

.ember-header__pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.125rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.25rem;
  white-space: nowrap;
  color: #374151;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ember-header__pill-link:hover {
  color: #111827;
  background: rgba(0, 0, 0, 0.04);
}

.ember-header__pill-link.is-active {
  background: rgba(0, 0, 0, 0.06);
  color: #111827;
  box-shadow: none;
}

/* Utility actions */
.ember-header__search,
.ember-header__profile,
.ember-header__cart-btn {
  color: #374151;
}

.ember-header__search:hover,
.ember-header__profile:hover,
.ember-header__cart-btn:hover {
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-header__cart-btn {
  background: transparent;
  box-shadow: none;
}

.ember-header__cart-count {
  line-height: 1;
  top: -0.125rem;
  right: -0.125rem;
  z-index: 1;
  pointer-events: none;
}

/* Overlay — glass only on the centered cluster (homepage) */
.ember-header.is-overlay {
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

/* Let page scroll through glass/empty header areas; keep controls tappable */
.ember-header.is-overlay .ember-header__brand,
.ember-header.is-overlay .ember-header__actions,
.ember-header.is-overlay .ember-header__pill-nav,
.ember-header.is-overlay .ember-header__logo,
.ember-header.is-overlay .ember-header__link,
.ember-header.is-overlay .ember-header__action,
.ember-header.is-overlay .ember-header__pill-link {
  pointer-events: auto;
}

.ember-header.is-overlay .ember-header__cluster {
  pointer-events: none;
}

.ember-header.is-overlay .ember-header__cluster > * {
  pointer-events: auto;
}

.ember-header.is-overlay .ember-header__main {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  isolation: auto;
}

.ember-header.is-overlay .ember-header__main::before,
.ember-header.is-overlay .ember-header__main::after {
  content: none;
}

.ember-header.is-overlay .ember-header__announcement {
  background: var(--mysto-template-primary-color, #541c1d) !important;
  color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 75%, #000000);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-shadow: none;
}

.ember-header.is-overlay .ember-header__announcement .ember-header__icon {
  color: rgba(255, 255, 255, 0.95);
  opacity: 1;
}

.ember-header.is-overlay .ember-header__cluster {
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  background: var(--ember-header-glass-bg-fallback);
  border: 1px solid var(--ember-header-glass-border);
  box-shadow: var(--ember-header-glass-shadow);
  overflow: visible;
}

@media (max-width: 767px) {
  /* Homepage overlay — normal full-width bar on mobile (glass pill on desktop only) */
  .ember-header.is-overlay {
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    pointer-events: auto;
  }

  .ember-header.is-overlay .ember-header__announcement {
    background: var(--mysto-template-primary-color, #541c1d) !important;
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 75%, #000000);
    text-shadow: none;
  }

  .ember-header.is-overlay .ember-header__main {
    background: #ffffff;
    border-bottom: 1px solid #e8e6e3;
  }

  .ember-header.is-overlay .ember-header__inner {
    margin-top: 0;
  }

  .ember-header.is-overlay .ember-header__cluster {
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .ember-header.is-overlay .ember-header__cluster::before,
  .ember-header.is-overlay .ember-header__cluster::after {
    content: none;
  }

  body.ember-header-overlay {
    --ember-header-total-h: calc(var(--ember-header-announcement-h) + var(--ember-header-main-h));
  }
}

@media (min-width: 768px) {
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .ember-header.is-overlay .ember-header__cluster {
      background: var(--ember-header-dock-glass-bg);
      -webkit-backdrop-filter: blur(40px) saturate(1.9) brightness(1.12);
      backdrop-filter: blur(40px) saturate(1.9) brightness(1.12);
    }
  }
}

/* Liquid glass — specular highlight + inner depth (desktop overlay only) */
@media (min-width: 768px) {
  .ember-header.is-overlay .ember-header__cluster {
    background: var(--ember-header-dock-glass-fallback);
    border: 1px solid var(--ember-header-dock-border);
    box-shadow: var(--ember-header-dock-shadow);
  }

  .ember-header.is-overlay .ember-header__cluster::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 248, 238, 0.42) 32%,
    rgba(228, 198, 162, 0.28) 68%,
    rgba(196, 158, 118, 0.34) 100%
  );
  opacity: 0.96;
}

  .ember-header.is-overlay .ember-header__cluster::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      inset 0 -1px 0 rgba(0, 0, 0, 0.05),
      inset 1px 0 0 rgba(255, 255, 255, 0.18),
      inset -1px 0 0 rgba(255, 255, 255, 0.08);
  }
}

.ember-header.is-overlay .ember-header__cluster > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .ember-header.is-overlay .ember-header__cluster {
    padding: 0.625rem 1.25rem;
  }
}

.ember-header.is-overlay .ember-header__logo-wordmark {
  color: #1f2937;
  text-shadow: none;
}

.ember-header.is-overlay .ember-header__search,
.ember-header.is-overlay .ember-header__profile,
.ember-header.is-overlay .ember-header__cart-btn {
  color: #1f2937;
}

.ember-header.is-overlay .ember-header__search:hover,
.ember-header.is-overlay .ember-header__profile:hover,
.ember-header.is-overlay .ember-header__cart-btn:hover {
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-header.is-overlay .ember-header__pill-list {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ember-header.is-overlay .ember-header__pill-link {
  color: #374151;
}

.ember-header.is-overlay .ember-header__pill-link:hover {
  color: #111827;
  background: rgba(255, 255, 255, 0.28);
}

.ember-header.is-overlay .ember-header__pill-link.is-active {
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* Logo — knock out baked-in white/light box from uploaded raster logos */
.ember-header__logo-img {
  display: block;
  height: 1.625rem;
  width: auto;
  max-width: 5.75rem;
  opacity: 1;
  background: transparent !important;
  object-fit: contain;
  filter: url(#ember-logo-knockout);
}

@media (min-width: 768px) {
  .ember-header__logo-img {
    height: 2.125rem;
    max-width: 7rem;
  }
}

/* Homepage — same compact logo size as inner pages */
body.ember-header-overlay .ember-header__logo-img {
  height: 1.5rem;
  max-width: 5.25rem;
}

@media (min-width: 768px) {
  body.ember-header-overlay .ember-header__logo-img {
    height: 1.875rem;
    max-width: 6.25rem;
  }
}

body.ember-header-overlay .ember-header__inner {
  height: 3.25rem;
}

@media (min-width: 768px) {
  body.ember-header-overlay .ember-header__inner {
    height: 4rem;
  }
}

/* White chip behind logo on dark overlay so JPG / dark logos stay visible */
/* .ember-header.is-overlay .ember-header__logo {
  background: rgba(255, 255, 255, 0.97);
  padding: 0.25rem 0.75rem;
  line-height: 0;
  border-radius: 2px;
} */

.ember-header.is-solid .ember-header__logo {
  background: transparent;
  padding: 0;
}

/* Solid — light bar on inner pages */
.ember-header.is-solid {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  pointer-events: auto;
}

.ember-header.is-solid .ember-header__announcement {
  background: var(--mysto-template-primary-color, #541c1d) !important;
  color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 75%, #000000);
  text-shadow: none;
}

.ember-header.is-solid .ember-header__announcement .ember-header__icon {
  color: rgba(255, 255, 255, 0.95);
  opacity: 1;
}

.ember-header.is-solid .ember-header__main {
  background: #ffffff;
  border-bottom: 1px solid #e8e6e3;
}

.ember-header.is-solid .ember-header__inner {
  margin-top: 0;
  justify-content: center;
  width: 100%;
  min-height: var(--ember-header-main-h);
}

.ember-header.is-solid .ember-header__cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  gap: 0.75rem;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  background: var(--ember-header-pill-bg);
  border: none;
  box-shadow: var(--ember-header-pill-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

.ember-header.is-solid .ember-header__cluster::before,
.ember-header.is-solid .ember-header__cluster::after {
  content: none;
}

.ember-header.is-solid .ember-header__pill-list {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (min-width: 768px) {
  .ember-header.is-solid .ember-header__cluster {
    gap: 1.25rem;
    padding: 0.625rem 1.25rem;
  }
}

@media (max-width: 767px) {
  .ember-header.is-solid .ember-header__inner {
    justify-content: stretch;
  }

  .ember-header.is-solid .ember-header__cluster {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5625rem 1rem;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
}

.ember-header.is-solid .ember-header__main::before,
.ember-header.is-solid .ember-header__main::after {
  content: none;
}

.ember-header.is-solid .ember-header__logo-wordmark {
  color: #1f2937;
}

.ember-header.is-solid .ember-header__link,
.ember-header.is-solid .ember-header__action {
  color: #374151;
}

.ember-header.is-solid .ember-header__pill-link:not(.is-active) {
  color: #374151;
}

.ember-header.is-solid .ember-header__pill-link:not(.is-active):hover {
  color: #111827;
}

.ember-header.is-solid .ember-header__search,
.ember-header.is-solid .ember-header__profile,
.ember-header.is-solid .ember-header__cart-btn {
  color: #374151;
}

.ember-header.is-solid .ember-header__search:hover,
.ember-header.is-solid .ember-header__profile:hover,
.ember-header.is-solid .ember-header__cart-btn:hover {
  color: var(--mysto-template-primary-color, #541c1d);
}

/* Reserve space when header is solid so content isn't hidden under fixed bar */
body.ember-header-solid {
  --ember-header-total-h: calc(var(--ember-header-announcement-h) + var(--ember-header-main-h));
  padding-top: var(--ember-header-total-h);
}

body.ember-header-overlay {
  padding-top: 0;
  --ember-header-main-h: 3.25rem;
}

@media (min-width: 768px) {
  body.ember-header-overlay,
  body.ember-header-solid {
    --ember-header-bottom-dock-h: calc(var(--ember-header-main-h) + 2.5rem + env(safe-area-inset-bottom, 0px));
  }

  body.ember-header-overlay {
    --ember-header-main-h: 4rem;
    --ember-header-total-h: var(--ember-header-announcement-h);
  }

  body.ember-header-solid {
    --ember-header-total-h: var(--ember-header-announcement-h);
    padding-top: var(--ember-header-announcement-h);
    padding-bottom: var(--ember-header-bottom-dock-h);
  }

  /* Desktop — floating pill dock at bottom (homepage + inner pages) */
  .ember-header.is-overlay .ember-header__main,
  .ember-header.is-solid .ember-header__main {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
    background: transparent;
    border-bottom: none;
  }

  .ember-header.is-solid {
    background: transparent;
    box-shadow: none;
  }

  .ember-header.is-overlay .ember-header__inner,
  .ember-header.is-solid .ember-header__inner {
    margin-top: 0;
    pointer-events: none;
  }

  .ember-header.is-overlay .ember-header__cluster,
  .ember-header.is-solid .ember-header__cluster {
    pointer-events: auto;
    filter: drop-shadow(0 10px 28px rgba(15, 23, 42, 0.14));
  }

  .ember-header.is-solid .ember-header__cluster {
    background: var(--ember-header-pill-bg);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: var(--ember-header-dock-shadow);
  }

  .ember-header.is-overlay .ember-header__pill-link.is-active,
  .ember-header.is-solid .ember-header__pill-link.is-active {
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      0 4px 14px rgba(0, 0, 0, 0.22);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.ember-header-overlay footer,
  body.ember-header-solid footer {
    padding-bottom: 0;
  }

  body.ember-header-overlay footer {
    padding-bottom: var(--ember-header-bottom-dock-h);
  }
}

/* ── Mobile bottom nav — liquid glass ── */
.ember-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.ember-bottom-nav__glass {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--ember-bottom-nav-glass-fallback);
  border: 1px solid var(--ember-header-glass-border);
  box-shadow:
    0 12px 40px rgba(15, 23, 42, 0.16),
    0 4px 14px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .ember-bottom-nav__glass {
    background: var(--ember-bottom-nav-glass-bg);
    -webkit-backdrop-filter: blur(32px) saturate(1.8) brightness(1.08);
    backdrop-filter: blur(32px) saturate(1.8) brightness(1.08);
  }
}

.ember-bottom-nav__glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    var(--ember-header-glass-highlight) 0%,
    rgba(255, 255, 255, 0.14) 28%,
    rgba(255, 255, 255, 0.03) 55%,
    rgba(255, 255, 255, 0.08) 100%
  );
  opacity: 0.88;
}

.ember-bottom-nav__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}

.ember-bottom-nav__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem;
  padding: 0.375rem 0.5rem;
  pointer-events: none;
}

.ember-bottom-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.375rem;
  border-radius: 0.875rem;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
  pointer-events: auto;
}

.ember-bottom-nav__link svg {
  width: 1.5rem;
  height: 1.5rem;
}

.ember-lucide-icon {
  flex-shrink: 0;
  display: block;
}

.ember-bottom-nav__link span:not(.ember-bottom-nav__cart-count) {
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1;
}

.ember-bottom-nav__link:hover {
  color: var(--mysto-template-primary-color, #541c1d);
  background: rgba(255, 255, 255, 0.22);
}

.ember-bottom-nav__link.text-primary {
  color: var(--mysto-template-primary-color, #541c1d);
  background: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.ember-bottom-nav__link--cart {
  position: relative;
}

.ember-bottom-nav__cart-count {
  position: absolute;
  top: 0.25rem;
  right: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  border-radius: 9999px;
  background: var(--mysto-template-primary-color, #541c1d);
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}

/* Homepage â€” premium category cards */
.ember-category-card-link {
  text-decoration: none;
}

.ember-category-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 5 / 5;
  border-radius: 20px;
  background: #e7e5e4;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.45s ease, transform 0.45s ease;
}

@media (min-width: 768px) {
  .ember-category-card {
    aspect-ratio: 5 / 5;
    border-radius: 20px;
  }
}

.ember-category-card-link:hover .ember-category-card {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  transform: translateY(-2px);
}

.ember-category-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ember-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.096);
  transition: background-color 0.45s ease;
}

.ember-category-card-link:hover .ember-category-card::before {
  background: rgba(0, 0, 0, 0.295);
}

.ember-category-card-link:hover .ember-category-card__image {
  transform: scale(1.05);
}

.ember-category-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem 1rem;
}

@media (min-width: 768px) {
  .ember-category-card__content {
    padding: 1.75rem 1.5rem;
  }
}

.ember-category-card__title {
  margin: 0 0 0.625rem;
  color: #fff;
  font-family: var(--mysto-template-font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  .ember-category-card__title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .ember-category-card__title {
    font-size: 1.85rem;
  }
}

.ember-category-card__desc {
  margin: 0 0 1rem;
  max-width: 17rem;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--mysto-template-font-body);
  font-size: 0.6875rem;
  font-weight: 300;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

@media (min-width: 768px) {
  .ember-category-card__desc {
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
    max-width: 22rem;
  }
}

.ember-category-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-width: 9.5rem;
  padding: 0.7rem 1.25rem;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  font-family: var(--mysto-template-font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  border-radius: 20px;
}

.ember-category-card__cta-icon {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.ember-category-card-link:hover .ember-category-card__cta-icon,
.ember-category-card-link:focus-visible .ember-category-card__cta-icon,
.ember-category-card-link:active .ember-category-card__cta-icon {
  transform: translateX(3px);
}

@media (min-width: 768px) {
  .ember-category-card__cta {
    min-width: 10.5rem;
    padding: 0.8rem 1.5rem;
    font-size: 0.6875rem;
  }
}

.ember-category-card-link:hover .ember-category-card__cta,
.ember-category-card-link:focus-visible .ember-category-card__cta,
.ember-category-card-link:active .ember-category-card__cta {
  background: var(--mysto-template-primary-color, #541c1d);
  border-color: var(--mysto-template-primary-color, #541c1d);
  color: #fff;
  transform: translateY(-1px);
}

/* Product cards — soft listing card */
.ember-product-card-wrap {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ember-product-card__image-link,
.ember-product-card__title-link {
  text-decoration: none;
  color: inherit;
}

.ember-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.ember-product-card-wrap:hover .ember-product-card {
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.ember-product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.ember-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  box-sizing: border-box;
  transition: transform 0.45s ease, opacity 0.4s ease, filter 0.4s ease;
}

.ember-product-card-wrap:hover .ember-product-card__image:not(.ember-product-card__image--oos) {
  transform: scale(1.03);
}

.ember-product-card__image--oos {
  filter: grayscale(1);
  opacity: 0.55;
}

.ember-product-card__badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  max-width: calc(100% - 1.5rem);
}

.ember-product-card__badge {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  font-family: var(--mysto-template-font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.ember-product-card__badge--sale {
  background: rgba(55, 65, 81, 0.92);
  color: #fff;
  border-color: transparent;
}

.ember-product-card__badge--oos {
  color: #b91c1c;
}

.ember-product-card__badge--low-stock {
  color: #b45309;
}

.ember-product-card__title {
  margin: 0;
  transition: color 0.3s ease;
}

.ember-product-card-wrap:hover .ember-product-card__title {
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-product-card__price {
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.ember-product-card__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  min-height: 1.125rem;
}

.ember-product-card__actions .ember-shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: static;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0.4375rem 0.625rem;
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1;
  border-radius: 9999px;
  border: 1px solid var(--mysto-template-primary-color, #541c1d);
  background: var(--mysto-template-primary-color, #541c1d);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.2s ease;
}

.ember-product-card__actions .ember-shop-btn:hover,
.ember-product-card__actions .ember-shop-btn:focus-visible {
  filter: brightness(0.95);
  color: #fff;
}

.ember-product-card__actions .ember-quick-view-btn {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.875rem;
  height: 1.875rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(55, 65, 81, 0.92);
  color: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ember-product-card__actions .ember-quick-view-btn:hover,
.ember-product-card__actions .ember-quick-view-btn:focus-visible {
  background: #1f2937;
}

.ember-product-card__actions .ember-quick-view-btn__icon {
  width: 0.8125rem;
  height: 0.8125rem;
}

.ember-product-card__actions {
  min-width: 0;
}

@media (min-width: 640px) {
  .ember-product-card__actions .ember-shop-btn {
    flex: 0 1 auto;
    padding: 0.5rem 1rem;
    font-size: 0.6875rem;
  }

  .ember-product-card__actions .ember-quick-view-btn {
    width: 2rem;
    height: 2rem;
  }

  .ember-product-card__actions .ember-quick-view-btn__icon {
    width: 0.875rem;
    height: 0.875rem;
  }
}

@media (min-width: 768px) {
  .ember-product-card__actions .ember-shop-btn {
    padding: 0.5625rem 1.125rem;
    font-size: 0.75rem;
  }

  .ember-product-card__actions .ember-quick-view-btn {
    width: 2.125rem;
    height: 2.125rem;
  }

  .ember-product-card__actions .ember-quick-view-btn__icon {
    width: 1rem;
    height: 1rem;
  }
}

/* Quick View modal */
.ember-qv-modal__backdrop {
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: ember-qv-fade-in 0.3s ease-out;
}

.ember-qv-modal__dialog {
  border-radius: 1.75rem 1.75rem 0 0;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.2);
  animation: ember-qv-enter 0.35s ease-out;
}

@media (min-width: 640px) {
  .ember-qv-modal__dialog {
    border-radius: 1.75rem;
  }
}

.ember-qv__media-frame {
  border-radius: 1rem;
  background: #f9fafb;
}

@media (min-width: 640px) {
  .ember-qv__media-frame {
    border-radius: 1.5rem;
  }
}

.ember-qv__media-frame .ember-product-share-btn,
.ember-qv__media-frame .myst-product-share-btn--overlay {
  top: 0.75rem;
  right: 0.75rem;
}

@keyframes ember-qv-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes ember-qv-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ember-qv-add-btn {
  letter-spacing: 0.02em;
  border-radius: 9999px;
}

.ember-qv-details-link:hover svg {
  transform: translateX(2px);
  transition: transform 0.2s ease;
}

/* Gallery / quick-view modal — share overlay (not product card footer) */
.relative > .ember-product-share-btn.myst-product-share-btn--overlay,
.relative > .myst-product-share-btn--overlay {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
}

/* Section — split pill CTA (store color + white circle arrow) */
.ember-section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.5rem;
  padding: 0.3125rem 0.3125rem 0.3125rem 1.25rem;
  border: none;
  border-radius: 9999px;
  background: var(--mysto-template-primary-color, #541c1d);
  color: #ffffff;
  font-family: var(--mysto-template-font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

button.ember-section-link:disabled {
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (min-width: 768px) {
  .ember-section-link {
    min-height: 2.75rem;
    gap: 0.875rem;
    padding: 0.375rem 0.375rem 0.375rem 1.5rem;
    font-size: 0.875rem;
  }
}

.ember-section-link__label {
  display: inline-block;
  color: #ffffff;
}

.ember-section-link__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--mysto-template-primary-color, #541c1d);
  transition: transform 0.35s ease, background-color 0.35s ease;
}

@media (min-width: 768px) {
  .ember-section-link__icon-wrap {
    width: 2.25rem;
    height: 2.25rem;
  }
}

.ember-section-link__icon-wrap .ember-section-link__icon {
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
  color: var(--mysto-template-primary-color, #541c1d);
  stroke: var(--mysto-template-primary-color, #541c1d);
  transition: transform 0.35s ease;
}

.ember-section-link:hover,
.ember-section-link:focus-visible {
  color: #ffffff;
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 88%, #000000);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 35%, transparent);
}

.ember-section-link:hover .ember-section-link__label,
.ember-section-link:focus-visible .ember-section-link__label {
  color: #ffffff;
}

.ember-section-link:hover .ember-section-link__icon-wrap,
.ember-section-link:focus-visible .ember-section-link__icon-wrap {
  background-color: #ffffff;
  color: var(--mysto-template-primary-color, #541c1d);
  transform: scale(1.05);
}

.ember-section-link:hover .ember-section-link__icon-wrap .ember-section-link__icon,
.ember-section-link:focus-visible .ember-section-link__icon-wrap .ember-section-link__icon {
  color: var(--mysto-template-primary-color, #541c1d);
  stroke: var(--mysto-template-primary-color, #541c1d);
  transform: translate(1px, -1px);
}

.ember-section-link--center {
  margin-inline: auto;
}

.ember-section-link--outline {
  background: transparent;
  border: 1px solid #111827;
  color: #111827;
  box-shadow: none;
}

.ember-section-link--outline .ember-section-link__label {
  color: #111827;
}

.ember-section-link--outline .ember-section-link__icon-wrap {
  background-color: #111827;
  border: 1px solid #111827;
  color: #ffffff;
}

.ember-section-link--outline .ember-section-link__icon-wrap .ember-section-link__icon {
  color: #ffffff;
  stroke: #ffffff;
}

.ember-section-link--outline:hover,
.ember-section-link--outline:focus-visible {
  background: transparent;
  border-color: var(--mysto-template-primary-color, #541c1d);
  color: #111827;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 22%, transparent);
}

.ember-section-link--outline:hover .ember-section-link__label,
.ember-section-link--outline:focus-visible .ember-section-link__label {
  color: #111827;
}

.ember-section-link--outline:hover .ember-section-link__icon-wrap,
.ember-section-link--outline:focus-visible .ember-section-link__icon-wrap {
  background-color: var(--mysto-template-primary-color, #541c1d);
  border-color: var(--mysto-template-primary-color, #541c1d);
  color: #ffffff;
  transform: scale(1.05);
}

.ember-section-link--outline:hover .ember-section-link__icon-wrap .ember-section-link__icon,
.ember-section-link--outline:focus-visible .ember-section-link__icon-wrap .ember-section-link__icon {
  color: #ffffff;
  stroke: #ffffff;
  transform: translate(1px, -1px);
}

/* Shop page — square category cards */
.ember-shop-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 768px) {
  .ember-shop-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .ember-shop-categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ember-shop-category-card {
  min-width: 0;
  text-decoration: none;
}

.ember-shop-category-card__inner {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: #3d3530;
  isolation: isolate;
}

.ember-shop-category-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.ember-shop-category-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  transition: background-color 0.35s ease;
}

.ember-shop-category-card:hover .ember-shop-category-card__overlay,
.ember-shop-category-card:focus-visible .ember-shop-category-card__overlay {
  background: rgba(0, 0, 0, 0.52);
}

.ember-shop-category-card:hover .ember-shop-category-card__image,
.ember-shop-category-card:focus-visible .ember-shop-category-card__image {
  transform: scale(1.04);
}

.ember-shop-category-card__arrow {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #374151;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.ember-shop-category-card__arrow svg {
  width: 0.875rem;
  height: 0.875rem;
}

.ember-shop-category-card:hover .ember-shop-category-card__arrow,
.ember-shop-category-card:focus-visible .ember-shop-category-card__arrow {
  transform: translate(2px, -2px);
  background: #ffffff;
}

.ember-shop-category-card__title {
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  bottom: 0.875rem;
  z-index: 2;
  margin: 0;
  color: #ffffff;
  font-family: var(--mysto-template-font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

@media (min-width: 768px) {
  .ember-shop-category-card__arrow {
    top: 0.875rem;
    right: 0.875rem;
    width: 2rem;
    height: 2rem;
  }

  .ember-shop-category-card__arrow svg {
    width: 1rem;
    height: 1rem;
  }

  .ember-shop-category-card__title {
    left: 1.125rem;
    right: 1.125rem;
    bottom: 1.125rem;
    font-size: 1.5rem;
  }
}

/* Collections page — header + scrollable tabs */
.ember-collections {
  --ember-collections-fade: #fafafa;
}

.ember-collections__header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .ember-collections__header {
    margin-bottom: 2.75rem;
  }
}

.ember-collections__title {
  margin: 0;
  font-family: var(--mysto-template-font-heading);
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #111827;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  .ember-collections__title {
    font-size: 2.75rem;
  }
}

.ember-collections__subtitle {
  margin: 0.625rem 0 0;
  max-width: 32rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.6;
  color: #6b7280;
}

@media (min-width: 768px) {
  .ember-collections__subtitle {
    margin-top: 0.75rem;
    font-size: 1rem;
  }
}

.ember-collections__accent {
  display: block;
  width: 4rem;
  height: 2px;
  margin-top: 0.875rem;
  background: var(--mysto-template-primary-color, #541c1d);
}

@media (min-width: 768px) {
  .ember-collections__accent {
    width: 4.5rem;
    margin-top: 1rem;
  }
}

.ember-collections-carousel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .ember-collections-carousel {
    gap: 0.75rem;
    margin-bottom: 2.5rem;
  }
}

.ember-collections-carousel__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

@media (min-width: 768px) {
  .ember-collections-carousel__btn {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.ember-collections-carousel__btn:hover:not(:disabled),
.ember-collections-carousel__btn:focus-visible:not(:disabled) {
  border-color: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 40%, #e5e7eb);
  color: var(--mysto-template-primary-color, #541c1d);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
  outline: none;
}

.ember-collections-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.ember-collections-carousel__icon {
  width: 1rem;
  height: 1rem;
}

.ember-collections-tabs-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.ember-collections-tabs-wrap::before,
.ember-collections-tabs-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0.375rem;
  width: 1.5rem;
  z-index: 2;
  pointer-events: none;
}

.ember-collections-tabs-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--ember-collections-fade) 20%, transparent 100%);
}

.ember-collections-tabs-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--ember-collections-fade) 20%, transparent 100%);
}

@media (min-width: 768px) {
  .ember-collections-tabs-wrap::before,
  .ember-collections-tabs-wrap::after {
    width: 2rem;
  }
}

.ember-collections-tabs {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 0.5rem;
  padding-bottom: 0.375rem;
}

.ember-collections-tabs__track {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: min-content;
  padding: 0.25rem 0.5rem;
}

@media (min-width: 768px) {
  .ember-collections-tabs__track {
    gap: 0.625rem;
    padding-inline: 0.75rem;
  }
}

.ember-collections-tab {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.625rem 1.125rem;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  background: transparent;
  color: #4b5563;
  font-family: var(--mysto-template-font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: none;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

@media (min-width: 768px) {
  .ember-collections-tab {
    min-height: 2.75rem;
    padding: 0.7rem 1.375rem;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }
}

.ember-collections-tab:hover,
.ember-collections-tab:focus-visible {
  border-color: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 35%, #e5e7eb);
  color: #111827;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  outline: none;
}

.ember-collections-tab.is-active,
.ember-collections-tab[aria-current='page'] {
  border-color: transparent;
  background: var(--mysto-template-primary-color, #541c1d);
  color: #ffffff;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 35%, transparent);
}

.ember-collections-tab.is-active:hover,
.ember-collections-tab.is-active:focus-visible,
.ember-collections-tab[aria-current='page']:hover,
.ember-collections-tab[aria-current='page']:focus-visible {
  color: #ffffff;
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 92%, #000000);
}

.ember-collections-empty {
  margin-bottom: 2rem;
  padding: 3rem 1rem;
  border: 1px dashed #e5e7eb;
  border-radius: 1rem;
  background: #ffffff;
  text-align: center;
}

.ember-collections-empty__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 400;
  color: #374151;
}

.ember-collections-empty__text {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 300;
  color: #6b7280;
}

/* Shop page — category card sizing overrides (legacy) */
.ember-category-card--shop {
  aspect-ratio: 1 / 1;
}

@media (max-width: 639px) {
  .ember-category-card--shop {
    aspect-ratio: 4 / 5;
  }

  .ember-category-card-link--shop .ember-category-card__content {
    justify-content: flex-end;
    padding: 1.25rem 1rem 1.5rem;
    gap: 0.5rem;
    background: linear-gradient(
      180deg,
      transparent 35%,
      rgba(0, 0, 0, 0.35) 72%,
      rgba(0, 0, 0, 0.55) 100%
    );
  }

  .ember-category-card-link--shop .ember-category-card__title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0;
  }

  .ember-category-card-link--shop .ember-category-card__desc {
    margin-bottom: 0.625rem;
    max-width: 100%;
    font-size: 0.8125rem;
    -webkit-line-clamp: 2;
  }

  .ember-category-card-link--shop .ember-category-card__cta {
    min-width: auto;
    width: 100%;
    max-width: 16rem;
    padding: 0.8rem 1.35rem;
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
  }
}

.ember-category-card-link--shop .ember-category-card__title {
  font-size: 1.375rem;
}

@media (min-width: 768px) {
  .ember-category-card-link--shop .ember-category-card__content {
    padding: 1.5rem 1rem;
    justify-content: center;
  }

  .ember-category-card-link--shop .ember-category-card__title {
    font-size: 1.5rem;
    margin-bottom: 0.625rem;
  }

  .ember-category-card-link--shop .ember-category-card__desc {
    margin-bottom: 1rem;
    max-width: 100%;
    font-size: 0.8125rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
  }

  .ember-category-card-link--shop .ember-category-card__cta {
    min-width: auto;
    width: 100%;
    max-width: 14rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
  }

  .ember-category-card-link--shop .ember-category-card__cta-icon {
    width: 0.875rem;
    height: 0.875rem;
  }
}

@media (min-width: 1280px) {
  .ember-category-card-link--shop .ember-category-card__content {
    padding: 1.75rem 1.25rem;
  }

  .ember-category-card-link--shop .ember-category-card__title {
    font-size: 1.625rem;
    margin-bottom: 0.75rem;
  }

  .ember-category-card-link--shop .ember-category-card__desc {
    margin-bottom: 1.125rem;
    font-size: 0.875rem;
    -webkit-line-clamp: 2;
  }

  .ember-category-card-link--shop .ember-category-card__cta {
    max-width: 15rem;
    padding: 0.8rem 1.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
  }

  .ember-category-card-link--shop .ember-category-card__cta-icon {
    width: 0.9375rem;
    height: 0.9375rem;
  }
}

/* Category mosaic — large sq left + 2×2 small squares right (all square ratio) */
.ember-category-bento {
  display: grid;
  gap: 0.625rem;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "hero hero"
    "sq2 sq3"
    "sq4 sq5";
}

.ember-category-bento--four {
  grid-template-areas:
    "hero hero"
    "sq2 sq3"
    "sq4 sq4";
}

.ember-category-bento--compact {
  grid-template-columns: 1fr;
  grid-template-areas: none;
}

/* Shop page — uniform square category cards */
.ember-category-bento--square-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.ember-category-bento--square-grid .ember-category-card--bento {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

@media (min-width: 768px) {
  .ember-category-bento--square-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .ember-category-bento--square-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .ember-category-bento--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .ember-category-bento:not(.ember-category-bento--compact) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "hero hero sq2 sq3"
      "hero hero sq4 sq5";
    gap: 0.75rem;
    aspect-ratio: 2 / 1;
  }

  .ember-category-bento--four:not(.ember-category-bento--compact) {
    grid-template-areas:
      "hero hero sq2 sq3"
      "hero hero sq4 sq4";
  }
}

@media (min-width: 1024px) {
  .ember-category-bento:not(.ember-category-bento--compact) {
    gap: 1rem;
  }
}

.ember-category-bento:not(.ember-category-bento--compact) > .ember-category-bento__item:nth-child(1) {
  grid-area: hero;
}

.ember-category-bento:not(.ember-category-bento--compact) > .ember-category-bento__item:nth-child(2) {
  grid-area: sq2;
}

.ember-category-bento:not(.ember-category-bento--compact) > .ember-category-bento__item:nth-child(3) {
  grid-area: sq3;
}

.ember-category-bento:not(.ember-category-bento--compact) > .ember-category-bento__item:nth-child(4) {
  grid-area: sq4;
}

.ember-category-bento:not(.ember-category-bento--compact) > .ember-category-bento__item:nth-child(5) {
  grid-area: sq5;
}

.ember-category-bento__item {
  display: block;
  min-height: 0;
  min-width: 0;
}

.ember-category-bento__item--hero .ember-category-card--bento {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.ember-category-bento__item--cell .ember-category-card--bento,
.ember-category-bento__item--compact .ember-category-card--bento {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

@media (min-width: 768px) {
  .ember-category-bento:not(.ember-category-bento--compact) .ember-category-bento__item .ember-category-card--bento {
    aspect-ratio: auto;
    min-height: 100%;
    height: 100%;
  }
}

.ember-category-bento-more {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .ember-category-bento-more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
  }
}

@media (min-width: 1024px) {
  .ember-category-bento-more {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ember-category-card--bento {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: #3d3530;
  box-shadow: none;
  transition: transform 0.35s ease;
}

.ember-category-card-link--bento:hover .ember-category-card--bento {
  transform: translateY(-2px);
}

.ember-category-card--bento::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.5) 100%
  );
  transition: background 0.4s ease;
}

.ember-category-card-link--bento:hover .ember-category-card--bento::before,
.ember-category-card-link--bento:focus-visible .ember-category-card--bento::before {
  background: rgba(0, 0, 0, 0.55);
}

.ember-category-card-link--bento .ember-category-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.ember-category-card-link--bento .ember-category-card__arrow {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #1f2937;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, background-color 0.35s ease;
}

.ember-category-card-link--bento .ember-category-card__arrow svg {
  width: 0.875rem;
  height: 0.875rem;
}

.ember-category-card-link--bento:hover .ember-category-card__arrow,
.ember-category-card-link--bento:focus-visible .ember-category-card__arrow {
  transform: translate(2px, -2px);
  background: #ffffff;
}

.ember-category-card-link--bento .ember-category-card__content--overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0.875rem 0.75rem;
  pointer-events: none;
  transition: align-items 0.4s ease, justify-content 0.4s ease, padding 0.4s ease;
}

.ember-category-card-link--bento:hover .ember-category-card__content--overlay,
.ember-category-card-link--bento:focus-visible .ember-category-card__content--overlay {
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.ember-category-card-link--bento .ember-category-card__content--overlay .ember-category-card__title {
  margin: 0;
  padding: 0;
  background: transparent;
  color: #ffffff;
  font-family: var(--mysto-template-font-heading);
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  max-width: 100%;
  white-space: normal;
  transition: text-align 0.4s ease, transform 0.4s ease;
}

.ember-category-card-link--bento .ember-category-card__content--overlay .ember-category-card__desc {
  margin: 0.375rem 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--mysto-template-font-body);
  font-size: 0.6875rem;
  font-weight: 300;
  line-height: 1.45;
  text-align: left;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  opacity: 1;
  transition: opacity 0.35s ease, text-align 0.4s ease;
}

.ember-category-card-link--bento:hover .ember-category-card__content--overlay .ember-category-card__title,
.ember-category-card-link--bento:focus-visible .ember-category-card__content--overlay .ember-category-card__title {
  text-align: center;
}

.ember-category-card-link--bento:hover .ember-category-card__content--overlay .ember-category-card__desc,
.ember-category-card-link--bento:focus-visible .ember-category-card__content--overlay .ember-category-card__desc {
  text-align: center;
}

/* Hide description on small tiles — title only */
.ember-category-bento__item--cell .ember-category-card__content--overlay .ember-category-card__desc,
.ember-category-bento__item--compact .ember-category-card__content--overlay .ember-category-card__desc {
  display: none;
}

@media (min-width: 768px) {
  .ember-category-card-link--bento .ember-category-card__arrow {
    top: 0.875rem;
    right: 0.875rem;
    width: 2rem;
    height: 2rem;
  }

  .ember-category-card-link--bento .ember-category-card__arrow svg {
    width: 1rem;
    height: 1rem;
  }

  .ember-category-card-link--bento .ember-category-card__content--overlay {
    padding: 1.125rem 1rem;
  }

  .ember-category-card-link--bento:hover .ember-category-card__content--overlay,
  .ember-category-card-link--bento:focus-visible .ember-category-card__content--overlay {
    padding: 1.25rem;
  }

  .ember-category-card-link--bento .ember-category-card__content--overlay .ember-category-card__title {
    font-size: clamp(1rem, 1.3vw, 1.125rem);
  }

  .ember-category-card-link--bento .ember-category-card__content--overlay .ember-category-card__desc {
    font-size: 0.75rem;
    max-width: 18rem;
  }

  .ember-category-bento__item--hero .ember-category-card__content--overlay {
    padding: 1.5rem;
  }

  .ember-category-bento__item--hero .ember-category-card__content--overlay .ember-category-card__title {
    font-size: clamp(1.375rem, 2vw, 1.75rem);
    font-weight: 500;
  }

  .ember-category-bento__item--hero .ember-category-card__content--overlay .ember-category-card__desc {
    display: -webkit-box;
    font-size: 0.8125rem;
    margin-top: 0.5rem;
    max-width: 20rem;
    -webkit-line-clamp: 3;
  }

  .ember-category-bento__item--hero .ember-category-card__arrow {
    top: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
  }
}

.ember-category-card-link--bento:hover .ember-category-card__image {
  transform: scale(1.06);
}

/* Product detail — Quill/rich-text description (global; Swup does not swap <head>) */
.product-description p {
  margin-bottom: 0.75rem;
}

.product-description p:last-child {
  margin-bottom: 0;
}

.product-description ul,
.product-description ol {
  margin-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.product-description ul {
  list-style-type: disc;
}

.product-description ol {
  list-style-type: decimal;
}

.product-description li {
  margin-bottom: 0.25rem;
}

.product-description strong {
  font-weight: 600;
}

.product-description em {
  font-style: italic;
}

.product-description u {
  text-decoration: underline;
}

.product-description a {
  color: #6366f1;
  text-decoration: underline;
}

.product-description blockquote {
  border-left: 4px solid #e5e7eb;
  padding-left: 1rem;
  margin: 0.75rem 0;
  color: #6b7280;
}

.product-description h1,
.product-description h2,
.product-description h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.product-description h1 {
  font-size: 1.5rem;
}

.product-description h2 {
  font-size: 1.25rem;
}

.product-description h3 {
  font-size: 1.125rem;
}

/* Search modal */
.ember-search-modal {
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ember-search-modal__panel {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: #ffffff;
  box-shadow:
    0 24px 64px rgba(15, 23, 42, 0.18),
    0 8px 24px rgba(15, 23, 42, 0.08);
}

.ember-search-modal__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 0.875rem;
  border-bottom: 1px solid #f0eeeb;
}

.ember-search-modal__input-wrap {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  background: #f7f5f2;
  border: 1px solid #ece8e2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ember-search-modal__input-wrap:focus-within {
  background: #ffffff;
  border-color: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 35%, #ece8e2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 12%, transparent);
}

.ember-search-modal__input-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: #9ca3af;
}

.ember-search-modal__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--mysto-template-font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: #111827;
  outline: none;
}

.ember-search-modal__input::placeholder {
  color: #9ca3af;
  font-weight: 300;
}

.ember-search-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 9999px;
  background: #f7f5f2;
  color: #6b7280;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ember-search-modal__close:hover,
.ember-search-modal__close:focus-visible {
  background: #efeae4;
  color: #111827;
  outline: none;
}

.ember-search-modal__body {
  max-height: min(60vh, 28rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

.ember-search-modal__body::-webkit-scrollbar {
  width: 6px;
}

.ember-search-modal__body::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  background: #d1d5db;
}

.ember-search-modal__state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

.ember-search-modal__state.is-active {
  display: flex;
}

.ember-search-modal__results {
  display: none;
}

.ember-search-modal__results.is-active {
  display: block;
}

.ember-search-modal__state-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: #f7f5f2;
  color: #9ca3af;
}

.ember-search-modal__state-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.ember-search-modal__state-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #374151;
}

.ember-search-modal__state-text {
  margin: 0.375rem 0 0;
  max-width: 16rem;
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.5;
  color: #9ca3af;
}

.ember-search-modal__spinner {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border: 2px solid #ece8e2;
  border-top-color: var(--mysto-template-primary-color, #541c1d);
  border-radius: 9999px;
  animation: ember-search-spin 0.7s linear infinite;
}

@keyframes ember-search-spin {
  to {
    transform: rotate(360deg);
  }
}

.ember-search-modal__results-head {
  padding: 1rem 1.25rem 0.5rem;
}

.ember-search-modal__results-count {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
}

.ember-search-modal__results-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem 1rem;
}

.ember-search-result {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: #faf9f7;
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.ember-search-result:hover,
.ember-search-result:focus-visible {
  background: #ffffff;
  border-color: #ece8e2;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
  outline: none;
}

.ember-search-result__thumb {
  position: relative;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #ffffff;
  border: 1px solid #ece8e2;
}

.ember-search-result__thumb--product {
  width: 3.25rem;
  height: 3.25rem;
}

.ember-search-result__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ember-search-result__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #f3f1ed;
  color: #9ca3af;
}

.ember-search-result__placeholder svg {
  width: 1.25rem;
  height: 1.25rem;
}

.ember-search-result__badge {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  background: #111827;
  color: #ffffff;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.ember-search-result__content {
  flex: 1;
  min-width: 0;
}

.ember-search-result__label {
  display: block;
  margin-bottom: 0.125rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-search-result__title {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mysto-template-font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  color: #111827;
  transition: color 0.2s ease;
}

.ember-search-result:hover .ember-search-result__title,
.ember-search-result:focus-visible .ember-search-result__title {
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-search-result__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.3;
}

.ember-search-result__price {
  font-weight: 600;
  color: #111827;
}

.ember-search-result__compare {
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 400;
}

.ember-search-result__dot {
  color: #d1d5db;
}

.ember-search-result__category {
  color: #6b7280;
  font-weight: 400;
}

.ember-search-result__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: #ffffff;
  color: #9ca3af;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ember-search-result__arrow svg {
  width: 0.875rem;
  height: 0.875rem;
}

.ember-search-result:hover .ember-search-result__arrow,
.ember-search-result:focus-visible .ember-search-result__arrow {
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 12%, #ffffff);
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-search-modal__footer {
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.875rem 1.25rem;
  border-top: 1px solid #f0eeeb;
  background: #faf9f7;
  border-bottom-left-radius: 1.25rem;
  border-bottom-right-radius: 1.25rem;
}

.ember-search-modal__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: #9ca3af;
}

.ember-search-modal__kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  padding: 0.1875rem 0.4375rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #6b7280;
  font-family: inherit;
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

@media (min-width: 768px) {
  .ember-search-modal__panel {
    border-radius: 1.5rem;
  }

  .ember-search-modal__footer {
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
  }

  .ember-search-modal__header {
    padding: 1.125rem 1.125rem 1rem;
  }
}

/* Product detail page */
.ember-pdp__grid {
  width: 100%;
}

.ember-pdp__gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ember-pdp__main-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #eceae6;
}

.ember-pdp__main-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.ember-pdp__gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #374151;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ember-pdp__gallery-nav svg {
  width: 1rem;
  height: 1rem;
}

.ember-pdp__gallery-nav:hover,
.ember-pdp__gallery-nav:focus-visible {
  background: #ffffff;
  color: #111827;
  outline: none;
}

.ember-pdp__gallery-nav--prev {
  left: 1rem;
}

.ember-pdp__gallery-nav--next {
  right: 1rem;
}

.ember-pdp__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ember-pdp-thumb {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  padding: 0;
  overflow: hidden;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ember-pdp-thumb:hover,
.ember-pdp-thumb:focus-visible {
  border-color: #d1d5db;
  outline: none;
}

.ember-pdp-thumb.is-active {
  border-color: #111827;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.ember-pdp-thumb__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ember-pdp__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.ember-pdp__title {
  margin: 0;
  font-family: var(--mysto-template-font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111827;
}

.ember-pdp__wishlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ember-pdp__wishlist:hover,
.ember-pdp__wishlist:focus-visible {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
  outline: none;
}

.ember-pdp__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
}

.ember-pdp__price {
  font-size: 1.375rem;
  font-weight: 700;
  color: #111827;
}

.ember-pdp__compare {
  font-size: 1rem;
  font-weight: 400;
  color: #9ca3af;
  text-decoration: line-through;
}

.ember-pdp__discount {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.ember-pdp__stock {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}

.ember-pdp__stock--low {
  color: #ea580c;
}

.ember-pdp__stock--out {
  color: #dc2626;
}

.ember-pdp__desc {
  margin-bottom: 1.5rem;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.ember-pdp__desc-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  list-style: none;
}

.ember-pdp__desc-summary::-webkit-details-marker {
  display: none;
}

.ember-pdp__desc-chevron {
  width: 1rem;
  height: 1rem;
  color: #9ca3af;
  transition: transform 0.2s ease;
}

.ember-pdp__desc[open] .ember-pdp__desc-chevron {
  transform: rotate(180deg);
}

.ember-pdp__desc-body {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #6b7280;
}

.ember-pdp__variant-group {
  margin-bottom: 1.5rem;
}

.ember-pdp__variant-label {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.ember-pdp__variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.ember-pdp-variant {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.625rem;
  background: #ffffff;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ember-pdp-variant:hover,
.ember-pdp-variant:focus-visible {
  border-color: #111827;
  outline: none;
}

.ember-pdp-variant.is-active {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.ember-pdp-variant.is-disabled,
.ember-pdp-variant.is-unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.ember-pdp .myst-pdp-customization {
  width: 100%;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ember-pdp .myst-pdp-customization__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ember-pdp .myst-pdp-customization__field > label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #374151;
}

.ember-pdp .myst-pdp-customization__input:not([type="checkbox"]),
.ember-pdp .myst-pdp-customization select,
.ember-pdp .myst-pdp-customization__photo {
  min-height: 3rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.625rem;
  background: #ffffff;
  color: #111827;
  box-shadow: none;
}

.ember-pdp .myst-pdp-customization__input:not([type="checkbox"]):focus,
.ember-pdp .myst-pdp-customization select:focus,
.ember-pdp .myst-pdp-customization__photo:focus {
  border-color: #111827;
  outline: none;
  box-shadow: none;
}

.ember-pdp .myst-pdp-customization__photo::file-selector-button {
  margin-right: 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: #f7f5f2;
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
}

.ember-pdp .myst-pdp-customization [data-field-type="multi"] > div {
  border: 1px solid #e5e7eb;
  border-radius: 0.625rem;
  background: #ffffff;
  overflow: hidden;
}

.ember-pdp .myst-pdp-customization [data-field-type="multi"] > div > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0;
}

.ember-pdp .myst-pdp-customization__option {
  margin: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #e5e7eb;
  min-height: 2.75rem;
  padding: 0.7rem 0.9rem;
  background: transparent;
  column-gap: 0.75rem;
}

.ember-pdp .myst-pdp-customization__option-text {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.ember-pdp .myst-pdp-customization__option-name {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ember-pdp .myst-pdp-customization__extra {
  margin-left: auto;
  flex: 0 0 auto;
  color: #6b7280;
  white-space: nowrap;
}

.ember-pdp .myst-pdp-customization__option:last-child {
  border-bottom: 0;
}

.ember-pdp .myst-pdp-customization__option:hover {
  background: #faf9f7;
}

.ember-pdp .myst-pdp-customization input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  flex-shrink: 0;
  accent-color: #111827;
}

.ember-pdp__purchase {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.875rem;
  margin: 0 0 2rem;
}

.ember-pdp__qty {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.ember-pdp__qty-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.ember-pdp__qty-control {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 0.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.625rem;
  background: #f7f5f2;
}

.ember-pdp__qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ember-pdp__qty-btn svg {
  width: 1rem;
  height: 1rem;
}

.ember-pdp__qty-btn:hover:not(:disabled),
.ember-pdp__qty-btn:focus-visible:not(:disabled) {
  background: #ece8e2;
  color: #111827;
  outline: none;
}

.ember-pdp__qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ember-pdp__qty-input {
  width: 2.75rem;
  border: none;
  background: transparent;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  color: #111827;
  outline: none;
}

.ember-pdp__cta {
  display: flex;
  flex: 1 1 12rem;
  gap: 0.75rem;
  min-width: 0;
}

.ember-pdp__cart-btn {
  flex: 1 1 0;
  min-height: 3rem;
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: 0.625rem;
  background: #111827;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ember-pdp__cart-btn--secondary {
  background: #ffffff;
  color: #111827;
  border: 1px solid #111827;
}

.ember-pdp__buy-btn {
  background: var(--mysto-template-primary-color, #111827);
  color: #ffffff;
}

.ember-pdp__cart-btn:hover:not(:disabled):not(.ember-pdp__cart-btn--secondary):not(.ember-pdp__buy-btn),
.ember-pdp__cart-btn:focus-visible:not(:disabled):not(.ember-pdp__cart-btn--secondary):not(.ember-pdp__buy-btn) {
  background: #1f2937;
  outline: none;
}

.ember-pdp__cart-btn--secondary:hover:not(:disabled),
.ember-pdp__cart-btn--secondary:focus-visible:not(:disabled) {
  background: #f9fafb;
  outline: none;
}

.ember-pdp__buy-btn:hover:not(:disabled),
.ember-pdp__buy-btn:focus-visible:not(:disabled) {
  filter: brightness(0.95);
  background: var(--mysto-template-primary-color, #111827);
  outline: none;
}

.ember-pdp__cart-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
}

.ember-pdp__meta {
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.ember-pdp__meta-row,
.ember-pdp__meta-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #6b7280;
}

.ember-pdp__meta-label {
  min-width: 5.5rem;
  font-weight: 500;
  color: #9ca3af;
}

.ember-pdp__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  background: #ffffff;
  color: #6b7280;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.ember-pdp__share-btn:hover,
.ember-pdp__share-btn:focus-visible {
  border-color: #111827;
  color: #111827;
  outline: none;
}

.ember-pdp__share-btn .ember-product-share-btn__icon {
  width: 0.875rem;
  height: 0.875rem;
}

@media (min-width: 768px) {
  .ember-pdp__title {
    font-size: 2rem;
  }

  .ember-pdp__price {
    font-size: 1.5rem;
  }

  .ember-pdp__main-frame {
    border-radius: 1.25rem;
  }

  .ember-pdp-thumb {
    width: 5rem;
    height: 5rem;
  }
}

/* Footer */
.ember-footer {
  margin-top: 2.5rem;
  border-top: 1px solid #e8e6e3;
  background: #f7f5f2;
}

@media (min-width: 768px) {
  .ember-footer {
    margin-top: 3rem;
  }
}

.ember-footer__inner {
  max-width: 72rem;
  margin-inline: auto;
  padding: 2.5rem 0 2rem;
}

@media (min-width: 768px) {
  .ember-footer__inner {
    padding: 3rem 0 2.25rem;
  }
}

.ember-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .ember-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .ember-footer__grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 3rem;
  }
}

.ember-footer__logo-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  background: transparent;
}

.ember-footer__logo-img {
  display: block;
  width: auto;
  max-width: 7rem;
  height: auto;
  max-height: 2.75rem;
  background: transparent !important;
  object-fit: contain;
  filter: url(#ember-logo-knockout);
}

.ember-footer__wordmark {
  display: block;
  font-family: var(--mysto-template-font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #111827;
}

.ember-footer__accent {
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-top: 0.875rem;
  background: var(--mysto-template-primary-color, #541c1d);
}

.ember-footer__social {
  margin-top: 1.75rem;
}

.ember-footer__heading {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
}

.ember-footer__social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ember-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  background: #ffffff;
  color: #6b7280;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ember-footer__social-link:hover,
.ember-footer__social-link:focus-visible {
  border-color: var(--mysto-template-primary-color, #541c1d);
  background: var(--mysto-template-primary-color, #541c1d);
  color: #ffffff;
  outline: none;
}

.ember-footer__social-icon {
  width: 1rem;
  height: 1rem;
}

.ember-footer__list,
.ember-footer__contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ember-footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.ember-footer__link {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.4;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ember-footer__link:hover,
.ember-footer__link:focus-visible {
  color: var(--mysto-template-primary-color, #541c1d);
  outline: none;
  transform: translateX(2px);
}

.ember-footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.ember-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.ember-footer__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: #ffffff;
  color: var(--mysto-template-primary-color, #541c1d);
  border: 1px solid #ece8e2;
}

.ember-footer__contact-icon svg {
  width: 0.875rem;
  height: 0.875rem;
}

.ember-footer__contact-link,
.ember-footer__contact-text {
  padding-top: 0.3125rem;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: #4b5563;
}

.ember-footer__contact-link {
  text-decoration: none;
  word-break: break-word;
  transition: color 0.2s ease;
}

.ember-footer__contact-link:hover,
.ember-footer__contact-link:focus-visible {
  color: var(--mysto-template-primary-color, #541c1d);
  outline: none;
}

.ember-footer__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e6e3;
}

@media (min-width: 768px) {
  .ember-footer__bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 2.5rem;
  }
}

.ember-footer__copyright {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  color: #9ca3af;
  text-align: center;
}

@media (min-width: 768px) {
  .ember-footer__copyright {
    text-align: left;
  }
}

.ember-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.ember-footer__legal-link {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ember-footer__legal-link:hover,
.ember-footer__legal-link:focus-visible {
  color: var(--mysto-template-primary-color, #541c1d);
  outline: none;
}

/* Contact page */
.ember-contact__hero {
  padding: 2rem 0 0;
}

.ember-contact__header {
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .ember-contact__header {
    padding-bottom: 2.5rem;
  }
}

.ember-contact__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-contact__title {
  margin: 0;
  font-family: var(--mysto-template-font-heading);
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #111827;
}

.ember-contact__card {
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.06);
}

.ember-contact__info {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0;
}

.ember-contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #f1f1f1;
}

.ember-contact__info-item:first-child {
  border-top: 0;
}

.ember-contact__info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 10%, #ffffff);
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-contact__info-label {
  margin: 0 0 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
}

.ember-contact__info-value,
.ember-contact__info-link {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #4b5563;
}

.ember-contact__info-link {
  display: inline-block;
  text-decoration: none;
  word-break: break-word;
  transition: color 0.2s ease;
}

.ember-contact__info-link:hover,
.ember-contact__info-link:focus-visible {
  color: var(--mysto-template-primary-color, #541c1d);
  outline: none;
}

.ember-contact__form-wrap {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .ember-contact__form-wrap {
    padding: 2rem;
  }
}

.ember-contact__form-title {
  margin: 0 0 1.5rem;
  font-family: var(--mysto-template-font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.ember-contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ember-contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ember-contact__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
}

.ember-contact__input,
.ember-contact__textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d1d5db;
  background: transparent;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: #111827;
  transition: border-color 0.2s ease;
}

.ember-contact__textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.ember-contact__input::placeholder,
.ember-contact__textarea::placeholder {
  color: #9ca3af;
}

.ember-contact__input:focus,
.ember-contact__textarea:focus {
  border-color: #111827;
  outline: none;
}

#contactForm #submitBtn,
.ember-contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  align-self: flex-start;
  min-width: 0;
  margin-top: 0.25rem;
  padding: 0.375rem 0.375rem 0.375rem 1.5rem;
  border: none;
  border-radius: 9999px;
  background: var(--mysto-template-primary-color, #541c1d);
  color: #ffffff;
  font-family: var(--mysto-template-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

#contactForm #submitBtn:hover:not(:disabled),
.ember-contact__submit:hover:not(:disabled) {
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 88%, #000000);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 28%, transparent);
}

#contactForm #submitBtn:disabled,
.ember-contact__submit:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

#contactForm #submitBtn #submitIcon,
#contactForm #submitBtn #loadingIcon,
.ember-contact__submit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--mysto-template-primary-color, #541c1d);
  transition: transform 0.2s ease;
}

#contactForm #submitBtn #loadingIcon.hidden,
.ember-contact__submit-icon.hidden {
  display: none;
}

#contactForm #submitBtn #submitIcon svg,
#contactForm #submitBtn #loadingIcon svg {
  width: 0.875rem;
  height: 0.875rem;
}

#contactForm #submitBtn:hover:not(:disabled) #submitIcon {
  transform: translateX(2px);
}

/* Profile page */
.ember-profile__section-title {
  margin: 0 0 1.25rem;
  font-family: var(--mysto-template-font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
}

.ember-profile__meta-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
}

.ember-profile__meta-value {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: #111827;
}

.ember-profile__quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .ember-profile__quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.ember-profile__quick-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.125rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.ember-profile__quick-link:hover,
.ember-profile__quick-link:focus-visible {
  border-color: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 35%, #e5e7eb);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
  outline: none;
}

.ember-profile__quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 10%, #ffffff);
  color: var(--mysto-template-primary-color, #541c1d);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ember-profile__quick-link:hover .ember-profile__quick-icon,
.ember-profile__quick-link:focus-visible .ember-profile__quick-icon {
  background: var(--mysto-template-primary-color, #541c1d);
  color: #ffffff;
}

.ember-profile__quick-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
  transition: color 0.2s ease;
}

.ember-profile__quick-desc {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #6b7280;
}

.ember-profile__quick-link:hover .ember-profile__quick-title,
.ember-profile__quick-link:focus-visible .ember-profile__quick-title {
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-profile__quick-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: #f3f4f6;
  color: #6b7280;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.ember-profile__quick-link:hover .ember-profile__quick-arrow,
.ember-profile__quick-link:focus-visible .ember-profile__quick-arrow {
  background: #ffffff;
  color: var(--mysto-template-primary-color, #541c1d);
  transform: translate(1px, -1px);
}

.ember-profile__settings {
  border-top: 1px solid #e5e7eb;
}

.ember-profile__settings-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.ember-profile__settings-row:hover,
.ember-profile__settings-row:focus-visible {
  outline: none;
}

.ember-profile__settings-row:hover .ember-profile__settings-label,
.ember-profile__settings-row:focus-visible .ember-profile__settings-label {
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-profile__settings-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: #f9fafb;
  color: #4b5563;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.ember-profile__settings-row:hover .ember-profile__settings-icon,
.ember-profile__settings-row:focus-visible .ember-profile__settings-icon {
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 10%, #ffffff);
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-profile__settings-label {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #111827;
  transition: color 0.2s ease;
}

.ember-profile__settings-chevron {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: #9ca3af;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ember-profile__settings-row:hover .ember-profile__settings-chevron,
.ember-profile__settings-row:focus-visible .ember-profile__settings-chevron {
  color: var(--mysto-template-primary-color, #541c1d);
  transform: translateX(2px);
}

.ember-profile__settings-row--danger:hover .ember-profile__settings-label--danger,
.ember-profile__settings-row--danger:focus-visible .ember-profile__settings-label--danger {
  color: #dc2626;
}

.ember-profile__settings-icon--danger {
  background: #fef2f2;
  color: #dc2626;
}

.ember-profile__settings-row--danger:hover .ember-profile__settings-icon--danger,
.ember-profile__settings-row--danger:focus-visible .ember-profile__settings-icon--danger {
  background: #fee2e2;
  color: #b91c1c;
}

.ember-profile__settings-label--danger {
  color: #dc2626;
}

.ember-profile__activity {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 0;
  border-top: 1px solid #e5e7eb;
}

.ember-profile__activity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: #f9fafb;
  color: #4b5563;
}

.ember-profile__activity-title {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
}

.ember-profile__activity-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #6b7280;
}

/* Orders page */
.ember-orders__filters-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 767px) {
  .ember-orders__filters-track {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ember-orders__filters-track::-webkit-scrollbar {
    display: none;
  }

  .ember-orders__filters-track .filter-btn {
    flex-shrink: 0;
  }
}

.ember-orders__filters .filter-btn {
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.ember-orders__filters .filter-btn:not(.active):hover,
.ember-orders__filters .filter-btn:not(.active):focus-visible {
  border-color: var(--mysto-template-primary-color, #541c1d);
  color: var(--mysto-template-primary-color, #541c1d);
  outline: none;
}

.ember-orders__filters .filter-btn.active {
  box-shadow: 0 4px 14px color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 24%, transparent);
}

.ember-orders__filters .filter-btn.active:hover,
.ember-orders__filters .filter-btn.active:focus-visible {
  color: #ffffff;
  border-color: var(--mysto-template-primary-color, #541c1d);
  background-color: var(--mysto-template-primary-color, #541c1d);
  outline: none;
}

.ember-orders__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ember-orders__state {
  padding: 3rem 1rem;
  text-align: center;
}

.ember-orders__state--compact {
  padding: 1.5rem 1rem;
}

.ember-orders__spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 2px solid #e5e7eb;
  border-top-color: var(--mysto-template-primary-color, #541c1d);
  border-radius: 50%;
  animation: ember-orders-spin 0.8s linear infinite;
}

.ember-orders__spinner--sm {
  width: 1.5rem;
  height: 1.5rem;
}

@keyframes ember-orders-spin {
  to {
    transform: rotate(360deg);
  }
}

.ember-orders__state-text {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #6b7280;
}

.ember-orders__state-text--sm {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
}

.ember-orders__load-more {
  margin-top: 2rem;
  text-align: center;
}

.ember-orders__action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 9999px;
  background: var(--mysto-template-primary-color, #541c1d);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--mysto-template-font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ember-orders__action-btn:hover,
.ember-orders__action-btn:focus-visible {
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 90%, #000000);
  color: #ffffff;
  outline: none;
}

.ember-orders__message {
  padding: 2.5rem 1rem;
  text-align: center;
  border-top: 1px solid #e5e7eb;
}

.ember-orders__message-title {
  margin: 0 0 0.5rem;
  font-family: var(--mysto-template-font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
}

.ember-orders__message-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b7280;
}

.ember-orders__message .ember-orders__action-btn {
  margin-top: 1.5rem;
}

/* Order confirmation page */
.ember-order-confirm__state {
  padding: 4rem 0 5rem;
}

.ember-order-confirm__loading-card,
.ember-order-confirm__card {
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.06);
}

.ember-order-confirm__loading-card {
  padding: 2.5rem 1.5rem;
}

.ember-order-confirm__card {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .ember-order-confirm__card {
    padding: 2rem;
  }
}

.ember-order-confirm__hero {
  padding: 2rem 0 0;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 8%, transparent), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f4 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.ember-order-confirm__header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .ember-order-confirm__header {
    gap: 1.5rem;
    padding-bottom: 2.5rem;
  }
}

.ember-order-confirm__success-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 12%, #ffffff);
  color: var(--mysto-template-primary-color, #541c1d);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 18%, transparent);
}

@media (min-width: 768px) {
  .ember-order-confirm__success-badge {
    width: 4rem;
    height: 4rem;
  }
}

.ember-order-confirm__header-copy {
  min-width: 0;
  flex: 1;
}

.ember-order-confirm__spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 2px solid #e5e7eb;
  border-top-color: var(--mysto-template-primary-color, #541c1d);
  border-radius: 50%;
  animation: ember-orders-spin 0.8s linear infinite;
}

.ember-order-confirm__state-text {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #6b7280;
}

.ember-order-confirm__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-order-confirm__title {
  margin: 0;
  font-family: var(--mysto-template-font-heading);
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #111827;
}

.ember-order-confirm__number,
.ember-order-confirm__status {
  margin-top: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #6b7280;
}

.ember-order-confirm__status {
  display: inline-flex;
  align-items: center;
  margin-top: 0.875rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: #f9fafb;
  font-weight: 600;
  color: #111827;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

.ember-order-confirm__email-note {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b7280;
}

.ember-order-confirm__section-title,
.ember-order-confirm__aside-label {
  margin: 0 0 1.25rem;
  font-family: var(--mysto-template-font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
}

.ember-order-confirm__items {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

#order-content #order-items > div {
  border: 1px solid #ececec !important;
  border-radius: 1rem !important;
  background: #fafafa !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

#order-content #order-items > div:hover {
  border-color: #d1d5db !important;
  background: #ffffff !important;
}

#order-content #order-items img {
  border-radius: 0.75rem !important;
  border-width: 1px !important;
}

.ember-order-confirm__totals {
  padding-top: 1.25rem;
  border-top: 1px solid #ececec;
}

#order-content #order-totals > div:last-child {
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #111827 !important;
}

.ember-order-confirm__aside-block {
  position: relative;
  padding: 1.125rem 0 1.125rem 1rem;
  border-top: 1px solid #f1f1f1;
}

.ember-order-confirm__aside-block::before {
  content: "";
  position: absolute;
  top: 1.125rem;
  left: 0;
  width: 3px;
  height: calc(100% - 2.25rem);
  border-radius: 9999px;
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 70%, #ffffff);
}

.ember-order-confirm__aside-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.ember-order-confirm__aside-block:first-child::before {
  top: 0;
  height: calc(100% - 1.125rem);
}

.ember-order-confirm__aside-value {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #4b5563;
}

.ember-order-confirm__aside-value--status {
  margin-bottom: 0.5rem;
}

.ember-order-confirm__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-family: var(--mysto-template-font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ember-order-confirm__btn--primary {
  gap: 0.75rem;
  padding: 0.375rem 0.375rem 0.375rem 1.5rem;
  border: none;
  background: var(--mysto-template-primary-color, #541c1d);
  color: #ffffff;
}

.ember-order-confirm__btn--primary:hover,
.ember-order-confirm__btn--primary:focus-visible {
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 88%, #000000);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 28%, transparent);
  outline: none;
}

.ember-order-confirm__btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: #ffffff;
  color: var(--mysto-template-primary-color, #541c1d);
  transition: transform 0.2s ease;
}

.ember-order-confirm__btn--primary:hover .ember-order-confirm__btn-icon,
.ember-order-confirm__btn--primary:focus-visible .ember-order-confirm__btn-icon {
  transform: translate(1px, -1px);
}

.ember-order-confirm__btn--secondary {
  flex: 1;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
}

.ember-order-confirm__btn--secondary:hover,
.ember-order-confirm__btn--secondary:focus-visible {
  border-color: #111827;
  color: #111827;
  outline: none;
}

.ember-order-confirm__btn--center {
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .ember-order-confirm__actions .ember-order-confirm__btn--primary {
    flex: none;
  }

  .ember-order-confirm__btn--secondary {
    flex: none;
  }
}

.ember-order-confirm__error-card {
  padding: 2.5rem 1.5rem;
}

.ember-order-confirm__error-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 9999px;
  background: #fef2f2;
  color: #ef4444;
}

.ember-order-confirm__error-title {
  margin: 0 0 0.5rem;
  font-family: var(--mysto-template-font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.ember-order-confirm__error-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b7280;
}

/* Addresses list page */
.ember-addresses__intro {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #6b7280;
}

.ember-addresses__toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 30px rgba(15, 23, 42, 0.05);
}

@media (min-width: 640px) {
  .ember-addresses__toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.ember-addresses__add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  align-self: flex-start;
  padding: 0.375rem 0.375rem 0.375rem 1.25rem;
  border-radius: 9999px;
  background: var(--mysto-template-primary-color, #541c1d);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ember-addresses__add-btn:hover,
.ember-addresses__add-btn:focus-visible {
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 88%, #000000);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 28%, transparent);
  outline: none;
}

.ember-addresses__add-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: #ffffff;
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-addresses__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .ember-addresses__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ember-addresses__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.ember-addresses .address-list > div {
  border-radius: 1.25rem !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  background: #ffffff !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 30px rgba(15, 23, 42, 0.05) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ember-addresses .address-list > div:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.06),
    0 16px 40px rgba(15, 23, 42, 0.08) !important;
}

.ember-addresses .address-list > div .rounded-2xl.bg-neutral-50\/80 {
  border-radius: 0.875rem !important;
  background: #fafafa !important;
}

.ember-addresses .address-list a[href*="/edit-address"]:hover,
.ember-addresses .address-list a[href*="/edit-address"]:focus-visible {
  color: var(--mysto-template-primary-color, #541c1d) !important;
  border-color: var(--mysto-template-primary-color, #541c1d) !important;
  outline: none;
}

/* Add address form */
.ember-address-form__card {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.06);
}

.ember-address-form__section {
  padding: 1.5rem;
  border-top: 1px solid #f1f1f1;
}

.ember-address-form__section--label {
  border-top: 0;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 6%, transparent), transparent 50%),
    #ffffff;
}

@media (min-width: 768px) {
  .ember-address-form__section {
    padding: 1.75rem 2rem;
  }
}

.ember-address-form__section-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ember-address-form__section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 10%, #ffffff);
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-address-form__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
}

.ember-address-form__type-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 0.375rem;
  border-radius: 1rem;
  background: #f5f5f4;
}

@media (min-width: 640px) {
  .ember-address-form__type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ember-address-form__field {
  display: flex;
  flex-direction: column;
}

.ember-address-form__input,
.ember-address-form__textarea,
.ember-address-form__select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d1d5db;
  background: transparent;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #111827;
  transition: border-color 0.2s ease;
}

.ember-address-form__textarea {
  min-height: 6rem;
  resize: vertical;
  padding-top: 0.5rem;
}

.ember-address-form__input::placeholder,
.ember-address-form__textarea::placeholder {
  color: #9ca3af;
}

.ember-address-form__input:focus,
.ember-address-form__textarea:focus,
.ember-address-form__select:focus {
  border-color: #111827;
  outline: none;
}

.ember-address-form__select {
  cursor: pointer;
}

.ember-address-form__counter {
  margin: 0.375rem 0 0;
  text-align: right;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: #9ca3af;
}

.ember-address-form__footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  border-top: 1px solid #ececec;
  background: #fafafa;
}

@media (min-width: 1024px) {
  .ember-address-form__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
  }
}

.ember-address-form__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9375rem;
  color: #374151;
}

.ember-address-form__checkbox input {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--mysto-template-primary-color, #541c1d);
}

.ember-address-form__actions {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .ember-address-form__actions {
    flex-direction: row;
    width: auto;
  }
}

.ember-address-form__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.ember-address-form__btn--ghost {
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
}

.ember-address-form__btn--ghost:hover,
.ember-address-form__btn--ghost:focus-visible {
  border-color: #111827;
  color: #111827;
  outline: none;
}

.ember-address-form__btn--primary {
  gap: 0.75rem;
  padding: 0.375rem 0.375rem 0.375rem 1.5rem;
  border: none;
  background: var(--mysto-template-primary-color, #541c1d);
  color: #ffffff;
}

.ember-address-form__btn--primary:hover,
.ember-address-form__btn--primary:focus-visible {
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 88%, #000000);
  color: #ffffff;
  transform: translateY(-1px);
  outline: none;
}

.ember-address-form__btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: #ffffff;
  color: var(--mysto-template-primary-color, #541c1d);
}

/* Products listing page */
.ember-products__toolbar {
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

@media (min-width: 640px) {
  .ember-products__toolbar {
    padding: 1rem 1.5rem;
  }
}

.ember-products__sort {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d1d5db;
  background: transparent;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #111827;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

@media (min-width: 640px) {
  .ember-products__sort {
    width: auto;
    min-width: 11.25rem;
  }
}

.ember-products__sort:focus {
  border-color: #111827;
  outline: none;
}

.ember-products-filter-panel__scroll .custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.ember-products-filter-panel__scroll .custom-scrollbar::-webkit-scrollbar-thumb {
  background: #d4d4d4;
  border-radius: 9999px;
}

/* Cart page */
.ember-cart__layout.hidden,
#cart-loading-state.hidden,
#empty-cart-state.hidden {
  display: none !important;
}

.ember-cart__states {
  margin-bottom: 0.5rem;
}

.ember-cart__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-cart__state,
.ember-cart__empty {
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.06);
}

.ember-cart__state {
  max-width: 26rem;
  margin-inline: auto;
  padding: 3.5rem 1.75rem;
  text-align: center;
}

@media (min-width: 768px) {
  .ember-cart__state {
    max-width: 28rem;
    padding: 4rem 2rem;
  }
}

.ember-cart__spinner {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid #e5e7eb;
  border-top-color: var(--mysto-template-primary-color, #541c1d);
  border-radius: 50%;
  animation: ember-orders-spin 0.8s linear infinite;
}

.ember-cart__state-title {
  margin: 1.25rem 0 0;
  font-family: var(--mysto-template-font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.ember-cart__state-text {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.ember-cart__empty {
  max-width: 26rem;
  margin-inline: auto;
  padding: 2.75rem 1.75rem 2.25rem;
  text-align: center;
  background: #ffffff;
}

@media (min-width: 768px) {
  .ember-cart__empty {
    max-width: 28rem;
    padding: 3.25rem 2rem 2.5rem;
  }
}

.ember-cart__empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 1.25rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 8%, #ffffff);
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-cart__empty-icon .ember-lucide-icon {
  width: 2rem;
  height: 2rem;
}

.ember-cart__empty-title {
  margin: 0;
  font-family: var(--mysto-template-font-heading);
  font-size: clamp(1.375rem, 4vw, 1.625rem);
  font-weight: 600;
  line-height: 1.2;
  color: #111827;
}

.ember-cart__empty-text {
  margin: 0.625rem 0 0;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.5;
  color: #6b7280;
}

.ember-cart__empty-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  max-width: 16.5rem;
  margin: 1.75rem auto 0;
}

.ember-cart__empty-cta {
  width: 100%;
  justify-content: space-between;
  text-transform: none;
}

.ember-cart__empty-cta .ember-section-link__label {
  text-transform: none;
  letter-spacing: 0.01em;
}

.ember-cart__empty-tags {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f1f1;
}

.ember-cart__empty-tags-label {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
}

.ember-cart__empty-tags-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.ember-cart__tag {
  display: inline-flex;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: #fafafa;
  font-size: 0.75rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ember-cart__tag:hover,
.ember-cart__tag:focus-visible {
  border-color: var(--mysto-template-primary-color, #541c1d);
  color: var(--mysto-template-primary-color, #541c1d);
  outline: none;
}

.ember-cart__layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .ember-cart__layout {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 20rem);
    align-items: start;
    gap: 1.75rem;
  }
}

.ember-cart__items-card {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.06);
}

.ember-cart__table-head {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr) minmax(0, 0.9fr) minmax(0, 0.7fr);
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f1f1f1;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
}

.ember-cart__items > .ember-cart__item + .ember-cart__item {
  border-top: 1px solid #f1f1f1;
}

.ember-cart__item {
  padding: 1.25rem 1.5rem;
}

@media (min-width: 768px) {
  .ember-cart__item {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr) minmax(0, 0.9fr) minmax(0, 0.7fr);
    gap: 1rem;
    align-items: center;
    padding: 1.5rem;
  }
}

.ember-cart__item-product {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  min-width: 0;
}

.ember-cart__item-media {
  position: relative;
  flex-shrink: 0;
}

.ember-cart__item-image-link {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  background: #f5f5f4;
}

.ember-cart__item-image {
  display: block;
  width: 5rem;
  height: 5rem;
  object-fit: cover;
}

@media (min-width: 768px) {
  .ember-cart__item-image {
    width: 5.5rem;
    height: 5.5rem;
  }
}

.ember-cart__item-remove {
  position: absolute;
  top: 0.375rem;
  right: 0.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #6b7280;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.ember-cart__item-remove:hover,
.ember-cart__item-remove:focus-visible {
  background: #fef2f2;
  color: #dc2626;
  outline: none;
}

.ember-cart__item-name {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: #111827;
}

.ember-cart__item-variant {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.ember-cart__item-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
}

@media (min-width: 768px) {
  .ember-cart__item-label {
    display: none;
  }
}

.ember-cart__item-price,
.ember-cart__item-total {
  font-size: 0.9375rem;
  color: #111827;
}

.ember-cart__item-total {
  font-weight: 600;
}

.ember-cart__item-qty-wrap {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .ember-cart__item-qty-wrap {
    margin-top: 0;
    display: flex;
    justify-content: flex-end;
  }

  .ember-cart__item-price-wrap,
  .ember-cart__item-total-wrap {
    text-align: right;
  }
}

.ember-cart__qty {
  display: inline-flex;
  align-items: center;
  height: 2.25rem;
  padding: 0 0.125rem;
  border-radius: 9999px;
  background: #f5f5f4;
}

.ember-cart__qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: #374151;
  cursor: pointer;
  transition: color 0.2s ease;
}

.ember-cart__qty-btn:hover:not(:disabled),
.ember-cart__qty-btn:focus-visible:not(:disabled) {
  color: var(--mysto-template-primary-color, #541c1d);
  outline: none;
}

.ember-cart__qty-btn:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.ember-cart__qty-value {
  min-width: 1.75rem;
  padding: 0 0.25rem;
  text-align: center;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: #111827;
}

.ember-cart__summary {
  padding: 0;
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

body.ember-header-solid .ember-cart__summary,
body.ember-header-overlay .ember-cart__summary {
  padding-bottom: 0;
}

@media (min-width: 768px) {
  body.ember-header-solid .ember-cart__summary,
  body.ember-header-overlay .ember-cart__summary {
    padding-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .ember-cart__summary {
    position: sticky;
    top: calc(var(--ember-header-total-h, 6.5rem) + 1rem);
  }
}

.ember-cart__summary-head {
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid #f1f1f1;
}

@media (min-width: 768px) {
  .ember-cart__summary-head {
    padding: 1.375rem 1.75rem 1.125rem;
  }
}

.ember-cart__summary-title {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #374151;
}

.ember-cart__summary-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem 0;
}

@media (min-width: 768px) {
  .ember-cart__summary-body {
    padding: 1.5rem 1.75rem 0;
  }
}

.ember-cart__summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
}

.ember-cart__summary-row--total {
  padding-top: 0.75rem;
  border-top: 1px solid #f1f1f1;
  font-size: 1rem;
}

.ember-cart__summary-row--total .ember-cart__summary-label,
.ember-cart__summary-row--total .ember-cart__summary-value {
  font-weight: 700;
  color: #111827;
}

.ember-cart__summary-label {
  color: #4b5563;
}

.ember-cart__summary-value {
  font-variant-numeric: tabular-nums;
  color: #111827;
}

.ember-cart__summary-savings {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.875rem;
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 8%, #ffffff);
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--mysto-template-primary-color, #541c1d);
  text-align: left;
}

.ember-cart__summary-foot {
  margin-top: 0;
  padding: 1.25rem 1.5rem 1.5rem;
}

@media (min-width: 768px) {
  .ember-cart__summary-foot {
    padding: 1.5rem 1.75rem 1.75rem;
  }
}

.ember-cart__checkout-cta {
  display: flex;
  width: 100%;
  justify-content: space-between;
  text-transform: none;
}

.ember-cart__checkout-cta .ember-section-link__label {
  text-transform: none;
  letter-spacing: 0.01em;
}

.ember-cart__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-family: var(--mysto-template-font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.ember-cart__btn > span:first-child,
.ember-cart__btn-label {
  line-height: 1;
}

.ember-cart__btn--ghost {
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
}

.ember-cart__btn--ghost:hover,
.ember-cart__btn--ghost:focus-visible {
  border-color: #111827;
  color: #111827;
  outline: none;
}

.ember-cart__btn--primary {
  gap: 0.75rem;
  box-sizing: border-box;
  min-height: 2.75rem;
  padding: 0.25rem 0.25rem 0.25rem 1.5rem;
  border: none;
  background: var(--mysto-template-primary-color, #541c1d);
  color: #ffffff;
}

.ember-cart__btn--primary:hover,
.ember-cart__btn--primary:focus-visible {
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 88%, #000000);
  color: #ffffff;
  transform: translateY(-1px);
  outline: none;
}

.ember-cart__btn--checkout {
  display: flex;
  width: 100%;
  margin-top: 0;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.25rem 0.25rem 1.5rem;
}

.ember-cart__btn--whatsapp {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: space-between;
  padding: 0.3125rem 0.3125rem 0.3125rem 1.5rem;
}

.ember-cart__btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: #ffffff;
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-cart__btn-icon svg {
  display: block;
}

.ember-cart__modal-backdrop {
  background: rgba(17, 24, 39, 0.5);
}

.ember-cart__modal-panel {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
}

@media (min-width: 768px) {
  .ember-cart__modal-panel {
    padding: 2rem;
  }
}

.ember-cart__modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ember-cart__modal-title {
  margin: 0;
  font-family: var(--mysto-template-font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

.ember-cart__modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 9999px;
  background: #f5f5f4;
  color: #6b7280;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ember-cart__modal-close:hover,
.ember-cart__modal-close:focus-visible {
  background: #e5e7eb;
  color: #111827;
  outline: none;
}

.ember-cart__modal-note {
  margin-bottom: 1.25rem;
  padding: 0.875rem 1rem;
  border-radius: 0.875rem;
  background: #fafafa;
  font-size: 0.875rem;
  color: #4b5563;
}

.ember-cart__modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ember-cart__field {
  display: flex;
  flex-direction: column;
}

.ember-cart__label {
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
}

.ember-cart__input,
.ember-cart__textarea,
.ember-cart__select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d1d5db;
  background: transparent;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: #111827;
  transition: border-color 0.2s ease;
}

.ember-cart__textarea {
  min-height: 5rem;
  resize: vertical;
}

.ember-cart__input:focus,
.ember-cart__textarea:focus,
.ember-cart__select:focus {
  border-color: #111827;
  outline: none;
}

.ember-cart__select {
  cursor: pointer;
}

.ember-cart__counter {
  margin: 0.375rem 0 0;
  text-align: right;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: #9ca3af;
}

/* Checkout page */
.ember-checkout__breadcrumb a {
  text-decoration: none;
}

.ember-checkout__header {
  max-width: 42rem;
}

.ember-checkout__card {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 30px rgba(15, 23, 42, 0.05);
}

.ember-checkout__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f1f1f1;
}

.ember-checkout__card-head--solo {
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .ember-checkout__card-head {
    padding: 1.375rem 1.75rem;
  }
}

.ember-checkout__card-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.ember-checkout__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.875rem;
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 10%, #ffffff);
  color: var(--mysto-template-primary-color, #541c1d);
}

.ember-checkout__card-title {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #374151;
}

.ember-checkout__link-btn {
  flex-shrink: 0;
  padding: 0.4375rem 0.875rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #4b5563;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.ember-checkout__link-btn:hover,
.ember-checkout__link-btn:focus-visible {
  border-color: var(--mysto-template-primary-color, #541c1d);
  color: var(--mysto-template-primary-color, #541c1d);
  outline: none;
}

.ember-checkout__card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

@media (min-width: 768px) {
  .ember-checkout__card-body {
    padding: 1.5rem 1.75rem 1.75rem;
  }
}

.ember-checkout .address-list label {
  border-radius: 1rem !important;
}

.ember-checkout .address-list a[href*="/edit-address"]:hover,
.ember-checkout .address-list a[href*="/edit-address"]:focus-visible {
  color: var(--mysto-template-primary-color, #541c1d) !important;
  outline: none;
}

.ember-checkout__payment-option:has(input:checked) {
  border-color: var(--mysto-template-primary-color, #541c1d) !important;
  background: color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 5%, #ffffff) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--mysto-template-primary-color, #541c1d) 20%, transparent);
}

.ember-checkout__summary {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 40px rgba(15, 23, 42, 0.08);
}

.ember-checkout__summary-head {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f1f1f1;
}

@media (min-width: 768px) {
  .ember-checkout__summary-head {
    padding: 1.375rem 1.75rem;
  }
}

.ember-checkout__summary-title {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #374151;
}

.ember-checkout__summary-body {
  padding: 1.25rem 1.5rem 0;
}

@media (min-width: 768px) {
  .ember-checkout__summary-body {
    padding: 1.5rem 1.75rem 0;
  }
}

.ember-checkout__products > div {
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ember-checkout__price-details .font-heading {
  font-variant-numeric: tabular-nums;
}

.ember-checkout__coupon-input:focus {
  outline: none;
}

.ember-checkout__coupon-btn {
  cursor: pointer;
  border: none;
}

.ember-checkout__coupon-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ember-checkout__summary-foot {
  padding: 0 1.5rem 1.5rem;
}

@media (min-width: 768px) {
  .ember-checkout__summary-foot {
    padding: 0 1.75rem 1.75rem;
  }
}

.ember-checkout__summary-actions {
  margin-top: 0.25rem;
}

.ember-checkout__place-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.25rem 0.25rem 1.5rem;
}

.ember-checkout__secure {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.45;
  text-align: center;
  color: #6b7280;
}

.ember-checkout__secure-icon {
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 0.0625rem;
  color: #9ca3af;
}

/* Merchant-controlled storefront header logo size (medium keeps theme defaults). */
.mysto-logo-size-small {
  height: 1.5rem !important;
  width: auto !important;
  max-width: 7.5rem !important;
}

.mysto-logo-size-large {
  height: 2.5rem !important;
  width: auto !important;
  max-width: 12rem !important;
}
