/* Local visual previews only. Production pages do not load this file. */
.np-preview {
  --np-oat: #F1E5D5;
  --np-cream: #FFF9EF;
  --np-paper: #FAF2E7;
  --np-caramel: #A85615;
  --np-clay: #C96A1E;
  --np-ink: #211005;
  --np-copy: #4A2C15;
  --np-line: rgba(114, 72, 37, 0.20);
  background: var(--np-oat);
  color: var(--np-ink);
}
.np-preview main,
.np-preview .product-detail { background: var(--np-oat); }
.np-preview p { color: var(--np-copy); }
.np-preview .nav { background: rgba(241, 229, 213, 0.88); backdrop-filter: blur(16px); }
.np-preview .nav.scrolled { background: rgba(250, 242, 231, 0.96) !important; }
.np-preview .nav-cta { background: var(--np-ink); color: var(--np-cream); }
.np-preview .section-header h1,
.np-preview .section-header h2,
.np-preview .product-info h1 { color: var(--np-ink); letter-spacing: -0.025em; }
.np-preview .section-eyebrow { color: var(--np-caramel); }
.np-preview main > .section:not(.np-dark-section) .section-eyebrow {
  display: inline-block;
  padding: 0.36rem 0.72rem;
  border: 1px solid rgba(168, 86, 21, 0.22);
  border-radius: 100px;
  background: var(--np-cream);
}
.np-preview main > .section { border-bottom: 1px solid var(--np-line); }
.np-preview main > .section:nth-of-type(even):not(.np-dark-section) { background: rgba(255, 249, 239, 0.48); }
.np-preview .footer { background: #21150F; }

/* Editorial heroes for content pages */
.np-preview .np-hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10.5rem;
  background:
    radial-gradient(circle at 86% 14%, rgba(201, 106, 30, 0.18), transparent 30%),
    linear-gradient(128deg, #E8CEAF 0%, #F5E9D8 52%, #EDD7BB 100%);
}
.np-preview .np-hero-section::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -150px;
  bottom: -210px;
  border: 1px solid rgba(168, 86, 21, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255, 249, 239, 0.10), 0 0 0 96px rgba(168, 86, 21, 0.05);
  pointer-events: none;
}
.np-preview .np-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: center;
}
.np-preview .np-hero-copy { max-width: 680px; margin: 0; text-align: left; }
.np-preview .np-hero-copy h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 5.1vw, 4.8rem) !important;
  line-height: 1.05 !important;
  text-wrap: balance;
}
.np-preview .np-hero-copy > p {
  max-width: 55ch;
  padding-left: 1.2rem;
  border-left: 2px solid rgba(168, 86, 21, 0.52);
}
.np-preview .np-hero-figure { position: relative; margin: 0; }
.np-preview .np-hero-figure > img {
  display: block;
  width: 100%;
  height: 570px;
  object-fit: cover;
  object-position: center 48%;
  padding: 10px;
  border: 1px solid rgba(114, 72, 37, 0.30);
  border-radius: 230px 230px 24px 24px;
  background: rgba(255, 249, 239, 0.64);
  box-shadow: 0 30px 70px rgba(70, 38, 16, 0.18);
}
.np-preview .np-hero-figure figcaption,
.np-preview .np-collage-figure figcaption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255, 249, 239, 0.35);
  border-radius: 100px;
  background: rgba(42, 25, 18, 0.84);
  color: var(--np-cream);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.np-preview .np-christmas-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.np-preview .np-collage-figure { position: relative; margin: 0; }
.np-preview .np-collage-figure:nth-child(2) { transform: translateY(2.6rem); }
.np-preview .np-collage-figure img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  padding: 8px;
  border: 1px solid rgba(114, 72, 37, 0.30);
  border-radius: 160px 160px 20px 20px;
  background: rgba(255, 249, 239, 0.64);
  box-shadow: 0 24px 55px rgba(70, 38, 16, 0.16);
}
.np-preview .np-collage-figure:first-child img { object-position: center 45%; }
.np-preview .np-collage-figure:nth-child(2) img { object-position: center 48%; }

/* Cards, lists and tables */
.np-preview .pg-grid { gap: 1.25rem; }
.np-preview .pg-card {
  position: relative;
  overflow: hidden;
  padding: 1.65rem 1.5rem;
  border: 1px solid var(--np-line);
  border-radius: 20px;
  background: var(--np-cream);
  box-shadow: 0 12px 30px rgba(70, 38, 16, 0.055);
}
.np-preview .pg-card::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 2px;
  left: 1.5rem;
  bottom: 0;
  background: var(--np-clay);
}
.np-preview .pg-card h3 { color: var(--np-ink); }
.np-preview .pg-num { color: var(--np-caramel); }
.np-preview .pg-note,
.np-preview .xm-note { color: #735844; }
.np-preview .pg-faq details,
.np-preview .xm-faq details { border-color: var(--np-line); }
.np-preview .pg-faq summary,
.np-preview .xm-faq summary { color: var(--np-ink); }
.np-preview .xm-wrap {
  padding: 0.65rem;
  border: 1px solid var(--np-line);
  border-radius: 22px;
  background: var(--np-cream);
  box-shadow: 0 16px 38px rgba(70, 38, 16, 0.07);
}
.np-preview .xm-table { min-width: 560px; }
.np-preview .xm-table th,
.np-preview .xm-table td { padding: 1rem 1.15rem; border-color: var(--np-line); }
.np-preview .xm-table thead th { background: var(--np-ink); color: var(--np-cream); border: 0; }
.np-preview .xm-table thead th:first-child { border-radius: 14px 0 0 14px; color: var(--np-cream); }
.np-preview .xm-table thead th:last-child { border-radius: 0 14px 14px 0; }
.np-preview .xm-table tbody tr:nth-child(even) { background: rgba(232, 206, 175, 0.22); }
.np-preview .btn-primary { background: var(--np-ink); color: var(--np-cream); }
.np-preview .btn-primary:hover { background: var(--np-clay); }

/* Photo guide: functional instruction cards and a quiet memorial band */
.np-photo main > .section:nth-of-type(3) .reveal,
.np-photo main > .section:nth-of-type(4) .reveal,
.np-christmas main > .section:nth-of-type(3) .reveal,
.np-christmas main > .section:nth-of-type(4) .reveal { max-width: 1100px !important; }
.np-photo main > .section:nth-of-type(3) .pg-list,
.np-photo main > .section:nth-of-type(4) .pg-list,
.np-christmas main > .section:nth-of-type(3) .xm-list,
.np-christmas main > .section:nth-of-type(4) .xm-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}
.np-photo main > .section:nth-of-type(3) .pg-list li,
.np-photo main > .section:nth-of-type(4) .pg-list li,
.np-christmas main > .section:nth-of-type(3) .xm-list li,
.np-christmas main > .section:nth-of-type(4) .xm-list li {
  margin: 0;
  padding: 1.3rem 1.35rem;
  border: 1px solid var(--np-line);
  border-radius: 16px;
  background: rgba(255, 249, 239, 0.68);
}
.np-preview .np-dark-section {
  background:
    radial-gradient(circle at 86% 15%, rgba(201, 106, 30, 0.20), transparent 32%),
    linear-gradient(125deg, #2B1A12, #49301F);
}
.np-preview .np-dark-section .section-header h2,
.np-preview .np-dark-section .section-header p,
.np-preview .np-dark-section li,
.np-preview .np-dark-section p { color: #F8E9D7; }
.np-preview .np-dark-section .section-eyebrow { color: #E6A463; }
.np-preview .np-dark-section .pg-note { color: #D9B99A; }
.np-preview .np-dark-section .xm-list li {
  border-color: rgba(255, 249, 239, 0.18);
  background: rgba(255, 249, 239, 0.07);
}

/* Product pages: warmer commerce layout, no checkout behaviour changes */
.np-product .product-detail {
  padding-top: 9.5rem;
  background:
    radial-gradient(circle at 12% 16%, rgba(201, 106, 30, 0.12), transparent 27%),
    linear-gradient(135deg, #EDDBC4, #F6ECDD 58%, #EED9BE);
  border-bottom: 1px solid var(--np-line);
}
.np-product .breadcrumb,
.np-product .breadcrumb a { color: #775943; }
.np-product .product-detail-grid { gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
.np-product .gallery-main {
  overflow: hidden;
  border: 1px solid rgba(114, 72, 37, 0.24);
  border-radius: 28px;
  background: var(--np-cream);
  box-shadow: 0 24px 60px rgba(70, 38, 16, 0.13);
}
.np-product .gallery-thumb { border-radius: 12px; background: var(--np-cream); }
.np-product .product-info {
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
  border: 1px solid rgba(114, 72, 37, 0.20);
  border-radius: 26px;
  background: rgba(255, 249, 239, 0.78);
  box-shadow: 0 18px 44px rgba(70, 38, 16, 0.06);
}
.np-product .product-info h1 { font-family: 'Playfair Display', serif; line-height: 1.08; }
.np-product .product-tag { color: var(--np-caramel); letter-spacing: 0.12em; text-transform: uppercase; }
.np-product .product-price .price-main { color: var(--np-ink); }
.np-product .product-short-desc { color: var(--np-copy); }
.np-product .variant-option { background: var(--np-cream); border-color: var(--np-line); }
.np-product .variant-option.active { border-color: var(--np-clay); background: #F7E7D3; }
.np-product .lead-notice { border-color: var(--np-line); background: #F4E4D0; }
.np-product .product-features { border-color: var(--np-line); }
.np-product .feature-item { color: var(--np-copy); }
.np-product .np-gallery-section { background: var(--np-paper); }
.np-product .np-work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.np-product .np-work-grid figure {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 0.82;
  border: 1px solid var(--np-line);
  border-radius: 18px;
  background: #E3D2BC;
}
.np-product .np-work-grid figure:first-child { grid-column: span 2; aspect-ratio: 1.68; }
.np-product .np-work-grid img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.np-product .np-work-grid figure:first-child img { object-position: center 46%; }

/* A restrained Halloween note using the same watercolour assets as the homepage. */
.np-preview .np-hw-bat {
  top: 9%;
  left: 2.2%;
  z-index: 1;
  width: clamp(44px, 4.8vw, 68px);
  opacity: 0.62;
  animation: hw-sway 6s ease-in-out infinite;
}
.np-preview .np-hw-pumpkin {
  left: 2.5%;
  bottom: 10px;
  z-index: 1;
  width: clamp(52px, 6vw, 82px);
  opacity: 0.68;
  animation: hw-bob 5.4s ease-in-out infinite;
}
.np-preview .np-hero-section .hw-guide-spider {
  top: 18px;
  right: 4%;
  z-index: 1;
  width: clamp(52px, 5.5vw, 76px);
  opacity: 0.74;
}

@media (max-width: 1020px) {
  .np-preview .np-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr); gap: 2.5rem; }
  .np-preview .np-hero-figure > img { height: 500px; }
  .np-preview .np-collage-figure img { height: 390px; }
  .np-product .product-info { padding: 1.3rem; }
}
@media (max-width: 860px) {
  .np-preview .np-hero-section { padding-top: 8.5rem; }
  .np-preview .np-hero-grid { grid-template-columns: 1fr; }
  .np-preview .np-hero-copy { max-width: 720px; }
  .np-preview .np-hero-figure { width: min(100%, 590px); margin: 0 auto; }
  .np-preview .np-christmas-collage { max-width: 620px; margin: 0 auto 2.6rem; }
  .np-preview .np-hw-bat,
  .np-preview .np-hw-pumpkin { display: none; }
  .np-preview .np-hero-section .hw-guide-spider { width: 44px; top: 12px; right: 4%; }
  .np-product .np-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .np-product .np-work-grid figure:first-child { grid-column: span 2; aspect-ratio: 1.4; }
}
@media (max-width: 640px) {
  .np-preview .np-hero-copy h1 { font-size: clamp(2.45rem, 11vw, 3.6rem) !important; }
  .np-preview .np-hero-figure > img { height: 440px; border-radius: 180px 180px 20px 20px; }
  .np-preview .np-collage-figure img { height: 300px; }
  .np-preview .np-collage-figure figcaption { right: 0.65rem; bottom: 0.65rem; font-size: 0.62rem; }
  .np-photo main > .section:nth-of-type(3) .pg-list,
  .np-photo main > .section:nth-of-type(4) .pg-list,
  .np-christmas main > .section:nth-of-type(3) .xm-list,
  .np-christmas main > .section:nth-of-type(4) .xm-list { grid-template-columns: 1fr; }
  .np-product .product-info { padding: 1.1rem; border-radius: 20px; }
  .np-product .np-work-grid { gap: 0.7rem; }
  .np-product .np-work-grid figure:first-child { aspect-ratio: 1.1; }
}
