﻿/* Shop Mist 4.4.0 - product category rail (no sellers); stories/services last */
html {
  overflow-x: hidden;
}
body[data-aura-theme-wrapped="shopmist"],
body[data-aura-theme-pack="shopmist"] {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  display: block;
}

body[data-aura-theme-wrapped="shopmist"] *,
body[data-aura-theme-pack="shopmist"] *,
body[data-aura-theme-wrapped="shopmist"] *::before,
body[data-aura-theme-pack="shopmist"] *::after {
  box-sizing: border-box;
}

body[data-aura-theme-wrapped="shopmist"],
body[data-aura-theme-pack="shopmist"],
[data-aura-cms-root][data-aura-theme-pack="shopmist"] {
  --color-canvas-mist: #f2f4f5;
  --color-pure-white: #ffffff;
  --color-ink-black: #000000;
  --color-faint-border: #ebebeb;
  --color-muted-gray: #787574;
  --color-cool-stone: #cccccc;
  --color-warm-fog: #acb0aa;
  --color-shop-violet: #5a31f4;
  --color-violet-wash: #c0b5f3;
  --color-slate-ink: #332f2d;
  --color-ash-veil: #665a54;
  --font-gt-standard: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-shopify-sans: Inter, ui-sans-serif, system-ui, sans-serif;
  --text-caption: 11px;
  --text-body-sm: 12px;
  --text-body: 14px;
  --text-body-lg: 16px;
  --spacing-4: 4px;
  --spacing-6: 6px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-48: 48px;
  --spacing-64: 64px;
  --page-max-width: 1200px;
  --section-gap: 64px;
  --element-gap: 12px;
  --radius-cards: 28px;
  --radius-inner: 20px;
  --radius-pills: 20px;
  --radius-full: 9999px;
  --shadow-sm: rgba(0, 0, 0, 0.06) 0px 2px 8px 0px;
  --shadow-sm-2: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
  --shadow-lg: rgba(0, 0, 0, 0.12) 0px 4px 24px 0px;
  --shadow-lg-2: rgba(90, 49, 244, 0.34) 0px 4px 24px 0px;
  --rail-w: 76px;
  --shell-inset: 8px;
  --panel-w: calc(100% - var(--rail-w) - var(--shell-inset));
  --banner-h: 40px;
  --panel-radius: 28px;
  font-family: var(--font-gt-standard);
  font-weight: 400;
  color: var(--color-ink-black);
  background: #fcfcfc;
  letter-spacing: -0.031em;
  line-height: 1.33;
  -webkit-font-smoothing: antialiased;
}

body[data-aura-theme-wrapped="shopmist"] .is-hidden,
body[data-aura-theme-pack="shopmist"] .is-hidden { display: none !important; }

/* Shop.app: banner sits inside the white panel (not full-bleed viewport) */
.sm-app-banner {
  position: relative; z-index: 45;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: var(--shell-inset) var(--shell-inset) 0 var(--rail-w);
  width: var(--panel-w); max-width: var(--panel-w);
  height: var(--banner-h); background: #121212; color: #fff;
  font-family: var(--font-shopify-sans); font-size: 14px; letter-spacing: -0.023em;
  padding: 0 12px; border-radius: var(--panel-radius) var(--panel-radius) 0 0;
  box-sizing: border-box;
}
.sm-app-banner__icon {
  width: 20px; height: 20px; border-radius: 5px;
  background: var(--color-shop-violet); flex-shrink: 0;
}
.sm-app-banner__line {
  display: inline-flex; align-items: center; gap: 6px;
  flex-wrap: nowrap; white-space: nowrap; justify-content: center;
}
.sm-app-banner__line strong { font-weight: 700; }
.sm-app-banner__line span { font-weight: 400; opacity: 0.92; }
.sm-app-banner__arrow { font-size: 14px; opacity: 1; }

.sm-rail {
  position: fixed;
  top: var(--shell-inset); left: 0; bottom: var(--shell-inset);
  width: var(--rail-w);
  background: transparent; z-index: 55; display: flex; flex-direction: column;
  align-items: center; padding: 16px 0 18px; gap: 0;
  border-right: 0; margin: 0;
}
.sm-rail__brand {
  width: 40px; height: 40px; display: grid; place-items: center;
  text-decoration: none; margin-bottom: 18px; flex-shrink: 0;
}
.sm-rail__brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--color-shop-violet);
  box-shadow: 0 4px 14px rgba(90, 49, 244, 0.35);
}
.sm-rail__nav {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin-top: auto; margin-bottom: auto;
}
.sm-rail__item {
  width: 48px; height: 48px; display: grid; place-items: center;
  color: #000; border-radius: 9999px; text-decoration: none;
  transition: background 0.15s ease;
}
.sm-rail__item:hover, .sm-rail__item.is-active { background: #fff; }
.sm-rail__item .sm-icon { width: 22px; height: 22px; }
.sm-rail__account {
  margin-top: auto; display: flex; flex-direction: column; align-items: center;
  gap: 4px; text-decoration: none; color: #000; flex-shrink: 0;
  padding-top: 12px;
}
.sm-rail__account-icon {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid #ebebeb; background: #fff;
  display: grid; place-items: center; color: #000;
}
.sm-rail__account-label {
  font-size: 10px; letter-spacing: -0.02em; color: #665a54;
  max-width: 64px; text-align: center; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sm-rail__avatar { display: none; }
.sm-icon { width: 24px; height: 24px; display: inline-block; vertical-align: middle; }

/* Persistent Shop.app panel frame â€” shadow stays while content scrolls */
body[data-aura-theme-wrapped="shopmist"]::after,
body[data-aura-theme-pack="shopmist"]::after {
  content: "";
  position: fixed;
  top: var(--shell-inset);
  left: var(--rail-w);
  right: var(--shell-inset);
  bottom: var(--shell-inset);
  border-radius: var(--panel-radius);
  pointer-events: none;
  z-index: 48;
  box-shadow:
    rgba(0, 0, 0, 0.06) 0px 2px 8px 0px,
    rgb(242, 244, 245) 0px -1px 30px 0px,
    rgb(252, 252, 252) 0px 0px 0px 40px;
}

.sm-chrome {
  position: sticky; top: 0; z-index: 35;
  margin-left: var(--rail-w); margin-right: var(--shell-inset);
  width: var(--panel-w); max-width: var(--panel-w);
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
body.is-sm-scrolled .sm-chrome {
  border-bottom-color: var(--color-faint-border); box-shadow: var(--shadow-sm);
}
.sm-chrome__bar { padding: 10px 20px; }
.sm-chrome__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 12px;
  max-width: var(--page-max-width); margin: 0 auto; width: 100%;
}
.sm-wordmark {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; color: #000; flex-shrink: 0; min-width: 0;
}
.sm-wordmark__text {
  font-size: 20px; letter-spacing: -0.05em; font-weight: 500; text-transform: lowercase;
  white-space: nowrap;
}
.sm-wordmark__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-shop-violet); flex-shrink: 0;
}
.acms-theme-logo__img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.sm-search {
  width: 100%; max-width: 560px; margin: 0 auto; display: flex; align-items: center;
  background: #fff; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: var(--radius-full);
  padding: 4px 4px 4px 20px; box-shadow: var(--shadow-sm); min-width: 0;
}
.sm-search__input {
  flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px;
  letter-spacing: -0.031em; color: #000; min-width: 0; padding: 8px 12px 8px 0;
}
.sm-search__input::placeholder { color: var(--color-muted-gray); }
.sm-search__submit {
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--color-shop-violet); box-shadow: var(--shadow-lg-2);
  cursor: pointer; display: grid; place-items: center; flex-shrink: 0;
}
.sm-chrome__tools {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0; justify-self: end;
}
.sm-account-pill {
  display: inline-flex; align-items: center; padding: 8px 16px;
  border-radius: var(--radius-full); background: #fff; border: 1px solid #ebebeb;
  box-shadow: var(--shadow-sm); color: #000; text-decoration: none;
  font-size: 14px; letter-spacing: -0.014em; white-space: nowrap; position: relative; z-index: 2;
}
.acms-theme-nav-toggle {
  width: 44px; height: 44px; border: 0; background: #fff; border-radius: 50%;
  box-shadow: var(--shadow-sm); cursor: pointer; display: none; place-items: center; color: #000;
}

/* Menu chips: own row, never overlap account */
.sm-chrome .acms-theme-nav--desktop,
.sm-chrome .acms-theme-nav {
  position: static !important; float: none !important;
  max-width: var(--page-max-width); margin: 0 auto; padding: 0 0 10px;
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  width: 100%;
}
.sm-chrome .acms-theme-nav__list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  list-style: none; margin: 0; padding: 0;
}
.sm-chrome .acms-theme-nav__link {
  position: static !important;
  padding: 6px 14px; border-radius: var(--radius-full); font-size: 14px;
  color: var(--color-muted-gray); text-decoration: none; letter-spacing: -0.014em;
  background: transparent; border: 0; box-shadow: none;
}
.sm-chrome .acms-theme-nav__link::after { display: none !important; }
.sm-chrome .acms-theme-nav__link:hover,
.sm-chrome .acms-theme-nav__link.is-active {
  color: #000; background: #f2f4f5;
}

/* Home desktop: Shop.app has no top chrome â€” branding lives in hero */
@media (min-width: 992px) {
  body[data-aura-cms-page="theme-home"] .sm-chrome {
    display: none !important;
  }
}
body[data-aura-cms-page="theme-home"] .sm-chrome .sm-search,
body[data-aura-cms-page="theme-home"] .sm-chrome .acms-theme-nav--desktop,
body[data-aura-cms-page="theme-home"] .sm-chrome .acms-theme-nav,
body[data-aura-cms-page="theme-home"] .sm-chrome .sm-wordmark,
body[data-aura-cms-page="theme-home"] .sm-chrome .sm-account-pill {
  display: none !important;
}
body[data-aura-cms-page="theme-home"] .sm-chrome__row {
  grid-template-columns: 1fr auto;
  justify-content: flex-end;
}
body[data-aura-cms-page="theme-home"] .sm-chrome {
  background: transparent; backdrop-filter: none;
}
body[data-aura-cms-page="theme-home"] .sm-chrome__bar { padding: 8px 16px; }

/* Main white panel (continues banner radius; sits on gray canvas) */
body[data-aura-theme-wrapped="shopmist"] .acms-theme-main,
body[data-aura-theme-wrapped="shopmist"] main.acms-theme-main {
  margin-left: var(--rail-w);
  margin-right: var(--shell-inset);
  width: var(--panel-w);
  max-width: var(--panel-w);
  overflow-x: hidden;
  background: #fbfbfb;
  min-height: calc(100vh - var(--banner-h) - (var(--shell-inset) * 2));
  border-radius: 0;
}
body[data-aura-theme-pack="shopmist"] .sm-shell,
body[data-aura-theme-pack="shopmist"] .sm-home {
  margin-left: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: #fbfbfb;
}

#acms-theme-nav-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(320px, 88vw); background: #fff;
  z-index: 60; transform: translateX(100%); transition: transform 0.25s ease;
  padding: 24px 20px; box-shadow: var(--shadow-lg);
}
body.acms-theme-nav-open #acms-theme-nav-drawer { transform: translateX(0); }
.acms-theme-nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.35); z-index: 55; }
.acms-theme-nav--drawer .acms-theme-nav__link {
  display: block; padding: 14px 8px; color: #000; text-decoration: none;
  border-bottom: 1px solid #ebebeb; font-size: 16px;
}
.acms-theme-nav__link--account { margin-top: 12px; font-weight: 500; }

.sm-shell { min-height: 50vh; padding: 32px 24px 80px; }
.sm-shell__inner { max-width: var(--page-max-width); margin: 0 auto; }
.sm-band-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.sm-band-head h1, .sm-band-head h2 {
  margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.05em; line-height: 1.1;
}
.sm-band-head p { margin: 6px 0 0; color: var(--color-muted-gray); font-size: 14px; }

.sm-brand-card {
  display: flex; flex-direction: column; background: #fff;
  border-radius: var(--radius-cards); box-shadow: var(--shadow-sm-2);
  overflow: hidden; text-decoration: none; color: inherit; padding: 0; border: 0;
}
.sm-brand-card__media {
  display: block; aspect-ratio: 1; overflow: hidden;
  border-radius: var(--radius-inner); margin: 0; background: #f2f4f5;
}
.sm-brand-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-brand-card__body { padding: 12px 14px 16px; }
.sm-brand-card__name, .sm-brand-card__title {
  margin: 0; font-size: 14px; font-weight: 500; letter-spacing: -0.014em;
}
.sm-brand-card__name a, .sm-brand-card__title a { color: inherit; text-decoration: none; }
.sm-brand-card__meta {
  margin-top: 4px; font-size: 9px; letter-spacing: -0.058em; color: var(--color-muted-gray);
}
.sm-brand-card__excerpt {
  margin: 8px 0 0; font-size: 12px; color: var(--color-muted-gray); letter-spacing: -0.017em;
}
.sm-brand-card__price { margin-top: 8px; font-size: 14px; font-weight: 500; }

.sm-product-rail, .sm-product-rail--4, #product-list.sm-product-rail--4 {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.sm-spotlight-grid, #post-list.sm-spotlight-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}

.sm-cat-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px 0;
}
.sm-collection-pills {
  justify-content: flex-start; margin: 8px 0 20px;
}
.sm-collection-cat { margin: 6px 0 0; font-size: 14px; opacity: 0.7; }
.sm-cat-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px;
  background: #fff; border: 1px solid #ebebeb; border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm); font-size: 16px; letter-spacing: -0.031em;
  color: #000; text-decoration: none; cursor: pointer;
}
.sm-cat-pill__icon { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; background: var(--sm-cat-color, #d0d4d8); color: #fff; font-size: 9px; }
.sm-cat-pill__icon--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-cat-pill__icon--svg svg { width: 10px; height: 10px; display: block; }
.sm-cat-pill__icon--fa i { line-height: 1; }
.sm-cat-band__head .sm-cat-pill__icon,
.sm-cat-spot__head .sm-cat-pill__icon { width: 20px; height: 20px; font-size: 11px; margin-right: 6px; }
.sm-cat-rail__cover { border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; margin: 0 0 10px; background: var(--sm-cat-color, #eee); }
.sm-cat-rail__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-cat-spot__head { display: inline-flex; align-items: center; gap: 4px; }
.sm-cat-pill.is-active {
  color: #000; background: #f2f4f5; border-color: #ddd;
}

.sm-cat-band { margin-top: var(--section-gap); padding: 0 24px; max-width: var(--page-max-width); margin-left: auto; margin-right: auto; }
.sm-cat-band__head {
  display: flex; align-items: center; gap: 6px; margin-bottom: 12px;
  font-size: 20px; font-weight: 600; letter-spacing: -0.05em;
  text-decoration: none; color: #000;
}
.sm-cat-band__head .sm-icon { width: 16px; height: 16px; }

.sm-mosaic {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 2px; border-radius: 28px; overflow: hidden;
  background: #e8e8e8; aspect-ratio: 1 / 1; max-width: 100%;
}
.sm-mosaic__cell {
  position: relative; display: block; overflow: hidden; text-decoration: none; color: #fff;
  min-height: 0; background: #c8c4c0;
}
.sm-mosaic__cell--empty { pointer-events: none; background: #ececec; }
.sm-mosaic__cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  position: absolute; inset: 0;
}
.sm-mosaic__label {
  position: absolute; left: 14px; bottom: 12px; z-index: 1;
  font-size: 14px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2;
  color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.45);
  max-width: calc(100% - 24px);
}
.sm-cat-rail-wrap { position: relative; margin-top: 28px; }
.sm-cat-rail {
  display: flex; gap: 20px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; padding: 0 28px 16px;
  max-width: 100%; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.sm-cat-rail::-webkit-scrollbar { display: none; }
.sm-cat-rail__card {
  flex: 0 0 clamp(240px, 22vw, 300px); scroll-snap-align: start; max-width: 100%;
}
.sm-cat-rail__card .sm-cat-band__head {
  margin-bottom: 12px; padding: 0;
  font-size: 22px; font-weight: 700; letter-spacing: -0.04em;
}
.sm-cat-rail__next {
  position: absolute; right: 18px; top: 54%;
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff;
  box-shadow: var(--shadow-lg); cursor: pointer; display: grid; place-items: center;
  z-index: 3; color: #000;
}

/* Shop.app category spotlight: "Baby & toddler >" + tall storefront cards */
.sm-cat-spot {
  margin-top: clamp(40px, 6vw, 64px);
  max-width: 100%;
}
.sm-cat-spot__head {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 0 16px; padding: 0 28px;
  font-size: 22px; font-weight: 600; letter-spacing: -0.06em;
  color: #000; text-decoration: none; line-height: 1.15;
}
.sm-cat-spot__head .sm-icon { opacity: 0.9; flex-shrink: 0; }
.sm-cat-spot__head:hover { opacity: 0.75; }
.sm-cat-spot__rail {
  display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; padding: 4px 28px 20px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.sm-cat-spot__rail::-webkit-scrollbar { display: none; }

.sm-storefront {
  flex: 0 0 clamp(240px, 28vw, 300px);
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 10px;
  background: transparent; border: 0; padding: 0;
}
.sm-storefront__hero {
  position: relative; display: block; overflow: hidden;
  border-radius: 28px; aspect-ratio: 3 / 4;
  background: #eceae6; text-decoration: none; color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}
.sm-storefront__hero > img,
.sm-storefront__ph {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sm-storefront__ph { background: linear-gradient(145deg, #e8e4de, #d5d0c8); }
.sm-storefront__top {
  position: absolute; left: 16px; top: 16px; right: 16px; z-index: 2;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.sm-storefront__title {
  margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.03em;
  color: #fff; line-height: 1.2;
}
.sm-storefront__meta {
  margin-top: 4px; font-size: 12px; font-weight: 500;
  letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.92);
}
.sm-storefront__mark {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  z-index: 2; font-size: clamp(28px, 4vw, 40px); font-weight: 600;
  letter-spacing: -0.06em; color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  pointer-events: none; opacity: 0.95;
}
.sm-storefront__mark.is-from-site {
  font-size: clamp(22px, 3.2vw, 32px);
}
.sm-storefront__thumbs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.sm-storefront__thumb {
  display: block; overflow: hidden; border-radius: 14px;
  aspect-ratio: 1; background: #f2f4f5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.sm-storefront__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.sm-home { padding: 4px 0 80px; overflow-x: hidden; background: #fbfbfb; }
.sm-constellation {
  position: relative; max-width: 100%; margin: 0 auto;
  padding: 8px 16px 0; overflow: hidden;
  background: #fbfbfb;
}
.sm-constellation__stage {
  position: relative;
  height: clamp(280px, 30vw, 360px);
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}
.sm-float-card {
  position: absolute;
  width: 132px;
  height: auto !important;
  max-height: none;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-sm-2);
  overflow: hidden;
  z-index: 2;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.sm-float-card img {
  aspect-ratio: 1 / 1 !important;
  width: calc(100% - 12px) !important;
  height: auto !important;
  max-height: none !important;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin: 6px 6px 0;
  flex: 0 0 auto;
}
.sm-float-card__body {
  padding: 8px 10px 12px;
  flex: 0 0 auto;
}
.sm-float-card__body strong {
  display: block; font-size: 12px; font-weight: 500; letter-spacing: -0.014em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sm-float-card__stars {
  margin-top: 2px; font-size: 9px; letter-spacing: -0.5px; color: var(--color-muted-gray);
}
.sm-float-card--sat {
  width: 100px;
  border-radius: 18px;
  z-index: 1;
  opacity: 0.9;
  pointer-events: none;
  filter: saturate(0.9);
}
.sm-float-card--sat img {
  margin: 0 !important;
  width: 100% !important;
  border-radius: 18px;
  aspect-ratio: 1 / 1 !important;
}
.sm-float-card--sat .sm-float-card__body { display: none; }

.sm-float-card--4 { left: 8%; top: 14%; animation: sm-float-a 8s ease-in-out infinite; animation-delay: -1s; }
.sm-float-card--5 { right: 8%; top: 16%; left: auto; animation: sm-float-c 8s ease-in-out infinite; animation-delay: -3s; }
.sm-float-card--1 { left: 16%; top: 26%; width: 150px; z-index: 3; animation: sm-float-a 7s ease-in-out infinite; }
.sm-float-card--2 {
  left: 50%; top: 6%; z-index: 4; width: 170px;
  animation: sm-float-b 7s ease-in-out infinite; animation-delay: -2s;
}
.sm-float-card--3 { right: 16%; top: 28%; left: auto; width: 150px; z-index: 3; animation: sm-float-c 7s ease-in-out infinite; animation-delay: -4s; }
@keyframes sm-float-a {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-6px); }
}
@keyframes sm-float-b {
  0%, 100% { transform: translateX(-50%) rotate(1.5deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(0deg) translateY(-8px); }
}
@keyframes sm-float-c {
  0%, 100% { transform: rotate(7deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-6px); }
}
.sm-home-wordmark {
  text-align: center; margin: 10px 0 16px; position: relative !important;
  z-index: 5; inset: auto !important; top: auto !important; left: auto !important;
  right: auto !important; bottom: auto !important; transform: none !important;
  pointer-events: none;
}
.sm-home-wordmark__text {
  display: inline-block;
  font-size: clamp(48px, 9vw, 72px); font-weight: 700;
  letter-spacing: -0.06em; text-transform: lowercase; color: var(--color-shop-violet);
  line-height: 0.95; position: relative !important; transform: none !important;
}
.sm-home-wordmark__dot { display: none; }
.sm-home-search-wrap {
  display: flex; justify-content: center; padding: 0 20px;
  position: relative !important; z-index: 6;
  top: auto !important; left: auto !important; transform: none !important;
  margin-top: 0;
}
.sm-constellation__center { display: contents; }
.sm-home-search-wrap .sm-search {
  width: 100%; max-width: 600px; box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border-radius: 32px;
}
#set-slogan-home { display: none !important; }
.acms-theme-hero__actions { text-align: center; margin: 14px 24px 0; }
.acms-theme-hero__ai-btn {
  display: inline-flex; align-items: center; padding: 6px 12px;
  border-radius: var(--radius-full); background: transparent; color: var(--color-muted-gray);
  text-decoration: none; font-size: 11px; border: 1px solid #ebebeb;
  letter-spacing: -0.017em;
}
.acms-theme-hero__ai-btn:hover { color: #000; border-color: #ccc; }
.sm-section {
  max-width: var(--page-max-width); margin: var(--section-gap) auto 0; padding: 0 24px;
}
.sm-section__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 24px; flex-wrap: wrap;
}
.sm-section__head h2 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.05em; }
.sm-link {
  display: inline-flex; align-items: center; gap: 4px; color: #000;
  text-decoration: none; font-size: 14px;
}
.sm-home-feature {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; background: #fff;
  border-radius: var(--radius-cards); box-shadow: var(--shadow-sm-2);
  overflow: hidden; margin-bottom: 16px;
}
.sm-home-feature__media { display: block; min-height: 240px; background: #f2f4f5; }
.sm-home-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-home-feature > div { padding: 28px 24px; align-self: center; }
.sm-home-feature h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; letter-spacing: -0.05em; }
.sm-home-feature h3 a { color: inherit; text-decoration: none; }
.sm-home-feature p { margin: 0; color: var(--color-muted-gray); font-size: 14px; }
.sm-story-rail, #ed-home-posts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.sm-shop-rail, #ed-home-shop {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.sm-svc-tiles, #ed-home-services {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.sm-svc-tile {
  display: flex; flex-direction: column; background: #fff;
  border-radius: var(--radius-cards); box-shadow: var(--shadow-sm-2);
  overflow: hidden; text-decoration: none; color: inherit;
}
.sm-svc-tile img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: var(--radius-inner) var(--radius-inner) 0 0;
}
.sm-svc-tile__body { padding: 14px 16px 18px; }
.sm-svc-tile h3 { margin: 0; font-size: 14px; font-weight: 500; }
.sm-svc-tile p { margin: 6px 0 0; font-size: 12px; color: var(--color-muted-gray); }

.sm-cta {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: #fff; border-radius: var(--radius-cards); box-shadow: var(--shadow-sm-2); padding: 32px;
}
.sm-cta h2 { margin: 0 0 8px; font-size: 20px; font-weight: 500; letter-spacing: -0.05em; }
.sm-cta p { margin: 0; color: var(--color-muted-gray); font-size: 14px; }

.sm-soft-center {
  max-width: 480px; margin: 40px auto; background: #fff;
  border-radius: var(--radius-cards); box-shadow: var(--shadow-sm-2); padding: 32px 28px;
}
.sm-soft-center--wide { max-width: 720px; }
.sm-account-nav { display: flex; flex-wrap: wrap; gap: 8px; }

.sm-contact-split {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start;
}
.sm-contact-split__photo {
  border-radius: var(--radius-cards); overflow: hidden; min-height: 420px; margin: 0;
}
.sm-contact-split__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block; min-height: 420px;
}
.sm-contact-form-card {
  background: #fff; border-radius: var(--radius-cards); box-shadow: var(--shadow-sm-2); padding: 28px;
}
.sm-contact-info { margin-bottom: 20px; }
.sm-contact-info__list { list-style: none; padding: 0; margin: 12px 0; }
.sm-contact-info__item {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 14px;
}
.sm-contact-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sm-contact-social__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: var(--radius-full); background: #f2f4f5; color: #000;
  text-decoration: none; font-size: 12px;
}

.sm-product-layout, .acms-product-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; background: #fff;
  border-radius: var(--radius-cards); box-shadow: var(--shadow-sm-2); padding: 24px;
}
.acms-gallery__main { width: 100%; border-radius: var(--radius-inner); display: block; }
.acms-gallery__thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.acms-gallery__thumb {
  width: 64px; height: 64px; object-fit: cover; border-radius: 12px;
  cursor: pointer; opacity: 0.7; border: 2px solid transparent;
}
.acms-gallery__thumb.is-active { opacity: 1; border-color: #000; }
.acms-buy-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0;
}
.acms-qty {
  width: 72px; padding: 10px 12px; border-radius: var(--radius-full);
  border: 1px solid #ebebeb; font-size: 14px;
}

.acms-cart-layout {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start;
}
.acms-cart-lines { display: flex; flex-direction: column; gap: 12px; }
.acms-cart-line {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: #fff; border-radius: var(--radius-pills); padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.acms-checkout {
  background: #fff; border-radius: var(--radius-cards); box-shadow: var(--shadow-sm-2); padding: 24px;
}
.acms-checkout__title { margin: 0 0 16px; font-size: 16px; font-weight: 500; }
.acms-checkout-form { display: flex; flex-direction: column; gap: 10px; }
.acms-field, input.acms-field, textarea.acms-field {
  width: 100%; box-sizing: border-box; padding: 12px 18px; border-radius: var(--radius-full);
  border: 1px solid #ebebeb; background: #fff; font-size: 14px; font-family: inherit;
}
textarea.acms-field, .acms-field--area {
  border-radius: var(--radius-inner); min-height: 88px; resize: vertical;
}
.acms-checkout-total {
  display: flex; justify-content: space-between; font-size: 14px; margin: 6px 0; font-weight: 500;
}
.acms-pay-methods { margin: 8px 0; }
.acms-pay-option { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 14px; }
.acms-cart-empty {
  text-align: center; padding: 48px 24px; background: #fff;
  border-radius: var(--radius-cards); box-shadow: var(--shadow-sm-2); color: var(--color-muted-gray);
}
.acms-empty, .acms-loading {
  padding: 32px; text-align: center; color: var(--color-muted-gray);
  background: #fff; border-radius: var(--radius-cards); box-shadow: var(--shadow-sm);
}
.acms-msg-success { color: #166534; font-size: 14px; margin-top: 8px; }
.acms-article {
  background: #fff; border-radius: var(--radius-cards); box-shadow: var(--shadow-sm-2);
  padding: 28px; max-width: 760px; margin: 0 auto;
}
.acms-article__cover {
  width: 100%; border-radius: var(--radius-inner); margin-bottom: 20px; display: block;
}
.acms-article__title {
  margin: 0 0 12px; font-size: 28px; font-weight: 500; letter-spacing: -0.05em; line-height: 1.15;
}
.acms-article__meta {
  display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px;
  color: var(--color-muted-gray); margin-bottom: 16px;
}
.acms-article__lead { font-size: 16px; color: var(--color-muted-gray); margin-bottom: 16px; }
.acms-article__content { font-size: 16px; letter-spacing: -0.031em; line-height: 1.5; }
.acms-article__content img { max-width: 100%; border-radius: var(--radius-inner); }
.sm-inline-figure { margin: 20px 0; }
.acms-tag {
  display: inline-flex; padding: 4px 12px; border-radius: var(--radius-full);
  background: #f2f4f5; font-size: 12px; color: #000; text-decoration: none; margin: 2px;
}
.acms-price { font-weight: 500; font-size: 14px; }
.acms-price--lg { font-size: 20px; letter-spacing: -0.05em; }
.acms-product-info__title { margin: 0 0 8px; font-size: 24px; font-weight: 500; letter-spacing: -0.05em; }
.acms-product-info__meta { color: var(--color-muted-gray); font-size: 12px; margin: 4px 0; }
.acms-badge {
  display: inline-block; padding: 4px 10px; border-radius: var(--radius-full);
  background: #f2f4f5; font-size: 11px; margin: 6px 0;
}

body[data-aura-theme-pack="shopmist"] .acms-btn,
body[data-aura-theme-wrapped="shopmist"] .acms-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius-full); font-size: 14px; font-weight: 500;
  letter-spacing: -0.014em; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; font-family: inherit; line-height: 1.2;
}
body[data-aura-theme-pack="shopmist"] .acms-btn--primary,
body[data-aura-theme-wrapped="shopmist"] .acms-btn--primary {
  background: #000; color: #fff; border-color: #000;
}
body[data-aura-theme-pack="shopmist"] .acms-btn--ghost,
body[data-aura-theme-wrapped="shopmist"] .acms-btn--ghost {
  background: #fff; color: #000; border-color: #ebebeb; box-shadow: var(--shadow-sm);
}
body[data-aura-theme-pack="shopmist"] .acms-btn--danger {
  background: #fff; color: #b91c1c; border-color: #ebebeb;
}
body[data-aura-theme-pack="shopmist"] .acms-btn--sm { padding: 6px 14px; font-size: 12px; }
body[data-aura-theme-pack="shopmist"] .acms-btn--block { width: 100%; }
.sm-cart-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
  border-radius: var(--radius-full); background: #fff; border: 1px solid #ebebeb;
  box-shadow: var(--shadow-sm); color: #000; text-decoration: none; font-size: 14px;
}
.aura-cms-cart-badge {
  display: inline-flex; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: #000; color: #fff; font-size: 10px;
  align-items: center; justify-content: center;
}

.sm-footer {
  margin-left: var(--rail-w);
  margin-right: var(--shell-inset);
  margin-bottom: var(--shell-inset);
  width: var(--panel-w);
  max-width: var(--panel-w);
  background: #000; color: #fff; padding: 48px 24px 28px;
  box-sizing: border-box;
  border-radius: 0 0 var(--panel-radius) var(--panel-radius);
}
.sm-footer__inner { max-width: var(--page-max-width); margin: 0 auto; }
.sm-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.sm-footer__brand-row { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.sm-footer__logo { border-radius: 10px; background: #fff; }
.sm-footer__brand { font-size: 16px; font-weight: 500; }
.sm-footer__lead, .sm-footer__org-desc { color: #acb0aa; font-size: 14px; margin: 0 0 12px; }
.sm-footer__contact { list-style: none; padding: 0; margin: 0 0 16px; }
.sm-footer__contact-item { margin-bottom: 6px; font-size: 14px; color: #ccc; }
.sm-footer__contact-item a { color: #fff; text-decoration: none; }
.sm-footer__social { display: flex; flex-wrap: wrap; gap: 10px; }
.sm-footer__social-link {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid #332f2d;
  display: grid; place-items: center; color: #fff;
}
.sm-footer__social-link svg { width: 16px; height: 16px; }
.sm-footer__heading {
  margin: 0 0 12px; font-size: 12px; letter-spacing: 0.04em;
  text-transform: uppercase; color: #acb0aa; font-weight: 500;
}
.sm-footer .acms-theme-nav--footer a, .sm-footer a {
  color: #fff; text-decoration: none; font-size: 14px; display: block; margin-bottom: 8px;
}
.sm-footer__bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid #332f2d;
  font-size: 12px; color: #acb0aa;
}
.sm-footer__copy { margin: 0; }

[data-sm-reveal], [data-ed-reveal] {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
[data-sm-reveal].is-in, [data-ed-reveal].is-in { opacity: 1; transform: none; }
/* Failsafe: async-injected cards must never stay invisible forever */
@media (prefers-reduced-motion: no-preference) {
  [data-sm-reveal]:not(.is-in), [data-ed-reveal]:not(.is-in) {
    animation: sm-reveal-fallback 0.01s linear 1.5s forwards;
  }
}
@keyframes sm-reveal-fallback {
  to { opacity: 1; transform: none; }
}
.sm-placeholder {
  display: grid; place-items: center; aspect-ratio: 1; background: #f2f4f5; color: #ccc;
}

.sm-auth-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  align-items: stretch; max-width: 900px; margin: 0 auto;
}
.sm-auth-layout__photo {
  border-radius: var(--radius-cards); overflow: hidden; margin: 0; min-height: 360px;
}
.sm-auth-layout__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block; min-height: 360px;
}
.sm-success-actions {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px;
}
.acms-theme-hero__actions { text-align: center; margin: 14px 24px 0; }
.acms-theme-hero__ai-btn {
  display: inline-flex; padding: 6px 12px; border-radius: var(--radius-full);
  background: transparent; color: var(--color-muted-gray); text-decoration: none;
  font-size: 11px; border: 1px solid #ebebeb; letter-spacing: -0.017em;
}

@media (max-width: 991px) {
  .sm-rail { display: none; }
  body[data-aura-theme-wrapped="shopmist"]::after,
  body[data-aura-theme-pack="shopmist"]::after { display: none; }
  body[data-aura-theme-wrapped="shopmist"],
  body[data-aura-theme-pack="shopmist"] {
    --rail-w: 0px;
    --shell-inset: 0px;
    --panel-w: 100%;
  }
  .sm-app-banner {
    margin: 0; width: 100%; max-width: 100%; border-radius: 0;
  }
  body[data-aura-theme-wrapped="shopmist"] .acms-theme-main,
  body[data-aura-theme-wrapped="shopmist"] main.acms-theme-main,
  body[data-aura-theme-pack="shopmist"] .sm-shell,
  body[data-aura-theme-pack="shopmist"] .sm-home,
  .sm-chrome, .sm-footer {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
  }
  .acms-theme-nav-toggle { display: grid; }
  .sm-chrome .acms-theme-nav--desktop,
  .sm-chrome .acms-theme-nav { display: none !important; }
  body[data-aura-cms-page="theme-home"] .sm-chrome .sm-search { display: none !important; }
  .sm-chrome .sm-search { display: flex; max-width: none; }
  .sm-chrome__row { grid-template-columns: auto 1fr auto; }
  .sm-wordmark__text { font-size: 16px; }
  .sm-product-rail--4, #product-list.sm-product-rail--4,
  .sm-shop-rail, #ed-home-shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-spotlight-grid, #post-list.sm-spotlight-grid,
  .sm-story-rail, #ed-home-posts,
  .sm-svc-tiles, #ed-home-services { grid-template-columns: 1fr; }
  .sm-home-feature, .sm-contact-split,
  .sm-product-layout, .acms-product-layout, .acms-cart-layout,
  .sm-auth-layout, .sm-footer__grid, .sm-cta { grid-template-columns: 1fr; }
  .sm-float-card--3, .sm-float-card--4, .sm-float-card--5 { display: none; }
  .sm-constellation__stage { height: 220px; overflow: hidden; }
  .sm-account-pill { display: none; }
  .sm-cat-rail { padding-left: 16px; padding-right: 16px; }
  .sm-cat-rail__next { display: none; }
  .sm-cat-spot__head { padding-left: 16px; padding-right: 16px; font-size: 20px; }
  .sm-cat-spot__rail { padding-left: 16px; padding-right: 16px; }
  .sm-storefront { flex-basis: min(78vw, 280px); }
}
@media (max-width: 640px) {
  .sm-shell { padding: 20px 16px 64px; }
  .sm-section { padding: 0 16px; }
  .sm-chrome__bar { padding: 10px 12px; }
  .sm-chrome__row { gap: 8px; }
  .sm-search { padding-left: 12px; }
  .sm-search__input { font-size: 14px; }
  .sm-search__submit { width: 40px; height: 40px; }
  .sm-product-rail--4, #product-list.sm-product-rail--4 { grid-template-columns: 1fr; }
  .sm-success-actions { flex-direction: column; }
  .sm-success-actions .acms-btn { width: 100%; }
  .sm-app-banner__line span:not(.sm-app-banner__arrow) { display: none; }
  .sm-float-card--1 { left: 6%; width: 110px; }
  .sm-float-card--2 { width: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  .sm-float-card--1, .sm-float-card--2, .sm-float-card--3 { animation: none; }
}
