/* Hello Nancy store theme for NEXT Campaign Cart pages.
   Brand tokens taken from hellonancy.com (theme 220) on 2026-11-25. */
@font-face { font-family: "Rebond"; src: url("../fonts/ESRebondGrotesque-Semibold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }

:root {
  --pink: #ff30cc; --pink-soft: #fff0f5; --ink: #1a1a1a; --muted: #6c6158;
  --cream: #fcf7ed; --lime: #ccfd28; --orange: #ffb74a; --line: #ece4d8;
  --head: "Rebond", "Helvetica Neue", Arial, sans-serif;
  --body: "Fraunces", Georgia, serif;
  --radius: 18px; --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.nz { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
.nz-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.nz-hidden { display: none !important; }

/* Buttons */
.nz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 60px; border: 0; background: var(--pink); color: #fff; font-family: var(--head); font-size: 16px; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, opacity .2s; }
.nz-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(255,48,204,.7); }
.nz-btn--block { width: 100%; }
.nz-btn--dark { background: var(--ink); }
.nz-btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.nz-btn.next-loading { opacity: .6; pointer-events: none; }
.nz-icon-btn { background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); position: relative; display: inline-flex; }

/* Bars + header */
.nz-usp { background: var(--ink); color: #fff; font: 13px/1 var(--head); display: flex; justify-content: center; gap: 28px; padding: 9px 16px; flex-wrap: wrap; }
.nz-announce { background: #000; color: #fff; text-align: center; font: 14px/1.3 var(--head); padding: 10px 16px; }
.nz-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.nz-header__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 68px; }
.nz-logo { justify-self: center; grid-column: 2; }
.nz-logo img { height: 40px; width: auto; }
.nz-cart-toggle { justify-self: end; grid-column: 3; }
.nz-menu-toggle { grid-column: 1; justify-self: start; }
.nz-nav { display: none; }
.nz-cart-count { position: absolute; top: 0; right: -2px; background: var(--pink); color: #fff; border-radius: 99px; min-width: 18px; height: 18px; font: 11px/18px var(--head); text-align: center; padding: 0 4px; }
.nz-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
.nz-nav a { font: 16px var(--head); text-decoration: none; padding: 10px 0; }
.nz-nav__hot { color: var(--pink); }
@media (min-width: 990px) {
  .nz-menu-toggle { display: none; }
  .nz-header__row { grid-template-columns: auto 1fr auto; gap: 32px; }
  .nz-logo { grid-column: 1; grid-row: 1; justify-self: start; }
  .nz-nav { display: flex; gap: 24px; grid-column: 2; grid-row: 1; position: static; padding: 0; border: 0; flex-direction: row; justify-content: center; }
  .nz-nav a { font-size: 15px; padding: 0; }
  .nz-nav a:hover { color: var(--pink); }
}

/* Hero */
.nz-hero { position: relative; overflow: hidden; background: var(--pink-soft); }
.nz-hero__media { position: absolute; inset: 0; }
.nz-hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.nz-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,240,245,.96) 0%, rgba(255,240,245,.75) 45%, rgba(255,240,245,0) 75%); }
.nz-hero__inner { position: relative; padding: 56px 16px 64px; max-width: var(--wrap); margin: 0 auto; }
.nz-hero__copy { max-width: 560px; }
.nz-hero h1 { font-size: clamp(40px, 7vw, 72px); }
.nz-hero h1 em { font-style: normal; color: var(--pink); }
.nz-hero p { font-size: 18px; max-width: 460px; }
.nz-badge-row { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 99px; padding: 6px 14px; font: 13px var(--head); margin-bottom: 18px; }
.nz-stars { color: var(--orange); letter-spacing: 1px; }
.nz-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 22px 0 0; font: 14px var(--head); }
.nz-checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; margin-right: 6px; }

/* Press */
.nz-press { padding: 28px 0; border-bottom: 1px solid var(--line); }
.nz-press h2 { text-align: center; font-size: 22px; color: var(--pink); }
.nz-press__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 40px; }
.nz-press__row img { height: 26px; width: auto; filter: grayscale(1); opacity: .75; }

/* Sections + product grid */
.nz-section { padding: 56px 0; }
.nz-section--cream { background: var(--cream); }
.nz-section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.nz-section__head h2 { font-size: clamp(28px, 4vw, 40px); margin: 0; }
.nz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 750px) { .nz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1100px) { .nz-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nz-card { background: var(--cream); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.nz-card__img { aspect-ratio: 1; background: #f3ece0; overflow: hidden; display: block; }
.nz-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.nz-card:hover .nz-card__img img { transform: scale(1.04); }
.nz-card__save { position: absolute; top: 12px; left: 12px; background: var(--pink); color: #fff; font: 12px var(--head); border-radius: 99px; padding: 5px 10px; z-index: 1; }
.nz-card__body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; text-align: center; }
.nz-card__title { font-family: var(--body); font-size: 17px; line-height: 1.25; text-decoration: none; }
.nz-card__blurb { font-size: 13px; color: var(--muted); margin: 0; display: none; }
@media (min-width: 750px) { .nz-card__blurb { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }
.nz-price { font-family: var(--head); font-size: 17px; color: var(--pink); display: flex; gap: 8px; justify-content: center; align-items: baseline; }
.nz-price s { color: var(--muted); font-size: 14px; }
.nz-card .nz-btn { padding: 12px 14px; font-size: 13px; margin-top: auto; }

/* Reviews band */
.nz-quote { background: var(--lime); padding: 64px 0; text-align: center; }
.nz-quote blockquote { margin: 0 auto; max-width: 820px; font: clamp(20px, 3vw, 30px)/1.3 var(--head); }
.nz-quote cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--body); }

/* Collection pages */
.nz-coll-hero { background: var(--pink-soft); padding: 40px 0 28px; text-align: center; }
.nz-coll-hero h1 { font-size: clamp(32px, 5vw, 52px); }
.nz-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 2px; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
@media (min-width: 750px) { .nz-chips { justify-content: center; flex-wrap: wrap; } }
.nz-chip { flex: 0 0 auto; border: 1px solid var(--ink); border-radius: 99px; padding: 8px 14px; font: 14px var(--head); text-decoration: none; background: #fff; }
.nz-chip.is-active { background: var(--ink); color: #fff; }

/* Product page */
.nz-pdp { display: grid; gap: 28px; padding: 24px 0 56px; }
@media (min-width: 900px) { .nz-pdp { grid-template-columns: 1.1fr 1fr; gap: 48px; padding-top: 40px; } }
.nz-gallery__main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.nz-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.nz-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.nz-gallery__thumbs button { flex: 0 0 64px; height: 64px; border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; cursor: pointer; background: var(--cream); }
.nz-gallery__thumbs button.is-active { border-color: var(--pink); }
.nz-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.nz-pdp__info h1 { font-size: clamp(30px, 4vw, 44px); }
.nz-pdp__rating { font: 14px var(--head); margin-bottom: 10px; }
.nz-pdp__price { font: 28px var(--head); color: var(--pink); display: flex; align-items: baseline; gap: 12px; margin: 6px 0 18px; }
.nz-pdp__price s { font-size: 18px; color: var(--muted); }
.nz-pdp__price .nz-pill { font-size: 13px; background: var(--pink); color: #fff; border-radius: 99px; padding: 4px 10px; }
.nz-variants { margin: 0 0 18px; }
.nz-variants__label { font: 14px var(--head); margin-bottom: 8px; }
.nz-variants__row { display: flex; flex-wrap: wrap; gap: 8px; }
.nz-variant { border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 10px 16px; font: 14px var(--head); cursor: pointer; }
.nz-variant.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.nz-buy { display: grid; gap: 10px; margin-bottom: 18px; }
.nz-pdp__perks { list-style: none; padding: 14px 16px; margin: 0 0 22px; background: var(--cream); border-radius: 14px; display: grid; gap: 6px; font: 14px var(--head); }
.nz-desc { font-size: 16px; }
.nz-desc img, .nz-desc iframe, .nz-desc video { max-width: 100%; height: auto; border-radius: 12px; }
.nz-desc table { width: 100%; border-collapse: collapse; }
.nz-desc td, .nz-desc th { border-bottom: 1px solid var(--line); padding: 6px; text-align: left; }
.nz-sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; display: flex; gap: 12px; align-items: center; z-index: 30; transform: translateY(110%); transition: transform .25s; }
.nz-sticky-buy.is-visible { transform: none; }
.nz-sticky-buy__name { font: 14px var(--head); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nz-sticky-buy .nz-btn { padding: 12px 18px; font-size: 14px; }
@media (min-width: 900px) { .nz-sticky-buy { display: none; } }

/* Trust + footer */
.nz-trust { background: var(--cream); padding: 28px 0; border-top: 1px solid var(--line); }
.nz-trust__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; text-align: center; }
@media (min-width: 750px) { .nz-trust__row { grid-template-columns: repeat(4, 1fr); } }
.nz-trust strong { display: block; font: 15px var(--head); }
.nz-trust span { font-size: 13px; color: var(--muted); }
.nz-footer { background: var(--ink); color: #fff; padding: 48px 0 24px; }
.nz-footer__grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 750px) { .nz-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.nz-footer__grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 750px) { .nz-footer__grid > div:first-child { grid-column: auto; } }
.nz-footer h4 { font-size: 15px; margin-bottom: 12px; }
.nz-footer a { display: block; color: #ddd; text-decoration: none; font-size: 14px; padding: 3px 0; }
.nz-footer a:hover { color: var(--pink); }
.nz-footer__logo { height: 36px; width: auto; margin-bottom: 10px; }
.nz-footer p { color: #bbb; font-size: 14px; max-width: 280px; }
.nz-footer__base { border-top: 1px solid #333; margin-top: 32px; padding-top: 18px; font-size: 13px; color: #999; }

/* Cart drawer */
.nz-drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 90; }
.nz-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 100; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; }
.nz-drawer.is-open { transform: none; }
.nz-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.nz-drawer__head h3 { margin: 0; font-size: 22px; }
.nz-drawer__empty { padding: 40px 20px; text-align: center; }
.nz-drawer__body { padding: 16px 20px 24px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.nz-lines { display: grid; gap: 14px; }
.nz-line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: start; }
.nz-line__img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: var(--cream); }
.nz-line__name { font: 15px var(--head); }
.nz-line__price { color: var(--pink); font: 15px var(--head); margin: 2px 0 6px; }
.nz-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.nz-qty button { border: 0; background: none; width: 32px; height: 32px; cursor: pointer; font-size: 18px; }
.nz-qty span { min-width: 22px; text-align: center; font: 14px var(--head); }
.nz-totals { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 6px; font-size: 15px; margin-top: 8px; }
.nz-totals > div { display: flex; justify-content: space-between; }
.nz-totals__grand { font: 18px var(--head); }
.nz-drawer__note { text-align: center; font-size: 13px; color: var(--muted); margin: 0; }
.nz-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; font: 14px var(--head); padding: 12px 18px; border-radius: 99px; z-index: 120; }

/* Until the SDK has loaded the campaign, hide cart state that would show the wrong thing. */
html:not(.next-display-ready) .nz-cart-count,
html:not(.next-display-ready) .nz-drawer__empty,
html:not(.next-display-ready) .nz-drawer__body { visibility: hidden; }
@media (max-width: 480px) { .nz-usp { gap: 12px; font-size: 11px; padding: 8px 10px; flex-wrap: nowrap; white-space: nowrap; } }
