:root {
  /* SIRI COUTURE — warm cream / deep maroon palette */
  --jm-white: #FEFDFA;
  --jm-sand: #E7CEB4;
  --jm-ink: #1A0A08;
  --jm-accent: #4A0908;
  --jm-accent-dark: #360605;
  --jm-accent-soft: #F3E8DC;
  --jm-gold: #B8893B;
  --jm-brown: #8A5A2B;
  --jm-cream: #FBF9F4;
  --jm-surface: #F7F0E6;
  --jm-slate: #6B5A52;
  --jm-muted: #9A8B82;
  --jm-border: #E6DACB;
  --jm-border-light: #F0E7DA;
  --jm-success: #2F7D4F;
  --jm-space: 8px;
  --jm-header-sticky-offset: 56px;
  --jm-radius: 10px;
  --jm-radius-lg: 16px;
  --jm-radius-sm: 6px;
  --jm-max: 1440px;
  --jm-shadow-sm: 0 1px 2px rgba(43, 26, 23, 0.05);
  --jm-shadow: 0 4px 16px rgba(43, 26, 23, 0.07);
  --jm-shadow-lg: 0 12px 40px rgba(43, 26, 23, 0.12);
  --jm-transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);

  /* Legacy aliases (single palette — no parallel colors) */
  --floward-primary: var(--jm-accent);
  --floward-primary-dark: var(--jm-accent-dark);
  --floward-primary-light: var(--jm-accent-soft);
  --color-floward: var(--jm-accent);
  --color-floward-dark: var(--jm-accent-dark);
  --color-ink: var(--jm-ink);
  --color-surface-muted: var(--jm-surface);
  --brand-border: var(--jm-border);
  --floward-white: var(--jm-white);
  --floward-bg: var(--jm-cream);
  --floward-surface: var(--jm-white);
  --floward-text: var(--jm-ink);
  --floward-text-secondary: var(--jm-slate);
  --floward-muted: var(--jm-muted);
  --floward-border: var(--jm-border);
  --floward-border-light: var(--jm-border-light);
  --floward-radius: var(--jm-radius);
  --floward-radius-lg: var(--jm-radius-lg);
  --floward-radius-pill: 999px;
  --floward-shadow-sm: var(--jm-shadow-sm);
  --floward-shadow: var(--jm-shadow);
  --floward-shadow-lg: var(--jm-shadow-lg);
  --floward-transition: var(--jm-transition);
  --floward-header-h: 72px;
  --floward-trust-h: 40px;
  --font-sans: "Jost", "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.floward-body {
  font-family: var(--font-sans);
  color: var(--floward-text);
  background: var(--floward-white);
  line-height: 1.5;
  margin: 0;
  padding-bottom: env(safe-area-inset-bottom);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--floward-transition);
}

a:hover {
  color: var(--floward-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


.text-floward {
  color: var(--floward-primary) !important;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--jm-ink);
  margin: 0;
}

.section-subtitle {
  font-size: 0.875rem;
  color: var(--floward-muted);
  margin: 0;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-floward {
  background: var(--floward-primary);
  border: 1px solid var(--floward-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--jm-radius);
  letter-spacing: 0.01em;
  transition: background var(--floward-transition), transform 0.15s ease, box-shadow var(--floward-transition);
}

.btn-floward:hover,
.btn-floward:focus {
  background: var(--floward-primary-dark);
  border-color: var(--floward-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--floward-shadow);
}

.btn-floward:active {
  transform: translateY(0);
}

.btn-outline-floward {
  color: var(--floward-primary);
  border: 1.5px solid var(--floward-primary);
  background: transparent;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--jm-radius);
  transition: all var(--floward-transition);
}

.btn-outline-floward:hover {
  background: var(--floward-primary);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--floward-text);
  padding: 0.5rem;
  border-radius: var(--floward-radius);
  transition: background var(--floward-transition);
}

.btn-ghost:hover {
  background: var(--floward-bg);
}


.trust-bar {
  background: var(--floward-bg);
  border-bottom: 1px solid var(--floward-border-light);
  font-size: 0.75rem;
  color: var(--floward-text-secondary);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.5rem 1rem;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.trust-bar__icon {
  width: 14px;
  height: 14px;
  color: var(--floward-primary);
  flex-shrink: 0;
}


.site-header {
  background: var(--floward-white);
  border-bottom: 1px solid var(--floward-border-light);
  z-index: 1030;
}

.site-header.sticky-top {
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(255, 255, 255, 0.92);
}

.top-bar {
  background: var(--floward-white);
  border-bottom: 1px solid var(--floward-border-light);
  font-size: 0.8125rem;
}

.top-bar select {
  border: none;
  background: transparent;
  color: var(--floward-text-secondary);
  font-size: 0.8125rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}

.top-bar select:focus {
  outline: none;
  box-shadow: none;
}

.delivery-to {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--floward-text);
  font-weight: 500;
}

.delivery-to span {
  color: var(--floward-muted);
  font-weight: 400;
}

.delivery-to__select {
  font-weight: 500;
  color: var(--floward-text);
  padding: 0.15rem 0.35rem;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--floward-radius);
  transition: background var(--floward-transition), color var(--floward-transition);
}

.delivery-to__select:hover,
.delivery-to__select:focus {
  background: var(--floward-bg);
  outline: none;
}

.delivery-to__select:focus-visible {
  box-shadow: 0 0 0 3px rgba(139, 58, 74, 0.15);
}

.preference-switchers .preference-switcher {
  border: none;
  background: transparent;
  color: var(--floward-text-secondary);
  font-size: 0.8125rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  border-radius: var(--floward-radius);
  transition: background var(--floward-transition), color var(--floward-transition);
}

.preference-switchers .preference-switcher:hover,
.preference-switchers .preference-switcher:focus {
  background: var(--floward-bg);
  color: var(--floward-text);
  outline: none;
}

.preference-switchers .preference-switcher:focus-visible {
  box-shadow: 0 0 0 3px rgba(139, 58, 74, 0.15);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--floward-primary) !important;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--floward-text) !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: var(--floward-radius);
  transition: background var(--floward-transition), color var(--floward-transition);
}

.nav-link:hover {
  background: var(--floward-bg);
  color: var(--floward-primary) !important;
}

.dropdown-menu {
  border: 1px solid var(--floward-border);
  border-radius: var(--floward-radius-lg);
  box-shadow: var(--floward-shadow-lg);
  padding: 0.5rem;
}

.dropdown-item {
  border-radius: var(--floward-radius);
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

.dropdown-item:hover {
  background: var(--floward-primary-light);
  color: var(--floward-primary);
}

.search-wrap input {
  border: 1px solid var(--floward-border);
  border-radius: var(--floward-radius-pill);
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  font-size: 0.875rem;
  background: var(--floward-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238c8c8c' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.1a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") no-repeat 0.85rem center;
  transition: border-color var(--floward-transition), box-shadow var(--floward-transition);
}

.search-wrap input:focus {
  border-color: var(--floward-primary);
  box-shadow: 0 0 0 3px rgba(139, 58, 74, 0.1);
  background-color: var(--floward-white);
}

.search-wrap--header {
  max-width: 400px;
}

.search-suggestions-dropdown:has(#search-suggestions:not(:empty)) {
  display: block;
}

.search-suggestions-body {
  padding: 0.25rem;
}

.search-suggestions-body:empty {
  display: none;
}

.search-suggestions-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.25rem;
}

.search-suggestions-section {
  padding-bottom: 0.25rem;
}

.search-suggestions-section+.search-suggestions-section {
  border-top: 1px solid var(--floward-border-light);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.search-suggestions-header {
  font-family: var(--font-sans);
  color: var(--floward-muted) !important;
}

.search-suggestion-link {
  transition: background var(--floward-transition), color var(--floward-transition);
}

.search-suggestion-link:hover,
.search-suggestion-link.is-active {
  background: var(--floward-primary-light) !important;
  color: var(--floward-primary) !important;
}

.search-suggestion-link:hover .text-dark,
.search-suggestion-link.is-active .text-dark {
  color: var(--floward-primary) !important;
}

.search-suggestion-link:hover .text-muted,
.search-suggestion-link.is-active .text-muted {
  color: var(--floward-primary-dark) !important;
  opacity: 0.85;
}

.search-suggestion-link:hover svg,
.search-suggestion-link.is-active svg {
  color: var(--floward-primary) !important;
}

.search-suggestions-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--floward-border);
  border-top-color: var(--floward-primary);
  border-radius: 50%;
  animation: search-spinner 0.65s linear infinite;
  flex-shrink: 0;
}

@keyframes search-spinner {
  to {
    transform: rotate(360deg);
  }
}

.search-suggestions-empty {
  text-align: center;
  padding: 1.25rem 1rem;
}

.search-suggestions-empty__icon {
  color: var(--floward-muted);
  margin-bottom: 0.5rem;
}

.search-suggestions-empty__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--floward-text);
}

.search-suggestions-empty__hint {
  line-height: 1.45;
}

.search-suggestion-link.is-active,
.search-suggestion-link:focus-visible {
  background: var(--floward-primary-light);
  color: var(--floward-primary);
  outline: none;
}

.header-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background var(--floward-transition);
}

.header-icon:hover {
  background: var(--floward-bg);
}

.header-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--floward-text);
  fill: none;
  stroke-width: 1.75;
}

.header-icon .badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  background: var(--floward-primary);
  color: #fff;
  border-radius: var(--floward-radius-pill);
}


.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--floward-white);
  border-top: 1px solid var(--floward-border);
  padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom));
  z-index: 1020;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
}

.mobile-bottom-nav a,
.mobile-bottom-nav button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.625rem;
  color: var(--floward-muted);
  background: none;
  border: none;
  padding: 0.35rem;
}

.mobile-bottom-nav a.active,
.mobile-bottom-nav button.active {
  color: var(--floward-primary);
}

.mobile-bottom-nav svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
}

@media (max-width: 991.98px) {
  .mobile-bottom-nav {
    display: flex;
  }

  body.floward-body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }

  .site-header .navbar-collapse {
    padding-bottom: 1rem;
  }

  .search-wrap,
  .search-wrap--header {
    max-width: 100% !important;
    margin: 0.75rem 0 !important;
  }

  .site-header .navbar {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
  }

  .navbar-brand {
    font-size: 1.15rem;
  }
}


.header-icon--trigger {
  cursor: pointer;
  color: var(--floward-text);
  background: transparent;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--floward-transition),
    transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header-icon--trigger:hover {
  background: transparent;
  color: var(--floward-primary);
}

.header-icon--trigger:active {
  background: transparent;
  transform: scale(0.86);
}

.header-icon--trigger:focus,
.header-icon--trigger:focus-visible {
  outline: none;
  box-shadow: none;
  background: transparent;
}

.header-icon--trigger svg {
  width: 23px;
  height: 23px;
}

.navbar-toggler-icon {
  transition: transform var(--floward-transition);
}


.mobile-search {
  position: fixed;
  inset: 0;
  z-index: 1080;
  visibility: hidden;
  pointer-events: none;
}

.mobile-search.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.18);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  backdrop-filter: saturate(160%) blur(8px);
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-search.is-open .mobile-search__backdrop {
  opacity: 1;
}

.mobile-search__sheet {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: calc(0.75rem + env(safe-area-inset-top)) 0.85rem 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-14px);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.28s ease;
  max-height: calc(100dvh - 1rem);
  display: flex;
  flex-direction: column;
}

.mobile-search.is-open .mobile-search__sheet {
  transform: translateY(0);
  opacity: 1;
}

.mobile-search__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mobile-search__field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  background: rgba(118, 118, 128, 0.12);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0 0.75rem;
  transition: background var(--floward-transition), border-color var(--floward-transition), box-shadow var(--floward-transition);
}

.mobile-search__field:focus-within {
  background: var(--floward-white);
  border-color: rgba(139, 58, 74, 0.35);
  box-shadow: 0 0 0 4px rgba(139, 58, 74, 0.1);
}

.mobile-search__icon {
  width: 20px;
  height: 20px;
  color: var(--floward-muted);
  flex-shrink: 0;
}

.mobile-search__input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.7rem 0.5rem;
  font-size: 1rem;
  color: var(--floward-text);
  outline: none;
  min-width: 0;
}

.mobile-search__input::placeholder {
  color: var(--floward-muted);
}

.mobile-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.mobile-search__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(118, 118, 128, 0.28);
  color: var(--floward-white);
  flex-shrink: 0;
  padding: 0;
  cursor: pointer;
}

.mobile-search__clear svg {
  width: 13px;
  height: 13px;
}

.mobile-search__cancel {
  border: none;
  background: transparent;
  color: var(--floward-primary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.25rem 0.15rem;
  white-space: nowrap;
  cursor: pointer;
}

.mobile-search__cancel:active {
  opacity: 0.6;
}

.mobile-search__results {
  margin-top: 0.6rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.mobile-search__results:empty {
  display: none;
}

.mobile-search__results .search-suggestions-list a {
  padding: 0.75rem 0.85rem !important;
  border-radius: 12px;
  font-size: 0.95rem;
}

.mobile-search__results .search-suggestions-empty {
  padding: 1.5rem 1rem 0.5rem;
}

@media (prefers-reduced-motion: reduce) {

  .mobile-search__sheet,
  .mobile-search__backdrop {
    transition: opacity 0.2s ease;
  }

  .mobile-search.is-open .mobile-search__sheet {
    transform: none;
  }
}


body.mobile-search-open {
  overflow: hidden;
}

.carousel-fade .carousel-item {
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  transition: width var(--floward-transition), background var(--floward-transition);
}

.carousel-indicators .active {
  background: #fff;
  width: 22px;
  border-radius: var(--floward-radius-pill);
}

@media (prefers-reduced-motion: reduce) {
  .carousel-fade .carousel-item {
    transition: opacity 0.3s ease;
  }
}


.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0 0.25rem;
}

.section-header .section-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--floward-primary);
  white-space: nowrap;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--floward-border);
  border-radius: var(--floward-radius-pill);
  transition: all var(--floward-transition);
}

.section-header .section-cta:hover {
  border-color: var(--floward-primary);
  background: var(--floward-primary-light);
}


.product-rail {
  margin-bottom: 2.5rem;
}

.product-rail-scroll {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0 0.75rem;
  margin: 0 -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  scrollbar-width: none;
}

.product-rail-scroll::-webkit-scrollbar {
  display: none;
}

.product-rail-item {
  flex: 0 0 auto;
  width: 160px;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .product-rail-item {
    width: 200px;
  }
}


.product-card-img--placeholder {
  object-fit: contain !important;
  padding: 22%;
  background: var(--floward-primary-light);
}

.jm-product-card__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  z-index: 2;
  pointer-events: none;
}

.product-badge {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--jm-radius-sm);
  background: var(--jm-sand);
  color: var(--jm-ink);
  box-shadow: var(--floward-shadow-sm);
}

.product-badge--express {
  color: var(--floward-primary);
}

.product-badge--same-day {
  background: var(--floward-primary);
  color: #fff;
}

.product-badge--new {
  background: var(--jm-accent-dark);
  color: #fff;
}

.product-badge--out {
  background: #dc2626;
  color: #fff;
}

.product-badge--low {
  background: #f97316;
  color: #fff;
}


.chip-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0 0.75rem;
  scrollbar-width: none;
}

.chip-scroll::-webkit-scrollbar {
  display: none;
}

.occasion-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 88px;
  text-align: center;
}

.occasion-chip__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--floward-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
  transition: transform var(--floward-transition), box-shadow var(--floward-transition);
}

.occasion-chip:hover .occasion-chip__icon {
  transform: translateY(-2px);
  box-shadow: var(--floward-shadow);
}

.occasion-chip__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.occasion-chip__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--floward-text);
  line-height: 1.2;
}

.occasion-view-all {
  flex: 0 0 auto;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--floward-border);
  background: var(--floward-white);
  color: var(--floward-text);
  transition: all var(--floward-transition);
}

.occasion-view-all:hover {
  border-color: var(--floward-primary);
  background: var(--floward-primary-light);
  color: var(--floward-primary);
}

.occasion-view-all svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 768px) {
  .occasion-chip {
    width: 104px;
  }

  .occasion-chip__icon {
    width: 88px;
    height: 88px;
  }
}


.feature-card {
  position: relative;
  height: 100%;
  background: var(--floward-white);
  border: 1px solid var(--floward-border);
  box-shadow: var(--floward-shadow-sm);
  transition: transform var(--floward-transition), box-shadow var(--floward-transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--floward-shadow);
}

.feature-card__img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.feature-card__body {
  display: block;
  padding: 1rem 1.25rem;
}

.feature-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--floward-text);
}


.plp-page {
  background: var(--floward-white);
}

.plp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.plp-filters {
  background: var(--floward-white);
  border: 1px solid var(--floward-border) !important;
  border-radius: var(--floward-radius-lg) !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  max-height: 100%;
  overflow: hidden;
}

.plp-filters-desktop {
  position: sticky;
  top: calc(var(--jm-header-sticky-offset, 148px) + 12px);
  align-self: flex-start;
  z-index: 15;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--jm-header-sticky-offset, 148px) - 24px);
  overflow: visible;
}

.plp-filters-desktop .plp-filters {
  margin-bottom: 0;
  flex: 1 1 auto;
}

.plp-filters-header,
.plp-filters-footer {
  flex-shrink: 0;
  background: var(--floward-white);
}

.plp-filters-body {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1 1 auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--floward-border, #d1d5db) transparent;
  padding-right: 4px;
}

.plp-filters-body::-webkit-scrollbar {
  width: 6px;
  display: block !important;
}

.plp-filters-body::-webkit-scrollbar-track {
  background: transparent;
}

.plp-filters-body::-webkit-scrollbar-thumb {
  background-color: var(--floward-border, #d1d5db);
  border-radius: 4px;
}

.plp-filters .form-label {
  font-weight: 500;
  color: var(--floward-text);
}

.plp-filters .form-select,
.plp-filters .form-control {
  border-color: var(--floward-border);
  border-radius: var(--floward-radius);
  font-size: 0.875rem;
}

.product-grid-shell {
  position: relative;
  min-height: 12rem;
  transition: opacity 0.2s ease;
}

.product-grid-shell.htmx-request {
  opacity: 0.45;
  pointer-events: none;
}

.product-grid-shell.htmx-request::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(255, 255, 255, 0.1) 100%);
  pointer-events: none;
  animation: plp-grid-shimmer 1.1s ease-in-out infinite;
}

@keyframes plp-grid-shimmer {
  0% {
    opacity: 0.35;
  }

  50% {
    opacity: 0.75;
  }

  100% {
    opacity: 0.35;
  }
}

.product-grid-inner {
  --bs-gutter-x: 0.75rem;
  --bs-gutter-y: 0.75rem;
}

@media (max-width: 991.98px) {
  .plp-filters-desktop {
    display: none;
  }

  .plp-filter-toggle {
    display: inline-flex !important;
  }
}

.plp-filter-toggle {
  display: none;
}


.product-detail {
  padding-bottom: 5rem;
}

.jm-pdp-gallery {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: flex-start;
}

.jm-pdp-gallery__thumb-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 72px;
}

.jm-pdp-gallery__nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--jm-border);
  background: var(--jm-white);
  color: var(--jm-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all var(--jm-transition);
}

.jm-pdp-gallery__nav:hover {
  border-color: var(--jm-accent);
  color: var(--jm-accent);
}

.jm-pdp-gallery__nav svg {
  width: 16px;
  height: 16px;
}

.jm-pdp-gallery__stage {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  background: linear-gradient(180deg, var(--jm-surface) 0%, var(--jm-cream) 100%);
  border-radius: var(--jm-radius-lg);
  overflow: hidden;
  border: 1px solid var(--jm-border-light);
}

.jm-pdp-gallery__ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  color: var(--jm-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
  box-shadow: var(--jm-shadow-sm);
}

.jm-pdp-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 1.25rem;
  background: transparent;
}

.jm-pdp-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: none;
}

.jm-pdp-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.jm-pdp-gallery__thumb,
.thumb-btn {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border: 1.5px solid var(--jm-border-light);
  border-radius: var(--jm-radius);
  overflow: hidden;
  padding: 0;
  background: var(--jm-surface);
  transition: border-color var(--jm-transition), box-shadow var(--jm-transition);
}

.jm-pdp-gallery__thumb img,
.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jm-pdp-gallery__thumb.is-active,
.jm-pdp-gallery__thumb.active,
.thumb-btn.active,
.jm-pdp-gallery__thumb:hover,
.thumb-btn:hover {
  border-color: var(--jm-accent);
  box-shadow: 0 0 0 2px rgba(74, 9, 8, 0.12);
}

@media (max-width: 767.98px) {
  .jm-pdp-gallery {
    flex-direction: column-reverse;
  }

  .jm-pdp-gallery__thumb-rail {
    flex-direction: row;
    flex: 0 0 auto;
    width: 100%;
  }

  .jm-pdp-gallery__thumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: visible;
    width: 100%;
  }

  .jm-pdp-gallery__nav {
    display: none;
  }
}

.zoom-container {
  cursor: zoom-in;
}

.zoom-image {
  transition: transform 0.35s ease;
}

.zoom-container:hover .zoom-image {
  transform: scale(1.04);
}

.jm-pdp-buybox__meta,
.pdp-meta {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--jm-muted, #6b7c8f);
}

.jm-pdp-buybox__title,
.pdp-info h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--jm-ink);
}

.jm-pdp-buybox__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.jm-pdp-buybox__price,
.pdp-price {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--jm-ink);
  letter-spacing: -0.02em;
}


.pdp-price .was {
  font-size: 1rem;
  color: var(--jm-muted, #6b7c8f);
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 0.35rem;
}

.jm-pdp-buybox__stock {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.jm-pdp-buybox__stock.is-in {
  color: var(--jm-success, #1f7a4d);
}

.jm-pdp-buybox__stock.is-out {
  color: var(--jm-accent);
}

.jm-pdp-buybox__retail {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--jm-muted, #6b7c8f);
}

.jm-pdp-buybox__options {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 1.1rem 0 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--jm-border-light, #e8eef4);
  border-bottom: 1px solid var(--jm-border-light, #e8eef4);
}

.jm-pdp-field {
  margin: 0;
}

.jm-pdp-field__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--jm-ink);
}

.jm-pdp-select.form-select {
  min-height: 46px;
  border-radius: 12px;
  border-color: var(--jm-border, #d5dee8);
  background-color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--jm-ink);
  box-shadow: none;
}

.jm-pdp-select.form-select:focus {
  border-color: rgba(74, 9, 8, 0.45);
  box-shadow: 0 0 0 3px rgba(74, 9, 8, 0.12);
}

.jm-pdp-field__hint {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  color: var(--jm-muted, #6b7c8f);
}

.jm-pdp-rent {
  display: block;
  margin: 0;
  cursor: pointer;
}

.jm-pdp-rent__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.jm-pdp-rent__ui {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--jm-border, #d5dee8);
  border-radius: 14px;
  background: #fbfcfe;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.jm-pdp-rent__input:checked+.jm-pdp-rent__ui {
  border-color: rgba(74, 9, 8, 0.35);
  background: rgba(74, 9, 8, 0.04);
}

.jm-pdp-rent__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.jm-pdp-rent__copy strong {
  font-size: 0.9375rem;
  color: var(--jm-ink);
}

.jm-pdp-rent__copy small {
  font-size: 0.8125rem;
  color: var(--jm-muted, #6b7c8f);
}

.jm-pdp-rent__switch {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #cfd8e3;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.jm-pdp-rent__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(43, 26, 23, 0.2);
  transition: transform 0.2s ease;
}

.jm-pdp-rent__input:checked+.jm-pdp-rent__ui .jm-pdp-rent__switch {
  background: var(--jm-accent);
}

.jm-pdp-rent__input:checked+.jm-pdp-rent__ui .jm-pdp-rent__switch::after {
  transform: translateX(18px);
}

.jm-pdp-buybox__purchase {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.jm-pdp-buybox__row,
.jm-pdp-buybox__cta-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
}

.jm-pdp-btn {
  min-height: 48px;
  border-radius: 14px !important;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.jm-pdp-qty,
.qty-stepper.jm-pdp-qty {
  display: inline-flex;
  align-items: center;
  height: 48px;
  border: 1px solid var(--jm-border, #d5dee8);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  flex-shrink: 0;
}

.jm-pdp-qty .qty-stepper__btn,
.qty-stepper.jm-pdp-qty .qty-stepper__btn {
  width: 42px;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 1.1rem;
  color: var(--jm-ink);
}

.jm-pdp-qty .qty-stepper__value,
.qty-stepper.jm-pdp-qty .qty-stepper__value {
  width: 40px;
  border: 0;
  text-align: center;
  font-weight: 700;
  background: transparent;
  outline: none;
  -moz-appearance: textfield;
}

.jm-pdp-qty .qty-stepper__value::-webkit-outer-spin-button,
.jm-pdp-qty .qty-stepper__value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.jm-pdp-wish__btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--jm-border, #d5dee8);
  background: #fff;
  color: var(--jm-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.jm-pdp-wish__btn.is-active,
.jm-pdp-wish__btn.is-active {
  color: var(--jm-accent);
  border-color: rgba(74, 9, 8, 0.35);
  background: rgba(74, 9, 8, 0.05);
}


/* Sticky purchase bar — mobile only */
.jm-pdp-sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  z-index: 1015;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(43, 26, 23, 0.08);
  box-shadow: 0 -8px 28px rgba(43, 26, 23, 0.08);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

@media (max-width: 991.98px) {
  .jm-pdp-sticky {
    display: flex;
  }

  .product-detail {
    padding-bottom: calc(7.5rem + env(safe-area-inset-bottom, 0px));
  }
}

.jm-pdp-sticky.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.jm-pdp-sticky__price {
  flex: 0 0 auto;
  min-width: 4.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--jm-ink);
  letter-spacing: -0.02em;
}

.jm-pdp-sticky__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.jm-pdp-sticky__atc {
  flex: 0 0 auto;
}

.jm-pdp-sticky__buy {
  flex: 0 0 auto;
}

.jm-pdp-sticky__btn {
  min-height: 44px;
  width: 100%;
  border-radius: 12px !important;
  font-size: 0.875rem !important;
  font-weight: 700;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.jm-pdp-sticky__rent {
  flex: 1 1 auto;
}


.jm-pdp-specs {
  border: 1px solid var(--jm-border-light, #e8eef4);
  border-radius: 14px;
  overflow: hidden;
  margin: 0;
}

.jm-pdp-specs th,
.jm-pdp-specs td {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border-color: var(--jm-border-light, #e8eef4);
}

.jm-pdp-specs th {
  width: 38%;
  font-weight: 600;
  color: var(--jm-muted, #6b7c8f);
  background: #f8fafc;
}

.jm-pdp-doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--jm-border-light, #e8eef4);
  border-radius: 14px;
  background: #fff;
}

.jm-pdp-doc__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--jm-ink);
}

.jm-pdp-doc__type {
  font-size: 0.75rem;
  color: var(--jm-muted, #6b7c8f);
}

.jm-pdp-doc__actions {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.jm-pdp-review {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--jm-border-light, #e8eef4);
}

.jm-pdp-review__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.jm-pdp-review__meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--jm-muted, #6b7c8f);
  font-weight: 500;
}

.jm-pdp-review__rating {
  color: var(--jm-accent);
  font-weight: 700;
  font-size: 0.875rem;
}

.jm-pdp-review__body {
  margin: 0;
  font-size: 0.875rem;
  color: var(--jm-slate, #5b6b7c);
}


.offcanvas {
  border-left: 1px solid var(--floward-border);
  max-width: 400px;
}

.offcanvas-header {
  border-bottom: 1px solid var(--floward-border-light);
  padding: 1rem 1.25rem;
}

.offcanvas-title {
  font-weight: 600;
  font-size: 1.125rem;
}

.cart-line {
  display: flex;
  gap: 0.75rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--floward-border-light);
}

.cart-line__info {
  flex: 1;
  min-width: 0;
}

.cart-line__name {
  font-size: 0.875rem;
  font-weight: 500;
}

.cart-line__meta {
  font-size: 0.75rem;
  color: var(--floward-muted);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: 0.25rem 0;
}

.cart-summary-total {
  font-weight: 700;
  font-size: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--floward-border);
  margin-top: 0.5rem;
}

/* cart image */

.cart-line__img-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--floward-radius);
  overflow: hidden;
  background: var(--floward-bg);
}

.cart-line__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__img--placeholder {
  object-fit: contain;
  padding: 20%;
}

#cart-drawer-body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.cart-drawer-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0 1rem;
}

.cart-drawer-footer {
  flex: 0 0 auto;
  padding: 1rem;
  border-top: 1px solid var(--floward-border);
  background: var(--floward-white);
}

.qty-stepper {
  border-color: var(--floward-border) !important;
}

.qty-stepper form {
  margin: 0;
}

.qty-stepper__btn {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--floward-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.qty-stepper__btn:hover {
  background: var(--floward-bg);
}

.qty-stepper__value {
  min-width: 28px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}

.cart-page-line .cart-line__name {
  font-size: 0.9375rem;
}

.checkout-page .card {
  border: 1px solid var(--floward-border) !important;
  border-radius: var(--floward-radius-lg) !important;
  box-shadow: none !important;
}

.checkout-step {
  background: var(--floward-white);
  border: 1px solid var(--floward-border);
  border-radius: var(--floward-radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.checkout-step h2 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--floward-border-light);
}

.form-check-input:checked {
  background-color: var(--floward-primary);
  border-color: var(--floward-primary);
}


.gift-builder {
  background: var(--floward-white);
}

.gift-builder .builder-section {
  border-bottom: 1px solid var(--floward-border-light);
  padding: 1.25rem 0;
}

.gift-builder .card-option {
  cursor: pointer;
  border: 2px solid var(--floward-border);
  border-radius: var(--floward-radius-lg);
  transition: all var(--floward-transition);
}

.gift-builder .card-option:hover {
  border-color: var(--floward-primary);
}

.gift-builder .card-option.border-floward {
  border-color: var(--floward-primary);
  box-shadow: 0 0 0 3px rgba(139, 58, 74, 0.12);
}

.gift-builder .swatch-option:has(input:checked) {
  background: var(--floward-primary);
  color: #fff;
  border-color: var(--floward-primary);
}


.tracking-page {
  max-width: 640px;
  margin: 0 auto;
}

.tracking-timeline {
  position: relative;
  padding-left: 1.5rem;
}

.tracking-step {
  position: relative;
  padding-bottom: 1.5rem;
}

.tracking-step:last-child {
  padding-bottom: 0;
}

.tracking-step::after {
  content: "";
  position: absolute;
  left: -19px;
  top: 16px;
  bottom: -4px;
  width: 2px;
  background: var(--floward-border);
  z-index: 1;
}

.tracking-step.is-complete::after {
  background: var(--floward-primary);
}

.tracking-step:last-child::after {
  display: none;
}

.tracking-step::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--floward-border);
  border: 2px solid var(--floward-white);
  z-index: 2;
}

.tracking-step.is-complete::before {
  background: var(--floward-primary);
}

.tracking-step.is-current::before {
  box-shadow: 0 0 0 4px rgba(139, 58, 74, 0.2);
  background: var(--floward-primary);
}


.site-footer {
  background: var(--floward-bg) !important;
  color: var(--floward-text) !important;
  border-top: 1px solid var(--floward-border);
  margin-top: 3rem !important;
  padding: 2.5rem 0 !important;
}

.site-footer h5,
.site-footer h6 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--floward-text);
  margin-bottom: 1rem;
}

.site-footer a {
  color: var(--floward-text-secondary);
  font-size: 0.8125rem;
  display: block;
  padding: 0.2rem 0;
  transition: color var(--floward-transition);
}

.site-footer a:hover {
  color: var(--floward-primary);
}

.site-footer .footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--floward-primary);
}

.site-footer .footer-copy {
  font-size: 0.75rem;
  color: var(--floward-muted);
  border-top: 1px solid var(--floward-border);
  padding-top: 1.5rem;
  margin-top: 2rem;
}


.brands-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: none;
}

.brands-scroll::-webkit-scrollbar {
  display: none;
}

.brand-pill {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  background: var(--floward-white);
  border: 1px solid var(--floward-border);
  border-radius: var(--floward-radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}


.bg-floward {
  background-color: var(--floward-primary) !important;
}

.badge.bg-floward {
  background: var(--floward-primary) !important;
}

.page-container {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.container-narrow {
  max-width: 720px;
}


.homepage-sections>section,
.homepage-sections>.container {
  margin-bottom: 0;
}

.homepage-sections {
  background: var(--floward-white);
}


.newsletter-section {
  background: var(--floward-bg);
}

.newsletter-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background: var(--floward-white);
  border: 1px solid var(--floward-border);
  border-radius: var(--floward-radius-lg);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form .form-control {
  flex: 1 1 220px;
  border-radius: var(--floward-radius-pill);
  border-color: var(--floward-border);
  font-size: 0.875rem;
}

.newsletter-form .btn {
  flex-shrink: 0;
}


.review-card {
  background: var(--floward-white);
  border: 1px solid var(--floward-border);
  border-radius: var(--floward-radius-lg);
  padding: 1.25rem;
  transition: box-shadow var(--floward-transition), transform var(--floward-transition);
}

.review-card:hover {
  box-shadow: var(--floward-shadow);
  transform: translateY(-2px);
}

.review-card__stars {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.review-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.review-card__body {
  font-size: 0.8125rem;
  color: var(--floward-muted);
  margin: 0;
  line-height: 1.5;
}


.promo-banner {
  border-radius: var(--floward-radius-lg);
  overflow: hidden;
  border: 1px solid var(--floward-border-light);
  transition: box-shadow var(--floward-transition);
}

.promo-banner:hover {
  box-shadow: var(--floward-shadow);
}

.promo-banner img {
  width: 100%;
  object-fit: cover;
}


.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .instagram-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.instagram-grid__item {
  aspect-ratio: 1;
  border-radius: var(--floward-radius);
  overflow: hidden;
  background: var(--floward-bg);
}

.instagram-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.instagram-grid__item:hover img {
  transform: scale(1.05);
}


.delivery-widget {
  background: var(--floward-bg);
  border: 1px solid var(--floward-border-light);
  border-radius: var(--floward-radius-lg);
  padding: 1rem;
  margin-bottom: 1rem;
}

.delivery-widget__title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.delivery-widget__text {
  font-size: 0.8125rem;
  color: var(--floward-text-secondary);
}


.order-preview {
  background: var(--floward-white);
  border: 1px solid var(--floward-border);
  border-radius: var(--floward-radius-lg);
  overflow: hidden;
}

.order-preview__header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--floward-border-light);
  background: var(--floward-bg);
}

.order-preview__body {
  padding: 1.25rem;
}

.order-preview-list dt {
  font-weight: 500;
  color: var(--floward-muted);
  margin-top: 0.75rem;
}

.order-preview-list dt:first-child {
  margin-top: 0;
}

.order-preview-list dd {
  margin-bottom: 0;
  color: var(--floward-text);
}

.order-preview__total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--floward-border-light);
}

.message-preview-quote {
  padding: 0.75rem 1rem;
  background: var(--floward-bg);
  border-radius: var(--floward-radius);
  border-left: 3px solid var(--floward-primary);
  font-style: italic;
  line-height: 1.5;
}

.message-preview-quote.is-empty {
  color: var(--floward-muted);
}


.checkout-confirmation {
  background: var(--floward-white);
  border: 1px solid var(--floward-border);
  border-radius: var(--floward-radius-lg);
  padding: 2rem 1.5rem;
}

.search-suggestions-list a:hover {
  background: var(--floward-bg) !important;
}

.search-suggestion-link {
  transition: background var(--floward-transition);
}

.search-suggestion-link:hover {
  background: var(--floward-bg);
}


.htmx-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2000;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
}

.htmx-progress.is-active::before {
  content: "";
  display: block;
  height: 100%;
  width: 35%;
  background: var(--floward-primary);
  animation: htmx-progress-slide 0.9s ease-in-out infinite;
}

@keyframes htmx-progress-slide {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(420%);
  }
}

/* Page loader — animated SVG */
.jm-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.jm-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.jm-loader__veil {
  position: absolute;
  inset: 0;
  background: var(--jm-white);
}

.jm-loader__mark {
  position: relative;
  z-index: 1;
  width: min(128px, 32vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.jm-loader__media {
  position: relative;
  z-index: 2;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--jm-border-light), 0 6px 24px rgba(26, 10, 8, 0.18);
  animation: jm-loader-pulse 1.8s ease-in-out infinite;
}

.jm-loader__ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  border: 1.5px solid var(--jm-gold);
  opacity: 0;
  animation: jm-loader-burst 1.8s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

.jm-loader__ring--2 {
  border-color: var(--jm-accent);
  animation-delay: 0.45s;
}

.jm-loader__ring--3 {
  border-color: var(--jm-gold);
  animation-delay: 0.9s;
}

@keyframes jm-loader-burst {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

@keyframes jm-loader-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jm-loader {
    transition: none;
  }

  .jm-loader__ring {
    animation: none;
    opacity: 0;
  }

  .jm-loader__media {
    animation: none;
  }
}

.htmx-toast-root {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2100;
  max-width: min(360px, calc(100vw - 2rem));
}

.htmx-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--floward-white);
  border: 1px solid var(--floward-border);
  border-left: 4px solid #c0392b;
  border-radius: var(--floward-radius-lg);
  box-shadow: var(--floward-shadow-lg);
  font-size: 0.875rem;
  color: var(--floward-text);
}

.htmx-toast__message {
  flex: 1;
  line-height: 1.4;
}

.htmx-toast__close {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--floward-muted);
  padding: 0;
  min-width: 1.5rem;
  min-height: 1.5rem;
}

.htmx-toast__close:hover,
.htmx-toast__close:focus {
  color: var(--floward-text);
  background: var(--floward-bg);
}

.htmx-toast__close:focus-visible {
  outline: 2px solid var(--floward-primary);
  outline-offset: 2px;
}

.navbar-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 0.5rem;
  width: 100%;
}

.navbar-col--start {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  position: relative;
}

.navbar-col--brand {
  grid-column: 2;
  justify-self: center;
  margin: 0;
  white-space: nowrap;
}

.navbar-col--end {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 0;
}

/* mobile menu becomes a floating dropdown instead of pushing the row */
@media (max-width: 991.98px) {
  .navbar-col--start #mainNav.navbar-collapse {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 240px;
    max-width: calc(100vw - 2rem);
    background: var(--floward-white);
    border: 1px solid var(--floward-border);
    border-radius: var(--floward-radius-lg);
    box-shadow: var(--floward-shadow-lg);
    padding: 0.5rem;
    z-index: 1040;
  }
}

/* account button: let it fit icon + Bootstrap's caret instead of clipping it into a circle */
.header-icon--account {
  width: auto;
  min-width: 40px;
  padding: 0 0.6rem 0 0.5rem;
  border-radius: var(--floward-radius-pill);
  gap: 0.3rem;
}

.header-icon--account::after {
  margin-left: 0;
  color: var(--floward-muted);
}

.category-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 116px;
  text-align: center;
}

.category-chip__icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--floward-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 2.25rem;
  transition: transform var(--floward-transition), box-shadow var(--floward-transition);
}

.category-chip:hover .category-chip__icon {
  transform: translateY(-2px);
  box-shadow: var(--floward-shadow);
}

.category-chip__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.category-chip__initial {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--floward-primary);
  text-transform: uppercase;
}

.category-chip__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--floward-text);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .category-chip {
    width: 150px;
  }

  .category-chip__icon {
    width: 128px;
    height: 128px;
  }

  .category-chip__label {
    font-size: 1rem;
  }
}

/* ---- Featured Brands rail ---- */
.brand-rail-section {
  --brand-card-w: 200px;
  --brand-card-w-mobile: 148px;
  --brand-logo-bg: var(--jm-surface);
  --brand-border: var(--color-border, #e7e3da);
}

.brand-rail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.brand-rail-viewall {
  flex-shrink: 0;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--jm-surface);
  color: var(--jm-ink);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease;
}

.brand-rail-viewall:hover {
  background: var(--color-surface-muted-hover, #ece7db);
}

.brand-rail {
  position: relative;
}

.brand-rail-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  list-style: none;
  margin: 0;
  padding: 0.25rem 0.25rem 0.75rem;
  scrollbar-width: none;
  /* firefox */
}

.brand-rail-track::-webkit-scrollbar {
  display: none;
}

.brand-card {
  flex: 0 0 var(--brand-card-w);
  scroll-snap-align: start;
}

.brand-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.brand-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  border-radius: 14px;
  background: var(--brand-logo-bg);
  border: 1px solid var(--brand-border);
  overflow: hidden;
  box-sizing: border-box;
  transition: box-shadow .2s ease, transform .2s ease;
}

.brand-card-link:hover .brand-card-logo {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.brand-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand-card-logo-fallback {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-ink-muted, #6b6257);
}

.brand-card-name {
  display: block;
  margin-top: 0.65rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--jm-ink);
}

/* Arrows */
.brand-rail-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jm-ink);
  cursor: pointer;
  z-index: 2;
  transition: background-color .15s ease;
}

.brand-rail-arrow:hover {
  background: var(--jm-surface);
}

.brand-rail-arrow--prev {
  left: -18px;
}

.brand-rail-arrow--next {
  right: -18px;
}

.brand-rail-arrow[disabled] {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .brand-rail-section {
    --brand-card-w: var(--brand-card-w-mobile);
  }

  /* .brand-card-logo { height: 96px; border-radius: 12px; } */
  .brand-card-name {
    font-size: 0.85rem;
  }

  .brand-rail-arrow {
    display: none;
  }

  .brand-rail-track {
    padding-left: 0;
    padding-right: 0;
  }

  .brand-card-logo {
    height: 96px;
    border-radius: 12px;
  }
}

[dir="rtl"] .brand-card-name {
  text-align: right;
}

[dir="rtl"] .brand-rail-arrow--prev {
  left: auto;
  right: -18px;
}

[dir="rtl"] .brand-rail-arrow--next {
  right: auto;
  left: -18px;
}

/* ============================================
   Gift Builder — section cards
   ============================================ */
.gift-builder .builder-section {
  padding: 1.5rem;
  border: 1px solid var(--jm-border);
  border-radius: 14px;
  background: #fff;
}

.gift-builder .builder-section+.builder-section {
  margin-top: 1.25rem !important;
}

.gift-builder .section-title {
  margin-bottom: 1rem;
  font-weight: 400;
  color: var(--jm-ink);
}

/* ============================================
   Form controls — consistent focus/border treatment
   ============================================ */
.gift-builder .form-control,
.gift-builder .form-select {
  border: 1px solid var(--jm-border);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.gift-builder .form-control:focus,
.gift-builder .form-select:focus {
  border-color: var(--jm-accent);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.12);
}

.gift-builder .form-label {
  font-weight: 500;
  color: var(--jm-ink);
  margin-bottom: 0.4rem;
}

/* ============================================
   Message preview
   ============================================ */
.message-preview-panel {
  color: var(--color-ink-muted, #6b6257);
}

.message-preview-quote {
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--jm-accent);
  border-radius: 8px;
  background: var(--jm-surface);
  font-style: italic;
  color: var(--jm-ink);
  min-height: 2.5rem;
}

.message-preview-quote.is-empty {
  color: var(--color-ink-muted, #a49c8f);
  font-style: italic;
}

/* ============================================
   Greeting card gallery
   ============================================ */
.greeting-card-gallery .card-option {
  cursor: pointer;
  border: 2px solid var(--jm-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.greeting-card-gallery .card-option:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.greeting-card-gallery .card-option.border-floward {
  border-color: var(--jm-accent);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.12);
}

.greeting-card-gallery .card-img-top {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: var(--jm-surface);
  /* shows while loading, or if broken */
}

.greeting-card-gallery .card-body {
  border-top: 1px solid var(--jm-border);
  font-weight: 500;
}

/* ============================================
   Swatch options 
   ============================================ */
.swatch-option {
  border-radius: 999px !important;
  padding: 0.5rem 1.1rem !important;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1.5px solid var(--jm-border) !important;
  color: var(--jm-ink) !important;
  background: #fff !important;
  transition: all .15s ease;
}

.swatch-option:hover {
  border-color: var(--jm-accent) !important;
  color: var(--jm-accent) !important;
}

/* Checked state — the <input> is visually hidden (d-none),
   so we style the sibling label based on :has() */
.swatch-option:has(input:checked) {
  background: var(--jm-accent) !important;
  border-color: var(--jm-accent) !important;
  color: #fff !important;
}

/* ============================================
   Add-on cards
   ============================================ */
.addon-card {
  border: 1px solid var(--jm-border);
  border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.addon-card:has(input:checked) {
  border-color: var(--jm-accent);
  box-shadow: 0 0 0 2px rgba(3, 105, 161, 0.12);
}


/* ============================================
   Order Preview sidebar
   ============================================ */
.order-preview {
  border: 1px solid var(--jm-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.order-preview__header {
  padding: 1rem 1.25rem;
  background: var(--jm-surface);
  border-bottom: 1px solid var(--jm-border);
}

.order-preview__body {
  padding: 1.25rem;
}

.order-preview-list {
  display: grid;
  grid-template-columns: auto 1fr;
  row-gap: 0.6rem;
  column-gap: 1rem;
  margin: 0;
}

.order-preview-list dt {
  color: var(--color-ink-muted, #6b6257);
  font-weight: 500;
}

.order-preview-list dd {
  margin: 0;
  text-align: right;
  color: var(--jm-ink);
}

.order-preview__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--jm-border);
  font-weight: 600;
}

/* ============================================
   Mobile
   ============================================ */
@media (max-width: 991.98px) {
  .gift-builder .builder-section {
    padding: 1.1rem;
  }

  .greeting-card-gallery .card-img-top {
    height: 110px;
  }

  #order-preview {
    position: static !important;
  }
}

/* ============================================
   Wishlist
   ============================================ */

.wishlist-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  border: 1px solid var(--floward-border-light);
  border-radius: var(--floward-radius-lg);
  overflow: hidden;
  transition: transform var(--floward-transition), box-shadow var(--floward-transition);
}

.wishlist-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--floward-shadow);
}

.wishlist-card .jm-product-card {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wishlist-card .jm-product-card__body {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  padding: 0.75rem !important;
  margin: 0 !important;
}

.wishlist-card .jm-product-card__cart,
.wishlist-card .jm-product-card__atc--in-cart {
  margin-top: auto !important;
}

.wishlist-card .jm-product-card:hover {
  transform: none;
  box-shadow: none !important;
}

.wishlist-card__actions {
  padding: 0.75rem;
  border-top: 1px solid var(--floward-border-light);
  background: var(--floward-white);
}

/* ==========================================================================
   DESERT STAR PREMIUM HOMEPAGE / STOREFRONT
   ========================================================================== */

@media (min-width: 1400px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: var(--jm-max);
  }
}

.jm-body {
  background: var(--jm-white);
  color: var(--jm-ink);
}

.jm-btn-lg {
  min-height: 48px;
  padding-inline: 1.75rem;
}

.jm-section {
  padding: calc(var(--jm-space) * 4) 0;
}

.jm-section-header {
  margin-bottom: calc(var(--jm-space) * 2.5);
  padding: 0;
}

.jm-section-header .section-cta {
  border-radius: var(--jm-radius);
  border-color: var(--jm-border);
  color: var(--jm-accent);
  font-weight: 600;
}

.jm-section-header .section-cta:hover {
  background: var(--jm-accent-soft);
  border-color: var(--jm-accent);
}

/* ----- Header ----- */
.jm-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--jm-border-light);
  box-shadow: var(--jm-shadow-sm);
  overflow: visible;
  transition: transform 0.28s ease;
}

/* Hide on scroll-down, reveal on scroll-up (see initHeaderScrollHide in main.js) */
.jm-header.jm-header--hidden {
  transform: translateY(-100%);
}

.jm-topbar {
  background: #f5f8fb;
  border-bottom: 1px solid var(--jm-border-light);
  font-size: 0.75rem;
  color: var(--jm-slate);
}

@media (max-width: 991.98px) {
  .jm-topbar {
    overflow: hidden;
  }
  @keyframes jm-marquee {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
  }
}

.jm-search__cat {
  position: relative;
  flex: 0 0 auto;
  max-width: 180px;
  border-right: 1px solid var(--jm-border);
  background: #f7fafc;
  border-radius: var(--jm-radius) 0 0 var(--jm-radius);
  z-index: 40;
}

.jm-search__cat-btn.dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin: -0.15rem 0 0 0.1rem;
  border: 0 !important;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  transform: rotate(45deg);
  vertical-align: middle;
  opacity: 0.7;
}

.jm-search__cat-label {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 9.5rem;
}

.jm-search__cat-menu .dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--jm-ink);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.6rem 0.75rem;
  transition: background var(--jm-transition), color var(--jm-transition);
}

.jm-search__cat-menu .dropdown-item:hover,
.jm-search__cat-menu .dropdown-item:focus {
  background: var(--jm-accent-soft);
  color: var(--jm-ink);
}

.jm-search__cat-menu .dropdown-item.is-active,
.jm-search__cat-menu .dropdown-item[aria-selected="true"] {
  background: rgba(74, 9, 8, 0.1);
  color: var(--jm-accent);
  font-weight: 700;
}

.jm-header__actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.jm-action .badge-count,
.jm-action .jm-wish-badge {
  position: absolute;
  top: 2px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  background: var(--jm-accent);
  color: #fff;
  border-radius: 999px;
}

.jm-action--wishlist:has(.jm-wish-badge),
.jm-action--wishlist:has(.jm-wish-badge) svg {
  color: var(--jm-accent);
}

.jm-action--wishlist:has(.jm-wish-badge) svg {
  fill: currentColor;
}

.jm-product-card__wish.is-active {
  background: var(--jm-accent);
  border-color: var(--jm-accent);
  color: #fff;
}

.jm-product-card__wish.is-active svg {
  fill: currentColor;
}

.jm-wish-btn.is-active {
  background: var(--jm-accent);
  border-color: var(--jm-accent);
  color: #fff;
}

.jm-wish-btn.is-active svg {
  fill: currentColor;
}

.jm-mnav__item--wishlist:has(.jm-wish-badge) svg {
  fill: currentColor;
  color: var(--jm-accent);
}

.jm-mnav__badge-wrap .jm-wish-badge,
.jm-mnav__badge {
  position: absolute;
  top: 2px;
  right: calc(50% - 18px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--jm-accent);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.jm-action.dropdown-toggle::after {
  display: none;
}

.jm-dropdown {
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius);
  box-shadow: var(--jm-shadow-lg);
  padding: 0.35rem;
}

.jm-mega__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--jm-accent);
  color: #fff;
  border: 0;
  border-radius: var(--jm-radius);
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--jm-transition), transform 0.15s ease;
}

.jm-mega__trigger:hover {
  background: var(--jm-accent-dark);
}

.jm-mega__trigger svg {
  width: 16px;
  height: 16px;
}

.jm-mega__menu {
  width: min(920px, calc(100vw - 2rem));
  padding: 1.25rem;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  box-shadow: var(--jm-shadow-lg);
  margin-top: 0.5rem !important;
}

.jm-mega__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.jm-mega__parent {
  display: block;
  font-weight: 700;
  color: var(--jm-ink);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.jm-mega__child {
  display: block;
  color: var(--jm-slate);
  font-size: 0.8125rem;
  padding: 0.25rem 0;
}

.jm-mega__child:hover,
.jm-mega__parent:hover {
  color: var(--jm-accent);
}

.jm-nav__link.is-active {
  color: var(--jm-accent);
  border-bottom-color: var(--jm-accent);
}


/* Mobile search nudge — inactive until JS activates */
.jm-search-nudge {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.jm-search-nudge__btn {
  animation: none;
}

.jm-search-nudge__tip {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  max-width: 11.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  background: var(--jm-ink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  box-shadow: var(--jm-shadow);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.jm-search-nudge__tip::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 14px;
  width: 10px;
  height: 10px;
  background: var(--jm-ink);
  transform: rotate(45deg);
}

.jm-search-nudge.is-active .jm-search-nudge__btn {
  animation: jm-search-vibrate 1.6s ease-in-out infinite;
}

.jm-search-nudge.is-active .jm-search-nudge__tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: jm-search-tip-pulse 1.6s ease-in-out infinite;
}

.jm-search-nudge.is-done .jm-search-nudge__btn {
  animation: none;
}

.jm-search-nudge.is-done .jm-search-nudge__tip {
  display: none;
}

body.mobile-search-open .jm-search-nudge__tip {
  display: none;
}

@keyframes jm-search-vibrate {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  10% {
    transform: translate3d(-1px, 0, 0) rotate(-6deg);
  }

  20% {
    transform: translate3d(1px, 0, 0) rotate(6deg);
  }

  30% {
    transform: translate3d(-1px, 0, 0) rotate(-4deg);
  }

  40% {
    transform: translate3d(1px, 0, 0) rotate(4deg);
  }

  50%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes jm-search-tip-pulse {

  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }

  50% {
    opacity: 0.92;
    transform: translateY(2px);
  }
}

/* Sticky WhatsApp enquiry — bottom-right circular FAB */
.jm-wa-float {
  position: fixed;
  right: 14px;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  z-index: 1040;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  background: #000;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  transition: transform var(--jm-transition), box-shadow var(--jm-transition);
}

.jm-wa-float:hover,
.jm-wa-float:focus-visible {
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

.jm-wa-float svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.jm-wa-float__pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.5);
  animation: jm-wa-pulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes jm-wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.18);
    opacity: 0;
  }

  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

@media (min-width: 992px) {
  .jm-wa-float {
    right: 22px;
    bottom: 24px;
  }

  .jm-search-nudge {
    display: none !important;
  }
}

body.mobile-search-open .jm-search-nudge__tip {
  display: none;
}

body.mobile-search-open .jm-wa-float {
  opacity: 0;
  pointer-events: none;
}

/* ----- Hero (single source) ----- */
.jm-hero {
  padding: 0;
  background: transparent;
}

.jm-hero__carousel .carousel-inner,
.jm-hero__carousel .carousel-item {
  height: auto;
  position: relative;
}

.jm-hero__carousel .carousel-item.active {
  display: block;
}

.jm-hero__ctas .btn {
  min-height: 44px;
}

.jm-hero__ctas .btn-outline-floward {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.jm-hero__ctas .btn-outline-floward:hover {
  background: #fff;
  color: var(--jm-ink);
  border-color: #fff;
}

/* ----- Categories ----- */
.jm-categories {
  padding-top: calc(var(--jm-space) * 2);
}

/* ----- Trust strip ----- */
.jm-trust {
  padding: calc(var(--jm-space) * 2) 0 calc(var(--jm-space) * 3);
}

.jm-trust__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ----- Featured + promo ----- */

.jm-featured__rail {
  position: relative;
  min-width: 0;
}

.jm-rail-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 1px solid var(--jm-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--jm-ink);
  display: grid;
  place-items: center;
  box-shadow: var(--jm-shadow);
  transition: all var(--jm-transition);
}

.jm-rail-arrow:hover:not(:disabled) {
  border-color: var(--jm-accent);
  color: var(--jm-accent);
}

.jm-rail-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.jm-rail-arrow svg {
  width: 18px;
  height: 18px;
}

.jm-rail-arrow--prev {
  left: -8px;
}

.jm-rail-arrow--next {
  right: -8px;
}

/* Shared product-rail card width (Featured + New Arrivals) */
:root {
  --jm-rail-card-w: 260px;
}

/* Homepage rails: single scrollable row, paged via the prev/next arrows + dots */
.jm-rail-section .jm-product-rail__track.product-rail-scroll {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin: 0;
  padding: 0.35rem 0.25rem 0.75rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.jm-rail-section .jm-product-rail__track.product-rail-scroll::-webkit-scrollbar {
  display: none;
}

.jm-rail-section .jm-product-rail__track .product-rail-item {
  flex: 0 0 var(--jm-rail-card-w);
  width: var(--jm-rail-card-w);
  max-width: var(--jm-rail-card-w);
  min-width: 0;
  height: auto;
  scroll-snap-align: start;
}

.jm-rail-section .jm-product-rail__track .product-rail-item>.jm-product-card {
  height: 100%;
}

@media (min-width: 1200px) {
  :root {
    --jm-rail-card-w: 300px;
  }

  .jm-rail-section .jm-product-rail__track.product-rail-scroll {
    gap: 1.15rem;
  }
}

/* Dot pagination below a rail track */
.jm-rail-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.5rem 0 0;
}

.jm-rail-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--jm-border);
  transition: background var(--jm-transition), width var(--jm-transition);
}

.jm-rail-dot.is-active {
  width: 22px;
  background: var(--jm-gold);
}

.jm-rail-viewall {
  display: block;
  width: max-content;
  margin: 1.25rem auto 0;
  padding: 0.8rem 2.2rem;
  border: 0;
  border-radius: var(--jm-radius);
  background: var(--jm-gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  transition: background var(--jm-transition);
}

.jm-rail-viewall:hover,
.jm-rail-viewall:focus-visible {
  background: var(--jm-brown);
  color: #fff;
}

.jm-product-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jm-product-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jm-product-grid__item {
  display: flex;
  min-width: 0;
}

.jm-product-grid__item .jm-product-card {
  width: 100%;
}

@media (min-width: 576px) {

  .jm-product-grid,
  .jm-product-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

@media (min-width: 768px) {

  .jm-product-grid,
  .jm-product-grid--2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 992px) {

  .jm-product-grid,
  .jm-product-grid--2 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {

  .jm-product-grid,
  .jm-product-grid--2 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.jm-promo {
  position: relative;
  border-radius: var(--jm-radius-lg);
  overflow: hidden;
  min-height: 100%;
  background: var(--jm-accent-soft);
  color: var(--jm-ink);
  box-shadow: var(--jm-shadow);
}

.jm-promo__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  min-height: 360px;
  max-width: 100%;
  padding: 1.15rem;
}

.jm-promo__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jm-accent);
  margin-bottom: 0.45rem;
}

.jm-promo__title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--jm-ink);
  margin: 0 0 0.45rem;
}

.jm-promo__text {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--jm-slate);
  margin: 0 0 1rem;
}

.jm-promo .btn-floward {
  background: var(--jm-accent);
  border-color: var(--jm-accent);
  color: #fff;
  align-self: flex-start;
}

.jm-promo .btn-floward:hover {
  background: var(--jm-accent-dark);
  border-color: var(--jm-accent-dark);
  color: #fff;
}

.jm-promo--wide .jm-promo__inner {
  min-height: 220px;
}

.jm-promo--wide .jm-promo__copy {
  max-width: 22rem;
}

.jm-promo--banner .jm-promo__inner {
  justify-content: center;
}

.jm-promo-banner {
  display: block;
  border-radius: var(--jm-radius-lg);
  overflow: hidden;
  box-shadow: var(--jm-shadow);
  transition: transform var(--jm-transition), box-shadow var(--jm-transition);
}

.jm-promo-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--jm-shadow-lg);
}

.jm-promo-banner img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991.98px) {
  .jm-promo__inner {
    min-height: 220px;
  }

  .jm-rail-arrow {
    display: none;
  }
}

/* ----- Product cards ----- */
.jm-product-card {
  position: relative;
  border: 1px solid var(--jm-border-light) !important;
  border-radius: var(--jm-radius-lg) !important;
  background: var(--jm-white);
  overflow: hidden;
  box-shadow: var(--jm-shadow-sm) !important;
  display: flex !important;
  flex-direction: column;
  height: 100%;
  transition: transform var(--jm-transition), box-shadow var(--jm-transition), border-color var(--jm-transition);
}

.jm-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 9, 8, 0.16) !important;
  box-shadow: var(--jm-shadow) !important;
}

.jm-product-card__media {
  position: relative;
  background: #fbfcfe;
  flex-shrink: 0;
  overflow: hidden;
}

.jm-product-card__img-link {
  display: block;
  z-index: 1;
}

.jm-product-card__media img {
  object-fit: contain !important;
  transition: transform 0.35s ease;
}

.jm-product-card:hover .jm-product-card__media img {
  transform: scale(1.04);
}

.jm-product-card__media .product-badge {
  pointer-events: none;
}

.jm-product-card__hover {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--jm-transition), transform var(--jm-transition);
  z-index: 3;
  pointer-events: none;
}

.jm-product-card__hover form,
.jm-product-card__hover .jm-product-card__icon-btn {
  pointer-events: auto;
}

.jm-product-card:hover .jm-product-card__hover,
.jm-product-card:focus-within .jm-product-card__hover {
  opacity: 1;
  transform: translateY(0);
}

.jm-product-card__icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--jm-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--jm-ink);
  display: grid;
  place-items: center;
  box-shadow: var(--jm-shadow-sm);
  transition: all var(--jm-transition);
}

.jm-product-card__icon-btn:hover {
  background: var(--jm-accent);
  border-color: var(--jm-accent);
  color: #fff;
}

.jm-product-card__icon-btn svg {
  width: 16px;
  height: 16px;
}

.jm-featured .product-rail-item,
.jm-rail-section .product-rail-item,
.product-rail-item,
.product-grid-item {
  display: flex;
  align-items: stretch;
}

.jm-featured .product-rail-item .jm-product-card,
.jm-rail-section .product-rail-item .jm-product-card,
.product-rail-item .jm-product-card,
.product-grid-item .jm-product-card {
  width: 100%;
}

.jm-product-card__body {
  position: relative;
  padding: 0.75rem !important;
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.35rem;
  min-height: 0;
}

.jm-product-card__stretch {
  z-index: 1;
}

.jm-pdp-buybox__stock.is-in,
.jm-qv__stock.is-in {
  color: var(--jm-success);
}

.jm-pdp-buybox__stock.is-low,
.jm-qv__stock.is-low {
  color: #f97316 !important;
}

.jm-pdp-buybox__stock.is-out,
.jm-qv__stock.is-out {
  color: #dc2626 !important;
}

.jm-product-card .card-title {
  font-size: 0.8125rem !important;
  font-weight: 600;
  line-height: 1.3;
  min-height: 2.6em;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--jm-ink);
  flex-shrink: 0;
}

.jm-product-card__pricing {
  min-height: 1.35rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.35rem;
  overflow: hidden;
  flex-shrink: 0;
}

.jm-product-card__pricing>* {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  margin: 0 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jm-product-card .product-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--jm-ink);
  margin: 0;
  line-height: 1.2;
}

.jm-product-card__was {
  font-size: 0.7rem;
  color: var(--jm-muted);
  line-height: 1.2;
}

/* Add-to-cart: circular icon button overlaid bottom-right of the image
   (kept in sync with the body.jm-body tier further down — do not let the
   two diverge, a stray full-width/!important rule here previously stretched
   the circle into an oval). */
.jm-product-card__cart {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
}

.jm-product-card__atc {
  width: 40px;
  height: 40px;
  min-height: 0;
  max-width: none;
  box-sizing: border-box;
  padding: 0;
  display: grid;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--jm-white);
  color: var(--jm-ink);
  box-shadow: var(--jm-shadow);
  white-space: nowrap;
  transition: background var(--jm-transition), color var(--jm-transition);
}

.jm-product-card__atc svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
}

.jm-product-card__atc:hover:not(:disabled) {
  background: var(--jm-accent);
  color: #fff;
}

.jm-product-card__atc:disabled {
  background: rgba(254, 253, 250, 0.85);
  color: var(--jm-border);
  box-shadow: none;
  cursor: not-allowed;
}

.jm-product-card__atc--in-cart {
  background: var(--jm-accent);
  color: #fff;
  border: 0;
}

a.jm-product-card__atc--in-cart:hover,
button.jm-product-card__atc--in-cart:hover {
  background: var(--jm-accent-dark) !important;
  color: #fff !important;
}

@media (hover: none) {
  .jm-product-card__hover {
    opacity: 1;
    transform: none;
  }
}

/* ----- Brands ----- */
.jm-brands__header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.jm-brands__track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  list-style: none;
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--jm-border-light);
  border-radius: var(--jm-radius-lg);
  background: #fbfdff;
}

.jm-brand__link {
  display: grid;
  place-items: center;
  min-height: 56px;
  opacity: 0.72;
  filter: grayscale(1);
  transition: opacity var(--jm-transition), filter var(--jm-transition), transform var(--jm-transition);
}

.jm-brand__link:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-2px);
}

.jm-brand__link img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

.jm-brand__fallback {
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--jm-ink);
  font-size: 0.95rem;
}

/* ----- Reviews / metrics ----- */
.jm-reviews__intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}

.jm-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.jm-metrics__item {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: var(--jm-radius-lg);
  background: var(--jm-accent-soft);
  border: 1px solid rgba(43, 26, 23, 0.04);
}

.jm-metrics__item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--jm-accent);
  letter-spacing: -0.02em;
}

.jm-metrics__item span {
  font-size: 0.8125rem;
  color: var(--jm-slate);
  font-weight: 600;
}

.jm-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.jm-review-card {
  height: 100%;
  padding: 1.35rem;
  background: var(--jm-white);
  border: 1px solid var(--jm-border-light);
  border-radius: var(--jm-radius-lg);
  box-shadow: var(--jm-shadow-sm);
}

.jm-review-card__stars {
  color: var(--jm-accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.jm-review-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--jm-ink);
  margin: 0 0 0.5rem;
}

.jm-review-card__body {
  font-size: 0.875rem;
  color: var(--jm-slate);
  line-height: 1.6;
  margin: 0 0 0.85rem;
}

.jm-review-card__meta {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--jm-muted);
  margin: 0;
}

@media (max-width: 991.98px) {

  .jm-metrics,
  .jm-reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {

  .jm-metrics,
  .jm-reviews__grid {
    grid-template-columns: 1fr;
  }
}

/* ----- Newsletter ----- */
.jm-newsletter {
  padding: calc(var(--jm-space) * 5) 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--jm-accent-soft) 100%);
}

.jm-newsletter__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  box-shadow: var(--jm-shadow-sm);
}

.jm-newsletter__copy {
  max-width: 28rem;
}

.jm-newsletter__form {
  display: flex;
  gap: 0.65rem;
  flex: 1;
  max-width: 440px;
}

.jm-newsletter__form .form-control {
  border-radius: var(--jm-radius);
  border-color: var(--jm-border);
  min-height: 48px;
}

.jm-newsletter__form .form-control:focus {
  border-color: var(--jm-accent);
  box-shadow: 0 0 0 3px rgba(74, 9, 8, 0.12);
}

@media (max-width: 767.98px) {
  .jm-newsletter__card {
    flex-direction: column;
    align-items: stretch;
    padding: 1.35rem;
  }

  .jm-newsletter__form {
    max-width: none;
    flex-direction: column;
  }
}

/* ----- Footer ----- */
.jm-footer {
  background: #3a0a13 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  border-top: 0;
  margin-top: 0 !important;
  padding: 3.5rem 0 1.5rem !important;
}

.jm-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.jm-footer__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: #fff;
  font-weight: 800;
}

.jm-footer__logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

.jm-footer__tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 22rem;
}

.jm-footer h6 {
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.jm-footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  padding: 0.3rem 0;
}

.jm-footer a:hover {
  color: #fff;
}

.jm-footer .footer-copy {
  color: rgba(255, 255, 255, 0.45);
  border-top-color: rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
}

.jm-footer__contact p {
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

/* ----- Storefront locations (Contact + Footer) ----- */
.jm-locations {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.jm-locations__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--jm-ink);
}

.jm-locations__body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--jm-slate, #5b6b7c);
}

.jm-locations__body a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.jm-locations__body a:hover {
  color: var(--jm-accent);
}

.jm-locations__branches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--jm-slate, #5b6b7c);
}

.jm-locations--compact {
  gap: 0.85rem;
}

.jm-locations--compact .jm-locations__label {
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.jm-locations--compact .jm-locations__body {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
}

.jm-locations--compact .jm-locations__body a {
  color: rgba(255, 255, 255, 0.92);
}

.jm-locations--compact .jm-locations__body a:hover {
  color: #fff;
}

.jm-locations__branches-link a {
  font-size: 0.8125rem;
  font-weight: 600;
}

.jm-footer__social {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

@media (max-width: 991.98px) {
  .jm-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .jm-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ----- Quick view ----- */
.jm-qv {
  border: 0;
  border-radius: var(--jm-radius-lg);
  overflow: hidden;
}

.jm-qv__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.jm-qv__grid {
  display: grid;
  grid-template-columns: 42% 58%;
}

.jm-qv__media {
  background: #f7fafc;
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.jm-qv__media img {
  max-height: 280px;
  width: auto;
  object-fit: contain;
}

.jm-qv__body {
  padding: 2rem 1.75rem;
}

.jm-qv__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--jm-accent);
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.jm-qv__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--jm-ink);
  margin: 0 0 0.5rem;
}

.jm-qv__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--jm-ink);
  margin: 0 0 0.35rem;
}

.jm-qv__stock {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--jm-success);
  margin-bottom: 1.25rem;
}

.jm-qv__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
}

.jm-qv__actions .qty-stepper {
  height: 40px;
  border-radius: 10px;
}

.jm-qv__actions .qty-stepper__btn {
  width: 30px;
}

.jm-qv__actions .qty-stepper__value {
  width: 32px;
  font-size: 0.9rem;
}

.jm-qv__actions .btn {
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.jm-qv__actions form {
  margin: 0;
  flex: 0 0 auto;
}

@media (max-width: 767.98px) {
  .jm-qv__grid {
    grid-template-columns: 1fr;
  }
}

.homepage-sections {
  background: var(--jm-white);
}

.search-wrap--header {
  max-width: none;
}

/* ==========================================================================
   DESERT STAR MOBILE STOREFRONT SYSTEM (Flipkart-compact / premium)
   ========================================================================== */

.jm-page-title {
  margin-bottom: 1rem;
}

.jm-mnav {
  display: none;
}

@media (max-width: 991.98px) {

  /* ----- Global rhythm ----- */
  body.jm-body,
  body.floward-body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
    font-size: 15px;
  }

  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .page-container,
  .jm-page {
    padding-top: 0.85rem !important;
    padding-bottom: 1.25rem !important;
  }

  .jm-page-title,
  .section-title {
    font-size: 1.15rem !important;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
  }

  .section-subtitle {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .btn-floward,
  .btn-outline-floward {
    min-height: 42px;
    padding: 0.55rem 1rem;
    font-size: 0.8125rem;
    border-radius: 10px;
  }

  .jm-btn-lg {
    min-height: 44px;
    padding-inline: 1.15rem;
  }

  /* ----- Header compact: one perfect row ----- */

  .jm-header__actions {
    flex: 0 0 auto;
    gap: 0.15rem;
    margin-left: auto;
  }

  .jm-action--cart .badge-count {
    top: 0;
    right: 2px;
  }

  /* ----- Bottom nav: equal one-row ----- */
  .mobile-bottom-nav.jm-mnav,
  .jm-mnav.mobile-bottom-nav {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    min-height: 56px;
    padding: 0 0 calc(env(safe-area-inset-bottom));
    box-shadow: 0 -4px 18px rgba(43, 26, 23, 0.08);
    border-top: 1px solid var(--jm-border-light);
    background: #fff;
  }

  .jm-mnav__item,
  .jm-mnav a,
  .jm-mnav button {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-width: 0;
    margin: 0;
    padding: 0.4rem 0.15rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--jm-muted);
    font-size: 0.62rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
  }

  .jm-mnav__item span,
  .jm-mnav a span,
  .jm-mnav button span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .jm-mnav__item.is-active,
  .jm-mnav__item.active,
  .jm-mnav a.is-active,
  .jm-mnav a.active,
  .jm-mnav button.is-active,
  .jm-mnav button.active {
    color: var(--jm-accent);
  }

  .jm-mnav__item svg,
  .jm-mnav a svg,
  .jm-mnav button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  /* ----- Homepage sections ----- */
  .jm-section {
    padding: 0.85rem 0;
  }

  .jm-section-header {
    margin-bottom: 0.55rem;
  }

  .jm-section-header .section-cta {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
  }

  .jm-hero {
    padding: 0;
    background: transparent;
  }

  .jm-categories {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .jm-trust {
    padding: 0.35rem 0 0.75rem;
  }

  .jm-trust__item {
    flex: 0 0 auto;
    min-width: 152px;
    scroll-snap-align: start;
    padding: 0.55rem 0.65rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
  }

  :root {
    --jm-rail-card-w: 176px;
  }

  .jm-rail-section .jm-product-rail__track.product-rail-scroll {
    gap: 0.65rem;
    padding: 0.15rem 0 0.35rem;
  }

  .jm-promo__inner {
    min-height: 170px;
    padding: 0.85rem;
  }

  .jm-promo__title {
    font-size: 1.05rem;
  }

  .jm-promo__text {
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
  }

  .jm-brands__header {
    margin-bottom: 0.85rem;
  }

  .jm-brands__track {
    gap: 1rem 1.25rem;
    padding: 1rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .jm-brands__track::-webkit-scrollbar {
    display: none;
  }

  .jm-brand__link img {
    max-height: 32px;
  }

  .jm-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 0.85rem;
  }

  .jm-metrics__item {
    padding: 0.85rem 0.65rem;
  }

  .jm-metrics__item strong {
    font-size: 1.15rem;
  }

  .jm-metrics__item span {
    font-size: 0.7rem;
  }

  .jm-reviews__intro {
    margin-bottom: 0.85rem;
  }

  .jm-reviews__grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .jm-review-card {
    padding: 1rem;
  }

  .jm-review-card__title {
    font-size: 0.9rem;
  }

  .jm-review-card__body {
    font-size: 0.8rem;
  }

  .jm-newsletter {
    padding: 1rem 0 1.35rem;
  }

  .jm-newsletter__card {
    padding: 1rem;
    gap: 0.85rem;
    border-radius: 12px;
  }

  .jm-newsletter__form {
    flex-direction: column;
    max-width: none;
    gap: 0.5rem;
  }

  .jm-newsletter__form .form-control {
    min-height: 44px;
    font-size: 0.875rem;
  }

  .jm-footer {
    padding: 2rem 0 1.15rem !important;
  }

  .jm-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem 1rem;
  }

  .jm-footer__brand {
    grid-column: 1 / -1;
  }

  .jm-footer__tagline {
    font-size: 0.8rem;
  }

  .jm-footer h6 {
    font-size: 0.72rem;
    margin-bottom: 0.55rem;
  }

  .jm-footer a,
  .jm-footer__contact p {
    font-size: 0.8rem;
  }

  .jm-footer .footer-copy {
    margin-top: 1.35rem;
    padding-top: 0.85rem;
    font-size: 0.7rem;
  }

  /* ----- Product cards (compact Flipkart style) ----- */
  .jm-product-card {
    border-radius: 10px !important;
  }

  .jm-product-card__hover {
    opacity: 1;
    transform: none;
    top: 6px;
    right: 6px;
    gap: 0.3rem;
  }

  .jm-product-card__icon-btn {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.95);
  }

  .jm-product-card__icon-btn svg {
    width: 14px;
    height: 14px;
  }

  /* Keep wishlist only on mobile hover stack; hide quick-view clutter */
  .jm-product-card__hover [data-jm-quick-view] {
    display: none;
  }

  .jm-product-card__body {
    padding: 0.55rem !important;
    gap: 0.25rem;
  }

  .jm-product-card .card-title {
    font-size: 0.72rem !important;
    line-height: 1.3;
    min-height: 2.6em;
    margin: 0;
  }

  .jm-product-card__pricing {
    min-height: 1.15rem;
  }

  .jm-product-card .product-price {
    font-size: 0.84rem;
    margin: 0;
  }

  .jm-product-card__cart {
    right: 6px;
    bottom: 6px;
  }

  .jm-product-card__atc {
    width: 34px;
    height: 34px;
  }

  .jm-product-card__atc svg {
    width: 15px;
    height: 15px;
  }

  .product-badge {
    top: 6px;
    left: 6px;
    font-size: 0.55rem;
    padding: 0.15rem 0.35rem;
  }

  /* ----- PLP ----- */
  .jm-plp-toolbar,
  .plp-toolbar {
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
  }

  .jm-plp-count,
  .plp-toolbar .section-subtitle {
    margin-top: 0.15rem !important;
    font-size: 0.75rem;
  }

  .jm-filter-btn,
  .plp-filter-toggle {
    min-height: 36px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
  }

  .product-grid-inner {
    --bs-gutter-x: 0.55rem;
    --bs-gutter-y: 0.55rem;
  }

  .plp-pagination {
    margin-top: 1rem !important;
    gap: 0.5rem !important;
  }

  .plp-pagination .btn {
    min-height: 36px;
  }

  /* ----- PDP ----- */
  .jm-pdp-buybox__title,
  .jm-pdp .pdp-info h1,
  .product-detail .pdp-info h1 {
    font-size: 1.28rem;
    margin-bottom: 0.55rem;
  }

  .jm-pdp-buybox__meta,
  .jm-pdp .pdp-meta,
  .product-detail .pdp-meta {
    font-size: 0.7rem;
    margin-bottom: 0.25rem;
  }

  .jm-pdp-buybox__price,
  .jm-pdp .pdp-price,
  .product-detail .pdp-price {
    font-size: 1.4rem;
  }

  .jm-breadcrumb .breadcrumb {
    font-size: 0.72rem;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .jm-pdp-gallery__stage {
    border-radius: 14px;
  }

  .jm-pdp-gallery__image {
    padding: 0.85rem;
  }

  .product-detail {
    padding-bottom: calc(8rem + env(safe-area-inset-bottom, 0px));
  }

  /* ----- Cart / Checkout ----- */
  .checkout-page .section-title,
  .checkout-page .jm-page-title {
    margin-bottom: 0.75rem;
  }

  .checkout-step {
    padding: 0.9rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
  }

  .checkout-step h2 {
    font-size: 0.92rem;
    margin-bottom: 0.65rem;
  }

  .cart-page-line {
    padding: 0.75rem !important;
    gap: 0.65rem !important;
  }

  .cart-page-line .cart-line__img-wrap {
    width: 64px !important;
    height: 64px !important;
  }

  .cart-page-line .cart-line__name {
    font-size: 0.8rem;
  }

  .cart-summary-row {
    font-size: 0.8rem;
  }

  .cart-summary-total {
    font-size: 0.95rem;
  }

  .qty-stepper__btn {
    width: 32px;
    height: 32px;
  }

  .qty-stepper__value {
    min-width: 28px;
    font-size: 0.8rem;
  }

  .offcanvas {
    max-width: min(100vw, 400px);
  }

  .offcanvas.offcanvas-bottom {
    max-width: 100vw;
  }

  .cart-line {
    padding: 0.7rem 0;
    gap: 0.65rem;
  }

  .cart-line__img-wrap {
    width: 56px;
    height: 56px;
  }

  .cart-drawer-footer {
    padding: 0.75rem;
  }

  /* ----- Wishlist ----- */
  .wishlist-card__actions {
    padding: 0 0.55rem 0.55rem;
  }

  .wishlist-card__actions .btn {
    min-height: 34px;
    font-size: 0.72rem;
  }

  /* ----- Auth / forms ----- */
  .form-control,
  .form-select {
    min-height: 42px;
    font-size: 0.875rem;
    border-radius: 10px;
  }

  .form-control-sm,
  .form-select-sm {
    min-height: 38px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --jm-rail-card-w: 168px;
  }

  .jm-footer__grid {
    grid-template-columns: 1fr;
  }

  .jm-product-card .card-title {
    font-size: 0.72rem !important;
  }

  .jm-product-card .product-price {
    font-size: 0.84rem;
  }
}

/* Quick-view modal mobile */
@media (max-width: 767.98px) {
  #jmQuickViewModal .modal-dialog {
    max-width: 340px;
    margin: 1rem auto;
  }

  .jm-qv__media {
    min-height: 160px;
    padding: 0.75rem;
  }

  .jm-qv__media img {
    max-height: 150px;
  }

  .jm-qv__body {
    padding: 0.85rem 1rem;
  }

  .jm-qv__badge {
    margin-bottom: 0.4rem;
  }

  .jm-qv__title {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
  }

  .jm-qv__price {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
  }

  .jm-qv__stock {
    margin-bottom: 0.75rem;
  }

  .jm-qv__variants {
    margin-bottom: 0.75rem !important;
  }

  .jm-qv__actions {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .jm-qv__actions .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  .jm-qv__actions .qty-stepper {
    height: 36px;
  }

  .jm-qv__actions .btn,
  .jm-qv__actions form,
  .jm-qv__actions .qty-stepper {
    width: 100%;
    justify-content: center;
  }

  .jm-qv__actions form .btn {
    width: 100%;
  }
}

/* Extra mobile density polish */
@media (max-width: 991.98px) {

  .homepage-sections>section,
  .homepage-sections>.jm-section {
    scroll-margin-top: 8px;
  }

  /* Sticky PLP toolbar (filters access) under header */
  .jm-plp-toolbar {
    position: sticky;
    top: var(--jm-header-sticky-offset, 56px);
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    padding: 0.55rem 0;
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
  }

  /* Checkout CTA full-width on mobile */
  .checkout-page .btn-floward,
  .checkout-page .btn-outline-floward {
    width: 100%;
  }

  .cart-drawer-footer .btn,
  .cart-drawer-footer a.btn {
    width: 100%;
  }
}

/* ==========================================================================
   MOBILE MOCKUP ALIGNMENT (hero overlay, circular cats, flash, search)
   ========================================================================== */

.product-badge--flash {
  background: var(--jm-accent);
  color: #fff;
}

.jm-product-card__price--sale {
  color: var(--jm-accent) !important;
}

#jm-categories {
  scroll-margin-top: calc(var(--jm-header-sticky-offset, 56px) + 12px);
}

.jm-mnav__item {
  position: relative;
}

.jm-mnav__badge {
  position: absolute;
  top: 2px;
  right: calc(50% - 18px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--jm-accent);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

@media (max-width: 991.98px) {

  .jm-header__actions {
    flex: 0 0 auto;
    gap: 0.15rem;
    margin-left: auto;
  }

  .jm-hero__ctas .btn {
    min-height: 40px;
    font-size: 0.8125rem;
    padding-inline: 0.5rem;
    justify-content: center;
  }

  .jm-categories {
    padding: 0.65rem 0 0.2rem;
    background: #f7fbff;
  }

  .jm-section.jm-categories {
    padding-top: 0.65rem;
    padding-bottom: 0.2rem;
  }

  .jm-promo__inner {
    min-height: 180px;
  }

  /* Production live-search overlay polish */
  .mobile-search__sheet {
    background: #fff;
  }

  .mobile-search__bar {
    padding: 0.65rem 0.75rem;
    gap: 0.5rem;
  }

  .mobile-search__field {
    border-radius: 12px;
    background: #f4f7fb;
    border: 1px solid var(--jm-border);
  }

  .mobile-search__input {
    font-size: 0.9rem;
    min-height: 44px;
  }

  .mobile-search__results {
    padding: 0.35rem 0.5rem 1rem;
  }
}

@media (min-width: 992px) {
  :root {
    --jm-header-sticky-offset: 148px;
  }

  .jm-plp-toolbar {
    padding: 0.75rem 0;
    margin-bottom: 1rem;
  }
}

.volume-slider::-webkit-slider-runnable-track {
  background: linear-gradient(to right, var(--jm-accent) 0%, var(--jm-accent) var(--slider-fill, 0%), #dee2e6 var(--slider-fill, 0%), #dee2e6 100%);
}

.volume-slider::-moz-range-track {
  background: linear-gradient(to right, var(--jm-accent) 0%, var(--jm-accent) var(--slider-fill, 0%), #dee2e6 var(--slider-fill, 0%), #dee2e6 100%);
}

/* Sticky Pill Design */
@media (min-width: 992px) {
  .jm-pdp-sticky--pill {
    display: flex;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    right: auto;
    bottom: 2rem;
    width: auto;
    min-width: 500px;
    max-width: 90vw;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    justify-content: space-between;
    gap: 2rem;
  }

  .jm-pdp-sticky--pill.is-visible {
    transform: translateX(-50%) translateY(0);
  }

  .jm-pdp-sticky--pill .jm-pdp-sticky__btn {
    border-radius: 50px !important;
    background-color: #000;
    color: #fff;
    border: none;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .jm-pdp-sticky--pill .jm-pdp-sticky__btn:hover {
    background-color: #333;
    color: #fff;
  }

  .jm-pdp-sticky--pill .jm-pdp-sticky__actions {
    min-width: auto;
  }
}

@media (max-width: 991.98px) {
  .jm-pdp-sticky--pill {
    border-radius: 20px 20px 0 0;
    padding: 0.65rem 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    max-width: 100vw;
  }

  .jm-pdp-sticky--pill .jm-pdp-sticky__actions {
    flex: 0 0 auto;
    gap: 0.4rem;
  }

  .jm-pdp-sticky--pill .jm-pdp-sticky__btn {
    border-radius: 12px !important;
    background-color: #000;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.825rem !important;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

body.jm-pdp-sticky-open .jm-wa-float {
  transform: translateY(150%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Product Card Hover Image Swap */
.jm-product-card__img-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.jm-product-card__img-main,
.jm-product-card__img-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.4s ease-in-out;
}

.jm-product-card__img-hover {
  opacity: 0;
}

@media (min-width: 992px) {
  .jm-product-card:hover .jm-product-card__img-hover {
    opacity: 1;
  }

  .jm-product-card:hover .jm-product-card__img-link.has-hover-img .jm-product-card__img-main,
  .jm-product-card:hover .jm-product-card__img-link:has(.jm-product-card__img-hover) .jm-product-card__img-main {
    opacity: 0;
  }
}

/* Mobile Bottom Sheet Modal */
@media (max-width: 991.98px) {
  .modal-dialog.modal-dialog-bottom-mobile {
    display: flex;
    align-items: flex-end;
    min-height: 100%;
    margin: 0;
  }
  
  .modal-dialog.modal-dialog-bottom-mobile .modal-content {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    width: 100%;
    border-radius: 1rem 1rem 0 0 !important;
  }

  .modal.fade .modal-dialog.modal-dialog-bottom-mobile {
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
  }
  
  .modal.show .modal-dialog.modal-dialog-bottom-mobile {
    transform: translateY(0);
  }
}

/* prevent zoom on ios mobile for form inputs */
@media screen and (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/*dynamic sticky offset when header auto-hides on scroll */
html.jm-header-is-hidden {
  --jm-header-sticky-offset: 0px !important;
}

.jm-plp-toolbar, .plp-filters-desktop {
  transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   SIRI COUTURE theme
   Scoped overrides layered on top of the shared components above.
   Palette lives in :root; this section only re-skins shapes, type and layout.
   ========================================================================== */

:root {
  --bs-primary: #4A0908;
  --bs-primary-rgb: 90, 15, 28;
  --bs-link-color: #4A0908;
  --bs-link-hover-color: #360605;
  --bs-body-font-family: var(--font-sans);
  --bs-body-color: var(--jm-ink);
  --bs-border-color: var(--jm-border);
  --bs-border-radius: 2px;
  --bs-border-radius-sm: 2px;
  --bs-border-radius-lg: 4px;
}

body.floward-body {
  background: var(--jm-cream);
  font-weight: 400;
}

h1, h2, h3, h4,
.h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--jm-ink);
}

.text-floward,
.text-primary { color: var(--jm-accent) !important; }
.bg-primary { background-color: var(--jm-accent) !important; }
.btn-primary {
  --bs-btn-bg: var(--jm-accent);
  --bs-btn-border-color: var(--jm-accent);
  --bs-btn-hover-bg: var(--jm-accent-dark);
  --bs-btn-hover-border-color: var(--jm-accent-dark);
  --bs-btn-active-bg: var(--jm-accent-dark);
  --bs-btn-active-border-color: var(--jm-accent-dark);
  --bs-btn-disabled-bg: var(--jm-accent);
  --bs-btn-disabled-border-color: var(--jm-accent);
}

.rounded-pill { border-radius: var(--jm-radius-lg) !important; }
.rounded-3, .rounded-4 { border-radius: var(--jm-radius-lg) !important; }

/* Buttons */
.btn-floward,
.btn-outline-floward {
  border-radius: var(--jm-radius);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
}

.btn-floward:hover,
.btn-floward:focus {
  transform: none;
  box-shadow: none;
}

.btn-outline-floward {
  border-width: 1px;
}

.jm-lift {
  transition: transform 0.2s ease;
}

.jm-lift:hover {
  transform: translateY(-2px);
}

/* Section titles: centred serif, letter-spaced */
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--jm-ink);
}

.section-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--jm-slate);
}

.jm-section-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.jm-section-header .section-title {
  grid-column: 2;
}

.jm-section-header .section-cta {
  grid-column: 3;
  justify-self: end;
  border: 0;
  padding: 0.25rem 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jm-ink);
  background: none;
}

.jm-section-header .section-cta::after {
  content: " \2192";
}

.jm-section-header .section-cta:hover {
  background: none;
  color: var(--jm-accent);
}

@media (max-width: 575.98px) {
  .jm-section-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.35rem;
  }
  .jm-section-header .section-title,
  .jm-section-header .section-cta {
    grid-column: 1;
    justify-self: center;
  }
}

/* Announcement bar */
.jm-topbar {
  background: var(--jm-accent);
  border-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

@media (max-width: 991.98px) {
  .jm-topbar { overflow: visible; }
}

/* Header: nav left, centred logo, actions right */
.jm-header {
  background: #fff;
  backdrop-filter: none;
  box-shadow: none;
  border-bottom: 1px solid var(--jm-border-light);
}

.jm-nav__link.is-active {
  color: var(--jm-accent);
  background: none;
}

.jm-nav__link.is-active::after {
  transform: scaleX(1);
}

/* Hero: editorial cream stage */

/* Category thumbnails: circular */
.jm-categories {
  padding-block: 1.75rem 1rem;
  background: #fff;
}

/* Trust / service strip */
.jm-trust {
  padding: 0;
  background: var(--jm-surface);
}

.jm-trust__item + .jm-trust__item {
  border-left: 1px solid var(--jm-border);
  padding-left: 1rem;
}

/* Small promo panel (account / sign-in card beside featured products) */

.jm-promo-panel .btn-outline-floward {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}

.jm-promo-panel .btn-outline-floward:hover {
  background: #fff;
  color: var(--jm-accent);
}

/* Product cards: image-focused, borderless, quiet hover */
.jm-product-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none !important;
}

.jm-product-card:hover {
  transform: none;
  border-color: transparent !important;
  box-shadow: none !important;
}

.jm-product-card__media {
  background: var(--jm-surface);
}

.jm-product-card__img-link.ratio {
  --bs-aspect-ratio: 125%;
}

.jm-product-card__media img {
  object-fit: cover !important;
}

.jm-product-card__media img.product-card-img--placeholder {
  object-fit: contain !important;
  padding: 25%;
  opacity: 0.5;
}

.jm-product-card__body {
  padding: 0.85rem 0.15rem 0.5rem !important;
  text-align: left;
}

.jm-product-card .card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--jm-ink);
}

.jm-product-card .product-price {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--jm-ink);
}

.jm-product-card__icon-btn {
  border-radius: 50%;
}

.product-badge {
  border-radius: var(--jm-radius-sm);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Shared surfaces (PLP, PDP, account, checkout) */
.card,
.modal-content,
.offcanvas,
.dropdown-menu,
.form-control,
.form-select,
.input-group-text,
.alert {
  border-radius: var(--jm-radius-lg);
}

.card {
  border-color: var(--jm-border);
}

.jm-breadcrumb .breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jm-pdp h1,
.jm-page h1 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.qty-stepper {
  border-radius: var(--jm-radius);
}

/* Forms */
.form-control,
.form-select {
  border-color: var(--jm-border);
  background-color: #fff;
  color: var(--jm-ink);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--jm-accent);
  box-shadow: 0 0 0 3px rgba(74, 9, 8, 0.1);
}

.form-check-input:checked {
  background-color: var(--jm-accent);
  border-color: var(--jm-accent);
}

.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jm-slate);
}

/* Cart drawer / page */
.offcanvas-title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offcanvas {
  background: var(--jm-cream);
}

.offcanvas-header {
  border-bottom: 1px solid var(--jm-border);
}

/* Footer: deep maroon */
.jm-footer {
  background: #3a0a13 !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

.jm-footer__logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jm-footer__logo img {
  width: auto;
  max-width: 160px;
  border-radius: 0;
  background: none;
}

.jm-footer h6 {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--jm-gold) !important;
}

.jm-footer__social a {
  letter-spacing: 0.08em;
}

.jm-footer .footer-copy {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

/* Promo banners: two editorial tiles per row */

/* Category circles: keep a compact centered row on desktop (overrides the legacy auto-fit grid) */

/* SIRI COUTURE: header layer (announcement bar, header row, hanging logo card, search sheet) */

.siri-hd {
  /* header row height, how far the logo card hangs below it, and the card width */
  --siri-row: 56px;
  --siri-hang: 24px;
  --siri-card-w: 88px;
  --siri-gutter: clamp(12px, 3vw, 24px);
  z-index: 1030;
  /* room for the card on pages that have no hero to slide under (see :has() rule below) */
  margin-bottom: var(--siri-hang);
}

@media (min-width: 992px) {
  .siri-hd {
    --siri-row: 80px;
    --siri-hang: 50px;
    --siri-card-w: clamp(104px, 11.5vw, 168px);
    --siri-gutter: clamp(20px, 4.2vw, 64px);
  }
}

/* A hero directly under the header: the card is meant to overlap it, so no spacer. */
body.jm-body:has(#main-content :is(.hm-hero, .jm-hero)) .siri-hd {
  margin-bottom: 0;
}

body.jm-body .site-header.siri-hd,
body.jm-body .site-header.siri-hd.sticky-top {
  background: var(--jm-white);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
  overflow: visible;
}

/* When hidden on scroll-down the hanging card must slide away with the bar. */
body.jm-body .site-header.siri-hd.jm-header--hidden {
  transform: translateY(calc(-100% - var(--siri-hang) - 12px));
}

/* ---------- Announcement bar ---------- */
.siri-announce {
  background: var(--jm-accent);
  color: var(--jm-white);
}

.siri-announce__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 33px;
  padding-inline: var(--siri-gutter);
}

.siri-announce__list {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.siri-announce__list::-webkit-scrollbar {
  display: none;
}

.siri-announce__item {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 8px;
  padding-block: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  scroll-snap-align: center;
}

.siri-announce__item + .siri-announce__item::before {
  content: "";
  align-self: center;
  width: 1px;
  height: 12px;
  margin-inline: clamp(12px, 1.6vw, 20px);
  background: rgba(254, 253, 250, 0.4);
}

.siri-announce__item .siri-icon {
  width: 14px;
  height: 14px;
  flex: none;
}

/* Phone number sits at the far right so it never shifts the centred messages. */
.siri-announce__phone {
  display: none;
  position: absolute;
  right: var(--siri-gutter);
  top: 50%;
  transform: translateY(-50%);
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
}

.siri-announce__phone svg {
  width: 12px;
  height: 12px;
}

.siri-announce__phone:hover {
  color: #fff;
  text-decoration: underline;
}

@media (min-width: 1200px) {
  .siri-announce__phone {
    display: inline-flex;
  }

  /* keep the messages clear of the phone number */
  .siri-announce__list {
    max-width: calc(100% - 2 * 190px);
  }
}

/* ---------- Header row ---------- */
.siri-hd__main {
  position: relative;
  background: var(--jm-white);
  border-bottom: 1px solid var(--jm-border-light);
}

.siri-hd__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  max-width: 1600px;
  min-height: var(--siri-row);
  margin-inline: auto;
  padding-inline: var(--siri-gutter);
}

.siri-hd__start,
.siri-hd__end {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}

.siri-hd__end {
  justify-content: flex-end;
}

.siri-hd__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--jm-ink);
}

.siri-hd__toggle svg {
  width: 24px;
  height: 24px;
}

/* ---------- Primary nav ---------- */
.siri-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.9vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.siri-nav__item {
  position: relative;
}

.siri-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jm-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.siri-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.12em;
  bottom: 9px;
  height: 1px;
  background: var(--jm-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.siri-nav__link:hover,
.siri-nav__link.is-active {
  color: var(--jm-accent);
}

.siri-nav__link:hover::after,
.siri-nav__link.is-active::after {
  transform: scaleX(1);
}

.siri-nav__sub {
  position: absolute;
  top: 100%;
  left: -16px;
  z-index: 60;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  box-shadow: var(--jm-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.siri-nav__item--menu:hover .siri-nav__sub,
.siri-nav__item--menu:focus-within .siri-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.siri-nav__sub a {
  display: block;
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jm-ink);
  text-decoration: none;
}

.siri-nav__sub a:hover,
.siri-nav__sub a:focus-visible {
  background: var(--jm-cream);
  color: var(--jm-accent);
}

/* ---------- "Shop By" mega panel ---------- */
.siri-shopby {
  position: absolute;
  top: 100%;
  left: -16px;
  z-index: 60;
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  min-width: 640px;
  margin: 0;
  padding: 24px 28px;
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  box-shadow: var(--jm-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.siri-nav__item--menu:hover .siri-shopby,
.siri-nav__item--menu:focus-within .siri-shopby {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.siri-shopby__col {
  min-width: 120px;
}

.siri-shopby__heading {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jm-accent);
}

.siri-shopby__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.siri-shopby__list a {
  display: block;
  padding: 6px 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jm-ink);
  text-decoration: none;
  white-space: nowrap;
}

.siri-shopby__list a:hover,
.siri-shopby__list a:focus-visible {
  color: var(--jm-accent);
}

/* ---------- Hanging logo card ---------- */
.siri-logo-card {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: var(--siri-card-w);
  height: calc(var(--siri-row) + var(--siri-hang));
  padding: 8px 8px 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(26, 10, 8, 0.1);
  transform: translateX(-50%);
  text-align: center;
}

.siri-logo-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  color: var(--jm-accent);
  text-decoration: none;
}

.siri-logo-card__img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(var(--siri-row) + var(--siri-hang) - 46px);
  object-fit: contain;
}

.siri-logo-card__text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.9vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.siri-logo-card__tagline {
  display: none;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--jm-accent);
}

@media (min-width: 576px) {
  .siri-logo-card__tagline {
    display: block;
  }
}

@media (min-width: 992px) {
  .siri-logo-card {
    gap: 8px;
    padding: 10px 10px 12px;
  }

  .siri-logo-card__tagline {
    font-size: 8px;
  }
}

.siri-logo-card__link:focus-visible {
  outline: 2px solid var(--jm-accent);
  outline-offset: 3px;
}

/* ---------- Action icons ---------- */
.siri-hd__end .dropdown {
  display: flex;
}

.siri-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--jm-ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.siri-action svg {
  width: 20px;
  height: 20px;
}

.siri-action:hover {
  color: var(--jm-accent);
}

.siri-action.dropdown-toggle::after {
  display: none;
}

.siri-action--wishlist:has(.jm-wish-badge) svg {
  fill: currentColor;
  color: var(--jm-accent);
}

.siri-action__badge {
  position: absolute;
  top: 6px;
  right: 3px;
  pointer-events: none;
}

.siri-action .badge-count,
.siri-action .jm-wish-badge {
  display: block;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--jm-accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  line-height: 15px;
  text-align: center;
}

.siri-hd :is(.siri-action, .siri-hd__toggle, .siri-nav__link, .siri-announce__phone):focus-visible {
  outline: 2px solid var(--jm-accent);
  outline-offset: -2px;
}

.siri-announce__phone:focus-visible {
  outline-color: var(--jm-white);
}

/* main.css hides the nudge wrapper on desktop; the search icon must stay visible there */
.siri-hd .jm-search-nudge {
  display: inline-flex !important;
}

/* the "use me to find products" nudge is a touch-device hint only */
@media (min-width: 992px) {
  .siri-hd .jm-search-nudge__tip {
    display: none;
  }
}

@media (min-width: 992px) and (max-width: 1100px) {
  .siri-nav__link {
    letter-spacing: 0.08em;
  }
}

/* ---------- Search sheet (desktop + mobile) ---------- */
body.jm-body .mobile-search__sheet {
  background: var(--jm-white);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0;
  border-bottom: 1px solid var(--jm-border);
  border-radius: 0 0 22px 22px;
  box-shadow: var(--jm-shadow-lg);
}

body.jm-body .mobile-search__backdrop {
  background: rgba(26, 10, 8, 0.28);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.jm-body .mobile-search__field {
  min-height: 44px;
  background: #fff;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius);
}

body.jm-body .mobile-search__field:focus-within {
  border-color: var(--jm-accent);
  box-shadow: 0 0 0 3px rgba(74, 9, 8, 0.12);
}

body.jm-body .mobile-search__icon {
  color: var(--jm-accent);
}

body.jm-body .mobile-search__input {
  font-family: var(--font-sans);
  color: var(--jm-ink);
}

body.jm-body .mobile-search__cancel {
  min-height: 44px;
  padding-inline: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jm-accent);
}

body.jm-body .mobile-search__clear:focus-visible,
body.jm-body .mobile-search__cancel:focus-visible {
  outline: 2px solid var(--jm-accent);
  outline-offset: 1px;
}

@media (min-width: 992px) {
  body.jm-body .mobile-search__sheet {
    left: 50%;
    right: auto;
    width: min(720px, calc(100% - 48px));
    padding: 20px 20px 16px;
    border: 1px solid var(--jm-border);
    border-top: 0;
    transform: translate(-50%, -14px);
  }

  body.jm-body .mobile-search.is-open .mobile-search__sheet {
    transform: translate(-50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.jm-body .site-header.siri-hd,
  .siri-nav__link,
  .siri-nav__link::after,
  .siri-nav__sub {
    transition: none;
  }

  body.jm-body .mobile-search.is-open .mobile-search__sheet {
    transition: opacity 0.2s ease;
  }
}

/* ---------- Bottom mobile tab bar (same 5 destinations as the header nav) ---------- */
body.jm-body .jm-mnav__item {
  min-height: 44px;
  font-family: var(--font-sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* five tabs must fit at 360px without ellipsising "Collections" */
@media (max-width: 420px) {
  body.jm-body .jm-mnav__item {
    padding-inline: 2px;
    letter-spacing: 0;
  }

  body.jm-body .jm-mnav__item span {
    font-size: 0.56rem;
    text-overflow: clip;
  }
}

/* icon-only fixed-size button: the global .btn padding would squeeze its icon to nothing */
body.jm-body .btn[data-image-captcha-refresh] {
  padding: 0;
}

body.jm-body .jm-mnav__item.is-active {
  color: var(--jm-accent);
}

body.jm-body .jm-mnav__item:focus-visible {
  outline: 2px solid var(--jm-accent);
  outline-offset: -2px;
}

/* the field wrapper draws the focus ring; suppress the global input ring */
body.jm-body .mobile-search__input:focus,
body.jm-body .mobile-search__input:focus-visible {
  outline: 0;
  box-shadow: none;
  border: 0;
}

/* SIRI COUTURE: home layer (hero, category circles, promo tiles, category cards, service strip, wide banner).
   All selectors use the hm- prefix so they never fight the legacy jm-* rules in main.css. */

.hm-wrap {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: clamp(12px, 1.7vw, 32px);
}

/* Buttons shared by hero, tiles and wide banner */
.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 44px;
  padding: 0.8em clamp(1.1rem, 2.2vw, 1.9rem);
  border: 1px solid var(--jm-accent);
  border-radius: var(--jm-radius);
  font-family: var(--font-sans);
  font-size: clamp(0.66rem, 1.05vw, 0.74rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hm-btn--solid {
  background: var(--jm-accent);
  color: #fff;
}

.hm-btn--solid:hover,
.hm-btn--solid:focus-visible {
  background: var(--jm-accent-dark);
  border-color: var(--jm-accent-dark);
  color: #fff;
}

.hm-btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.hm-btn--outline:hover,
.hm-btn--outline:focus-visible {
  background: #fff;
  color: var(--jm-accent);
}

.hm-btn:focus-visible,
.hm-circle:focus-visible,
.hm-hero__dots button:focus-visible {
  outline: 2px solid var(--jm-gold);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */
.hm-hero {
  position: relative;
  background: var(--jm-cream);
}

.hm-hero__carousel,
.hm-hero__fallback {
  position: relative;
  width: 100%;
  aspect-ratio: 2.56 / 1;
  overflow: hidden;
}

.hm-hero__fallback {
  background: linear-gradient(120deg, var(--jm-sand), var(--jm-cream));
}

.hm-hero__carousel .carousel-inner,
.hm-hero__carousel .carousel-item {
  height: 100%;
}

.hm-hero__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hm-hero__caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  /* Light wash behind the copy keeps it readable over any photo. */
  background: linear-gradient(90deg, rgba(254, 253, 250, 0.62) 0%, rgba(254, 253, 250, 0.3) 34%, rgba(254, 253, 250, 0) 56%);
}

.hm-hero__caption-inner {
  padding-top: clamp(0px, 1vw, 16px);
  padding-bottom: clamp(24px, 4.2vw, 64px);
  color: var(--jm-ink);
}

.hm-hero__eyebrow {
  max-width: 13em;
  margin: 0 0 clamp(0.6rem, 1.6vw, 1.5rem);
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 1.35vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 1.7;
  text-transform: uppercase;
}

body.jm-body .hm-hero__title {
  max-width: 6.4em;
  margin: 0 0 clamp(0.5rem, 1.4vw, 1.2rem);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 6.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--jm-accent-dark);
  text-wrap: balance;
}

.hm-hero__subtitle {
  margin: 0 0 clamp(1rem, 2.6vw, 2.2rem);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.7vw, 1.5rem);
  line-height: 1.3;
}

.hm-hero__dots-wrap {
  position: absolute;
  left: 50%;
  bottom: clamp(6px, 1.4vw, 24px);
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

.hm-hero__dots.carousel-indicators {
  position: static;
  display: flex;
  justify-content: flex-start;
  gap: 0;
  margin: 0;
  padding: 0;
  pointer-events: auto;
}

.hm-hero__dots.carousel-indicators [data-bs-target] {
  box-sizing: content-box;
  flex: 0 0 auto;
  width: 28px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  opacity: 1;
  text-indent: 0;
  position: relative;
}

.hm-hero__dots.carousel-indicators [data-bs-target]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  border: 1.5px solid var(--jm-accent);
  border-radius: 50%;
  background: transparent;
}

.hm-hero__dots.carousel-indicators .active::before {
  background: var(--jm-accent);
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .hm-hero__carousel,
  .hm-hero__fallback {
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 767.98px) {
  .hm-hero__carousel,
  .hm-hero__fallback {
    aspect-ratio: 4 / 5;
    max-height: 560px;
  }

  .hm-hero__caption {
    align-items: flex-end;
    padding-bottom: 46px;
    background: linear-gradient(0deg, rgba(254, 253, 250, 0.96) 0%, rgba(254, 253, 250, 0.9) 42%, rgba(254, 253, 250, 0) 82%);
  }

  .hm-hero__eyebrow {
    max-width: none;
    font-size: 0.68rem;
    letter-spacing: 0.24em;
  }

  .hm-hero__title {
    max-width: none;
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }

  .hm-hero__subtitle {
    font-size: 1.05rem;
  }

  .hm-hero__dots-wrap {
    bottom: 2px;
  }
}

/* ---------- Category circles ---------- */
.hm-circles {
  padding-block: clamp(14px, 2vw, 28px) 0;
  background: var(--jm-white);
}

.hm-circles__row {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-circles__slot {
  flex: 0 0 12.5%;
  min-width: 0;
  padding-inline: 0.25%;
}

.hm-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.1vw, 14px);
  color: var(--jm-ink);
  text-decoration: none;
}

.hm-circle__photo {
  display: block;
  width: 88%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--jm-border);
  border-radius: 50%;
  background: var(--jm-surface);
}

.hm-circle__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hm-circle:hover .hm-circle__photo img {
  transform: scale(1.06);
}

.hm-circle__label {
  max-width: 100%;
  font-family: var(--font-sans);
  font-size: clamp(0.56rem, 0.98vw, 0.72rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 767.98px) {
  .hm-circles__row {
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .hm-circles__row::-webkit-scrollbar {
    display: none;
  }

  .hm-circles__slot {
    flex: 0 0 96px;
    padding-inline: 0;
    scroll-snap-align: start;
  }

  .hm-circle__photo {
    width: 82px;
  }

  .hm-circle__label {
    font-size: 0.6rem;
  }
}

/* ---------- Promo tiles ---------- */
.hm-tiles {
  padding-top: clamp(16px, 3.2vw, 48px);
}

.hm-tiles__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.3vw, 20px);
}

.hm-tile {
  position: relative;
  display: flex;
  align-items: center;
  aspect-ratio: 1.97 / 1;
  overflow: hidden;
  background: var(--jm-accent);
  color: #fff;
  isolation: isolate;
}

.hm-tile--plain {
  background: linear-gradient(120deg, var(--jm-accent-dark), var(--jm-accent));
}

.hm-tile__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hm-tile:not(.hm-tile--plain)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(54, 6, 5, 0.94) 0%, rgba(74, 9, 8, 0.82) 38%, rgba(74, 9, 8, 0.35) 62%, rgba(74, 9, 8, 0) 82%);
}

.hm-tile__body {
  max-width: 62%;
  padding: clamp(14px, 3.4vw, 52px);
}

.hm-tile__eyebrow {
  margin: 0 0 0.5em;
  font-family: var(--font-sans);
  font-size: clamp(0.6rem, 1.1vw, 0.78rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body.jm-body .hm-tile__title {
  margin: 0 0 0.3em;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.1vw, 2.7rem);
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
  text-wrap: balance;
}

.hm-tile__subtitle {
  margin: 0 0 clamp(0.8rem, 1.8vw, 1.6rem);
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  font-style: italic;
  line-height: 1.35;
  opacity: 0.92;
}

@media (max-width: 899.98px) {
  .hm-tiles__grid {
    grid-template-columns: 1fr;
  }

  .hm-tile {
    aspect-ratio: auto;
    min-height: 220px;
  }

  .hm-tile__body {
    max-width: 78%;
    padding: 24px 20px;
  }

  .hm-tile__title {
    font-size: 1.7rem;
  }

  .hm-tile__subtitle {
    font-size: 1rem;
  }
}

/* ---------- Service strip ---------- */
.hm-service {
  background: var(--jm-cream);
}

.hm-service__row {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-service__item {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.1vw, 14px);
  min-height: 80px;
  padding: 12px clamp(8px, 1.2vw, 20px);
  min-width: 0;
}

.hm-service__item + .hm-service__item {
  border-left: 1px solid var(--jm-border);
}

.hm-service__icon {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--jm-accent);
}

.hm-service__icon .siri-icon {
  width: clamp(22px, 2.6vw, 34px);
  height: clamp(22px, 2.6vw, 34px);
}

.hm-service__label {
  max-width: 11em;
  font-family: var(--font-sans);
  font-size: clamp(0.56rem, 0.98vw, 0.72rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--jm-ink);
  text-wrap: balance;
}

@media (max-width: 767.98px) {
  .hm-service__row {
    flex-wrap: wrap;
  }

  .hm-service__item {
    flex: 0 0 50%;
    justify-content: flex-start;
    min-height: 68px;
  }

  .hm-service__item + .hm-service__item {
    border-left: 0;
  }

  .hm-service__item:nth-child(even) {
    border-left: 1px solid var(--jm-border);
  }

  .hm-service__item:last-child:nth-child(odd) {
    flex-basis: 100%;
    justify-content: center;
  }

  .hm-service__label {
    font-size: 0.62rem;
  }
}

/* ---------- Closing wide banner ---------- */
.hm-wide {
  position: relative;
  display: flex;
  justify-content: flex-end;
  aspect-ratio: 5 / 1;
  overflow: hidden;
  background: var(--jm-sand);
  isolation: isolate;
}

.hm-wide__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hm-wide__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56%;
  padding: clamp(8px, 1.6vw, 24px) clamp(12px, 3vw, 48px);
  /* Sand area on the right, fading into the photo so text is legible over any image. */
  background: linear-gradient(90deg, rgba(231, 206, 180, 0) 0%, rgba(231, 206, 180, 0.9) 24%, rgba(231, 206, 180, 0.96) 100%);
  text-align: center;
}

.hm-wide--plain .hm-wide__panel {
  width: 100%;
}

.hm-wide__body {
  max-width: 38em;
  color: var(--jm-accent-dark);
}

.hm-wide__eyebrow {
  margin: 0 0 0.4em;
  font-family: var(--font-sans);
  font-size: clamp(0.56rem, 0.98vw, 0.72rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jm-brown);
}

body.jm-body .hm-wide__title {
  margin: 0 0 clamp(0.5rem, 1.2vw, 1.1rem);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.7vw, 2.4rem);
  font-weight: 500;
  line-height: 1.18;
  color: var(--jm-accent-dark);
  text-wrap: balance;
}

.hm-wide__subtitle {
  margin: 0 0 clamp(0.6rem, 1.2vw, 1rem);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.85rem, 1.4vw, 1.15rem);
}

@media (max-width: 767.98px) {
  .hm-wide {
    display: block;
    aspect-ratio: auto;
  }

  .hm-wide__img {
    position: static;
    z-index: auto;
    aspect-ratio: 5 / 2;
    height: auto;
  }

  .hm-wide__panel {
    width: 100%;
    padding: 24px 20px 28px;
    background: var(--jm-sand);
  }

  .hm-wide__title {
    font-size: 1.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-circle__photo img,
.hm-btn {
    transition: none;
  }

  .hm-circle:hover .hm-circle__photo img {
    transform: none;
  }
}

/* SIRI COUTURE: pages layer
   Everything except header + homepage sections. Loaded after main.css, so rules are
   prefixed with body.jm-body to out-specify legacy rules without editing main.css. */

body.jm-body {
  --sp-wide: 1520px;
  --sp-read: 880px;
  --sp-hair: 1px solid var(--jm-border);
  --sp-label: 500 0.6875rem/1.3 var(--font-sans);
  --sp-track: 0.16em;
  background: var(--jm-white);
  color: var(--jm-ink);
}

/* ---------- Containers ---------- */
body.jm-body .page-container {
  max-width: var(--sp-wide);
  padding-inline: clamp(16px, 2.4vw, 40px);
}

body.jm-body .page-container.jm-page,
body.jm-body .page-container.py-4,
body.jm-body .page-container.py-5 {
  padding-block: clamp(28px, 4vw, 56px);
}

/* Reading / form pages: comfortable measure */
body.jm-body .page-container:has(.page-content),
body.jm-body .page-container:has(> .row.justify-content-center) {
  max-width: 1040px;
}

body.jm-body .page-content {
  background: transparent !important;
  box-shadow: none !important;
  border: 0;
  border-radius: 0 !important;
  padding: 0 !important;
  max-width: var(--sp-read);
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--jm-slate);
}

body.jm-body .page-content h2,
body.jm-body .page-content h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--jm-ink);
  letter-spacing: 0.02em;
  margin-top: 2rem;
}

/* ---------- Typography: titles with hairline ornament ---------- */
body.jm-body h1,
body.jm-body h2,
body.jm-body h3,
body.jm-body h4,
body.jm-body .h1,
body.jm-body .h2,
body.jm-body .h3,
body.jm-body .h4,
body.jm-body .section-title {
  font-family: var(--font-display);
  color: var(--jm-ink);
}

body.jm-body h5,
body.jm-body h6,
body.jm-body .h5,
body.jm-body .h6 {
  font-family: var(--font-sans);
  color: var(--jm-ink);
}

body.jm-body .jm-page h1.section-title,
body.jm-body .jm-page h1.jm-page-title,
body.jm-body .page-container > h1.section-title,
body.jm-body .page-container > .text-center > h1.section-title,
body.jm-body .jm-pdp-section > h2.section-title,
body.jm-body .jm-pdp .section-title.h5 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 1.05rem + 1.1vw, 1.9rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  margin: 0 0 clamp(20px, 3vw, 36px);
}

body.jm-body .jm-page h1.section-title::before,
body.jm-body .jm-page h1.section-title::after,
body.jm-body .jm-page h1.jm-page-title::before,
body.jm-body .jm-page h1.jm-page-title::after,
body.jm-body .page-container > h1.section-title::before,
body.jm-body .page-container > h1.section-title::after,
body.jm-body .page-container > .text-center > h1.section-title::before,
body.jm-body .page-container > .text-center > h1.section-title::after,
body.jm-body .jm-pdp-section > h2.section-title::before,
body.jm-body .jm-pdp-section > h2.section-title::after,
body.jm-body .jm-pdp .section-title.h5::before,
body.jm-body .jm-pdp .section-title.h5::after {
  content: "";
  flex: 0 1 clamp(28px, 6vw, 80px);
  height: 1px;
  background: var(--jm-gold);
  opacity: 0.7;
}

body.jm-body .section-subtitle,
body.jm-body .jm-plp-count {
  font: var(--sp-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--jm-slate);
  text-align: center;
  margin: -0.5rem 0 1.5rem;
}

body.jm-body .section-title.h4,
body.jm-body .section-title.h5,
body.jm-body .section-title.mb-4:not(h1) {
  font-weight: 500;
}

body.jm-body .text-muted,
body.jm-body .text-secondary {
  color: var(--jm-slate) !important;
}

body.jm-body .text-floward {
  color: var(--jm-accent) !important;
}

body.jm-body a {
  text-underline-offset: 3px;
}

body.jm-body :focus-visible {
  outline: 2px solid var(--jm-accent);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
body.jm-body .btn,
body.jm-body .btn-floward,
body.jm-body .btn-outline-floward {
  border-radius: var(--jm-radius) !important;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  min-height: 44px;
  padding: 0.7rem 1.6rem;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

body.jm-body .btn-sm {
  min-height: 40px;
  padding: 0.55rem 1.1rem;
  font-size: 0.6875rem;
}

body.jm-body .btn-floward,
body.jm-body .btn-dark,
body.jm-body .btn-primary {
  background: var(--jm-accent);
  border: 1px solid var(--jm-accent);
  color: #fff;
}

body.jm-body .btn-floward:hover,
body.jm-body .btn-floward:focus-visible,
body.jm-body .btn-dark:hover,
body.jm-body .btn-primary:hover {
  background: var(--jm-accent-dark);
  border-color: var(--jm-accent-dark);
  color: #fff;
}

body.jm-body .btn-outline-floward,
body.jm-body .btn-outline-dark,
body.jm-body .btn-outline-secondary,
body.jm-body .btn-outline-primary {
  background: transparent;
  border: 1px solid var(--jm-accent);
  color: var(--jm-accent);
}

body.jm-body .btn-outline-floward:hover,
body.jm-body .btn-outline-dark:hover,
body.jm-body .btn-outline-secondary:hover,
body.jm-body .btn-outline-primary:hover {
  background: var(--jm-accent);
  border-color: var(--jm-accent);
  color: #fff;
}

body.jm-body .btn:disabled,
body.jm-body .btn.disabled,
body.jm-body .btn-floward:disabled {
  background: var(--jm-surface);
  border-color: var(--jm-border);
  color: var(--jm-slate);
  opacity: 1;
  cursor: not-allowed;
}

body.jm-body .btn-ghost,
body.jm-body .btn-text {
  background: none;
  border: 0;
  min-height: 0;
  padding: 0.25rem 0;
  text-decoration: underline;
  color: var(--jm-accent);
}

body.jm-body .btn-close:focus {
  box-shadow: none;
}

/* ---------- Form controls ---------- */
body.jm-body .form-control,
body.jm-body .form-select,
body.jm-body .input-group-text {
  border-radius: var(--jm-radius) !important;
  border: 1px solid var(--jm-border);
  background-color: #fff;
  color: var(--jm-ink);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  min-height: 46px;
  box-shadow: none;
}

body.jm-body textarea.form-control {
  min-height: 120px;
}

body.jm-body .form-control:focus,
body.jm-body .form-select:focus {
  border-color: var(--jm-accent);
  box-shadow: 0 0 0 1px var(--jm-accent);
}

body.jm-body .form-control::placeholder {
  color: var(--jm-muted);
}

body.jm-body .form-label {
  font: var(--sp-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jm-slate);
  margin-bottom: 0.45rem;
}

body.jm-body .form-check-input {
  border-radius: 4px;
  border-color: var(--jm-slate);
  width: 1.1em;
  height: 1.1em;
}

body.jm-body .form-check-input[type="radio"] {
  border-radius: 50%;
}

body.jm-body .form-check-input:checked {
  background-color: var(--jm-accent);
  border-color: var(--jm-accent);
}

body.jm-body .form-check-input:focus {
  box-shadow: 0 0 0 2px rgba(74, 9, 8, 0.2);
  border-color: var(--jm-accent);
}

body.jm-body .form-check-label {
  color: var(--jm-ink);
}

/* ---------- Cards / surfaces ---------- */
body.jm-body .card,
body.jm-body .checkout-step,
body.jm-body .plp-filters,
body.jm-body .modal-content {
  border-radius: var(--jm-radius-lg) !important;
}

/* .offcanvas itself stays flush (screen-edge panels); templates opt into
   rounding just the exposed edge via Bootstrap's rounded-top-*/rounded-end-*
   utilities, e.g. the bottom-sheet "Shop By" panel. */
body.jm-body .list-group-item,
body.jm-body .accordion-item {
  border-radius: var(--jm-radius) !important;
}

body.jm-body .card,
body.jm-body .checkout-step {
  background: #fff;
  border: var(--sp-hair) !important;
  box-shadow: none !important;
}

body.jm-body .card.jm-product-card {
  border: 0 !important;
  background: transparent;
}

body.jm-body .card-header {
  background: transparent !important;
  border-bottom: var(--sp-hair) !important;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.jm-body .card .h6,
body.jm-body .card h2.h6,
body.jm-body .card h5,
body.jm-body .checkout-step .h6,
body.jm-body .checkout-step h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jm-ink);
}

body.jm-body .bg-light,
body.jm-body .bg-white {
  background-color: var(--jm-cream) !important;
}

body.jm-body .rounded-circle {
  border-radius: 50% !important;
}

body.jm-body .shadow,
body.jm-body .shadow-sm,
body.jm-body .shadow-lg {
  box-shadow: none !important;
}

body.jm-body .border,
body.jm-body .border-top,
body.jm-body .border-bottom,
body.jm-body .border-start {
  border-color: var(--jm-border) !important;
}

body.jm-body hr {
  border-color: var(--jm-border);
  opacity: 1;
}

/* ---------- Badges / alerts / toasts ---------- */
body.jm-body .badge {
  border-radius: var(--jm-radius-sm) !important;
  font: var(--sp-label);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem !important;
  background: var(--jm-cream) !important;
  color: var(--jm-accent) !important;
  border: 1px solid var(--jm-border) !important;
}

body.jm-body .badge.bg-success {
  color: var(--jm-success) !important;
  border-color: var(--jm-success) !important;
}

body.jm-body .badge.bg-danger {
  color: #9b1c1c !important;
  border-color: #9b1c1c !important;
}

body.jm-body .badge.bg-warning {
  color: #7a5a12 !important;
  border-color: var(--jm-gold) !important;
}

body.jm-body .alert {
  border-radius: var(--jm-radius);
  border: 1px solid var(--jm-border);
  border-left: 3px solid var(--jm-accent);
  background: var(--jm-cream);
  color: var(--jm-ink);
  font-size: 0.9rem;
}

body.jm-body .alert-danger {
  border-left-color: #9b1c1c;
  background: #fbf1ef;
}

body.jm-body .alert-success {
  border-left-color: var(--jm-success);
  background: #f2f7f2;
}

body.jm-body .toast {
  border-radius: var(--jm-radius);
  border: 1px solid var(--jm-border);
  background: #fff;
  color: var(--jm-ink);
  box-shadow: var(--jm-shadow);
}

body.jm-body .text-danger {
  color: #9b1c1c !important;
}

body.jm-body .text-success {
  color: var(--jm-success) !important;
}

/* ---------- Breadcrumbs ---------- */
body.jm-body .jm-breadcrumb .breadcrumb {
  font: var(--sp-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

body.jm-body .breadcrumb-item a {
  color: var(--jm-slate);
  text-decoration: none;
}

body.jm-body .breadcrumb-item a:hover {
  color: var(--jm-accent);
}

body.jm-body .breadcrumb-item.active {
  color: var(--jm-ink);
}

body.jm-body .breadcrumb-item + .breadcrumb-item::before {
  color: var(--jm-gold);
}

/* ---------- Pagination ---------- */
body.jm-body .pagination {
  gap: 6px;
}

body.jm-body .page-link {
  border-radius: 50% !important;
  border: 1px solid var(--jm-border);
  color: var(--jm-ink);
  background: transparent;
  font: var(--sp-label);
  letter-spacing: 0.1em;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.jm-body .page-link:hover {
  border-color: var(--jm-accent);
  color: var(--jm-accent);
  background: transparent;
}

body.jm-body .page-item.active .page-link {
  background: var(--jm-accent);
  border-color: var(--jm-accent);
  color: #fff;
}

body.jm-body .page-item.disabled .page-link {
  color: var(--jm-muted);
  background: transparent;
}

body.jm-body .plp-pagination {
  margin-top: 3rem !important;
  gap: 1rem !important;
  align-items: center;
}

body.jm-body .plp-pagination span {
  font: var(--sp-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Quantity stepper ---------- */
body.jm-body .qty-stepper {
  border: 1px solid var(--jm-border) !important;
  border-radius: var(--jm-radius) !important;
  overflow: hidden;
  background: #fff;
}

body.jm-body .qty-stepper__btn {
  border-radius: 0 !important;
  min-width: 40px;
  min-height: 40px;
  color: var(--jm-ink);
}

body.jm-body .qty-stepper__btn:hover {
  background: var(--jm-cream);
  color: var(--jm-accent);
}

body.jm-body .qty-stepper__value {
  font-family: var(--font-sans);
  font-weight: 500;
}

/* ---------- Product card ---------- */
body.jm-body .jm-product-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  --bs-card-bg: transparent;
}

body.jm-body .jm-product-card__media {
  position: relative;
  overflow: hidden;
  background: var(--jm-surface);
  border-radius: var(--jm-radius-lg);
}

body.jm-body .jm-product-card__img-link.ratio {
  --bs-aspect-ratio: 125%;
}

body.jm-body .jm-product-card__media img,
body.jm-body .jm-product-card__img-main,
body.jm-body .jm-product-card__img-hover {
  object-fit: cover !important;
  border-radius: var(--jm-radius-lg);
  transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1), opacity 0.5s ease;
}

body.jm-body .jm-product-card:hover .jm-product-card__img-main {
  transform: scale(1.035);
}

body.jm-body .jm-product-card__media img.product-card-img--placeholder {
  object-fit: contain !important;
  padding: 18%;
}

body.jm-body .jm-product-card__body {
  padding: 0.9rem 0 0.4rem;
  gap: 0;
  background: transparent;
}

body.jm-body .jm-product-card .card-title {
  order: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.35;
  color: var(--jm-ink);
  margin: 0 0 0.3rem;
}

body.jm-body .jm-product-card__pricing {
  order: 2;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

body.jm-body .jm-product-card .product-price {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--jm-ink);
}

body.jm-body .jm-product-card__price--sale {
  color: var(--jm-accent) !important;
}

body.jm-body .jm-product-card__was,
body.jm-body .jm-product-card__was * {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--jm-muted) !important;
}

/* Add-to-cart: circular icon button overlaid bottom-right of the image */
body.jm-body .jm-product-card__cart {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
}

body.jm-body .jm-product-card__atc {
  width: 40px;
  height: 40px;
  min-height: 0;
  padding: 0;
  border-radius: 50% !important;
  background: var(--jm-white);
  border: 0;
  color: var(--jm-ink);
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: var(--jm-shadow);
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.jm-body .jm-product-card__atc svg {
  display: block;
  width: 18px;
  height: 18px;
}

body.jm-body .jm-product-card__atc:hover:not(:disabled) {
  background: var(--jm-accent);
  color: #fff;
}

body.jm-body .jm-product-card__atc:disabled {
  background: rgba(254, 253, 250, 0.85);
  color: var(--jm-border);
  box-shadow: none;
}

body.jm-body .jm-product-card__atc--in-cart {
  background: var(--jm-accent);
  color: #fff;
}

body.jm-body .jm-product-card__icon-btn {
  border-radius: 50%;
  background: rgba(254, 253, 250, 0.94);
  color: var(--jm-ink);
  border: 0;
  box-shadow: none;
  width: 36px;
  height: 36px;
}

body.jm-body .jm-product-card__icon-btn:hover,
body.jm-body .jm-product-card__wish.is-active {
  color: var(--jm-accent);
}

body.jm-body .product-badge,
body.jm-body .jm-product-card__media .product-badge {
  border-radius: var(--jm-radius-sm);
  font: var(--sp-label);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--jm-sand);
  color: var(--jm-ink);
  padding: 0.3rem 0.6rem;
  box-shadow: none;
}

body.jm-body .product-badge--new,
body.jm-body .product-badge--same-day,
body.jm-body .product-badge--express {
  background: var(--jm-white);
  color: var(--jm-accent);
}

body.jm-body .product-badge--flash {
  background: var(--jm-accent);
  color: #fff;
}

body.jm-body .product-badge--out {
  background: #dc2626;
  color: #fff;
}

body.jm-body .product-badge--low {
  background: #f97316;
  color: #fff;
}

/* Grid and rail */
body.jm-body .product-grid-inner {
  --bs-gutter-x: clamp(12px, 1.4vw, 24px);
  --bs-gutter-y: clamp(28px, 3.4vw, 48px);
}

body.jm-body .product-rail-scroll .product-rail-item {
  width: var(--jm-rail-card-w, 240px);
}

/* ---------- PLP ---------- */
body.jm-body .plp-page {
  padding-top: clamp(24px, 3vw, 44px);
}

body.jm-body .plp-toolbar,
body.jm-body .jm-plp-toolbar {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  margin-bottom: clamp(24px, 3vw, 40px);
  background: none;
}

body.jm-body .jm-plp-toolbar__copy {
  text-align: center;
}

body.jm-body .jm-plp-toolbar__copy h1 {
  margin-bottom: 0.9rem !important;
}

body.jm-body .jm-plp-toolbar .plp-filter-toggle {
  position: absolute;
  right: 0;
  top: 0;
}

@media (max-width: 991.98px) {
  body.jm-body .jm-plp-toolbar .d-flex {
    justify-content: center;
    margin-top: 0.5rem;
  }

  body.jm-body .jm-plp-toolbar .plp-filter-toggle {
    position: static;
  }
}

body.jm-body .plp-filters {
  border: var(--sp-hair);
  padding: 1.5rem !important;
  background: #fff;
}

body.jm-body .plp-filters-header {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 0.9rem;
  margin-bottom: 1.1rem;
  border-bottom: var(--sp-hair);
}

body.jm-body .plp-filters .form-select-sm,
body.jm-body .plp-filters .form-control {
  min-height: 42px;
}

body.jm-body .plp-filters .btn {
  min-height: 44px;
}

body.jm-body .offcanvas {
  background: var(--jm-white);
}

body.jm-body .offcanvas-header {
  border-bottom: var(--sp-hair);
}

body.jm-body .offcanvas-title {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

body.jm-body #product-grid .text-center.py-5 {
  padding-block: 5rem !important;
}

body.jm-body #product-grid .text-center.py-5 p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--jm-slate);
}

/* ---------- PDP ---------- */
body.jm-body .jm-pdp {
  padding-top: clamp(16px, 2vw, 28px);
}

body.jm-body .jm-pdp-gallery__stage.ratio {
  --bs-aspect-ratio: 125%;
  background: var(--jm-surface);
  border: 0;
  border-radius: var(--jm-radius-lg);
  overflow: hidden;
}

body.jm-body .jm-pdp-gallery__image,
body.jm-body .jm-pdp-gallery__stage img {
  object-fit: cover !important;
  border-radius: var(--jm-radius-lg) !important;
}

body.jm-body .jm-pdp-gallery__thumb {
  border-radius: var(--jm-radius) !important;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--jm-surface);
  width: 72px;
  aspect-ratio: 4 / 5;
  height: auto;
}

body.jm-body .jm-pdp-gallery__thumb img {
  object-fit: cover !important;
  border-radius: var(--jm-radius) !important;
  width: 100%;
  height: 100%;
}

body.jm-body .jm-pdp-gallery__thumb.is-active,
body.jm-body .jm-pdp-gallery__thumb.active {
  border-color: var(--jm-accent);
}

body.jm-body .jm-pdp-buybox__meta {
  font: var(--sp-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jm-gold);
}

body.jm-body .jm-pdp-buybox__title,
body.jm-body .jm-pdp h1.jm-pdp-buybox__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--jm-ink);
}

body.jm-body .jm-pdp-buybox__price,
body.jm-body .pdp-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  letter-spacing: 0.02em;
  color: var(--jm-ink);
}

body.jm-body .jm-pdp-buybox__stock {
  font: var(--sp-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.jm-body .jm-pdp-field__label {
  font: var(--sp-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jm-ink);
}

body.jm-body .jm-pdp-buybox__price-row,
body.jm-body .jm-pdp-buybox__options,
body.jm-body .jm-pdp-buybox__purchase {
  border-color: var(--jm-border);
}

/* Variant chips (btn-check + label) */
body.jm-body .btn-check + .btn,
body.jm-body .variant-radio + .btn {
  min-height: 44px;
  min-width: 52px;
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--jm-ink);
  border: 1px solid var(--jm-border);
  letter-spacing: 0.1em;
}

body.jm-body .btn-check:checked + .btn,
body.jm-body .variant-radio:checked + .btn {
  background: var(--jm-accent);
  border-color: var(--jm-accent);
  color: #fff;
}

body.jm-body .btn-check:disabled + .btn {
  color: var(--jm-muted);
  text-decoration: line-through;
  background: var(--jm-surface);
}

body.jm-body .btn-check:focus-visible + .btn {
  outline: 2px solid var(--jm-accent);
  outline-offset: 2px;
}

body.jm-body .jm-pdp-btn {
  min-height: 52px;
  border-radius: var(--jm-radius) !important;
}

body.jm-body .jm-pdp-btn.btn-floward::after {
  content: "\2192";
  font-size: 1rem;
  letter-spacing: 0;
}

body.jm-body .jm-pdp-wish__btn {
  border-radius: 50% !important;
  border: 1px solid var(--jm-accent);
  color: var(--jm-accent);
  background: transparent;
  width: 52px;
  height: 52px;
}

body.jm-body .jm-pdp-wish__btn:hover,
body.jm-body .jm-pdp-wish__btn.is-active {
  background: var(--jm-accent);
  color: #fff;
}

body.jm-body .jm-pdp-sticky {
  border-radius: 0;
  background: var(--jm-white);
  border-top: var(--sp-hair);
  box-shadow: 0 -6px 24px rgba(43, 26, 23, 0.08);
}

body.jm-body .jm-pdp-sticky--pill {
  border-radius: 0;
}

body.jm-body .jm-pdp-sticky__btn {
  border-radius: var(--jm-radius) !important;
}

body.jm-body .jm-pdp .accordion-item {
  border: 0;
  border-bottom: var(--sp-hair);
  background: transparent;
  margin-bottom: 0 !important;
}

body.jm-body .jm-pdp .accordion-item:first-child {
  border-top: var(--sp-hair);
}

body.jm-body .jm-pdp .accordion-button {
  background: transparent !important;
  color: var(--jm-ink) !important;
  box-shadow: none !important;
  font-family: var(--font-display);
  font-weight: 500 !important;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.15rem 0;
}

body.jm-body .jm-pdp .accordion-button:not(.collapsed) {
  color: var(--jm-accent) !important;
}

body.jm-body .jm-pdp .accordion-body {
  padding-inline: 0;
  color: var(--jm-slate) !important;
  line-height: 1.8;
}

body.jm-body .jm-pdp-section {
  border-color: var(--jm-border) !important;
}

body.jm-body .jm-pdp-review {
  border-bottom: var(--sp-hair);
  padding-block: 1.25rem;
}

body.jm-body .jm-pdp-specs th {
  font: var(--sp-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jm-slate);
}

/* ---------- PDP: subtitle, discount badge, rating, description, color, actions ---------- */
body.jm-body .jm-pdp-buybox__subtitle {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--jm-slate);
}

body.jm-body .jm-pdp-buybox__discount {
  font: var(--sp-label);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--jm-success);
  background: rgba(47, 125, 79, 0.1);
  padding: 0.3rem 0.65rem;
  white-space: nowrap;
}

body.jm-body .jm-pdp-buybox__stock {
  display: block;
  margin: 0.35rem 0 0;
}

body.jm-body .jm-pdp-buybox__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
}

body.jm-body .jm-pdp-buybox__stars {
  color: var(--jm-gold);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

body.jm-body .jm-pdp-buybox__rating-value {
  font-weight: 600;
  color: var(--jm-ink);
}

body.jm-body .jm-pdp-buybox__rating-count {
  font-size: 0.85rem;
  color: var(--jm-slate);
}

body.jm-body .jm-pdp-buybox__desc {
  margin: 1rem 0 0;
}

body.jm-body .jm-pdp-richtext {
  color: var(--jm-slate);
  line-height: 1.75;
}

body.jm-body .jm-pdp-richtext p {
  margin: 0 0 0.85rem;
}

body.jm-body .jm-pdp-richtext p:last-child {
  margin-bottom: 0;
}

body.jm-body .jm-pdp-richtext ul,
body.jm-body .jm-pdp-richtext ol {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
}

body.jm-body .jm-pdp-richtext li {
  margin-bottom: 0.35rem;
}

body.jm-body .jm-pdp-richtext h1,
body.jm-body .jm-pdp-richtext h2,
body.jm-body .jm-pdp-richtext h3,
body.jm-body .jm-pdp-richtext h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--jm-ink);
  margin: 0 0 0.5rem;
}

body.jm-body .jm-pdp-richtext a {
  color: var(--jm-accent);
}

body.jm-body .jm-pdp-richtext strong {
  color: var(--jm-ink);
}

body.jm-body .jm-pdp-buybox__color {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--jm-ink);
}

body.jm-body .jm-pdp-buybox__color-label {
  font: var(--sp-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jm-slate);
  margin-right: 0.35rem;
}

body.jm-body .jm-pdp-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

body.jm-body .jm-pdp-buybox__secondary-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.9rem;
}

body.jm-body .jm-pdp-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  background: transparent;
  padding: 0.4rem 0;
  min-height: 44px;
  font: var(--sp-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jm-ink);
  transition: color var(--jm-transition);
}

body.jm-body .jm-pdp-link-btn:hover {
  color: var(--jm-accent);
}

body.jm-body .jm-pdp-link-btn.is-active {
  color: var(--jm-accent);
}

body.jm-body .jm-pdp-specs-list {
  margin: 0;
}

body.jm-body .jm-pdp-specs-list__row {
  display: grid;
  grid-template-columns: minmax(140px, 240px) 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: var(--sp-hair);
}

body.jm-body .jm-pdp-specs-list__row dt {
  font: var(--sp-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jm-slate);
}

body.jm-body .jm-pdp-specs-list__row dd {
  margin: 0;
  color: var(--jm-ink);
}

@media (max-width: 575.98px) {
  body.jm-body .jm-pdp-specs-list__row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

body.jm-body .jm-pdp-buybox__sku {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--jm-muted);
}

body.jm-body .jm-pdp-video {
  border-radius: var(--jm-radius-lg);
  overflow: hidden;
  background: var(--jm-ink);
}

body.jm-body .jm-pdp-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.jm-body .jm-pdp-docs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body.jm-body .jm-pdp-docs-list__item {
  border-bottom: var(--sp-hair);
}

body.jm-body .jm-pdp-docs-list__item:first-child {
  border-top: var(--sp-hair);
}

body.jm-body .jm-pdp-docs-list__item a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 0;
  color: var(--jm-ink);
  text-decoration: none;
  transition: color var(--jm-transition);
}

body.jm-body .jm-pdp-docs-list__item a:hover {
  color: var(--jm-accent);
}

body.jm-body .modal-content {
  border: var(--sp-hair);
  background: var(--jm-white);
}

body.jm-body .modal-title {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

body.jm-body .modal-content.bg-black {
  background: #000;
  border: 0;
}

body.jm-body .table {
  --bs-table-bg: transparent;
  font-size: 0.9rem;
}

body.jm-body .table th {
  font: var(--sp-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jm-slate);
  background: var(--jm-cream);
}

/* ---------- Cart page, drawer, checkout ---------- */
body.jm-body .checkout-page {
  max-width: var(--sp-wide);
}

body.jm-body .cart-line__img-wrap,
body.jm-body .cart-line__img {
  border-radius: var(--jm-radius) !important;
  background: var(--jm-surface);
}

body.jm-body .cart-line__img {
  object-fit: cover;
}

body.jm-body .cart-line__name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jm-ink) !important;
  text-decoration: none;
}

body.jm-body .cart-line__meta {
  color: var(--jm-slate);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

body.jm-body .cart-page-line .fw-semibold,
body.jm-body .cart-summary-total,
body.jm-body .cart-summary-total * {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

body.jm-body .cart-summary-row {
  color: var(--jm-slate);
  font-size: 0.9375rem;
}

body.jm-body .cart-summary-total {
  border-top: var(--sp-hair);
  margin-top: 0.5rem;
  padding-top: 1rem;
  color: var(--jm-ink);
}

body.jm-body .btn-ghost.text-danger,
body.jm-body .text-danger .bi-trash,
body.jm-body .cart-page-line .text-danger {
  color: var(--jm-slate) !important;
}

body.jm-body .btn-ghost.text-danger:hover {
  color: #9b1c1c !important;
}

body.jm-body #cartDrawer,
body.jm-body .offcanvas-end {
  width: min(440px, 100vw);
}

body.jm-body .cart-drawer-footer {
  border-top: var(--sp-hair);
  background: var(--jm-white);
}

body.jm-body .cart-drawer-footer .btn {
  width: 100%;
}

body.jm-body .address-radio + label,
body.jm-body .form-check-label {
  cursor: pointer;
}

body.jm-body .checkout-step.mb-4,
body.jm-body .checkout-step {
  padding: clamp(18px, 2.2vw, 32px);
}

body.jm-body .checkout-step .h6,
body.jm-body .checkout-step h2 {
  padding-bottom: 0.8rem;
  border-bottom: var(--sp-hair);
  margin-bottom: 1.25rem;
}

body.jm-body .text-slate-800,
body.jm-body .text-slate-900,
body.jm-body .text-dark {
  color: var(--jm-ink) !important;
}

/* ---------- Account / auth ---------- */
body.jm-body .page-container .row.justify-content-center > [class*="col-md"] > .card,
body.jm-body .page-container > .card {
  padding: clamp(24px, 3vw, 44px) !important;
}

body.jm-body .card .section-title,
body.jm-body .card h1.section-title {
  margin-bottom: 1.25rem;
}

body.jm-body .otp-digit-field {
  border-radius: var(--jm-radius) !important;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  min-height: 56px;
}

body.jm-body .list-group-item {
  border-color: var(--jm-border);
  background: transparent;
}

body.jm-body .text-decoration-none.text-floward,
body.jm-body a.text-floward {
  font-weight: 500;
}

/* ---------- Orders ---------- */
body.jm-body .tracking-step {
  border-color: var(--jm-border);
}

body.jm-body .tracking-step.is-complete::before,
body.jm-body .tracking-step.is-current::before {
  background: var(--jm-accent);
  border-color: var(--jm-accent);
}

body.jm-body .fw-bold {
  font-weight: 600 !important;
}

/* ---------- Search suggestions ---------- */
body.jm-body .jm-search-suggest,
body.jm-body .search-suggestions {
  border-radius: var(--jm-radius);
  border: var(--sp-hair);
  box-shadow: var(--jm-shadow);
  background: var(--jm-white);
}

/* ---------- Static / 404 ---------- */
body.jm-body .page-container.py-5.d-flex .text-center h1,
body.jm-body .page-container .text-center.py-5 h1 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.jm-body .accordion:not(.jm-pdp .accordion) .accordion-item {
  border: 0;
  border-bottom: var(--sp-hair);
  background: transparent;
}

body.jm-body .accordion:not(.jm-pdp .accordion) .accordion-button {
  background: transparent;
  box-shadow: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--jm-ink);
}

body.jm-body .accordion:not(.jm-pdp .accordion) .accordion-button:not(.collapsed) {
  color: var(--jm-accent);
}

/* ---------- Footer ---------- */
body.jm-body .site-footer.jm-footer {
  background: var(--jm-accent) !important;
  color: rgba(254, 253, 250, 0.78) !important;
  padding: clamp(40px, 5vw, 72px) 0 1.5rem !important;
  border-top: 0;
}

body.jm-body .jm-footer .container {
  max-width: var(--sp-wide);
  padding-inline: clamp(16px, 2.4vw, 40px);
}

body.jm-body .jm-footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

body.jm-body .jm-footer__grid:has(.jm-footer__contact) {
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(130px, 1fr));
}

body.jm-body .jm-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body.jm-body .jm-footer__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--jm-white);
}

body.jm-body .jm-footer__logo a {
  display: flex !important;
  flex-direction: column;
  gap: 0.7rem;
  color: var(--jm-white) !important;
}

body.jm-body .jm-footer__logo img {
  width: auto;
  height: 56px;
  max-width: 180px;
  padding: 8px 12px;
  background: var(--jm-white);
  border-radius: 0;
  object-fit: contain;
}

body.jm-body .jm-footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(254, 253, 250, 0.72);
  margin: 0;
  max-width: 24rem;
}

body.jm-body .jm-footer h6 {
  font: var(--sp-label);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--jm-sand) !important;
  margin: 0 0 1.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(254, 253, 250, 0.16);
}

body.jm-body .jm-footer a {
  display: block;
  color: rgba(254, 253, 250, 0.78);
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  padding: 0.32rem 0;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

body.jm-body .jm-footer a:hover,
body.jm-body .jm-footer a:focus-visible {
  color: #fff;
  padding-left: 4px;
  outline-color: var(--jm-sand);
}

body.jm-body .jm-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

body.jm-body .jm-footer__social a {
  font: var(--sp-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-left: 0;
}

body.jm-body .jm-footer__contact p,
body.jm-body .jm-footer .jm-locations__body {
  margin: 0 0 0.4rem;
  color: rgba(254, 253, 250, 0.9);
}

body.jm-body .jm-footer .footer-copy {
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(254, 253, 250, 0.16);
  font: var(--sp-label);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(254, 253, 250, 0.6);
}

@media (max-width: 991.98px) {
  body.jm-body .jm-footer__grid,
  body.jm-body .jm-footer__grid:has(.jm-footer__contact) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.jm-body .jm-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  body.jm-body .jm-footer__grid {
    gap: 28px 20px;
  }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  body.jm-body .jm-product-card__media img,
  body.jm-body .btn,
  body.jm-body .jm-footer a {
    transition: none;
  }

  body.jm-body .jm-product-card:hover .jm-product-card__img-main {
    transform: none;
  }
}

/* Lining numerals for serif prices */
body.jm-body .jm-product-card .product-price,
body.jm-body .jm-product-card__was,
body.jm-body .pdp-price,
body.jm-body .jm-pdp-buybox__price,
body.jm-body .cart-page-line .fw-semibold,
body.jm-body .cart-summary-row,
body.jm-body .cart-summary-total,
body.jm-body .checkout-step .fw-bold,
body.jm-body .card .fw-bold {
  font-variant-numeric: lining-nums;
}

/* PDP refinements */
body.jm-body .jm-pdp-gallery__stage.ratio {
  padding: 0 !important;
}

body.jm-body .jm-pdp-gallery__stage .jm-pdp-gallery__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  max-width: none;
}

body.jm-body .jm-pdp .accordion-item.border {
  border: 0 !important;
  border-bottom: var(--sp-hair) !important;
  background: transparent !important;
}

body.jm-body .jm-pdp .accordion-item.border:first-child {
  border-top: var(--sp-hair) !important;
}

body.jm-body .jm-pdp .jm-pdp-section > h2.section-title,
body.jm-body .jm-pdp .section-title.h5 {
  width: 100%;
}

@media (max-width: 991.98px) {
  body.jm-body .plp-page .jm-plp-toolbar {
    position: static;
    background: none;
    backdrop-filter: none;
    margin: 0 0 1.5rem;
    padding: 0;
  }
}

/* Orders list, footer brand */
body.jm-body .jm-order-row {
  background: var(--jm-cream);
}

body.jm-body .jm-order-row:hover {
  border-color: var(--jm-gold) !important;
}

body.jm-body .jm-order-row .badge {
  white-space: normal;
  text-align: left;
}

body.jm-body .jm-order-row .btn {
  width: 100%;
}

body.jm-body .jm-footer__logo a,
body.jm-body .jm-footer__logo a span {
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  padding: 0;
}

/* Narrow reading measure + 404 */
body.jm-body .page-container.jm-narrow {
  max-width: 960px;
}

body.jm-body .jm-eyebrow {
  font: var(--sp-label);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--jm-gold);
  margin-bottom: 0.75rem;
}

body.jm-body .btn-light {
  background: transparent;
  border: 1px solid var(--jm-border);
  color: var(--jm-ink);
}

body.jm-body .btn-light:hover {
  border-color: var(--jm-accent);
  color: var(--jm-accent);
  background: transparent;
}

body.jm-body .btn.justify-content-between {
  letter-spacing: 0.1em;
  gap: 0.5rem;
  text-align: left;
}

@media (max-width: 400px) {
  body.jm-body .btn.justify-content-between {
    font-size: 0.6875rem;
    padding-inline: 0.9rem !important;
  }
}

/* ---------- Shared centered section heading (ornament + hairlines) ---------- */
.hm-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  margin-bottom: clamp(14px, 2.2vw, 28px);
}

.hm-head__heading {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hm-head__lotus {
  width: clamp(18px, 2vw, 26px);
  height: clamp(18px, 2vw, 26px);
  margin-bottom: 4px;
  color: var(--jm-gold);
}

body.jm-body .hm-head__title {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 32px);
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--jm-ink);
}

.hm-head__title::before,
.hm-head__title::after {
  content: "";
  flex: 0 0 clamp(24px, 7.8vw, 110px);
  height: 1px;
  background: var(--jm-border);
}

.hm-head__subtitle {
  margin: 6px 0 0;
  font-family: var(--font-sans);
  font-size: clamp(0.58rem, 0.98vw, 0.72rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jm-slate);
}


@media (max-width: 767.98px) {
  /* Single row, left title / right "View all" — matches every other
     compact app-style section header instead of the desktop's centered,
     hairline-flanked treatment (which wraps awkwardly at narrow widths). */
  .hm-head {
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 10px;
  }

  .hm-head__heading {
    grid-column: 1;
    align-items: flex-start;
    text-align: left;
    min-width: 0;
  }

  .hm-head__lotus {
    display: none;
  }

  body.jm-body .hm-head__title {
    gap: 0;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hm-head__title::before,
  .hm-head__title::after {
    display: none;
  }

  .hm-head__subtitle {
    text-align: left;
  }
}

/* ---------- Testimonials ---------- */
.hm-testi {
  padding-block: clamp(24px, 4vw, 56px);
  background: var(--jm-cream);
}

.hm-testi__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-testi__item {
  min-width: 0;
}

.hm-testi__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: clamp(20px, 2.4vw, 34px);
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
}

.hm-testi__mark {
  width: 28px;
  height: 21px;
  margin-bottom: 14px;
  color: var(--jm-gold);
}

.hm-testi__quote {
  flex: 1;
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.3vw, 1.25rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--jm-ink);
}

.hm-testi__stars {
  margin: 0 0 14px;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--jm-gold);
}

.hm-testi__who {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--jm-border-light);
}

.hm-testi__avatar {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--jm-surface);
}

.hm-testi__avatar--initial {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  background: var(--jm-accent);
}

.hm-testi__id {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hm-testi__name {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jm-ink);
}

.hm-testi__place {
  margin-top: 2px;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--jm-slate);
}

@media (max-width: 991.98px) {
  .hm-testi__row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .hm-testi__item {
    flex: 0 0 min(84%, 340px);
    scroll-snap-align: start;
  }
}

/* ---------- Video (full-bleed) ---------- */
.hm-video {
  padding-top: clamp(24px, 4vw, 56px);
  background: var(--jm-white);
}

.hm-video__frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 100vh;
  max-height: 100svh;
  background: #000;
}

.hm-video__player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* category listing page: optional italic tagline under the title */
.jm-page-tagline {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--jm-slate);
  text-align: center;
}

/* ---------- "View all" link in the shared section heading ---------- */
.hm-head__all {
  grid-column: 3;
  justify-self: end;
  padding-block: 12px;
  font-family: var(--font-sans);
  font-size: clamp(0.62rem, 1.05vw, 0.76rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jm-ink);
  text-decoration: none;
  white-space: nowrap;
}

.hm-head__all:hover,
.hm-head__all:focus-visible {
  color: var(--jm-accent);
}

@media (max-width: 767.98px) {
  .hm-head__all {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    flex-shrink: 0;
    padding-block: 0;
    font-size: 0.68rem;
  }
}

/* ---------- Homepage product rails (new arrivals / featured / best sellers) ---------- */
.hm-rail {
  padding-block: clamp(20px, 3.6vw, 52px) clamp(12px, 2vw, 28px);
  background: var(--jm-white);
}

.hm-rail .jm-featured__rail {
  position: relative;
}

/* ---------- Product spotlight (flagged product's compact PDP-preview banner) ----------
   iOS-soft treatment: big continuous corners, diffused elevation shadows, pill controls,
   soft-filled icon tiles. Scoped entirely under .jm-spotlight so the real PDP page (which
   shares some of the same underlying classes, e.g. .jm-pdp-btn) is never affected. */
.jm-spotlight {
  padding-block: clamp(14px, 2.2vw, 30px);
  background: var(--jm-white);
}

.jm-spotlight__banner {
  display: flex;
  align-items: stretch;
  border-radius: var(--jm-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 48px -20px rgba(26, 10, 8, 0.28), 0 6px 18px -10px rgba(26, 10, 8, 0.14);
}

.jm-spotlight__media {
  position: relative;
  flex: 0 0 42%;
  min-width: 0;
  min-height: 260px;
  background: var(--jm-surface);
  padding: 10px;
}

/* The stage is pulled out of the thumb-rail/stage flex row entirely and
   pinned directly to .jm-spotlight__media (its nearest positioned ancestor)
   with explicit pixel insets — 64px reserves the 48px thumb rail + 16px
   gap. This is deliberately NOT a height:100% percentage chain through
   .jm-pdp-gallery: percentage heights nested several levels through flex
   containers are unreliable across browsers (notably Safari/iOS), which is
   what made the image collapse to zero height here. Explicit inset values
   have no such ambiguity — top/bottom:0 against a definite-height ancestor
   always resolves. */
.jm-spotlight__media .jm-pdp-gallery__stage {
  position: absolute;
  inset: 0 0 0 64px;
  height: auto;
}

.jm-spotlight__media .jm-pdp-gallery__stage.ratio::before {
  display: none;
}

.jm-spotlight__media .jm-pdp-gallery__image {
  position: absolute;
  inset: 0;
  padding: 0;
  object-fit: cover !important;
  border-radius: 0 !important;
}

/* The real PDP page has its own @media(max-width:767.98px) rule (line ~1310)
   that flips this same gallery to a horizontal thumb strip above the image
   — correct there, but it was silently winning inside the spotlight banner
   too (same shared classes) since nothing here contested flex-direction.
   Pin the vertical left-rail layout so it holds at every width the
   spotlight itself uses. */
.jm-spotlight__media .jm-pdp-gallery {
  flex-direction: row;
}

.jm-spotlight__media .jm-pdp-gallery__thumb-rail {
  position: relative;
  z-index: 1;
  flex-direction: column;
  flex: 0 0 auto;
  width: auto;
  height: 100%;
}

.jm-spotlight__media .jm-pdp-gallery__thumbs {
  flex-direction: column;
  width: auto;
  max-height: 100%;
  overflow-x: visible;
  overflow-y: auto;
}

.jm-spotlight__media .jm-pdp-gallery__thumb {
  width: 48px !important;
  height: 60px !important;
  border-radius: var(--jm-radius-sm) !important;
}

.jm-spotlight__info {
  position: relative;
  flex: 1 1 58%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.32rem;
  padding: clamp(14px, 2vw, 28px) clamp(20px, 3vw, 44px);
  background: linear-gradient(135deg, var(--jm-cream) 0%, var(--jm-accent-soft) 100%);
}

.jm-spotlight__flourish {
  position: absolute;
  top: -14px;
  right: -14px;
  width: clamp(90px, 10vw, 150px);
  height: clamp(90px, 10vw, 150px);
  color: var(--jm-gold);
  opacity: 0.12;
  pointer-events: none;
}

.jm-spotlight__flourish .siri-icon {
  width: 100%;
  height: 100%;
  stroke-width: 0.6;
}

.jm-spotlight__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0;
  font: var(--sp-label, 500 0.6875rem/1.3 var(--font-sans));
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--jm-gold);
  padding-right: 1.5rem;
}

.jm-spotlight__eyebrow::after {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--jm-gold);
  vertical-align: middle;
  margin-left: 0.6rem;
}

.jm-spotlight__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.25rem, 1.9vw, 1.8rem);
  line-height: 1.15;
  color: var(--jm-ink);
}

.jm-spotlight__colorname {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--jm-slate);
}

.jm-spotlight__desc {
  position: relative;
  z-index: 1;
  margin: 0.2rem 0 0;
  max-width: 46ch;
  color: var(--jm-slate);
  line-height: 1.5;
  font-size: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jm-spotlight__price {
  position: relative;
  z-index: 1;
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 700;
  color: var(--jm-accent);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.jm-spotlight__was {
  font-size: 0.8rem;
  font-weight: 400;
  font-family: var(--font-sans);
  color: var(--jm-muted);
  text-decoration: line-through;
}

.jm-spotlight__highlights {
  position: relative;
  z-index: 1;
  display: flex;
  gap: clamp(0.6rem, 1.4vw, 1.25rem);
  margin-top: 0.4rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(74, 9, 8, 0.1);
}

.jm-spotlight__highlight {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.jm-spotlight__highlight-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(184, 137, 59, 0.14);
  color: var(--jm-gold);
}

.jm-spotlight__highlight-icon .siri-icon {
  width: 14px;
  height: 14px;
}

.jm-spotlight__highlight-label {
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--jm-ink);
}

.jm-spotlight__options {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-top: 0.35rem;
}

.jm-spotlight__field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.jm-spotlight__field-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--jm-ink);
}

.jm-spotlight__swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(26, 10, 8, 0.2);
  box-shadow: 0 0 0 2px var(--jm-white);
}

/* Segmented control: soft track, floating white block on the active size */
.jm-spotlight__sizes {
  display: flex;
  gap: 2px;
  padding: 2px;
  background: rgba(26, 10, 8, 0.06);
  border-radius: 999px;
}

.jm-spotlight__size {
  min-width: 34px;
  height: 28px;
  padding: 0 0.55rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--jm-ink);
  transition: all var(--jm-transition);
}

.jm-spotlight__size:hover:not(:disabled):not(.is-active) {
  color: var(--jm-accent);
}

.jm-spotlight__size.is-active {
  background: var(--jm-white);
  color: var(--jm-accent);
  box-shadow: 0 2px 6px rgba(26, 10, 8, 0.18);
}

.jm-spotlight__size.is-oos,
.jm-spotlight__size:disabled {
  color: var(--jm-muted);
  text-decoration: line-through;
  cursor: not-allowed;
}

.jm-spotlight__actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 0.6rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.jm-spotlight__form {
  flex: 1 1 150px;
}

.jm-spotlight__form .jm-pdp-btn {
  width: 100%;
  min-height: 44px;
  border-radius: var(--jm-radius) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.jm-spotlight__form .jm-pdp-btn.jm-pdp-btn--primary {
  box-shadow: 0 10px 22px -8px rgba(74, 9, 8, 0.55);
}

.jm-spotlight__secondary-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.4rem;
}

.jm-spotlight__secondary-actions .jm-pdp-link-btn {
  font-size: 0.72rem;
}

.jm-spotlight__wish-form .jm-pdp-link-btn {
  font: inherit;
}

@media (max-width: 991.98px) {
  .jm-spotlight__banner {
    flex-direction: column;
    border-radius: 0;
  }

  .jm-spotlight__media {
    /* Explicit length, not aspect-ratio — aspect-ratio combined with
       flex-grow in a column flex container can resolve to a collapsed
       height, which made the image invisible here. A definite height
       always gives the .jm-pdp-gallery height:100% chain something real
       to fill. */
    flex: 0 0 auto;
    width: 100%;
    height: 68vw;
    max-height: 320px;
    padding: 8px;
  }

  .jm-spotlight__info {
    flex: 1 1 auto;
  }

  .jm-spotlight__flourish {
    display: none;
  }
}

/* ---------- Memories gallery (focused centre photo, snap-scrolling row) ---------- */
.hm-mem {
  padding-block: clamp(24px, 4vw, 56px);
  background: var(--jm-accent-soft);
  overflow: hidden;
}

.hm-mem__stage {
  position: relative;
}

.hm-mem__track {
  --mem-w: clamp(150px, 17vw, 290px);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  margin: 0;
  padding: clamp(20px, 3vw, 44px) calc(50% - var(--mem-w) / 2);
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hm-mem__track::-webkit-scrollbar {
  display: none;
}

.hm-mem__track:focus-visible {
  outline: 2px solid var(--jm-accent);
  outline-offset: -2px;
}

.hm-mem__item {
  flex: 0 0 var(--mem-w);
  scroll-snap-align: center;
  transform: scale(0.68);
  opacity: 0.7;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.hm-mem__item[data-dist="0"] {
  z-index: 2;
  transform: scale(1.1);
  opacity: 1;
}

.hm-mem__item[data-dist="1"] {
  transform: scale(0.88);
  opacity: 0.95;
}

.hm-mem__item[data-dist="2"] {
  transform: scale(0.76);
  opacity: 0.85;
}

.hm-mem__card {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--jm-surface);
}

.hm-mem__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.hm-mem__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 32px 12px 12px;
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  letter-spacing: 0.06em;
  text-align: center;
  color: #fff;
  background: linear-gradient(transparent, rgba(26, 10, 8, 0.72));
}

.hm-mem__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--jm-ink);
  background: rgba(254, 253, 250, 0.82);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.hm-mem__arrow svg {
  width: 20px;
  height: 20px;
}

.hm-mem__arrow--prev {
  left: clamp(8px, 2vw, 32px);
}

.hm-mem__arrow--next {
  right: clamp(8px, 2vw, 32px);
}

.hm-mem__arrow:hover:not(:disabled) {
  background: #fff;
}

.hm-mem__arrow:focus-visible {
  outline: 2px solid var(--jm-accent);
  outline-offset: 2px;
}

.hm-mem__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.hm-mem:not(.is-ready) .hm-mem__arrow,
.hm-mem:not(.is-ready) .hm-mem__dashes {
  display: none;
}

.hm-mem__dashes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 4px;
}

.hm-mem__dash {
  position: relative;
  width: 40px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.hm-mem__dash::before {
  content: "";
  position: absolute;
  inset: 50% 6px auto;
  height: 2px;
  background: rgba(74, 9, 8, 0.25);
  transition: background 0.2s ease;
}

.hm-mem__dash.is-active::before {
  background: var(--jm-accent);
}

.hm-mem__dash:focus-visible {
  outline: 2px solid var(--jm-accent);
  outline-offset: -2px;
}

@media (max-width: 991.98px) {
  .hm-mem__track {
    --mem-w: 30vw;
  }
}

@media (max-width: 575.98px) {
  .hm-mem__track {
    --mem-w: 58vw;
  }

  .hm-mem__arrow {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-mem__item {
    transition: none;
  }
}
