/* Petra Viola launch campaign — Scentfind */

:root {
  --sfe-viola: #6b2d8b;
  --sfe-viola-deep: #3a1454;
  --sfe-viola-ink: #24102f;
  --sfe-cotton: #f7c9dc;
  --sfe-blush: #f4e6ef;
  --sfe-serif: "Cormorant Garamond", "Times New Roman", serif;
  --sfe-sans: "Outfit", "Segoe UI", system-ui, sans-serif;
}

body.sfe-petra-launch {
  font-family: var(--sfe-sans);
}

body.sfe-petra-launch .fm-top-bar {
  background: linear-gradient(90deg, #3a1454, #6b2d8b 42%, #b84a8a 72%, #3a1454) !important;
  color: #fff !important;
}

body.sfe-petra-launch .fm-header-logo a,
body.sfe-petra-launch .fm-nav-menu a:hover,
body.sfe-petra-launch .fm-action-link:hover,
body.sfe-petra-launch .fm-product-price,
body.sfe-petra-launch .fm-product-brand,
body.sfe-petra-launch a.fm-quick-add-btn,
body.sfe-petra-launch .fm-checkbox-label:hover {
  color: var(--sfe-viola) !important;
}

body.sfe-petra-launch .fm-quick-add-btn,
body.sfe-petra-launch .button.ajax_add_to_cart,
body.sfe-petra-launch .single_add_to_cart_button,
body.sfe-petra-launch button[name="add-to-cart"] {
  background: var(--sfe-viola) !important;
  border-color: var(--sfe-viola) !important;
  color: #fff !important;
}

body.sfe-petra-launch .fm-header-main {
  border-bottom-color: #ead7f0 !important;
}

body.sfe-petra-launch .fm-nav-menu a.sfe-nav-petra {
  color: var(--sfe-viola) !important;
  font-weight: 700 !important;
}

body.sfe-petra-launch .fm-nav-menu a.sfe-nav-petra::after {
  content: "New";
  display: inline-block;
  margin-left: .4rem;
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--sfe-viola);
  color: #fff;
  padding: .12rem .38rem;
  border-radius: 99px;
  vertical-align: middle;
  font-weight: 600;
}

.sfe-petra-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.sfe-petra-hero {
  position: relative;
  width: 100%;
  height: min(72vh, 680px);
  min-height: 420px;
  background: var(--sfe-viola-deep);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.sfe-petra-hero-track,
.sfe-petra-slide {
  position: absolute;
  inset: 0;
}

.sfe-petra-slide {
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity .7s ease, visibility .7s ease;
  background: radial-gradient(ellipse at 50% 35%, #4d2268 0%, #24102f 72%);
}

.sfe-petra-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.sfe-petra-slide-link,
.sfe-petra-slide picture,
.sfe-petra-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.sfe-petra-slide-img {
  object-fit: cover;
  object-position: center center;
  image-rendering: auto;
}

.sfe-petra-slide.is-petra-slide .sfe-petra-slide-img {
  object-fit: cover;
  object-position: center 28%;
}

.sfe-petra-slide.is-campaign-slide .sfe-petra-slide-img {
  object-fit: cover;
  object-position: center center;
}

.sfe-petra-slide-img-wide {
  object-position: center center;
}

.sfe-petra-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  min-height: 42%;
  padding: clamp(1.2rem, 4vw, 3rem) clamp(1.2rem, 5vw, 4rem) 3.6rem;
  background: linear-gradient(180deg, rgba(36,16,47,0) 0%, rgba(36,16,47,.55) 38%, rgba(36,16,47,.92) 100%);
  pointer-events: none;
}
.sfe-petra-hero-overlay--lite {
  background: linear-gradient(180deg, rgba(17,24,39,0) 0%, rgba(17,24,39,.5) 42%, rgba(17,24,39,.92) 100%);
}

.sfe-petra-hero-overlay .sfe-petra-hero-copy,
.sfe-petra-hero-overlay a {
  pointer-events: auto;
}

.sfe-petra-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(36,16,47,.42);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.sfe-petra-prev { left: 16px; }
.sfe-petra-next { right: 16px; }
.sfe-petra-nav:hover { background: rgba(36,16,47,.62); }

.sfe-petra-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 8px;
}

.sfe-petra-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.4);
  cursor: pointer;
}

.sfe-petra-dot.is-active { background: #fff; width: 22px; }

.sfe-petra-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255,255,255,.18);
  z-index: 6;
}

.sfe-petra-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

.sfe-petra-hero-copy { max-width: 720px; }

.sfe-petra-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: #ffe8f4;
  margin: 0 0 .7rem;
}

.sfe-petra-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.sfe-petra-kicker-dark { color: var(--sfe-viola); }

.sfe-petra-hero-title {
  font-family: var(--sfe-serif);
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: .92;
  margin: 0 0 .55rem;
  font-style: italic;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0,0,0,.28);
}

.sfe-petra-hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  max-width: 34rem;
  margin: 0 0 1.3rem;
  color: rgba(255,255,255,.9);
}

.sfe-petra-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
}

.sfe-btn-viola {
  background: #fff;
  color: var(--sfe-viola-deep) !important;
  border: 0;
  border-radius: 999px;
  padding: .85rem 1.5rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .78rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.sfe-btn-viola:hover { background: var(--sfe-cotton); color: var(--sfe-viola-ink) !important; }

.sfe-petra-price-chip {
  font-family: var(--sfe-serif);
  font-size: 1.55rem;
  font-weight: 600;
}

.sfe-petra-listed {
  background: #fff;
  padding: 1.1rem clamp(1rem, 4vw, 2rem) 0;
}

.sfe-petra-listed-card {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(90deg, #3a1454, #6b2d8b);
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 16px 40px rgba(58,20,84,.18);
}

.sfe-petra-listed-card img {
  width: 120px;
  height: 140px;
  object-fit: cover;
}

.sfe-petra-listed-copy { padding: .7rem 0; }
.sfe-petra-listed-copy p { margin: .2rem 0 0; color: rgba(255,255,255,.82); font-size: .9rem; }
.sfe-petra-listed-copy strong {
  font-family: var(--sfe-serif);
  font-size: 1.45rem;
  font-style: italic;
  display: block;
  color: #fff;
}

.sfe-petra-listed-badge {
  display: inline-block;
  background: #fff;
  color: var(--sfe-viola-deep);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: .2rem .45rem;
  border-radius: 99px;
  margin-bottom: .35rem;
}

.sfe-petra-listed-buy {
  padding-right: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .45rem;
}

.sfe-petra-listed-price {
  font-family: var(--sfe-serif);
  font-size: 1.6rem;
  font-weight: 600;
}

.sfe-petra-story {
  background: linear-gradient(180deg, #24102f 0%, #3a1454 55%, #4a1d68 100%);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  margin-top: 1.2rem;
}

.sfe-petra-story-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.4rem, 4vw, 3.2rem);
  align-items: center;
}

.sfe-petra-story-media {
  border-radius: 22px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.sfe-petra-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 460px;
}

.sfe-petra-story-copy .sfe-petra-kicker { color: var(--sfe-cotton); }

.sfe-petra-story h2,
.sfe-petra-notes h2 {
  font-family: var(--sfe-serif);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-style: italic;
  line-height: 1.05;
  margin: 0 0 .8rem;
  font-weight: 600;
}

.sfe-petra-story p { color: rgba(255,255,255,.86); font-size: 1.05rem; }

.sfe-petra-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.2rem 0 1.4rem;
}

.sfe-petra-badge {
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: .4rem .8rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sfe-petra-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin: 1.4rem 0 1.6rem;
}

.sfe-petra-fact {
  background: rgba(255,255,255,.08);
  border-radius: 14px;
  padding: .85rem .9rem;
}

.sfe-petra-fact strong { display: block; font-family: var(--sfe-serif); font-size: 1.2rem; }
.sfe-petra-fact span { font-size: .78rem; color: rgba(255,255,255,.7); }

.sfe-petra-notes {
  background: var(--sfe-blush);
  padding: clamp(2.4rem, 5vw, 4.4rem) 0 3rem;
  color: var(--sfe-viola-ink);
}

.sfe-petra-notes-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
}

.sfe-petra-notes-media {
  border-radius: 22px;
  overflow: hidden;
  min-height: 380px;
}

.sfe-petra-notes-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.sfe-note-card {
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  margin-bottom: .7rem;
  box-shadow: 0 10px 30px rgba(58,20,84,.06);
}

.sfe-note-card small {
  display: block;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .68rem;
  color: var(--sfe-viola);
  font-weight: 600;
  margin-bottom: .25rem;
}

.sfe-note-card strong {
  font-family: var(--sfe-serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.fm-product-card.is-petra-launch,
.fm-product-card[data-sku="6298043161732"] {
  outline: 2px solid var(--sfe-viola);
  outline-offset: 0;
}

.sfe-launch-badge {
  position: absolute;
  top: .65rem;
  left: .65rem;
  z-index: 2;
  background: var(--sfe-viola);
  color: #fff;
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .28rem .5rem;
  border-radius: 999px;
  font-weight: 600;
}

.fm-product-image { position: relative; }

body.sfe-petra-pdp {
  background: linear-gradient(180deg, #f7eef5 0%, #faf8f4 280px) !important;
}
body.sfe-petra-pdp .sfe-pdp-brand,
body.sfe-petra-pdp .sfe-note-row span,
body.sfe-petra-pdp .sfe-tab-btn.is-active,
body.sfe-petra-pdp .sfe-pdp-bc a:hover {
  color: var(--sfe-viola) !important;
}
body.sfe-petra-pdp .sfe-pdp-brand { border-bottom-color: rgba(107,45,139,.4); }
body.sfe-petra-pdp .sfe-gallery-thumb.is-active,
body.sfe-petra-pdp .sfe-gallery-thumb:hover { border-color: var(--sfe-viola); }
body.sfe-petra-pdp .sfe-scent-notes { border-left-color: var(--sfe-viola); background: #f7eef5; }
body.sfe-petra-pdp .sfe-tab-btn.is-active { border-bottom-color: var(--sfe-viola); }
body.sfe-petra-pdp .single_add_to_cart_button {
  background: var(--sfe-viola) !important;
  border-color: var(--sfe-viola) !important;
}
body.sfe-petra-pdp .fm-badge-icon {
  background: #3a1454 !important;
}
body.sfe-petra-pdp .related.products li.product a.button:hover,
body.sfe-petra-pdp .up-sells li.product a.button:hover {
  background: #6b2d8b !important;
}
body.sfe-petra-pdp .related.products ul.products li.product:hover {
  border-color: #d7b6e8 !important;
}

.sfe-petra-listed--compact {
  padding: 12px 20px 0;
  max-width: 1400px;
  margin: 0 auto;
}
.sfe-petra-listed--compact .sfe-petra-listed-card {
  grid-template-columns: 72px 1fr auto;
  box-shadow: 0 8px 24px rgba(58,20,84,.14);
}
.sfe-petra-listed--compact .sfe-petra-listed-card img {
  width: 72px;
  height: 88px;
}
.sfe-petra-listed--compact .sfe-petra-listed-copy {
  padding: .45rem 0;
}
.sfe-petra-listed--compact .sfe-petra-listed-copy strong {
  font-size: 1.15rem;
}
.sfe-petra-listed--compact .sfe-petra-listed-copy p {
  font-size: .82rem;
}
.sfe-petra-listed--compact .sfe-petra-listed-price {
  font-size: 1.25rem;
}
.sfe-petra-listed--compact .sfe-btn-viola {
  padding: .55rem 1rem;
  font-size: .7rem;
}

.sfe-archive-head {
  max-width: 1400px;
  margin: 18px auto 0;
  padding: 0 20px;
}
.sfe-archive-head-inner {
  background: #fff;
  border: 1px solid #ead7f0;
  border-radius: 18px;
  padding: 22px 26px;
}
.sfe-archive-kicker {
  margin: 0 0 6px;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6b2d8b;
}
.sfe-archive-title {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-style: italic;
  font-weight: 600;
  color: #24102f;
  line-height: 1.1;
}
.sfe-archive-meta {
  margin: 0;
  color: #6b7280;
  font-size: .95rem;
}
.sfe-archive-desc {
  margin: 10px 0 0;
  color: #4b5563;
  max-width: 52rem;
  line-height: 1.55;
}
.sfe-archive-wrap {
  max-width: 1400px;
  margin: 12px auto 40px !important;
  padding: 0 20px !important;
}

@media (max-width: 860px) {
  .sfe-petra-story-grid,
  .sfe-petra-notes-grid { grid-template-columns: 1fr; }
  .sfe-petra-facts { grid-template-columns: 1fr; }
  .sfe-petra-listed-card { grid-template-columns: 88px 1fr auto; }
  .sfe-petra-listed-buy { display: flex; padding-right: .7rem; }
  .sfe-petra-listed--compact .sfe-petra-listed-card { grid-template-columns: 72px 1fr auto; }
  .sfe-petra-listed--compact .sfe-petra-listed-buy { display: flex; }
  .sfe-petra-hero {
    height: min(78dvh, 640px);
    min-height: 480px;
  }
  .sfe-petra-hero-overlay {
    padding: 1rem 1rem calc(3.2rem + env(safe-area-inset-bottom, 0px));
    min-height: 48%;
    align-items: flex-end;
  }
  .sfe-petra-hero-copy { max-width: 100%; }
  .sfe-petra-hero-title { font-size: clamp(2rem, 10vw, 2.8rem); }
  .sfe-petra-hero-sub {
    font-size: .9rem;
    max-width: 22rem;
    margin-bottom: .75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .sfe-petra-slide.is-petra-slide .sfe-petra-slide-img { object-position: center 18%; }
  .sfe-petra-slide.is-pack-slide .sfe-petra-slide-img {
    padding: 8% 12% 28%;
    object-position: center 28%;
  }
  .sfe-petra-nav {
    width: 44px;
    height: 44px;
    top: auto;
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    transform: none;
  }
  .sfe-petra-prev { left: 10px; }
  .sfe-petra-next { right: 10px; }
  .sfe-petra-dots { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .sfe-petra-dot { width: 9px; height: 9px; }
  .sfe-petra-dot.is-active { width: 22px; }
  .sfe-btn-viola { padding: .75rem 1.2rem; font-size: .72rem; }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .sfe-petra-hero {
    height: min(58vh, 560px);
    min-height: 400px;
  }
  .sfe-petra-slide.is-pack-slide .sfe-petra-slide-img {
    padding: 3% 14% 16%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sfe-petra-slide { transition: none; }
  .sfe-petra-progress span { transition: none !important; }
}
