/** Shopify CDN: Minification failed

Line 884:136 Expected identifier but found whitespace
Line 889:0 Expected "}" to go with "{"

**/
/* Nexus Neighborhoods storefront design layer, carried over from the Lovable shop.
   Tokens, header, search, cards, place pages and a light skin for the stock product, cart and search pages.
   Loaded once from snippets/nx-head.liquid. Palette tokens are overridden there from the theme settings. */
:root {
  --nx-bg: #f7fdfe; --nx-fg: #0d254d; --nx-card: #ffffff; --nx-secondary: #eaf5ff; --nx-muted: #48566c;
  --nx-accent: #2063b0; --nx-highlight: #3186e9; --nx-ink: #05193a; --nx-ink-fg: #f6f9fb; --nx-border: #e2e8f0;
  --nx-r: 16px; --nx-r-md: 14px; --nx-r-sm: 12px;
  --nx-shadow-float: 0 16px 36px -16px rgba(22, 49, 99, 0.28);
  --nx-shadow-flag: 0 0 0 1px rgba(20, 20, 20, 0.08), 0 1px 2px rgba(20, 20, 20, 0.12);
  --nx-gradient-ink: linear-gradient(160deg, #0d254d, #02102b);
  --nx-ease: cubic-bezier(0.16, 1, 0.3, 1);
}
#header-group { display: contents; }
html { -webkit-font-smoothing: antialiased; scroll-padding-top: 112px; }
.nx, .nx-announce, .nx-drawer { font-family: var(--font-body--family); color: var(--nx-fg); letter-spacing: 0; }
.nx *, .nx-drawer *, .nx-announce * { box-sizing: border-box; }
.nx :is(h1, h2, h3, h4, p, ul, ol, dl, dd, figure), .nx-drawer :is(h2, h3, p, ul) { margin: 0; padding: 0; }
.nx :is(ul, ol), .nx-drawer ul { list-style: none; }
.nx a, .nx-drawer a { color: inherit; text-decoration: none; }
.nx a.nx-btn, .nx-drawer a.nx-btn, .nx span.nx-btn { color: var(--nx-fg); }
.nx a.nx-btn--primary, .nx-drawer a.nx-btn--primary, .nx span.nx-btn--primary { color: #fff; }
.nx :is(h1, h2, h3, h4), .nx-drawer :is(h2, h3) { font-family: var(--font-heading--family); font-weight: 500; letter-spacing: 0; color: inherit; text-wrap: balance; }
.nx img { max-width: 100%; }
.nx-wrap { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 16px; }
.nx-truncate { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-muted { color: var(--nx-muted); }
.nx-emoji { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; line-height: 1; }
.nx-icon { width: 16px; height: 16px; flex: none; }
.nx :focus-visible, .nx-drawer :focus-visible { outline: 2px solid var(--nx-highlight); outline-offset: 2px; }

/* Buttons */
.nx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 1px solid transparent; border-radius: var(--nx-r-md); background: transparent; color: var(--nx-fg); font: inherit; font-size: 14px; font-weight: 500; line-height: 1.25; white-space: nowrap; cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.12s ease; }
.nx-btn:active { transform: scale(0.98); }
.nx-btn[disabled], .nx-btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.nx .nx-btn--primary, .nx-drawer .nx-btn--primary { background: var(--nx-fg); color: #fff; }
.nx-btn--primary:hover { background: color-mix(in srgb, var(--nx-fg) 90%, #fff); }
.nx-btn--outline { border-color: var(--nx-border); background: var(--nx-bg); }
.nx-btn--outline:hover, .nx-btn--ghost:hover { background: var(--nx-secondary); }
.nx-btn--secondary { background: var(--nx-secondary); }
.nx-btn--secondary:hover { background: color-mix(in srgb, var(--nx-secondary) 80%, var(--nx-fg) 6%); }
.nx-btn--link { min-height: 0; padding: 0; }
.nx-btn--link:hover .nx-icon { transform: translate(2px, -2px); }
.nx-btn .nx-icon { transition: transform 0.2s ease; }
.nx-btn--sm { min-height: 36px; padding: 6px 12px; }
.nx-btn--lg { min-height: 44px; padding: 10px 32px; }
.nx-btn--icon { width: 40px; padding: 0; flex: none; }
.nx-btn--wide { width: 100%; }
.nx-btn--wrap { white-space: normal; text-align: left; height: auto; }

/* Announcement and header */
.nx-announce { background: var(--nx-ink); color: var(--nx-ink-fg); }
.nx-announce p { max-width: 80rem; margin: 0 auto; padding: 10px 16px; text-align: center; font-size: 12px; line-height: 1.4; }
.nx-header-section { position: sticky; top: 0; z-index: 40; }
.nx-header { padding: 12px; background: color-mix(in srgb, var(--nx-bg) 85%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nx-header__bar { display: flex; align-items: center; gap: 12px; min-height: 64px; max-width: 80rem; margin-inline: auto; padding: 10px 16px; border: 1px solid var(--nx-border); border-radius: 999px; background: color-mix(in srgb, var(--nx-card) 95%, transparent); box-shadow: var(--nx-shadow-float); }
.nx-brand { display: flex; align-items: center; gap: 8px; min-width: 0; font-family: var(--font-body--family); font-size: 18px; font-weight: 600; color: #000; }
.nx-brand__mark { width: auto; height: 0.9em; flex: none; object-fit: contain; }
.nx-brand span { min-width: 0; overflow-wrap: anywhere; line-height: 1.15; }
.nx-header__nav { display: none; }
.nx-header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; color: var(--nx-fg); }
.nx-header__actions header-actions { display: flex; align-items: center; gap: 4px; }
.nx-header__actions .header-actions__action { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); background: var(--nx-bg); color: var(--nx-fg); cursor: pointer; }
.nx-header__actions .account-button { border-color: transparent; background: transparent; }
.nx-header__actions .header-actions__action:hover { background: var(--nx-secondary); }
.nx-header__actions .header-actions__cart-icon { position: relative; display: grid; place-items: center; }
.nx-header__actions { --cart-bubble-background: var(--nx-highlight); --cart-bubble-text: #fff; }

/* Place search */
.nx-search { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; max-width: 36rem; min-width: 0; padding: 6px; border: 1px solid var(--nx-border); border-radius: var(--nx-r); background: var(--nx-card); color: var(--nx-fg); box-shadow: var(--nx-shadow-float); }
.nx-search--compact { box-shadow: none; }
.nx-search__pin { margin-left: 12px; font-size: 14px; flex: none; }
.nx .nx-search__input, .nx-drawer .nx-search__input { flex: 1; min-width: 0; height: 40px; padding: 8px 4px; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none; font: inherit; font-size: 16px; color: var(--nx-fg); }
.nx-search__input::placeholder { color: var(--nx-muted); opacity: 1; }
.nx-search:focus-within { border-color: var(--nx-fg); }
.nx-search__panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 50; margin-top: 8px; max-height: 288px; overflow-y: auto; border: 1px solid var(--nx-border); border-radius: var(--nx-r); background: var(--nx-card); color: var(--nx-fg); box-shadow: var(--nx-shadow-float); text-align: left; }
.nx-search__panel[hidden] { display: none; }
.nx-search__row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--nx-border); font-size: 14px; }
.nx-search__row:last-child { border-bottom: 0; }
a.nx-search__row:hover, a.nx-search__row:focus, .nx-search__row.is-active { background: var(--nx-secondary); outline: none; }
.nx-search__row strong { display: block; font-weight: 500; }
.nx-search__row small { display: block; font-size: 12px; color: var(--nx-muted); }
.nx-search__note { padding: 12px; font-size: 14px; color: var(--nx-muted); border-bottom: 1px solid var(--nx-border); }
.nx-search__all { font-weight: 500; }
.nx-spin { animation: nx-spin 0.8s linear infinite; }
@keyframes nx-spin { to { transform: rotate(360deg); } }

/* Flags and badges */
.nx-flag { display: grid; place-items: center; height: 32px; aspect-ratio: 4 / 3; flex: none; overflow: hidden; border-radius: 10px; box-shadow: var(--nx-shadow-flag); background: var(--nx-secondary); }
.nx-flag img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nx-flag--badge { background: #154d8c; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.nx-flag--sm { height: 24px; border-radius: 8px; }
.nx-flag--lg { height: 44px; }

/* Location drawer */
.nx-drawer { width: min(calc(100% - 24px), 28rem); max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-right: 1px solid var(--nx-border); background: var(--nx-bg); overflow-y: auto; box-shadow: var(--nx-shadow-float); }
.nx-drawer::backdrop { background: rgba(5, 25, 58, 0.55); }
.nx-drawer[open] { animation: nx-drawer-in 0.35s var(--nx-ease) both; }
@keyframes nx-drawer-in { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.nx-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 16px; }
.nx-drawer__title { font-size: 24px; line-height: 1.2; }
.nx-drawer__body { display: grid; gap: 28px; padding: 0 20px 32px; }
.nx-drawer__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nx-drawer__label { margin-bottom: 12px; font-size: 12px; font-weight: 600; color: var(--nx-muted); }
.nx-drawer__row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--nx-border); font-size: 14px; font-weight: 500; }
.nx-drawer__row:hover { background: var(--nx-secondary); }
.nx-drawer__row .nx-truncate { flex: 1; }
.nx-drawer__menu { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 20px; border-top: 1px solid var(--nx-border); font-size: 14px; color: var(--nx-muted); }
.nx-drawer__menu a:hover { color: var(--nx-fg); }

/* Section scaffolding */
.nx-sec { padding-top: 64px; }
.nx-sec--end { padding-bottom: 64px; }
.nx-sec__head { margin-bottom: 32px; padding-top: 24px; border-top: 1px solid var(--nx-border); }
.nx-sec__head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.nx-label { margin-bottom: 12px; font-size: 12px; line-height: 1.4; color: var(--nx-muted); }
.nx-h1 { font-size: 30px; line-height: 1.15; }
.nx-h2 { font-size: 30px; line-height: 1.2; }
.nx-h3 { font-size: 20px; line-height: 1.3; }
.nx-h4 { font-size: 18px; line-height: 1.35; }
.nx-lead { max-width: 42rem; margin-top: 16px; font-size: 14px; line-height: 1.65; color: var(--nx-muted); text-wrap: pretty; }
.nx-text { font-size: 14px; line-height: 1.65; color: var(--nx-muted); text-wrap: pretty; }
.nx-card { border: 1px solid var(--nx-border); border-radius: var(--nx-r); background: var(--nx-card); padding: 24px; }
.nx-stack { display: grid; gap: 32px; }
.nx-row-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.nx-row-end { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.nx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nx-enter { animation: nx-rise 0.65s ease-out both; }
@keyframes nx-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Home hero */
.nx-hero { position: relative; isolation: isolate; z-index: 10; margin-inline: 12px; min-height: clamp(490px, calc(100svh - 250px), 640px); overflow: hidden; border-radius: var(--nx-r); background: var(--nx-ink); color: var(--nx-ink-fg); display: flex; }
.nx-hero__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: nx-photo 1.6s ease-out both; }
@keyframes nx-photo { from { transform: scale(1.035); } to { transform: scale(1); } }
.nx-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 6, 6, 0.46) 0%, rgba(6, 6, 6, 0.22) 42%, rgba(6, 6, 6, 0.06) 72%, rgba(6, 6, 6, 0.18) 100%), linear-gradient(180deg, rgba(6, 6, 6, 0.4) 0%, rgba(6, 6, 6, 0.3) 26%, rgba(6, 6, 6, 0.52) 52%, rgba(6, 6, 6, 0.74) 78%, rgba(6, 6, 6, 0.86) 100%); }
.nx-hero__content { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; width: 100%; max-width: 1600px; margin-inline: auto; padding: 28px; }
.nx-hero__rule { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; }
.nx-hero__dot { display: flex; align-items: center; gap: 10px; }
.nx-hero__dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.nx-hero__main { display: grid; align-items: end; gap: 32px; margin-top: auto; }
.nx-hero__title { font-size: 40px; line-height: 1.08; color: var(--nx-ink-fg); }
.nx-hero__tag { max-width: 32rem; margin-top: 20px; font-size: 14px; line-height: 1.6; opacity: 0.9; }
.nx-hero__side { display: grid; gap: 20px; min-width: 0; }
.nx-hero__side p { max-width: 24rem; font-size: 14px; line-height: 1.6; opacity: 0.92; }
.nx-hero__cta { justify-self: start; gap: 32px; min-height: 44px; padding: 6px 6px 6px 16px; }
.nx-hero__cta-box { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--nx-r-sm); background: var(--nx-ink); color: var(--nx-ink-fg); }
.nx-hero__cta:hover .nx-icon { transform: translate(2px, -2px); }
.nx-hero__foot a { display: none; align-items: center; gap: 12px; font-weight: 500; }
.nx-hide-sm { display: none; }

/* Stats */
.nx-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--nx-border); border-radius: var(--nx-r); background: var(--nx-border); }
.nx-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 24px; background: var(--nx-bg); }
.nx-stats dd { font-family: var(--font-heading--family); font-size: 30px; font-weight: 500; line-height: 1.15; }
.nx-stats dt { font-size: 12px; color: var(--nx-muted); }

/* Card grids and chips */
.nx-grid-3 { display: grid; gap: 16px; }
.nx-tile__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.nx-tile__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--nx-r-md); background: var(--nx-secondary); font-size: 20px; }
.nx-tile__step { font-size: 12px; color: var(--nx-muted); }
.nx-tile p { margin-top: 8px; }
.nx-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nx-chip { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); background: var(--nx-card); font-size: 14px; font-weight: 500; transition: background-color 0.2s ease, border-color 0.2s ease; }
.nx-chip:hover { background: var(--nx-secondary); }
.nx-chip--plain { background: transparent; }
.nx-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.nx-pill { min-height: 44px; padding-inline: 20px; gap: 12px; }
.nx-pill .nx-emoji { font-size: 16px; }

/* Product cards */
.nx-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.nx-pcard { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--nx-r); background: var(--nx-card); }
.nx-pcard__media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--nx-secondary); }
.nx-pcard__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.nx-pcard:hover .nx-pcard__media img { transform: scale(1.05); }
.nx-pcard__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px; }
.nx-pcard__type { font-size: 12px; font-weight: 500; color: var(--nx-muted); }
.nx-pcard__title { font-size: 14px; font-weight: 500; line-height: 1.6; }
.nx-pcard__title, .nx-pcard__desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.nx-pcard__desc { font-size: 12px; line-height: 1.6; color: var(--nx-muted); }
.nx-pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.nx-pcard__price { min-width: 0; font-size: 14px; font-weight: 600; }
.nx-pcard__form { margin: 0; }
.nx-empty { padding: 64px 16px; border-block: 1px dashed var(--nx-border); text-align: center; color: var(--nx-muted); }
.nx-empty .nx-h3 { color: var(--nx-fg); font-weight: 600; }
.nx-empty p { margin-top: 8px; }
.nx-empty .nx-btn { margin-top: 20px; }
.nx-pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--nx-border); font-size: 14px; color: var(--nx-muted); }

/* FAQ */
.nx-faq { max-width: 48rem; margin-inline: auto; }
.nx-faq details { border-bottom: 1px solid var(--nx-border); }
.nx-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-family: var(--font-heading--family); font-size: 16px; font-weight: 500; cursor: pointer; list-style: none; }
.nx-faq summary::-webkit-details-marker { display: none; }
.nx-faq summary:hover { text-decoration: underline; }
.nx-faq summary .nx-icon { transition: transform 0.2s ease; color: var(--nx-muted); }
.nx-faq details[open] summary .nx-icon { transform: rotate(180deg); }
.nx-faq__answer { padding-bottom: 16px; font-size: 14px; line-height: 1.65; color: var(--nx-muted); }
.nx-faq__answer p + p { margin-top: 8px; }

/* Footer */
.nx-footer { margin-top: 96px; background-image: var(--nx-gradient-ink); color: var(--nx-ink-fg); }
.nx-footer__grid { display: grid; gap: 40px; max-width: 80rem; margin-inline: auto; padding: 56px 24px; }
.nx-footer .nx-brand { color: var(--nx-ink-fg); }
.nx-footer__intro { display: grid; gap: 16px; min-width: 0; }
.nx-footer__intro p { max-width: 24rem; font-size: 14px; opacity: 0.75; }
.nx-footer__label { margin-bottom: 12px; font-size: 12px; font-weight: 600; opacity: 0.6; }
.nx-footer__list { display: grid; gap: 8px; font-size: 14px; }
.nx-footer__list a { display: inline-flex; align-items: center; gap: 8px; opacity: 0.8; }
.nx-footer__list a:hover { opacity: 1; }
.nx-footer__base { display: grid; gap: 16px; max-width: 80rem; margin-inline: auto; padding: 0 24px 32px; font-size: 12px; line-height: 1.6; }
.nx-footer__base p { opacity: 0.8; }
.nx-footer__menu { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.nx-footer__menu a { opacity: 0.8; }
.nx-footer__menu a:hover { opacity: 1; }

/* Place and collection heroes */
.nx-phero { position: relative; z-index: 10; background: var(--nx-gradient-ink); color: var(--nx-ink-fg); }
.nx-phero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nx-phero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 37, 77, 0.15), rgba(4, 20, 48, 0.8)); }
.nx-phero__content { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; min-height: 380px; padding-block: 56px; }
.nx-back { display: flex; align-items: center; gap: 4px; width: fit-content; font-size: 14px; opacity: 0.8; }
.nx-back:hover { opacity: 1; }
.nx-phero__name { display: flex; align-items: center; gap: 16px; }
.nx-phero__name h1 { min-width: 0; overflow-wrap: anywhere; font-size: 30px; line-height: 1.15; color: var(--nx-ink-fg); }
.nx-phero__sub { font-size: 18px; opacity: 0.9; }
.nx-phero__meta { font-size: 14px; opacity: 0.8; }
.nx-anchors { display: flex; flex-wrap: wrap; gap: 12px 20px; padding-block: 20px; border-bottom: 1px solid var(--nx-border); font-size: 14px; font-weight: 500; }
.nx-anchors a:hover { color: var(--nx-accent); }
.nx-psec { padding-top: 48px; scroll-margin-top: 112px; }
.nx-psec__title { margin-bottom: 24px; font-size: 24px; line-height: 1.3; }
.nx-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nx-cat { display: block; overflow: hidden; border: 1px solid var(--nx-border); border-radius: var(--nx-r); background: var(--nx-card); transition: border-color 0.2s ease; }
.nx-cat:hover { border-color: var(--nx-accent); }
.nx-cat__art { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: var(--nx-secondary); font-size: 30px; }
.nx-cat__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.nx-cat:hover .nx-cat__art img { transform: scale(1.05); }
.nx-cat__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px; }
.nx-cat__foot h3 { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.nx-cat__foot p { margin-top: 4px; font-size: 12px; color: var(--nx-muted); }
.nx-about { display: grid; gap: 32px; padding-block: 32px; border-block: 1px solid var(--nx-border); }
.nx-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; font-size: 14px; align-content: start; }
.nx-facts > div { min-width: 0; padding-bottom: 12px; border-bottom: 1px solid var(--nx-border); }
.nx-facts dt { font-size: 12px; color: var(--nx-muted); }
.nx-facts dd { margin-top: 8px; font-weight: 500; overflow-wrap: anywhere; }
.nx-beyond { padding-block: 40px; border-block: 1px solid var(--nx-border); }
.nx-beyond__top { display: grid; gap: 28px; }
.nx-beyond__eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12px; font-weight: 500; color: var(--nx-accent); }
.nx-beyond__aside { align-self: center; padding-left: 20px; border-left: 2px solid var(--nx-accent); }
.nx-beyond__aside p { margin-top: 12px; }
.nx-beyond__aside .nx-btn { margin-top: 20px; }
.nx-beyond__grid { display: grid; gap: 20px; margin-top: 40px; }
.nx-beyond__grid article { display: flex; flex-direction: column; min-width: 0; padding: 20px; }
.nx-beyond__grid .nx-emoji { margin-bottom: 20px; font-size: 24px; }
.nx-beyond__grid p { flex: 1; margin: 12px 0 20px; }
.nx-beyond__grid .nx-btn { justify-content: flex-start; }

/* Stock page skin: product, cart, search, pages */
body { background: var(--nx-bg); }
.content-for-layout { min-height: 50vh; }
.product-information, .main-collection-grid, .cart-page, .search-page { letter-spacing: 0; }

@media (min-width: 640px) {
  .nx-wrap { padding-inline: 24px; }
  .nx-header { padding: 16px 20px; }
  .nx-header__bar { gap: 16px; padding-inline: 24px; }
  .nx-hero { margin-inline: 20px; }
  .nx-hero__content { padding: 48px; }
  .nx-hero__rule { font-size: 12px; }
  .nx-hero__title { font-size: 48px; }
  .nx-hero__tag { font-size: 16px; }
  .nx-hero__foot a { display: inline-flex; }
  .nx-hide-sm { display: block; }
  .nx-h1, .nx-h2 { font-size: 36px; }
  .nx-lead { font-size: 16px; }
  .nx-card--lg { padding: 32px; }
  .nx-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nx-stats > div { padding: 32px; }
  .nx-stats dd { font-size: 36px; }
  .nx-grid-3, .nx-beyond__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nx-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nx-products { gap: 24px; }
  .nx-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nx-cat__foot { padding: 16px; }
  .nx-cat__foot h3 { font-size: 16px; }
  .nx-phero__name h1 { font-size: 48px; }
  .nx-flag--lg { height: 52px; }
}
@media (min-width: 768px) {
  .nx-hero { min-height: 0; height: clamp(500px, calc(100svh - 320px), 900px); }
  .nx-brand { font-size: 20px; }
  .nx-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nx-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nx-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .nx-header__menu { display: none; }
  .nx-header__nav { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
  .nx-header__search { width: 100%; max-width: 24rem; }
  .nx-header__browse { max-width: 14rem; }
  .nx-header__actions { margin-left: 0; }
  .nx-hero__content { padding: 64px; }
  .nx-hero__main { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 64px; }
  .nx-hero__title { font-size: 60px; }
  .nx-chips--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .nx-chips--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .nx-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nx-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nx-about { grid-template-columns: 1.3fr 1fr; gap: 64px; }
  .nx-beyond__top { grid-template-columns: 1.2fr 1fr; gap: 64px; }
}
@media (min-width: 1280px) { .nx-hero__title { font-size: 72px; } }
@media (prefers-reduced-motion: reduce) {
  .nx-hero__photo, .nx-enter, .nx-drawer[open], .nx-spin { animation: none; }
  .nx-btn, .nx-pcard__media img, .nx-cat__art img { transition: none; }
}

/* Single-column grids must be allowed to shrink below their content on small screens. */
.nx-stack, .nx-grid-3, .nx-hero__main, .nx-hero__side, .nx-footer__grid, .nx-footer__intro, .nx-about, .nx-beyond__top, .nx-beyond__grid, .nx-drawer__body { grid-template-columns: minmax(0, 1fr); }
.nx-stack > *, .nx-hero__main > *, .nx-footer__grid > * { min-width: 0; }
@media (min-width: 640px) { .nx-grid-3, .nx-beyond__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .nx-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) {
  .nx-hero__main { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); }
  .nx-about { grid-template-columns: 1.3fr 1fr; }
  .nx-beyond__top { grid-template-columns: 1.2fr 1fr; }
}
.nx-sec__head, .nx-sec__head > div { min-width: 0; }
.nx-h1, .nx-h2, .nx-h3, .nx-psec__title { overflow-wrap: anywhere; }

/* ===== Lovable parity layer (Dec 2026): exact sizes and behaviors from the Lovable storefront code ===== */
.nx-btn { min-height: 36px; padding: 8px 16px; }
.nx .nx-btn--primary, .nx-drawer .nx-btn--primary { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); }
.nx-btn--outline, .nx-btn--secondary { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.nx .nx-btn--outline:hover, .nx .nx-btn--ghost:hover, .nx-drawer .nx-btn--outline:hover, .nx-drawer .nx-btn--ghost:hover { background: var(--nx-accent); color: #fff; border-color: var(--nx-border); }
.nx .nx-btn--secondary:hover, .nx-drawer .nx-btn--secondary:hover { background: color-mix(in srgb, var(--nx-secondary) 80%, transparent); }
.nx-btn--sm { min-height: 32px; padding: 4px 12px; font-size: 12px; }
.nx-btn--lg { min-height: 40px; padding: 8px 32px; }
.nx-btn--icon { width: 36px; min-height: 36px; padding: 0; }
.nx-btn--link:hover { background: transparent; color: inherit; }
.nx-brand__mark { height: 0.72em; }

/* Header: search width, cart button and the Shop mega menu */
.nx-header__bar { position: relative; }
@media (min-width: 1024px) { .nx-header__search { max-width: 20rem; } }
.nx-header__actions .header-actions__action:not([data-testid="cart-drawer-trigger"]):not(.action__cart) { display: none; }
.nx-header__actions :is([data-testid="cart-drawer-trigger"], .action__cart) { position: relative; width: 40px; height: 40px; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); background: var(--nx-bg); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.nx-header__actions :is([data-testid="cart-drawer-trigger"], .action__cart):hover { background: var(--nx-accent); }
.nx-header__actions cart-icon { position: static; }
.nx-header__actions .cart-bubble { position: absolute; top: -6px; right: -6px; inset-inline-end: -6px; width: auto; min-width: 20px; height: 20px; padding-inline: 4px; border-radius: 999px; }
.nx-header__actions .cart-bubble__background { background: var(--nx-highlight); border-radius: 999px; }
.nx-header__actions .cart-bubble__text { font-size: 12px; font-weight: 600; color: #fff; }
.nx-mega > summary { list-style: none; }
.nx-mega > summary::-webkit-details-marker { display: none; }
.nx-mega[open] > summary { background: var(--nx-accent); color: #fff; }
.nx-mega__panel { position: absolute; right: 0; top: calc(100% + 14px); z-index: 50; width: min(1200px, calc(100vw - 48px)); max-height: 75svh; overflow-y: auto; padding: 32px; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); background: var(--nx-card); color: var(--nx-fg); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.nx-mega__head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--nx-border); }
.nx-mega__head p { font-size: 16px; font-weight: 500; }
.nx-mega__head a { font-size: 14px; color: var(--nx-muted); }
.nx-mega__head a:hover { color: var(--nx-fg); }

/* Category groups (mega menu, drawer, home Shop by Product) */
.nx-cgroups__grid { display: none; gap: 40px 32px; }
.nx-cgroup__title { margin-bottom: 20px; font-family: var(--font-body--family); font-size: 14px; font-weight: 500; }
.nx-cgroup__list { display: grid; gap: 12px; font-size: 14px; }
.nx-cgroup__list a { display: block; padding-block: 4px; color: var(--nx-muted); }
.nx-cgroup__list a.nx-cgroup__all { padding-block: 0; }
.nx-cgroup__list a:hover { color: var(--nx-fg); }
.nx-acc { border-bottom: 1px solid var(--nx-border); }
.nx-acc > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; }
.nx-acc > summary::-webkit-details-marker { display: none; }
.nx-acc > summary:hover { text-decoration: underline; }
.nx-acc > summary .nx-icon { color: var(--nx-muted); transition: transform 0.2s ease; }
.nx-acc[open] > summary .nx-icon { transform: rotate(180deg); }
.nx-acc .nx-cgroup__list { padding-bottom: 16px; }
.nx-sec .nx-cgroups { margin-bottom: 40px; }
@media (min-width: 1024px) {
  .nx-cgroups:not(.nx-cgroups--compact) .nx-cgroups__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nx-cgroups:not(.nx-cgroups--compact) .nx-cgroups__acc { display: none; }
}
@media (min-width: 1280px) { .nx-cgroups:not(.nx-cgroups--compact) .nx-cgroups__grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }

/* Drawer */
.nx-drawer__body { padding-inline: 24px; }
.nx-drawer__cats { margin-top: 4px; padding-top: 24px; border-top: 1px solid var(--nx-border); }
.nx-drawer__other { padding-top: 20px; border-top: 1px solid var(--nx-border); }

/* Hero */
.nx-hero__shade { background: linear-gradient(90deg, rgba(10, 10, 10, 0.46) 0%, rgba(10, 10, 10, 0.22) 42%, rgba(10, 10, 10, 0.06) 72%, rgba(10, 10, 10, 0.18) 100%), linear-gradient(180deg, rgba(10, 10, 10, 0.58) 0%, rgba(10, 10, 10, 0.3) 26%, rgba(10, 10, 10, 0.52) 52%, rgba(10, 10, 10, 0.74) 78%, rgba(10, 10, 10, 0.86) 100%); }
.nx-hero__title { font-size: 36px; }
.nx-hero__rule { font-size: 12px; }
.nx-hero__tag { opacity: 0.85; }
.nx-hero__side p { opacity: 0.9; }
.nx-hero__cta { margin-top: 20px; min-height: 44px; padding: 6px 6px 6px 16px; }
@media (min-width: 640px) { .nx-hero__cta { margin-top: 24px; } }

/* Product card */
.nx-pcard__design { font-size: 11px; color: var(--nx-muted); }
.nx-pcard__title { line-height: 1.625; }
.nx-pcard__desc { line-height: 1.625; }

/* Abroad card lists */
.nx-abroad__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.nx-abroad__sub { margin-top: 24px; font-size: 12px; font-weight: 600; color: var(--nx-muted); }
.nx-abroad__list--terr { margin-top: 12px; }
.nx-abroad__list .nx-chip { background: transparent; }
@media (min-width: 640px) { .nx-abroad__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } .nx-abroad__list--terr { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .nx-abroad__list--terr { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Footer: four columns, contact line and disclaimer */
.nx-footer__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .nx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .nx-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.nx-footer .nx-brand { font-size: 18px; }
.nx-footer__strong { font-weight: 500; opacity: 0.9 !important; }
.nx-footer__btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 14px; opacity: 0.8; cursor: pointer; }
.nx-footer__btn:hover { opacity: 1; }
.nx-footer__base { display: block; padding: 0 24px 32px; }
.nx-footer__contact { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px; font-size: 12px; opacity: 0.8; }
.nx-footer__contact a { overflow-wrap: anywhere; }
.nx-footer__contact a:hover { text-decoration: underline; }
.nx-footer__disclaimer { font-size: 12px; line-height: 1.625; opacity: 0.8; }
.nx-footer__disclaimer p { opacity: 1; }
@media (min-width: 640px) { .nx-hero__title { font-size: 48px; } }
@media (min-width: 1024px) { .nx-hero__title { font-size: 60px; } }
@media (min-width: 1280px) { .nx-hero__title { font-size: 72px; } }

/* Catalog filter bar */
.nx-filters { position: sticky; top: 96px; z-index: 30; margin-bottom: 32px; padding-block: 16px; border-block: 1px solid var(--nx-border); background: var(--nx-bg); }
@media (min-width: 1024px) { .nx-filters { top: 112px; } }
.nx-filters__desk { display: none; margin: 0; }
.nx-filters__grid { display: grid; gap: 20px; }
.nx-filters__field { display: block; min-width: 0; }
.nx-filters__field > span { display: block; margin-bottom: 8px; font-size: 12px; color: var(--nx-muted); }
.nx-filters__field :is(select, input) { width: 100%; height: 40px; min-width: 0; padding: 0 12px; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); background: var(--nx-bg); color: var(--nx-fg); font: inherit; font-size: 14px; outline: none; }
.nx-filters__field select { appearance: none; -webkit-appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2348566c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; cursor: pointer; }
.nx-filters__field :is(select, input):focus { box-shadow: 0 0 0 1px var(--nx-fg); }
.nx-filters__field input::placeholder { color: var(--nx-muted); }
.nx-filters__mobile { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nx-filters__count { font-size: 12px; color: var(--nx-muted); }
.nx-filters__count--desk { display: none; margin-left: auto; }
.nx-filters__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.nx-filters__chips:not(:has(> :not(.nx-filters__count--desk))) { margin-top: 0; }
.nx-filters__scope { margin-right: 8px; font-size: 12px; color: var(--nx-muted); }
.nx-chipx { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; border: 0; border-bottom: 1px solid var(--nx-border); background: none; color: var(--nx-fg); font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; }
.nx-chipx .nx-icon { width: 12px; height: 12px; }
.nx-chipx:hover { background: var(--nx-accent); color: #fff; }
.nx-filters__clear { padding: 0 8px; font-size: 12px; font-weight: 500; }
.nx-filters__clear:hover { text-decoration: underline; }
@media (min-width: 1024px) {
  .nx-filters__desk { display: block; }
  .nx-filters__mobile { display: none; }
  .nx-filters__count--desk { display: block; }
  .nx-filters__grid { grid-template-columns: 1.2fr 1fr 0.85fr 1.2fr 1fr; gap: 12px; }
  .nx-filters__grid--scoped { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.nx-sheet { width: 100%; max-width: none; max-height: 90svh; margin: auto 0 0; padding: 24px; border: 0; border-radius: 16px 16px 0 0; background: var(--nx-bg); color: var(--nx-fg); overflow-y: auto; }
.nx-sheet::backdrop { background: rgba(0, 0, 0, 0.8); }
.nx-sheet[open] { animation: nx-sheet-in 0.3s var(--nx-ease) both; }
@keyframes nx-sheet-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.nx-sheet form { margin: 0; }
.nx-sheet__head { position: relative; margin-bottom: 24px; }
.nx-sheet__head h2 { font-size: 18px; font-weight: 500; }
.nx-sheet__head p { margin-top: 6px; font-size: 14px; color: var(--nx-muted); }
.nx-sheet__close { position: absolute; top: -8px; right: -8px; }
.nx-sheet .nx-filters__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.nx-sheet__foot { position: sticky; bottom: -24px; display: flex; gap: 12px; margin-top: 24px; padding-block: 16px; border-top: 1px solid var(--nx-border); background: var(--nx-bg); }
.nx-sheet__foot .nx-btn--wide { flex: 1; }

/* Category hero (Lovable /category page) */
.nx-chero { position: relative; overflow: hidden; background: var(--nx-gradient-ink); color: var(--nx-ink-fg); }
.nx-chero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nx-chero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 37, 77, 0.6), rgba(8, 26, 59, 0.8)); }
.nx-chero__content { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: 300px; padding-block: 48px; }
.nx-chero h1 { font-size: 36px; line-height: 1.1; color: var(--nx-ink-fg); }
.nx-chero__count { opacity: 0.85; }
@media (min-width: 640px) { .nx-chero h1 { font-size: 48px; } }
.nx-phero__shade { background: linear-gradient(180deg, rgba(13, 37, 77, 0.6), rgba(8, 26, 59, 0.8)); }
.nx-pager > span:not(.nx-btn) { display: none; }

/* Product page (Lovable /product) */
.nx-product { padding-block: 40px; }
.nx-product__back { margin-bottom: 24px; }
.nx-product__back:hover { color: var(--nx-fg); }
.nx-product__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 1024px) { .nx-product__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nx-product__media { display: grid; gap: 12px; align-content: start; }
.nx-product__main { aspect-ratio: 1; overflow: hidden; border-radius: var(--nx-r); background: var(--nx-secondary); }
.nx-product__main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nx-product__thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-product__thumb { width: 80px; height: 80px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: var(--nx-r-md); background: transparent; cursor: pointer; }
.nx-product__thumb.is-active { border-color: var(--nx-fg); }
.nx-product__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nx-product__info { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.nx-product__label, .nx-product__design { font-size: 12px; color: var(--nx-muted); }
.nx-product__label { font-weight: 500; }
.nx-product__design { margin-top: -12px; }
.nx-product__title { font-size: 30px; line-height: 1.25; overflow-wrap: anywhere; }
@media (min-width: 640px) { .nx-product__title { font-size: 36px; } }
.nx-product__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; font-size: 24px; font-weight: 600; }
.nx-product__price del { font-size: 16px; font-weight: 400; color: var(--nx-muted); }
.nx-product__price del[hidden] { display: none; }
.nx-product__option > p { margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.nx-product__option > div { display: flex; flex-wrap: wrap; gap: 8px; }
.nx .nx-product__value { padding: 6px 16px; }
.nx .nx-product__value.is-selected { border-color: var(--nx-fg); background: var(--nx-fg); color: #fff; }
.nx .nx-product__value:not(.is-selected):hover { background: var(--nx-bg); color: var(--nx-fg); border-color: var(--nx-fg); }
.nx-product__form { margin: 0; }
.nx-product__desc { line-height: 1.625; color: var(--nx-muted); overflow-wrap: anywhere; }

/* Toast */
.nx-toast { position: fixed; left: 50%; top: 16px; z-index: 1000; display: grid; gap: 2px; width: min(356px, calc(100vw - 32px)); padding: 16px; border: 1px solid var(--nx-border); border-radius: 8px; background: var(--nx-card); color: var(--nx-fg); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); font-family: var(--font-body--family); font-size: 13px; transform: translateX(-50%); animation: nx-toast 0.3s var(--nx-ease) both; }
.nx-toast strong { font-weight: 600; }
.nx-toast span { color: var(--nx-muted); }
@keyframes nx-toast { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } }
.nx-footer__intro { align-content: start; }
.nx .nx-footer__label { margin-bottom: 12px; }
.nx .nx-drawer__label, .nx-drawer .nx-drawer__label { margin-bottom: 12px; }

/* Directory page (Lovable /locations) */
.nx-dir { padding-block: 40px; }
.nx-dir > .nx-back { margin-bottom: 24px; gap: 8px; }
.nx-dir__head { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--nx-border); }
.nx-dir__head p { margin-top: 12px; color: var(--nx-muted); }
.nx-dir__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.nx-dir__search { display: grid; gap: 12px; margin-bottom: 24px; }
.nx-dir__search .nx-search { max-width: none; box-shadow: none; }
.nx-dir__count { margin-bottom: 16px; font-size: 14px; color: var(--nx-muted); }
.nx-dir__list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 24px; }
@media (min-width: 640px) { .nx-dir__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .nx-dir__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nx-dir__row { display: flex; align-items: center; gap: 12px; min-width: 0; padding-block: 16px; border-bottom: 1px solid var(--nx-border); font-size: 14px; font-weight: 500; transition: background-color 0.2s ease; }
.nx-dir__row:hover { background: var(--nx-secondary); }
.nx-dir__row .nx-truncate { flex: 1; }
.nx-flag--dir { height: 40px; border-radius: var(--nx-r-md); }

/* Content and policy pages (Lovable PolicyPage) */
.rte h2 { margin: 32px 0 12px; font-size: 20px; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.rte :is(p, li) { font-size: 16px; line-height: 1.75; color: var(--nx-muted); }
.rte a { color: var(--nx-fg); text-underline-offset: 4px; overflow-wrap: anywhere; }

/* Horizon scrolls inside .page-wrapper (a fixed-height flex column) from 990px; keep the page regions at full height. */
.page-wrapper > * { flex-shrink: 0; }
.page-wrapper { scroll-padding-top: 112px; }
.page-wrapper > .content-for-layout { flex: 1 0 auto; }
.nx .nx-cgroup__title { margin-bottom: 20px; }
.nx-header .nx-header__actions .cart-bubble { top: -6px !important; right: -6px !important; inset-inline-end: -6px !important; left: auto !important; width: auto !important; min-width: 20px; height: 20px !important; }
.nx-header .nx-header__actions cart-icon { position: static !important; }

/* Directory controls and related places (Lovable /locations and place pages) */
.nx-dir__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.nx-dir__tabs:empty { display: none; }
.nx-dir__n { font-size: 12px; opacity: 0.7; }
.nx-dir__controls { display: grid; gap: 12px; margin-bottom: 24px; }
@media (min-width: 640px) { .nx-dir__controls { grid-template-columns: minmax(0, 1fr) 260px; } }
.nx-dir__field { display: flex; align-items: center; gap: 12px; min-width: 0; padding-inline: 12px; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); background: var(--nx-card); }
.nx-dir__field .nx-icon { color: var(--nx-muted); }
.nx .nx-dir__field input { width: 100%; min-width: 0; padding: 12px 0; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--nx-fg); outline: none; box-shadow: none; }
.nx-dir__select { width: 100%; padding: 12px; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); background: var(--nx-card); color: var(--nx-fg); font: inherit; font-size: 14px; }
.nx-dir__row .nx-dir__text { display: block; flex: 1; min-width: 0; }
.nx-dir__row .nx-dir__text strong { display: block; font-weight: 500; overflow-wrap: anywhere; }
.nx-dir__row .nx-dir__text small { display: block; font-size: 12px; font-weight: 400; color: var(--nx-muted); overflow-wrap: anywhere; }
.nx-dir__empty { grid-column: 1 / -1; padding: 64px 0; border-block: 1px solid var(--nx-border); text-align: center; color: var(--nx-muted); }
.nx-dir__pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; font-size: 14px; color: var(--nx-muted); }
.nx-dir__pager[hidden] { display: none; }
.nx-dir:not(.is-ready) .nx-dir__pager { display: none; }
.nx-rel__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.nx-rel__field { max-width: 28rem; margin-bottom: 16px; }
.nx-rel__shop { display: inline-flex; flex: none; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: var(--nx-accent); }
.nx-search__row .nx-dir__text strong { display: block; font-weight: 500; }
.nx-search__row .nx-dir__text small { display: block; font-size: 12px; color: var(--nx-muted); }

/* ---- Product page v2 ---- */
.nx-gallery { position: relative; overflow: hidden; border-radius: var(--nx-r); background: var(--nx-secondary); }
.nx-gallery__track { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.nx-gallery__track::-webkit-scrollbar { display: none; }
.nx-gallery__slide { flex: 0 0 100%; aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; background: transparent; scroll-snap-align: start; cursor: zoom-in; }
.nx-gallery__slide[hidden], .nx-product__thumb[hidden] { display: none; }
.nx-gallery__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s var(--nx-ease); }
@media (hover: hover) and (pointer: fine) { .nx-gallery__slide:hover .nx-gallery__img { transform: scale(1.9); } }
.nx-gallery__nav { position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--nx-border); border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--nx-fg); cursor: pointer; transform: translateY(-50%); }
.nx-gallery__nav--prev { left: 12px; }
.nx-gallery__nav--next { right: 12px; }
.nx-gallery__nav:hover { background: var(--nx-fg); color: #fff; }
.nx-gallery__nav .nx-icon { width: 18px; height: 18px; }
.nx-gallery__count { position: absolute; right: 12px; bottom: 12px; padding: 2px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 12px; pointer-events: none; }
@media (max-width: 1023px) { .nx-product__thumbs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .nx-product__thumb { flex: 0 0 64px; width: 64px; height: 64px; } }

.nx-product__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.nx-product__top > div { display: grid; gap: 4px; }
.nx-product__top .nx-product__design { margin-top: 0; }
.nx-heart { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--nx-border); border-radius: 999px; background: var(--nx-bg); color: var(--nx-fg); cursor: pointer; }
.nx-heart svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.nx-heart:hover { border-color: var(--nx-fg); }
.nx-heart[aria-pressed="true"] { color: #e0245e; border-color: #e0245e; }
.nx-heart[aria-pressed="true"] svg { fill: currentColor; }

.nx-product__form { display: grid; gap: 20px; }
.nx-product__installments:empty { display: none; }
.nx-product__installments { margin-top: -8px; font-size: 14px; }
.nx-product__option { margin: 0; padding: 0; border: 0; min-width: 0; }
.nx-product__option legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 500; }
.nx-product__option > div { display: flex; flex-wrap: wrap; gap: 8px; }
.nx .nx-product__value.is-unavailable { color: var(--nx-muted); text-decoration: line-through; border-style: dashed; }
.nx .nx-product__value.is-unavailable.is-selected { color: #fff; }
.nx .nx-swatch.nx-product__value { position: relative; display: grid; place-items: center; padding: 3px; border: 2px solid transparent; border-radius: 999px; background: transparent; color: var(--nx-fg); cursor: pointer; }
.nx .nx-swatch.nx-product__value:hover { border-color: var(--nx-border); background: transparent; }
.nx .nx-swatch.nx-product__value.is-selected { border-color: var(--nx-fg); background: transparent; color: var(--nx-fg); }
.nx .nx-swatch.is-unavailable { border-style: solid; text-decoration: none; opacity: 0.55; }
.nx .nx-swatch.is-unavailable::after { content: ""; position: absolute; left: 50%; top: 2px; bottom: 2px; width: 2px; background: var(--nx-fg); transform: translateX(-50%) rotate(45deg); }
.nx-swatch__dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background-size: 260%; background-position: center 30%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); font-size: 11px; font-weight: 600; }
.nx-swatch__dot--text { background: var(--nx-secondary); }
.nx-product__sizebtn { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: -8px; padding: 0; border: 0; background: none; color: var(--nx-fg); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.nx-product__sizebtn .nx-icon { width: 16px; height: 16px; }
.nx-product__buy { display: flex; gap: 12px; }
.nx-product__buy .nx-product__add { flex: 1 1 auto; }
.nx-qty { display: inline-flex; align-items: stretch; flex: 0 0 auto; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); overflow: hidden; }
.nx-qty button { display: grid; place-items: center; width: 40px; padding: 0; border: 0; background: transparent; color: var(--nx-fg); cursor: pointer; }
.nx-qty button:hover { background: var(--nx-secondary); }
.nx-qty .nx-icon { width: 16px; height: 16px; }
.nx-qty input { width: 40px; padding: 0; border: 0; background: transparent; color: var(--nx-fg); font: inherit; font-weight: 600; text-align: center; -moz-appearance: textfield; }
.nx-qty input::-webkit-inner-spin-button, .nx-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.nx-product__dynamic[hidden] { display: none; }
.nx-product__dynamic .shopify-payment-button__button { min-height: 44px; border-radius: var(--nx-r-md) !important; }
.nx-product__dynamic .shopify-payment-button__more-options { color: var(--nx-muted); font-size: 13px; }

.nx-notify { display: grid; gap: 10px; padding: 16px; border: 1px dashed var(--nx-border); border-radius: var(--nx-r-md); background: var(--nx-secondary); }
.nx-notify[hidden] { display: none; }
.nx-notify__title { font-size: 14px; font-weight: 600; }
.nx-notify__form { display: flex; gap: 8px; margin: 0; }
.nx-notify__form input[type="email"] { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); background: var(--nx-bg); color: var(--nx-fg); font: inherit; font-size: 14px; }
.nx-notify__ok { font-size: 14px; }

.nx-product__perks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.nx-product__perks li { display: flex; gap: 10px; align-items: flex-start; }
.nx-product__perks .nx-icon { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; }
.nx-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 16px 0; border-block: 1px solid var(--nx-border); list-style: none; }
.nx-trust li { display: grid; justify-items: center; gap: 6px; font-size: 12px; font-weight: 500; text-align: center; color: var(--nx-muted); }
.nx-trust .nx-icon { width: 22px; height: 22px; color: var(--nx-fg); }

.nx-product__more { border-bottom: 1px solid var(--nx-border); }
.nx-acc { border-top: 1px solid var(--nx-border); }
.nx-acc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; font-weight: 600; cursor: pointer; list-style: none; }
.nx-acc summary::-webkit-details-marker { display: none; }
.nx-acc summary .nx-icon { width: 18px; height: 18px; transition: transform 0.2s var(--nx-ease); }
.nx-acc[open] summary .nx-icon { transform: rotate(180deg); }
.nx-acc__body { display: grid; gap: 12px; padding-bottom: 20px; font-size: 14px; line-height: 1.6; color: var(--nx-muted); }
.nx-specs { display: grid; gap: 8px; margin: 0; }
.nx-specs > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.nx-specs dt { font-weight: 500; color: var(--nx-fg); }
.nx-specs dd { margin: 0; }
.nx .nx-btn--link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--nx-fg); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; height: auto; }
.nx .nx-btn--link .nx-icon { width: 14px; height: 14px; }
.nx-placecard { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); color: var(--nx-fg); text-decoration: none; }
.nx-placecard:hover { border-color: var(--nx-fg); }
.nx-placecard > span { display: grid; flex: 1 1 auto; }
.nx-placecard small { color: var(--nx-muted); font-size: 13px; }
.nx-placecard img, .nx-placecard .nx-flag { width: 36px; height: auto; border-radius: 4px; }
.nx-placecard .nx-icon { width: 16px; height: 16px; }

.nx-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.nx-share > span { margin-right: 4px; font-weight: 500; }
.nx-share__btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--nx-border); border-radius: 999px; background: var(--nx-bg); color: var(--nx-fg); font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; }
.nx-share__btn:hover { border-color: var(--nx-fg); }
.nx-share__btn .nx-icon { width: 14px; height: 14px; }

.nx-rows { display: grid; }
.nx-row[hidden] { display: none; }
.nx-row { padding-top: 56px; }
.nx-row__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.nx-row__head .nx-psec__title { margin: 0; }
@media (min-width: 768px) { .nx-row .nx-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.nx-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--nx-border); background: var(--nx-bg); box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08); }
.nx-sticky[hidden] { display: none; }
.nx-sticky__info { display: grid; flex: 1 1 auto; min-width: 0; font-size: 13px; }
.nx-sticky__info strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (min-width: 990px) { .nx-sticky { display: none !important; } }
@media (max-width: 989px) { html.nx-has-sticky body { padding-bottom: 72px; } }

.nx-lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #fff; }
.nx-lightbox[open] { display: grid; place-items: center; }
.nx-lightbox::backdrop { background: #000; }
.nx-lightbox img { max-width: 100vw; max-height: 100svh; object-fit: contain; user-select: none; -webkit-user-drag: none; touch-action: pan-y; }
.nx-lightbox__close, .nx-lightbox__nav { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.15); color: #fff; cursor: pointer; }
.nx-lightbox__close { top: 16px; right: 16px; }
.nx-lightbox__nav { top: 50%; transform: translateY(-50%); }
.nx-lightbox__nav--prev { left: 16px; }
.nx-lightbox__nav--next { right: 16px; }
.nx-lightbox__count { position: absolute; bottom: 16px; left: 50%; font-size: 13px; transform: translateX(-50%); }

.nx-modal { width: min(640px, calc(100vw - 32px)); max-height: 85svh; padding: 24px; border: 0; border-radius: var(--nx-r); background: var(--nx-bg); color: var(--nx-fg); overflow-y: auto; }
.nx-modal::backdrop { background: rgba(0, 0, 0, 0.6); }
.nx-modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.nx-modal__head h2 { font-size: 20px; }
.nx-size__name { margin-bottom: 12px; font-size: 14px; color: var(--nx-muted); }
.nx-size__wrap { overflow-x: auto; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); }
.nx-size { width: 100%; border-collapse: collapse; font-size: 14px; }
.nx-size th, .nx-size td { padding: 10px 12px; border-bottom: 1px solid var(--nx-border); text-align: left; white-space: nowrap; }
.nx-size thead th { background: var(--nx-secondary); font-weight: 600; }
.nx-size tbody tr:last-child > * { border-bottom: 0; }
.nx-size__note { margin-top: 12px; font-size: 13px; color: var(--nx-muted); }
.nx-toast__link { margin-top: 4px; color: var(--nx-fg); font-weight: 600; text-decoration: underline; }

/* Wishlist page */
.nx-saved { padding-block: 40px 64px; }
.nx-saved__head { display: grid; gap: 8px; margin-bottom: 32px; }
.nx-saved__empty { padding: 48px 24px; border: 1px dashed var(--nx-border); border-radius: var(--nx-r); text-align: center; color: var(--nx-muted); }
.nx-saved__empty p + p { margin-top: 16px; }
.nx-saved [hidden] { display: none; }
.nx-gifts { display: grid; gap: 16px; padding-block: 48px 8px; }
.nx-gifts__label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--nx-muted); }
.nx-gifts__label .nx-icon { width: 18px; height: 18px; }
.nx-gifts__text { max-width: 640px; line-height: 1.6; }
.nx-gifts__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* ---- Town shop v2 ---- */
.nx-place:not(.has-merch) .nx-only-merch { display: none !important; }
.nx-place:not(.no-merch) .nx-only-empty { display: none !important; }
.nx-place.has-merch .nx-only-loading, .nx-place.no-merch .nx-only-loading { display: none; }
.nx-shop__loading { padding: 32px 0; color: var(--nx-muted); }
.nx-cat[hidden] { display: none; }
.nx-cat__art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s var(--nx-ease); }
.nx-cat:hover .nx-cat__art img { transform: scale(1.04); }
.nx-designs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 768px) { .nx-designs { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.nx-design { display: grid; padding: 0; overflow: hidden; border: 1px solid var(--nx-border); border-radius: var(--nx-r); background: var(--nx-card); color: var(--nx-fg); font: inherit; text-align: left; cursor: pointer; }
.nx-design:hover { border-color: var(--nx-fg); }
.nx-design__art { aspect-ratio: 1; overflow: hidden; background: var(--nx-secondary); }
.nx-design__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nx-design__foot { display: grid; gap: 2px; padding: 12px 14px; }
.nx-design__foot small { color: var(--nx-muted); font-size: 13px; }
.nx-shop__bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
@media (min-width: 768px) { .nx-shop__bar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nx-shop__bar label { display: grid; gap: 6px; font-size: 12px; color: var(--nx-muted); }
.nx-shop__bar select { height: 40px; padding: 0 12px; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); background: var(--nx-bg); color: var(--nx-fg); font: inherit; font-size: 14px; }
.nx-shop__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--nx-border); font-size: 13px; color: var(--nx-muted); }
.nx-shop__more { display: flex; justify-content: center; margin-top: 32px; }
.nx-shop__more [hidden] { display: none; }
.nx-shop__none { grid-column: 1 / -1; padding: 32px 0; text-align: center; color: var(--nx-muted); }
.nx-empty__form { display: grid; gap: 10px; width: min(460px, 100%); margin: 8px auto 4px; text-align: left; }
.nx-empty__ask { font-weight: 500; text-align: center; }
.nx-request { display: grid; gap: 8px; margin: 0; }
.nx-request__label { font-size: 13px; font-weight: 500; color: var(--nx-fg); }
.nx-request input[type="text"], .nx-request input[type="email"] { width: 100%; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); background: var(--nx-bg); color: var(--nx-fg); font: inherit; font-size: 14px; }
.nx-request__row { display: flex; gap: 8px; }
.nx-request__row input { flex: 1 1 auto; }
.nx-request__ok { padding: 12px; border-radius: var(--nx-r-md); background: var(--nx-secondary); color: var(--nx-fg); font-size: 14px; text-align: center; }
.nx-rel__shop--merch { color: var(--nx-fg); font-weight: 600; }

/* Frequently bought together */
.nx-fbt { padding-top: 56px; }
.nx-fbt[hidden] { display: none; }
.nx-fbt__wrap { display: grid; gap: 24px; padding: 24px; border: 1px solid var(--nx-border); border-radius: var(--nx-r); background: var(--nx-card); }
@media (min-width: 990px) { .nx-fbt__wrap { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); align-items: center; } }
.nx-fbt__items { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .nx-fbt__items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nx-fbt__item { position: relative; display: grid; gap: 6px; }
.nx-fbt__item label { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.nx-fbt__item input { flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--nx-fg); }
.nx-fbt__img { flex: 0 0 72px; width: 72px; height: 72px; overflow: hidden; border-radius: var(--nx-r-md); background: var(--nx-secondary); }
.nx-fbt__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nx-fbt__info { display: grid; gap: 2px; min-width: 0; font-size: 14px; }
.nx-fbt__info small { color: var(--nx-muted); font-size: 12px; }
.nx-fbt__info strong { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-weight: 600; }
.nx-fbt__link { margin-left: 30px; font-size: 12px; color: var(--nx-muted); }
.nx-fbt__buy { display: grid; gap: 8px; }
.nx-fbt__total { font-size: 18px; }
.nx-fbt__save { font-size: 13px; color: var(--nx-muted); }
.nx-fbt__save:empty { display: none; }

/* Free shipping progress */
.nx-ship { display: grid; gap: 8px; padding: 12px 14px; border-radius: var(--nx-r-md); background: var(--nx-secondary); font-size: 13px; }
.nx-ship__bar { height: 6px; overflow: hidden; border-radius: 999px; background: rgba(0, 0, 0, 0.08); }
.nx-ship__bar span { display: block; height: 100%; border-radius: inherit; background: var(--nx-fg); transition: width 0.4s var(--nx-ease); }
.cart-totals .nx-ship { margin-bottom: 12px; font-family: var(--font-body--family); }
.nx-acc--solo { border-bottom: 1px solid var(--nx-border); }

/* Search: places and products */
.nx-search__head { padding: 10px 12px 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--nx-muted); }
.nx-search__thumb { flex: 0 0 40px; width: 40px; height: 40px; overflow: hidden; border-radius: 8px; background: var(--nx-secondary); }
.nx-search__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nx-search__more { font-weight: 600; }

/* ---- Whole product photos (no cropping) ---- */
.nx-pcard__media, .nx-cat__art, .nx-design__art, .nx-gallery, .nx-gallery__slide, .nx-product__thumb, .nx-fbt__img, .nx-search__thumb, .nx-dpick { background: #fff; }
.nx-pcard__media img, .nx-cat__art img, .nx-design__art img, .nx-gallery__img, .nx-product__thumb img, .nx-fbt__img img, .nx-search__thumb img, .nx-dpick img { object-fit: contain !important; }
.nx-pcard:hover .nx-pcard__media img { transform: scale(1.03); }

/* Hearts */
.nx-pcard { position: relative; }
.nx-pcard__heart { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--nx-border); border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--nx-fg); cursor: pointer; }
.nx-pcard__heart svg, .nx-header__wish svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.nx-pcard__heart:hover { border-color: var(--nx-fg); }
.nx-pcard__heart[aria-pressed="true"] { color: #e0245e; border-color: #e0245e; }
.nx-pcard__heart[aria-pressed="true"] svg { fill: currentColor; }
.nx-header__wish { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); background: var(--nx-bg); color: var(--nx-fg); }
.nx-header__wish:hover { background: var(--nx-secondary); }
.nx-header__wish-count { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #e0245e; color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.nx-header__wish-count[hidden] { display: none; }
@media (max-width: 749px) { .nx-header__wish { display: none; } }

/* Near Me */
.nx-near { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.nx-near .nx-icon { width: 16px; height: 16px; }
.nx-near:disabled { opacity: 0.7; cursor: progress; }

/* Compare designs */
.nx-dpicks { display: grid; gap: 10px; }
.nx-dpicks[hidden] { display: none; }
.nx-dpicks__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-size: 14px; font-weight: 500; }
.nx-dpicks__label .nx-product__sizebtn { margin: 0 0 0 auto; }
.nx-dpicks__list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.nx-dpick { flex: 0 0 auto; display: grid; justify-items: center; gap: 6px; width: 92px; padding: 6px; border: 2px solid var(--nx-border); border-radius: var(--nx-r-md); color: var(--nx-fg); font-size: 11px; font-weight: 600; text-align: center; text-decoration: none; line-height: 1.2; }
.nx-dpick img { width: 72px; height: 72px; }
.nx-dpick:hover { border-color: var(--nx-fg); }
.nx-dpick.is-here { border-color: var(--nx-fg); background: var(--nx-secondary); }
.nx-modal--wide { width: min(1100px, calc(100vw - 32px)); }
.nx-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .nx-compare { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Town guide */
.nx-guide { display: grid; gap: 32px; padding-top: 8px; border-top: 1px solid var(--nx-border); }
@media (min-width: 990px) { .nx-guide { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); padding-top: 40px; } }
.nx-guide__text { display: grid; gap: 14px; align-content: start; }
.nx-guide__text .nx-psec__title { margin-bottom: 4px; }
.nx-guide__faq { border-bottom: 1px solid var(--nx-border); align-self: start; }

/* Search results page */
.nx-sr { padding-block: 40px 64px; }
.nx-sr__head { display: grid; gap: 16px; margin-bottom: 20px; }
.nx-sr__form { position: relative; display: flex; gap: 8px; max-width: 640px; }
.nx-sr__form input[type="search"] { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 14px 0 42px; border: 1px solid var(--nx-border); border-radius: 999px; background: var(--nx-bg); color: var(--nx-fg); font: inherit; font-size: 15px; }
.nx-sr__icon { position: absolute; left: 14px; top: 50%; color: var(--nx-muted); transform: translateY(-50%); }
.nx-sr__icon .nx-icon { width: 18px; height: 18px; }
.nx-sr__form .nx-btn { height: 48px; border-radius: 999px; }
.nx-sr__towns { margin-bottom: 20px; }
.nx-sr__towns[hidden] { display: none; }
.nx-sr__town-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.nx-sr__town-list a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border: 1px solid var(--nx-border); border-radius: 999px; background: var(--nx-card); color: var(--nx-fg); font-size: 14px; font-weight: 500; text-decoration: none; }
.nx-sr__town-list a:hover { border-color: var(--nx-fg); }
.nx-sr__town-list .nx-flag { width: 28px; height: 21px; }
.nx-sr__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.nx-sr__chips--design { margin-bottom: 20px; }
.nx-chip { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.nx-chip.is-on { border-color: var(--nx-fg); background: var(--nx-fg); color: #fff; }
.nx-chip .nx-icon { width: 12px; height: 12px; }
.nx-sr__bar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.nx-sr__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-sr__filter { position: relative; }
.nx-sr__filter summary { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); background: var(--nx-bg); font-size: 14px; cursor: pointer; list-style: none; }
.nx-sr__filter summary::-webkit-details-marker { display: none; }
.nx-sr__filter summary .nx-icon { width: 14px; height: 14px; }
.nx-sr__drop { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; display: grid; gap: 4px; width: 260px; max-height: 320px; overflow: auto; padding: 10px; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); background: var(--nx-bg); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
.nx-sr__opt { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 6px; font-size: 14px; cursor: pointer; }
.nx-sr__opt:hover { background: var(--nx-secondary); }
.nx-sr__opt span { flex: 1 1 auto; }
.nx-sr__opt small { color: var(--nx-muted); }
.nx-sr__price label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.nx-sr__price input { width: 110px; height: 36px; padding: 0 8px; border: 1px solid var(--nx-border); border-radius: 6px; font: inherit; }
.nx-sr__sort { display: grid; gap: 4px; font-size: 12px; color: var(--nx-muted); }
.nx-sr__sort select { height: 40px; padding: 0 12px; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); background: var(--nx-bg); color: var(--nx-fg); font: inherit; font-size: 14px; }
.nx-sr__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--nx-border); font-size: 13px; color: var(--nx-muted); }
.nx-sr__pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; font-size: 14px; color: var(--nx-muted); }

/* Location buttons and header icons (Dec 4): line icons instead of emoji, Shop Near Me as a real button */
.nx-search__pin { display: inline-grid; place-items: center; margin-left: 10px; color: var(--nx-muted); }
.nx-search__pin .nx-icon { width: 18px; height: 18px; }
.nx-header__browse .nx-icon:first-child { width: 16px; height: 16px; color: var(--nx-accent, currentColor); }
.nx-header__actions cart-icon svg { display: block; width: 20px; height: 20px; }
.nx-header__actions :is([data-testid="cart-drawer-trigger"], .action__cart) { box-shadow: none; color: var(--nx-fg); }
.nx-header__actions :is([data-testid="cart-drawer-trigger"], .action__cart):hover { background: var(--nx-secondary); }
.nx-near { gap: 8px; min-height: 40px; margin-top: 12px; padding: 0 16px; border: 1px solid var(--nx-border); border-radius: var(--nx-r-md); background: var(--nx-card); color: var(--nx-fg); font-size: 14px; font-weight: 500; text-decoration: none; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.nx-near:hover { background: var(--nx-secondary); }
.nx-near .nx-icon { width: 16px; height: 16px; }
.nx-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.nx-hero__actions .nx-hero__cta { margin-top: 0; }
.nx-near--glass { min-height: 44px; margin-top: 0; border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.12); color: 
.nx-near--glass:hover { background: rgba(255, 255, 255, 0.22); }
.nx-hero .nx-btn.nx-near--glass, .nx-hero .nx-btn.nx-near--glass span { color: #fff !important; }
.nx-hero__actions .nx-hero__cta { gap: 16px; }
.nx-hero__actions .nx-near--glass { padding: 0 14px; }
