/* Scentfind storefront — luxury SEO layout */

body.sfe-petra-launch .fm-site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: #fff;
  box-shadow: 0 1px 0 #ead7f0, 0 16px 40px rgba(36,16,47,.05);
}
body.sfe-petra-launch .fm-header-main {
  position: relative !important;
  top: auto !important;
}
body.sfe-petra-launch .fm-header-nav {
  background: #fff;
  border-bottom: 1px solid #ead7f0;
}
.fm-filter-sidebar {
  top: 148px !important;
}

.sfe-menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  color: #24102f;
  font-family: Outfit, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 4px;
}
.sfe-menu-bars {
  width: 18px;
  height: 12px;
  display: inline-block;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: currentColor;
  background-clip: content-box;
  padding: 5px 0;
  box-sizing: border-box;
}

.sfe-logo {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  line-height: 1;
}
.sfe-logo img {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 40px;
}
.sfe-logo span,
body.sfe-petra-launch .fm-header-logo a.sfe-logo span,
body.sfe-petra-launch .sfe-logo span {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: italic;
  font-weight: 600 !important;
  font-size: 30px !important;
  letter-spacing: 0 !important;
  color: #24102f !important;
  text-transform: none !important;
}
.sfe-logo--footer span { font-size: 26px !important; }
.sfe-why {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 8px 0 10px;
}
.sfe-why div {
  padding: 16px;
  border: 1px solid #ead7f0;
  border-radius: 16px;
  background: #fff;
}
.sfe-why strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: #24102f;
  margin-bottom: 6px;
}
.sfe-why p { margin: 0; color: #6b7280; font-size: .88rem; line-height: 1.45; }
.sfe-launch-trio { padding: 10px 0 8px; }
.sfe-shop-tile em {
  margin-top: auto;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b2d8b;
}
@media (max-width: 1100px) {
  .sfe-why { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sfe-why { grid-template-columns: 1fr; }
  .sfe-logo span { font-size: 24px !important; }
  .sfe-logo img { width: 32px; height: 32px; flex-basis: 32px; }
}

.fm-nav-menu li.sfe-has-sub {
  position: relative;
}
.sfe-sub {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #ead7f0;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(36,16,47,.12);
  z-index: 40;
}
.sfe-sub--wide {
  min-width: 280px;
  display: none;
  grid-template-columns: 1fr 1fr;
  padding: 10px 8px;
}
.sfe-sub a {
  text-transform: none !important;
  letter-spacing: .02em !important;
  font-weight: 500 !important;
  padding: 8px 16px !important;
}
.sfe-sub a::after { display: none !important; }
.fm-nav-menu li.sfe-has-sub:hover > .sfe-sub,
.fm-nav-menu li.sfe-has-sub:focus-within > .sfe-sub {
  display: block;
}
.fm-nav-menu li.sfe-has-sub:hover > .sfe-sub--wide,
.fm-nav-menu li.sfe-has-sub:focus-within > .sfe-sub--wide {
  display: grid;
}

.sfe-store-head {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px clamp(1rem, 4vw, 2rem) 0;
}
.sfe-bc ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  font-size: 13px;
  color: #6b7280;
}
.sfe-bc li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: #c4b3ce;
}
.sfe-bc a { color: #6b2d8b; text-decoration: none; }
.sfe-kicker {
  margin: 0 0 8px;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6b2d8b;
}
.sfe-home-intro,
.sfe-archive-intro {
  padding: 22px 0 8px;
}
.sfe-home-intro h1,
.sfe-archive-intro h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.1;
  color: #24102f;
  margin: 0 0 12px;
}
.sfe-lede {
  max-width: 46rem;
  margin: 0;
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.6;
}
.sfe-lede a { color: #6b2d8b; }

.sfe-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  color: #24102f;
  font-size: 13px;
  font-weight: 600;
}
.sfe-trust-row li {
  position: relative;
  padding-left: 14px;
}
.sfe-trust-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6b2d8b;
}

.sfe-grid-head {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #24102f;
  margin: 8px 0 4px;
  padding: 0 clamp(1rem, 4vw, 2rem);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.sfe-brand-strip {
  padding: 18px 0 8px;
}
.sfe-brand-strip-head h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.6rem;
  margin: 0 0 14px;
  color: #24102f;
}
.sfe-brand-strip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sfe-brand-strip-list a {
  display: block;
  padding: 8px 14px;
  border: 1px solid #ead7f0;
  border-radius: 999px;
  text-decoration: none;
  color: #24102f;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
}
.sfe-brand-strip-list a:hover {
  background: #6b2d8b;
  border-color: #6b2d8b;
  color: #fff;
}

.sfe-shop-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 0 8px;
}
.sfe-shop-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f7eef5);
  border: 1px solid #ead7f0;
  text-decoration: none;
  color: inherit;
  min-height: 110px;
}
.sfe-shop-tile strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  color: #24102f;
}
.sfe-shop-tile span { font-size: .88rem; color: #6b7280; line-height: 1.4; }
.sfe-shop-tile:hover { border-color: #6b2d8b; }

.sfe-home-faq {
  max-width: 780px;
  margin: 8px auto 48px;
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.sfe-home-faq h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.8rem;
  color: #24102f;
  margin: 0 0 14px;
}
.sfe-home-faq details {
  background: #fff;
  border: 1px solid #ead7f0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
}
.sfe-home-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #24102f;
}
.sfe-home-faq p { margin: 8px 0 0; color: #4b5563; line-height: 1.55; }

.fm-archive-top-section {
  display: none !important;
}

.fm-product-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin: 0 0 6px !important;
}
.sfe-archive-wrap .sfe-grid-head {
  padding: 18px 0 0;
  max-width: none;
}
body.sfe-petra-launch .fm-footer-logo {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: italic;
  font-weight: 600 !important;
  font-size: 28px !important;
  letter-spacing: 0 !important;
  color: #24102f !important;
  text-transform: none !important;
}

body.sfe-petra-launch .fm-nav-menu li a:hover,
body.sfe-petra-launch .fm-action-link:hover {
  color: #6b2d8b !important;
}
body.sfe-petra-launch .fm-nav-menu li a::after,
body.sfe-petra-launch .fm-header-cart-count {
  background-color: #6b2d8b !important;
}
body.sfe-petra-launch .fm-header-search .fm-autocomplete-input:focus {
  border-color: #6b2d8b !important;
  box-shadow: 0 0 0 3px rgba(107,45,139,.14) !important;
}

.fm-footer-grid {
  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 1100px) {
  .sfe-shop-tiles { grid-template-columns: 1fr 1fr; }
  .fm-footer-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 991px) {
  .sfe-menu-toggle { display: inline-flex; }
  .fm-header-main-inner {
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    align-items: center !important;
    gap: 10px !important;
  }
  .fm-header-logo { text-align: center !important; }
  .fm-header-search {
    grid-column: 1 / -1;
    max-width: none;
    width: 100% !important;
  }
  .fm-header-actions { width: auto !important; gap: 12px !important; }
  .fm-action-text { display: none; }

  .fm-header-nav {
    display: none !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff !important;
    border-bottom: 1px solid #ead7f0 !important;
    padding: 8px 16px 20px !important;
    overflow: auto !important;
    max-height: min(72vh, 560px);
    z-index: 80;
  }
  body.sfe-nav-open .fm-header-nav {
    display: block !important;
  }
  .fm-header-nav-inner,
  .fm-nav-menu {
    display: block !important;
    width: 100% !important;
    flex-wrap: wrap !important;
  }
  .fm-nav-menu {
    gap: 0 !important;
  }
  .fm-nav-menu > li {
    display: block !important;
    border-bottom: 1px solid #f3eaf7;
  }
  .sfe-sub,
  .sfe-sub--wide {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
    grid-template-columns: 1fr;
  }
  .fm-nav-menu li.sfe-has-sub.is-open > .sfe-sub,
  .fm-nav-menu li.sfe-has-sub.is-open > .sfe-sub--wide {
    display: block;
  }
}

@media (max-width: 640px) {
  .sfe-shop-tiles { grid-template-columns: 1fr; }
  .fm-footer-grid { grid-template-columns: 1fr !important; }
  .sfe-rail-grid { grid-template-columns: 1fr 1fr; }
  .sfe-journal-grid { grid-template-columns: 1fr; }
}

/* Homepage (not a product archive) */
.sfe-home-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px clamp(1rem, 4vw, 2rem) 48px;
}
.sfe-rail {
  padding: 28px 0 8px;
}
.sfe-rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.sfe-rail-head h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.8rem;
  margin: 0 0 4px;
  color: #24102f;
}
.sfe-rail-head p {
  margin: 0;
  color: #6b7280;
  font-size: .95rem;
}
.sfe-rail-more {
  color: #6b2d8b;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.sfe-rail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sfe-rail-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #ead7f0;
  border-radius: 16px;
  padding: 10px 10px 14px;
  min-height: 100%;
}
.sfe-rail-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #faf7fb;
  border-radius: 10px;
}
.sfe-rail-card .fm-product-title {
  font-size: 14px !important;
  font-weight: 600;
  color: #24102f;
}
.sfe-journal-rail { padding: 28px 0 8px; }
.sfe-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sfe-journal-grid a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  border: 1px solid #ead7f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  padding-bottom: 14px;
}
.sfe-journal-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.sfe-journal-grid strong {
  padding: 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #24102f;
}
.sfe-journal-grid span {
  padding: 0 14px;
  font-size: 12px;
  color: #6b7280;
}
.sfe-home-cta {
  text-align: center;
  margin: 28px 0 8px;
}
.sfe-home-cta .sfe-btn-viola {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: #6b2d8b;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.sfe-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px clamp(1rem, 4vw, 2rem) 64px;
}
.sfe-page-head h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #24102f;
  margin: 12px 0 18px;
}
.sfe-page-body {
  color: #374151;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .sfe-rail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .sfe-rail-grid { grid-template-columns: 1fr 1fr; }
  .sfe-journal-grid { grid-template-columns: 1fr; }
}

/* Catalog archives */
.sfe-catalog.fm-search-filter-container {
  gap: 28px;
  margin: 8px auto 48px;
  padding: 0 8px;
  max-width: 1240px;
  align-items: start;
}
.sfe-filter-toggle {
  display: none;
}
.sfe-catalog .fm-filter-sidebar {
  width: 250px;
  border: 1px solid #ead7f0 !important;
  border-radius: 18px !important;
  padding: 20px 18px !important;
  box-shadow: none !important;
  top: 148px !important;
  background: #fff !important;
}
.sfe-catalog .fm-filter-group h3 {
  color: #24102f !important;
  border-bottom-color: #ead7f0 !important;
  letter-spacing: .12em !important;
  font-size: 11px !important;
}
.sfe-catalog .fm-checkbox-label:hover,
.sfe-catalog .fm-checkbox-label input { accent-color: #6b2d8b !important; }
.sfe-catalog .fm-checkbox-label:hover { color: #6b2d8b !important; }
.sfe-catalog .fm-brand-search,
.sfe-catalog .fm-tf-search-input {
  border-color: #ead7f0 !important;
  background: #faf7fb !important;
  border-radius: 10px !important;
}
.sfe-catalog .fm-brand-search:focus,
.sfe-catalog .fm-tf-search-input:focus {
  border-color: #6b2d8b !important;
  box-shadow: 0 0 0 3px rgba(107,45,139,.12) !important;
}
.sfe-archive-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 18px;
}
.sfe-archive-toolbar .fm-top-search-wrapper {
  flex: 1 1 240px;
}
.sfe-catalog .fm-search-input {
  width: 100%;
  border: 1px solid #ead7f0;
  border-radius: 999px;
  padding: 12px 18px;
  font-family: Outfit, sans-serif;
  font-size: 14px;
}
.sfe-catalog .fm-search-input:focus {
  outline: none;
  border-color: #6b2d8b;
  box-shadow: 0 0 0 3px rgba(107,45,139,.12);
}
.fm-results-count {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
}
.sfe-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #24102f;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sfe-sort select {
  font-family: Outfit, sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  border: 1px solid #ead7f0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: #24102f;
}
.sfe-catalog .fm-product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px !important;
}
.sfe-catalog .fm-product-card {
  background: #fff;
  border: 1px solid #ead7f0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.sfe-catalog .fm-product-card:hover {
  border-color: #6b2d8b;
  box-shadow: 0 16px 40px rgba(36,16,47,.08);
  transform: translateY(-2px);
}
.sfe-catalog .fm-product-image {
  background: linear-gradient(180deg, #faf7fb, #f3eaf7) !important;
}
.sfe-catalog .fm-product-image img {
  object-fit: contain !important;
  padding: 10px;
  box-sizing: border-box;
}
.sfe-catalog .fm-product-card:hover .fm-product-image img {
  transform: none;
}
.sfe-catalog .fm-product-brand { color: #6b2d8b !important; }
.sfe-catalog .fm-product-title {
  height: auto !important;
  min-height: 2.6em;
  color: #24102f !important;
}
.sfe-catalog .fm-product-price { color: #24102f !important; }
.sfe-catalog .fm-quick-add-btn {
  width: calc(100% - 20px);
  margin: 0 10px 12px;
  border-radius: 999px !important;
  background: #6b2d8b !important;
  border: 0 !important;
  letter-spacing: .08em;
}
.sfe-catalog .fm-card-action-row {
  margin-top: auto;
  border: 0;
  padding: 0;
}

@media (max-width: 1100px) {
  .sfe-catalog .fm-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .sfe-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 8px 8px;
    padding: 10px 16px;
    border: 1px solid #ead7f0;
    border-radius: 999px;
    background: #fff;
    color: #24102f;
    font-family: Outfit, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .sfe-catalog .fm-filter-sidebar {
    display: none;
    width: 100% !important;
    position: static !important;
    max-height: none !important;
  }
  body.sfe-filters-open .sfe-catalog .fm-filter-sidebar {
    display: block;
  }
  .sfe-catalog .fm-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
