/* Nachrul Showcase — front-end styles (dark / amber, matches the site design) */
.nrs-hero, .nrs-shop {
  --nrs-bg: #08090A; --nrs-soft: #101211; --nrs-ink: #EFEAE0;
  --nrs-dim: rgba(239,234,224,.62); --nrs-amber: #E3A857; --nrs-hot: #FFCB7A;
  --nrs-line: rgba(239,234,224,.10);
  font-family: 'Inter', sans-serif; color: var(--nrs-ink);
}

/* ---------- Hero ---------- */
.nrs-hero { position: relative; height: 92vh; min-height: 560px; overflow: hidden; background: var(--nrs-bg); width: 100vw; left: 50%; margin-left: -50vw; }
.nrs-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1); transition: opacity 1.1s ease, transform 8s ease; }
.nrs-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nrs-hero-bg.is-active { opacity: 1; transform: scale(1.06); }
.nrs-hero-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(8,9,10,.94) 0%, rgba(8,9,10,.82) 30%, rgba(8,9,10,.45) 58%, rgba(8,9,10,.15) 80%, rgba(8,9,10,.05) 100%),
              linear-gradient(to top, rgba(8,9,10,.75) 0%, transparent 30%); }
.nrs-hero-slide { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; padding: 0 max(32px, calc((100vw - 1220px) / 2 + 32px));
  opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.nrs-hero-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.nrs-hero-text { max-width: 600px; }
.nrs-hero-eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--nrs-hot); margin-bottom: 18px; }
.nrs-hero-title { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.03; color: var(--nrs-ink); margin: 0; text-shadow: 0 4px 40px rgba(0,0,0,.6); }
.nrs-hero-text p { margin: 22px 0 0; max-width: 440px; font-size: 16.5px; color: var(--nrs-dim); }
.nrs-hero-cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 34px; }
.nrs-hero-price { font-family: 'Fraunces', serif; font-size: 22px; color: var(--nrs-hot); }
.nrs-hero-price del { opacity: .5; font-size: .8em; }
.nrs-hero-price ins { text-decoration: none; }
.nrs-btn { display: inline-flex; align-items: center; padding: 14px 26px; border: 1px solid var(--nrs-amber); border-radius: 100px; color: var(--nrs-ink); font-size: 14px; text-decoration: none; background: transparent; transition: all .3s ease; cursor: pointer; }
.nrs-btn:hover { background: var(--nrs-amber); color: #12130f; box-shadow: 0 0 30px rgba(227,168,87,.45); }
.nrs-btn-small { padding: 10px 18px; font-size: 13px; }
.nrs-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(239,234,224,.25); background: rgba(8,9,10,.4); color: var(--nrs-ink); font-size: 18px; cursor: pointer; backdrop-filter: blur(8px); }
.nrs-arrow:hover { background: var(--nrs-amber); color: #12130f; }
.nrs-prev { left: 28px; } .nrs-next { right: 28px; }
.nrs-dots { position: absolute; bottom: 36px; left: 0; right: 0; z-index: 6; display: flex; justify-content: center; gap: 12px; }
.nrs-dot { width: 34px; height: 3px; border: 0; padding: 0; border-radius: 2px; background: rgba(239,234,224,.2); cursor: pointer; position: relative; overflow: hidden; }
.nrs-dot.is-active::after { content: ''; position: absolute; inset: 0; background: var(--nrs-hot); transform-origin: left center; animation: nrs-fill 5.5s linear; }
@keyframes nrs-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Shop ---------- */
.nrs-shop { max-width: 1220px; margin: 0 auto; padding: 0 32px; }
.nrs-filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding-bottom: 28px; margin-bottom: 40px; border-bottom: 1px solid var(--nrs-line); }
.nrs-chip { padding: 11px 22px; border: 1px solid var(--nrs-line); border-radius: 100px; background: var(--nrs-soft); color: var(--nrs-dim); font-size: 13.5px; cursor: pointer; transition: all .25s ease; }
.nrs-chip:hover { border-color: var(--nrs-amber); color: var(--nrs-ink); }
.nrs-chip.is-active { background: var(--nrs-amber); border-color: var(--nrs-amber); color: #12130f; font-weight: 600; }
.nrs-count { margin-left: auto; font-size: 13px; color: var(--nrs-dim); }
.nrs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nrs-card { border: 1px solid var(--nrs-line); background: var(--nrs-soft); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform .4s ease, border-color .3s ease, box-shadow .3s ease; }
.nrs-card:hover { transform: translateY(-8px); border-color: rgba(227,168,87,.5); box-shadow: 0 30px 70px -30px rgba(227,168,87,.25); }
.nrs-card.is-hidden { display: none; }
.nrs-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #0E1613; }
.nrs-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nrs-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.nrs-card-cat { font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--nrs-amber); margin-bottom: 10px; }
.nrs-card-body h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px; margin: 0 0 9px; }
.nrs-card-body h3 a { color: var(--nrs-ink); text-decoration: none; }
.nrs-card-body p { font-size: 13.8px; color: var(--nrs-dim); flex: 1; margin: 0; }
.nrs-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--nrs-line); }
.nrs-price { font-family: 'Fraunces', serif; font-size: 19px; color: var(--nrs-hot); }
.nrs-price del { opacity: .5; font-size: .8em; } .nrs-price ins { text-decoration: none; }
.nrs-lab-link { display: inline-block; margin-top: 14px; font-size: 12.5px; color: var(--nrs-dim); text-decoration: none; }
.nrs-lab-link:hover { color: var(--nrs-hot); }

@media (max-width: 900px) {
  .nrs-hero { height: 78vh; min-height: 520px; }
  .nrs-arrow { display: none; }
  .nrs-hero-text p { max-width: 340px; }
  .nrs-grid { grid-template-columns: 1fr; }
  .nrs-count { margin-left: 0; width: 100%; order: 10; }
}

/* ---------- Lab results (view-only certificates) ---------- */
.nrs-certs { --nrs-bg: #08090A; --nrs-soft: #101211; --nrs-ink: #EFEAE0; --nrs-dim: rgba(239,234,224,.62); --nrs-amber: #E3A857; --nrs-hot: #FFCB7A; --nrs-line: rgba(239,234,224,.10); font-family: 'Inter', sans-serif; color: var(--nrs-ink); max-width: 1220px; margin: 0 auto; padding: 0 32px; }
.nrs-cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nrs-cert-card { border: 1px solid var(--nrs-line); background: var(--nrs-soft); border-radius: 14px; padding: 30px; text-align: center; scroll-margin-top: 110px; transition: border-color .3s; }
.nrs-cert-card:hover { border-color: rgba(227,168,87,.5); }
.nrs-cert-icon { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--nrs-hot), var(--nrs-amber)); margin: 0 auto; }
.nrs-cert-card h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 17px; margin: 14px 0 8px; color: var(--nrs-ink); }
.nrs-cert-card p { font-size: 13.5px; color: var(--nrs-dim); margin: 0 0 18px; }
.nrs-cert-note { text-align: center; font-size: 14px; color: var(--nrs-dim); margin-top: 28px; }
.nrs-modal { position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.8); display: none; align-items: center; justify-content: center; padding: 20px; }
.nrs-modal.is-open { display: flex; }
.nrs-modal-box { width: min(900px, 100%); max-height: 92vh; display: flex; flex-direction: column; background: var(--nrs-soft); border: 1px solid var(--nrs-line); border-radius: 14px; overflow: hidden; }
.nrs-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--nrs-line); font-family: 'Fraunces', serif; font-size: 17px; }
.nrs-modal-head button { background: none; border: 0; color: var(--nrs-ink); font-size: 28px; line-height: 1; cursor: pointer; }
.nrs-modal-body { overflow: auto; padding: 24px; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.nrs-cert-canvas { display: block; margin: 0 auto 16px; max-width: 100%; background: #fff; border-radius: 4px; pointer-events: none; }
.nrs-cert-img { display: block; max-width: 100%; margin: 0 auto; pointer-events: none; border-radius: 4px; }
.nrs-cert-msg { text-align: center; color: var(--nrs-dim); padding: 40px 0; margin: 0; }
html.nrs-lock { overflow: hidden; }
@media print { .nrs-modal { display: none !important; } }
@media (max-width: 900px) { .nrs-cert-grid { grid-template-columns: 1fr; } }

/* Mobile: the hero image sits as a 340px-tall band at the top (the hero image is an <img> element). */
@media (max-width: 700px) {
  .nrs-hero-bg img { right: auto; bottom: auto; left: 76%; top: 0; width: auto; max-width: none; height: 340px; transform: translateX(-76%); object-fit: fill; }
}
