/* ==========================================================================
   Sig.P — customer-facing signature products
   1. homepage  : .sig-strip   compact banner, product art on the side
   2. /customer/signature.html : store's own header + jelly-bar, an equal-size
      hero slider (one slide per signature product) and uniform card grids
   ========================================================================== */

/* ------------------------------------------------------- homepage strip -- */
.sig-slot { display: none; }
.sig-slot.is-on { display: block; }
/* the storefront's .wrap has no max-width, just 20px of side padding
   (12px small screens) — match it so the banner lines up with every section */
.sig-slot { padding: 0 20px; }
@media (max-width: 768px) { .sig-slot { padding: 0 12px; } }

.sig-strip {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 16px;
  padding: 14px 18px;
  background: linear-gradient(115deg, #0B1220 0%, #1E2A4A 62%, #0d3b3a 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(11, 18, 32, .18);
}
.sig-strip::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 240px; height: 240px;
  top: -120px; right: -40px;
  border-radius: 50%;
  filter: blur(42px);
  background: radial-gradient(closest-side, rgba(15, 181, 165, .30), transparent 72%);
  pointer-events: none;
}
.sig-sheen {
  position: absolute;
  top: 0; left: -60%;
  width: 38%; height: 100%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .12), transparent);
  transform: skewX(-16deg);
  animation: sigSheen 8s ease-in-out infinite;
}
@keyframes sigSheen {
  0%, 64% { left: -60%; }
  100%    { left: 130%; }
}

/* the product art sits on the side, which is what keeps this strip compact */
.sig-strip-art {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 78px; height: 78px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
  display: grid;
  place-items: center;
  overflow: hidden;
  animation: sigFloat 6.5s ease-in-out infinite;
}
@keyframes sigFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.sig-strip-art img { width: 84%; height: 84%; object-fit: contain; transition: transform .45s cubic-bezier(.34, 1.3, .64, 1); }
.sig-strip:hover .sig-strip-art img { transform: scale(1.08); }
.sig-strip-art .sig-noimg { font-size: 11px; color: #8A97AD; }

.sig-strip-copy { position: relative; z-index: 1; flex: 1 1 auto; min-width: 0; }
.sig-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7FF3E6;
}
.sig-eyebrow .sig-star { animation: sigPulse 2.8s ease-in-out infinite; }
@keyframes sigPulse {
  0%, 100% { opacity: 1;  transform: scale(1)   rotate(0deg); }
  50%      { opacity: .5; transform: scale(.84) rotate(15deg); }
}
/* the product art sits on the side, which is what keeps this strip compact */
.sig-strip .sig-strip-name,
.sig-strip-name {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.3;
  margin: 3px 0 5px;
  color: #fff;
  -webkit-text-fill-color: #fff;
  /* two lines max so the strip never changes height between products */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sig-strip-meta { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.sig-price { font-family: 'Manrope', sans-serif; font-size: 17px; font-weight: 800; color: #0FB5A5; line-height: 1; }
.sig-price-was { font-size: 12.5px; color: #8A97AD; text-decoration: line-through; }
.sig-off {
  font-size: 10.5px; font-weight: 800; color: #fff; background: #e11d48;
  border-radius: 999px; padding: 3px 8px; text-transform: uppercase; letter-spacing: .04em;
}
.sig-stock { font-size: 11.5px; font-weight: 700; color: #86efac; }
.sig-stock.is-low { color: #fcd34d; }
.sig-stock.is-out { color: #fca5a5; }

.sig-strip-cta {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 11px;
  background: linear-gradient(135deg, #0FB5A5, #0a8f84);
  color: #04211f;
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .22s cubic-bezier(.34, 1.4, .64, 1), box-shadow .22s ease;
}
.sig-strip-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 181, 165, .4); }
.sig-strip-cta:focus-visible,
.sig-btn:focus-visible,
.sig-card:focus-visible { outline: 3px solid rgba(127, 243, 230, .6); outline-offset: 3px; }

/* --------------------------------------------------------- scroll reveal */
.sig-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.22, .8, .3, 1); }
.sig-reveal.is-in { opacity: 1; transform: none; }

/* ============================== signature page =========================== */
.sig-page { background: #F5F8FC; min-height: 100vh; }

/* the store's own navbar, with roomier links between them — desktop only.
   .main-nav is the desktop bar; .jelly-bar is the store's mobile bottom nav,
   so the extra spacing deliberately does not touch it. */
@media (min-width: 861px) {
  .sig-page .main-nav { gap: 24px; }
  .sig-page .main-nav a { padding: 6px 2px; position: relative; }
  .sig-page .main-nav a:hover { opacity: .75; }
  .sig-page .main-nav a.sig-nav-active { font-weight: 800; }
  .sig-page .main-nav a.sig-nav-active::after {
    content: '';
    position: absolute;
    left: 2px; right: 2px; bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    opacity: .55;
  }
  .sig-page .site-header .header-actions { gap: 14px; }
  .sig-page .site-header .search-box { margin: 0 22px; }
}

.sig-wrap { max-width: 1240px; margin: 0 auto; padding: 26px 20px 56px; }
@media (max-width: 560px) { .sig-wrap { padding: 18px 12px 40px; } }

.sig-crumb {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sig-crumb a { color: #0a8f84; text-decoration: none; font-weight: 600; }
.sig-crumb a:hover { text-decoration: underline; }

/* ---- hero slider: every slide is exactly the same size ---- */
.sig-hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #0B1220 0%, #1E2A4A 55%, #0d3b3a 100%);
  color: #fff;
  box-shadow: 0 18px 46px rgba(11, 18, 32, .2);
}
.sig-hero::before {
  content: '';
  position: absolute; z-index: -1;
  width: 320px; height: 320px;
  top: -150px; right: -70px;
  border-radius: 50%;
  filter: blur(50px);
  background: radial-gradient(closest-side, rgba(15, 181, 165, .30), transparent 72%);
  pointer-events: none;
}
.sig-hero-track {
  display: flex;
  transition: transform .55s cubic-bezier(.3, .8, .3, 1);
  will-change: transform;
}
.sig-hero-track.no-anim { transition: none; }
/* flex:0 0 100% is what makes every slide identical in width, and the
   fixed min-height below makes them identical in height too.
   The 72px side padding leaves room for the arrows so they never sit on
   top of the text or the product art. */
.sig-hero-slide {
  flex: 0 0 100%;
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 28px;
  align-items: center;
  padding: 30px 72px;
  color: #fff;
}
.sig-hero-copy { min-width: 0; position: relative; z-index: 1; }
.sig-hero-copy .sig-eyebrow {
  background: rgba(15, 181, 165, .16);
  border: 1px solid rgba(127, 243, 230, .34);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 10.5px;
}
/* The storefront sets its own dark h2 colour, so state it here or the heading
   disappears into the dark banner. Two selectors on purpose: the second one is
   specific enough to win even if a storefront h2 rule becomes more specific
   later, and it is not a !important arms race. */
.sig-hero .sig-hero-name,
.sig-hero-name {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(20px, 2.6vw, 31px);
  font-weight: 800;
  line-height: 1.2;
  margin: 13px 0 8px;
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sig-hero-tag { font-size: 14px; line-height: 1.6; color: #B8C4D9; margin: 0 0 16px; max-width: 60ch; }
.sig-hero-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.sig-hero-price .sig-price { font-size: 26px; }
.sig-hero-art {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  animation: sigFloat 7s ease-in-out infinite;
}
.sig-hero-art img { width: 84%; height: 84%; object-fit: contain; transition: transform .5s cubic-bezier(.34, 1.3, .64, 1); }
.sig-hero:hover .sig-hero-art img { transform: scale(1.06); }

.sig-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.34, 1.4, .64, 1), box-shadow .2s ease, background .2s ease;
}
.sig-btn-primary { background: linear-gradient(135deg, #0FB5A5, #0a8f84); color: #04211f; box-shadow: 0 10px 24px rgba(15, 181, 165, .32); }
.sig-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 181, 165, .44); }
.sig-btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .26); }
.sig-btn-ghost:hover { background: rgba(255, 255, 255, .19); transform: translateY(-2px); }
.sig-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }

/* slider controls */
.sig-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .28);
  background: rgba(11, 18, 32, .45);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.sig-hero-arrow:hover { background: rgba(15, 181, 165, .85); border-color: #0FB5A5; }
.sig-hero-arrow.prev { left: 14px; }
.sig-hero-arrow.next { right: 14px; }
.sig-hero-arrow[hidden] { display: none; }
.sig-hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.sig-hero-dots[hidden] { display: none; }
.sig-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: width .28s ease, background .28s ease;
}
.sig-dot.is-on { width: 24px; background: #0FB5A5; }
.sig-dot:hover { background: rgba(255, 255, 255, .6); }
.sig-dot.is-on:hover { background: #0FB5A5; }

/* ---- meta strip ---- */
.sig-meta-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}
.sig-meta { background: #fff; border: 1px solid #E2E8F0; border-radius: 14px; padding: 13px 15px; }
.sig-meta dt { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #94A3B8; margin: 0 0 4px; }
.sig-meta dd { margin: 0; font-family: 'Manrope', sans-serif; font-size: 14.5px; font-weight: 800; color: #0B1220; word-break: break-word; }

/* ---- section heads ---- */
.sig-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 40px 0 18px; }
.sig-head h2 { font-family: 'Manrope', sans-serif; font-size: clamp(19px, 2.3vw, 26px); font-weight: 800; color: #0B1220; margin: 0; }
.sig-head p { margin: 5px 0 0; color: #64748B; font-size: 13.5px; }
.sig-more { font-size: 13.5px; font-weight: 800; color: #0a8f84; text-decoration: none; white-space: nowrap; }
.sig-more:hover { text-decoration: underline; }

/* ---- uniform card grid: every card the same size ---- */
.sig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(208px, 1fr));
  gap: 15px;
}
.sig-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .24s cubic-bezier(.34, 1.3, .64, 1), box-shadow .24s ease, border-color .24s ease;
}
.sig-card:hover { transform: translateY(-5px); border-color: rgba(15, 181, 165, .48); box-shadow: 0 16px 32px rgba(11, 18, 32, .12); }
.sig-card.is-current { border-color: #0FB5A5; box-shadow: 0 0 0 3px rgba(15, 181, 165, .18); }
.sig-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #EDF4FC, #F8FCFF);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.sig-card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .42s cubic-bezier(.34, 1.3, .64, 1); }
.sig-card:hover .sig-card-img img { transform: scale(1.08); }
.sig-card-off {
  position: absolute; top: 8px; left: 8px;
  background: #e11d48; color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 4px 8px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .04em;
}
.sig-card-badge {
  position: absolute; top: 8px; right: 8px;
  background: #0FB5A5; color: #04211f;
  font-size: 9.5px; font-weight: 800;
  padding: 4px 8px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .04em;
}
.sig-card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 12px 13px 14px; gap: 6px; }
.sig-card-brand { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #94A3B8; }
.sig-card-name {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.36;
  color: #0B1220;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.72em;              /* every name box is two lines tall */
}
.sig-card-foot { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.sig-card-price { font-family: 'Manrope', sans-serif; font-size: 15.5px; font-weight: 800; color: #0B1220; }
.sig-card-price s { font-size: 11px; font-weight: 500; color: #94A3B8; }
.sig-card-add {
  margin-top: 9px;
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #0B1220;
  border-radius: 10px;
  background: #fff;
  color: #0B1220;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.sig-card-add:hover { background: #0B1220; color: #fff; }
.sig-card-add:disabled { opacity: .45; cursor: not-allowed; }
.sig-card-add.is-added { background: #0FB5A5; border-color: #0FB5A5; color: #04211f; }

/* ---- not-available state ---- */
.sig-off-state {
  text-align: center;
  padding: 66px 20px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
}
.sig-off-state .sig-off-ico { font-size: 42px; margin-bottom: 14px; }
.sig-off-state h2 { font-family: 'Manrope', sans-serif; font-size: 23px; font-weight: 800; color: #0B1220; margin: 0 0 8px; }
.sig-off-state p { color: #64748B; margin: 0 auto 22px; font-size: 14.5px; max-width: 46ch; }

.sig-foot { text-align: center; color: #94A3B8; font-size: 13px; padding: 24px 20px 40px; }
.sig-foot a { color: #0a8f84; text-decoration: none; font-weight: 700; }
.sig-foot a:hover { text-decoration: underline; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .sig-hero-slide { grid-template-columns: 1fr; min-height: 0; padding: 24px 20px 34px; gap: 18px; }
  .sig-hero-art { max-width: 190px; margin: 0 auto; }
  .sig-hero-arrow { display: none; }        /* swipe instead on small screens */
}
@media (max-width: 700px) {
  .sig-strip { flex-wrap: wrap; gap: 12px; padding: 12px 14px; }
  .sig-strip-art { width: 62px; height: 62px; }
  .sig-strip-name { font-size: 14px; }
  .sig-strip-cta { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .sig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sig-card-body { padding: 10px 10px 12px; }
  .sig-card-name { font-size: 11.5px; }
  .sig-card-price { font-size: 13.5px; }
  .sig-wrap { padding: 18px 12px 40px; }
}

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sig-sheen, .sig-strip-art, .sig-hero-art, .sig-eyebrow .sig-star { animation: none !important; }
  .sig-reveal { opacity: 1; transform: none; transition: none; }
  .sig-hero-track { transition: none !important; }
  .sig-card, .sig-btn, .sig-strip-cta, .sig-card-img img, .sig-strip-art img, .sig-hero-art img, .sig-dot { transition: none !important; }
  .sig-card:hover, .sig-btn:hover, .sig-strip-cta:hover,
  .sig-strip:hover .sig-strip-art img, .sig-card:hover .sig-card-img img, .sig-hero:hover .sig-hero-art img { transform: none !important; }
}
