/* assets/style.css — JamaicanCustomPrints (Premium)
   Typography: Fraunces (headings) + DM Sans (body)
   Refined shadows, spacing, and interactions
*/

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..700;1,9..40,400..700&family=Fraunces:ital,opsz,wght@0,9..144,400..900;1,9..144,400..900&display=swap");

/* -------------------- Reset -------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
input, button, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(240,196,25,.28); }
input::placeholder { color: rgba(102,112,133,.8); }

/* Smooth scroll only after load (prevents jump on refresh) */
html { scroll-behavior: auto; }
html.enable-smooth { scroll-behavior: smooth; }

/* -------------------- Theme (Premium) -------------------- */
:root{
  --max: 1120px;
  --card: #fff;
  --text: #0d1117;
  --muted: #57606a;
  --border: #e6eaef;

  /* Layered, softer shadows */
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 4px 12px rgba(15,23,42,.04);
  --shadow2: 0 4px 6px rgba(15,23,42,.04), 0 12px 28px rgba(15,23,42,.08), 0 24px 48px rgba(15,23,42,.06);
  --shadow-hover: 0 8px 16px rgba(15,23,42,.06), 0 20px 40px rgba(15,23,42,.08);
  --radius: 16px;
  --radius-sm: 12px;

  --jm-green: #0a7c34;
  --jm-green-soft: rgba(10,124,52,.08);
  --jm-gold: #d4a90a;
  --jm-gold-soft: rgba(212,169,10,.12);
  --jm-ink: #0d1117;
  --muted-strong: #424a54;

  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
}

/* -------------------- Body & typography -------------------- */
body{
  padding-top: 76px;
  margin: 0;
  font-family: var(--font-body);
  font-feature-settings: "ss01" 1, "ss02" 1;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;

  background:
    radial-gradient(1000px 600px at 15% 5%, rgba(212,169,10,.12), transparent 55%),
    radial-gradient(900px 540px at 85% 12%, rgba(10,124,52,.08), transparent 60%),
    url("./images/ui/hero-bg.jpg") center / cover no-repeat fixed;
  background-attachment: fixed;
}

/* Slight glossy blur over background (sits behind content) */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 40%, transparent 70%);
}
body > * { position: relative; z-index: 1; }

h1, h2, h3, h4, .storefront__title, .entranceIntro__title, .hero__accent,
.shop__title, .product__name, .highlight__title, .modal__title {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.storefront__title, .entranceIntro__title { font-weight: 700; }
.entranceIntro__kicker, .welcomeOverlay__hello { font-family: var(--font-heading); }
.product__name { font-weight: 700; }
.modal__title { font-weight: 700; }
.shop__title { font-weight: 700; font-size: 1.75rem; }
.section__head h2 { font-weight: 700; font-size: 1.65rem; color: var(--text); }
.section__head p { color: #fff;}
.section__label {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--jm-green);
  margin-bottom: 8px;
}
.ctaStrip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
}
.ctaStrip h2 { margin: 0 0 6px 0; font-size: 1.5rem; color: var(--text); }
.ctaStrip p { margin: 0; color: var(--muted-strong); font-size: 15px; }
.ctaStrip__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ctaStrip.card {
  transition: box-shadow .25s ease, transform .25s ease;
}
.ctaStrip.card:hover {
  box-shadow: var(--shadow-hover);
}
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.how__card { padding: 24px; }
.how__num {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--jm-green), #0d1117);
  color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; box-shadow: 0 4px 12px rgba(10,124,52,.25);
}
.how__card h3 { margin: 0 0 8px 0; font-size: 1.15rem; color: var(--text); }
.how__card p { margin: 0; font-size: 14px; color: var(--muted-strong); }
.how__card.card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.how__card.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(10,124,52,.18);
}

/* Category cards (home) — layout + interactivity */
.cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.cat.card,
.catLink {
  display: block;
  padding: 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--jm-green);
  transition: transform .25s ease, box-shadow .25s ease, border-left-color .25s ease;
}
.cat.card:hover,
.catLink:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-left-color: var(--jm-gold);
}
.cat__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cat__icon {
  font-size: 28px;
  transition: transform .3s ease;
}
.cat.card:hover .cat__icon,
.catLink:hover .cat__icon {
  transform: scale(1.15);
}
.cat__go {
  font-size: 13px;
  font-weight: 700;
  color: var(--jm-green);
  transition: transform .2s ease;
}
.cat.card:hover .cat__go,
.catLink:hover .cat__go {
  transform: translateX(4px);
}
.cat h3 { font-weight: 600; font-size: 1.15rem; color: var(--text); margin: 0 0 8px 0; }
.cat p.muted { color: var(--muted-strong); font-size: 14px; margin: 0; }

/* Home product cards — interactive */
.homeProduct.card {
  transition: transform .3s ease, box-shadow .3s ease;
}
.homeProduct.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.homeProduct__link { display: block; color: inherit; }
.homeProduct .product__body .muted.tiny { color: var(--muted-strong); }

.miniStat b { font-family: var(--font-body); }
.footer { font-family: var(--font-body); }
.muted { color: var(--muted); }
.tiny { font-size: 12px; }
.link { color: var(--jm-green); font-weight: 600; }
.link:hover { text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.empty { padding: 2rem; text-align: center; }
.empty h3 { margin-top: 0; }
.empty.card { border-radius: var(--radius); }

@media (max-width: 820px){
  body{ background-attachment: scroll; }
}

/* -------------------- Layout & utilities -------------------- */
.container{
  max-width: var(--max);
  margin: 40px auto;
  padding: 0 20px;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.card:hover { box-shadow: var(--shadow2); }

/* -------------------- Bootstrap Navbar (Premium) -------------------- */
.siteNav{
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  z-index: 999;
}

.siteNav .navbar{ padding: 10px 0; }

.navWrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 16px;

  border-radius: 16px;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(12px);

  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.siteNav.is-solid .navWrap{
  background: rgba(255,255,255,.94);
  border-color: var(--border);
  box-shadow: var(--shadow2);
}

.brandDot{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(20px 20px at 28% 32%, rgba(255,255,255,.25), transparent 55%),
    linear-gradient(135deg, var(--jm-green), #0d1117 52%, var(--jm-gold));
  box-shadow: 0 4px 12px rgba(15,23,42,.12);
}

.navPills .nav-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  color: rgba(13,17,23,.9);
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.navPills .nav-link:hover{
  background: var(--jm-green-soft);
  border-color: rgba(10,124,52,.2);
  color: var(--jm-green);
  transform: translateY(-1px);
}

.navPills .nav-link.active{
  color: #fff !important;
  background: linear-gradient(135deg, var(--jm-green), #0d1117);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(10,124,52,.35);
}

.navCount{
  margin-left: 6px;
  min-width: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--jm-gold-soft);
  border: 1px solid rgba(212,169,10,.25);
  color: var(--jm-ink);
}

/* -------------------- Entrance Intro -------------------- */
.entranceGallery{
  width: 100%;
  padding: 26px 0 10px;
}

.entranceGallery__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;

  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 14px;
}

.entranceIntro{
  text-align: center;
  max-width: 900px;
  margin: 0 auto 10px;
}

.entranceIntro__kicker{
  display: inline-block;
  font-size: clamp(42px, 5.5vw, 78px);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--jm-green);
  margin-bottom: 8px;
  text-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.entranceIntro__title{
  margin: 0 0 10px;
  font-size: clamp(22px, 2.8vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.entranceIntro__accent{
  width: 120px;
  height: 3px;
  margin: 14px auto 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--jm-green), var(--jm-gold), var(--jm-ink));
  opacity: .9;
}

.entranceIntro__note{
  margin: 0;
  font-size: clamp(15px, 1.7vw, 18px);
  color: var(--muted-strong);
  max-width: 760px;
  margin-inline: auto;
  line-height: 1.5;
}

/* -------------------- Slideshow -------------------- */
.heroShowcase{
  position: relative;
  width: min(980px, 100%);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.06);
  box-shadow: 0 26px 70px rgba(0,0,0,.25);
}

.heroShowcase__frame{
  position: relative;
  width: 100%;
  height: clamp(320px, 42vw, 460px);
  overflow: hidden;
  display: block;

  background:
    radial-gradient(520px 260px at 10% 20%, rgba(15,138,59,.18), transparent 62%),
    radial-gradient(560px 280px at 90% 10%, rgba(240,196,25,.16), transparent 64%),
    linear-gradient(135deg, #0b0f19, #111827);
}

.heroShowcase__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;

  /* choose one */
  object-fit: contain; /* shows full print */
  /* object-fit: cover;  */ /* cinematic crop */

  object-position: center;
  background: rgba(0,0,0,.22);

  opacity: 0;
  transition: opacity .55s ease;
  pointer-events:none;
}

.heroShowcase__img.is-active{ opacity: 1; }

.heroShowcase__nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(11,15,25,.45);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  display:grid;
  place-items:center;
  backdrop-filter: blur(10px);
  opacity: .92;
  z-index: 5;
}

.heroShowcase__nav:hover{
  background: rgba(11,15,25,.62);
  opacity: 1;
}

.heroShowcase__nav.prev{ left: 14px; }
.heroShowcase__nav.next{ right: 14px; }

@media (max-width: 520px){
  .heroShowcase__nav{ display:none; }
}

.heroShowcase__dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top: 12px;
}

.heroShowcase__dots .dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.2);
  background: rgba(255,255,255,.6);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.heroShowcase__dots .dot:hover{
  background: rgba(10,124,52,.5);
  transform: scale(1.15);
}
.heroShowcase__dots .dot.is-active{
  background: var(--jm-green);
  transform: scale(1.25);
  box-shadow: 0 0 0 2px rgba(255,255,255,.5);
}

/* -------------------- Buttons -------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--jm-green), #0d1117);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  user-select: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(10,124,52,.3);
}
.btn:hover {
  box-shadow: 0 6px 20px rgba(10,124,52,.4);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--jm-green); outline-offset: 2px; }

.btn.secondary{
  background: #fff;
  color: var(--jm-ink);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.btn.secondary:hover {
  background: var(--jm-green-soft);
  border-color: rgba(10,124,52,.25);
  color: var(--jm-green);
  box-shadow: var(--shadow2);
}

/* -------------------- Hero / Storefront -------------------- */
.hero{
  padding: 28px;
  border-radius: calc(var(--radius) + 6px);
  color:#fff;
  box-shadow: var(--shadow2);
  overflow:hidden;
}

.home-hero{
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(13,17,23,.82), rgba(13,17,23,.72)),
    url("./images/ui/hero-bg.jpg") center / cover no-repeat;
  box-shadow: var(--shadow2), inset 0 1px 0 rgba(255,255,255,.08);
}

.home-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 18% 22%, rgba(10,124,52,.18), transparent 58%),
    radial-gradient(800px 500px at 82% 12%, rgba(212,169,10,.14), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,.08), rgba(0,0,0,.3));
  pointer-events: none;
}

.home-hero > *{ position: relative; z-index: 1; }

.hero__kicker{
  display:inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  color: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  margin-bottom: 10px;
}

.hero__accent {
  color: var(--jm-gold);
  display: inline-block;
  transition: transform 0.35s ease, text-shadow 0.35s ease;
}
.storefront__title:hover .hero__accent {
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(212,169,10,.4);
}

/* Section spacing and alternating backgrounds (home refresh) */
.section { padding: 56px 0 48px; }
.section__head { margin-bottom: 32px; }
.section__head h2 { margin: 0 0 8px 0; font-size: 1.75rem; }
.section__head p { margin: 0; font-size: 16px; }

.section--tint {
  background: linear-gradient(180deg, rgba(10,124,52,.05) 0%, transparent 100%);
  border-radius: var(--radius);
  margin-left: -12px;
  margin-right: -12px;
  padding-left: 12px;
  padding-right: 12px;
}
@media (max-width: 600px) {
  .section--tint { margin-left: -8px; margin-right: -8px; padding-left: 8px; padding-right: 8px; }
}
.section--tint .section__head h2 { color: var(--text); }

.text-center.section__head { text-align: center; }
.text-center.section__head .section__label { margin-left: auto; margin-right: auto; }

.storefront{
  padding: 42px;
  min-height: 520px;
  display:flex;
  align-items:center;
}

.storefront__grid{
  width: 100%;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: stretch;
}

.storefront__left{ max-width: 58ch; }

.storefront__title{
  margin: 8px 0 10px;
  font-size: clamp(34px, 4.2vw, 52px);
  letter-spacing: -0.9px;
  line-height: 1.02;
}

.storefront__sub{
  margin: 0 0 18px;
  color: rgba(255,255,255,.95);
  font-size: 17px;
  line-height: 1.55;
}

.storefront__cta{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  margin: 14px 0 16px;
}

.storefront__btn{
  padding: 12px 16px;
  border-radius: 16px;
}
.storefront__btn:hover { transform: translateY(-2px); }
.storefront__btn.secondary:hover { border-color: rgba(255,255,255,.35); }

.storefront__trust{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 8px;
}

.trustpill{
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  transition: transform .2s ease, background .2s ease;
}
.trustpill:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-2px);
}

/* Right highlight panel */
.highlight{
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 55px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
  color:#fff;
}

.highlight__row{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 10px;
  border-radius: 16px;
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.10);
  margin-bottom: 10px;
}

.highlight__icon{
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,169,10,.18);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 18px;
  flex: 0 0 auto;
}

.highlight__title{ font-weight: 900; letter-spacing: -.2px; color: #fff; }
.highlight .muted.tiny { color: rgba(255,255,255,.82); }
.miniStat span{ color: rgba(255,255,255,.85); }
.highlight__note { color: rgba(255,255,255,.7); }

.highlight__divider{
  height: 1px;
  background: rgba(255,255,255,.14);
  margin: 12px 6px;
}

.highlight__mini{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  padding: 6px;
}

.miniStat{
  background: rgba(0,0,0,.10);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 10px;
}

.miniStat b{ font-size: 16px; display:block; color: #fff; }
.miniStat span{ font-size: 12px; color: rgba(255,255,255,.85); }

/* Storefront light section (no hero) — all content styled for light background */
.storefront--light {
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,.4) 100%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.storefront--light .hero__kicker {
  color: var(--jm-green);
  background: var(--jm-green-soft);
  border-color: rgba(10,124,52,.25);
}
.storefront--light .storefront__title { color: var(--text); }
.storefront--light .storefront__sub { color: var(--muted-strong); }
.storefront--light .storefront__btn.secondary:hover { border-color: var(--border); }
.storefront--light .trustpill {
  background: var(--card);
  border-color: var(--border);
  color: var(--text);
  box-shadow: var(--shadow);
}
.storefront--light .trustpill:hover {
  background: var(--jm-green-soft);
  border-color: rgba(10,124,52,.2);
}
.storefront--light .highlight {
  background: var(--card);
  border-color: var(--border);
  color: var(--text);
  box-shadow: var(--shadow2);
}
.storefront--light .highlight__row {
  background: rgba(10,124,52,.06);
  border-color: var(--border);
}
.storefront--light .highlight__title { color: var(--text); }
.storefront--light .highlight .muted.tiny { color: var(--muted-strong); }
.storefront--light .highlight__divider { background: var(--border); }
.storefront--light .highlight__icon {
  background: var(--jm-gold-soft);
  border-color: rgba(212,169,10,.25);
}
.storefront--light .miniStat {
  background: rgba(10,124,52,.06);
  border-color: var(--border);
}
.storefront--light .miniStat b { color: var(--text); }
.storefront--light .miniStat span { color: var(--muted-strong); }
.storefront--light .highlight__note { color: var(--muted-strong); }

@media (max-width: 980px){
  .storefront{ padding: 28px; min-height: auto; }
  .storefront__grid{ grid-template-columns: 1fr; }
}
@media (max-width: 520px){
  .highlight__mini{ grid-template-columns: 1fr; }
  .btn{ width: 100%; }
}

/* -------------------- Footer -------------------- */
.footer{
  margin-top: 40px;
  padding: 28px 0;
  color: var(--muted-strong);
  text-align: center;
  font-size: 14px;
}
.footer .muted { color: var(--muted-strong); }

/* -------------------- Reveal (FAILSAFE) -------------------- */
/* Default = visible (so sections never “disappear”). */
.reveal, .reveal-card{ opacity: 1; transform: none; }

/* When JS adds html.reveal-on, then we animate in via .is-inview */
html.reveal-on .reveal,
html.reveal-on .reveal-card{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
html.reveal-on .is-inview{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  html.reveal-on .reveal,
  html.reveal-on .reveal-card{
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* -------------------- Welcome Overlay -------------------- */
/* IMPORTANT: doesn’t block the page unless .is-active is added */
.welcomeOverlay{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  place-items: center;
  background: radial-gradient(ellipse 80% 60% at 50% 45%, rgba(13,17,23,.97), rgba(11,15,25,.94));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.welcomeOverlay.is-active{ display: grid; }

.welcomeOverlay__inner{ text-align: center; padding: 24px; overflow: hidden; }
.welcomeOverlay__hello{
  font-weight: 1000;
  letter-spacing: .22em;
  font-size: clamp(44px, 7vw, 90px);
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 20px 60px rgba(0,0,0,.35);
  transform-origin: center bottom;
}
.welcomeOverlay__accent{
  width: 0;
  height: 3px;
  margin: 18px auto 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), var(--jm-gold), rgba(255,255,255,.6), transparent);
  transform-origin: center;
}
.welcomeOverlay__sub{
  margin-top: 0;
  font-size: clamp(14px, 1.6vw, 18px);
  color: rgba(255,255,255,.78);
  letter-spacing: .04em;
  transform-origin: center top;
}
/* =========================================================
   SHOP — RESTORE STYLES (Paste at BOTTOM)
   Restores: shop controls, meta row, product options/actions
========================================================= */

/* subtle separators used in shop */
.shop__meta{
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(231,233,238,.9);
}

/* Shop head */
.shop__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom: 12px;
}

.shop__title{
  margin:0 0 6px 0;
  font-size: 30px;
  letter-spacing: -0.3px;
}

/* Shop controls (premium) */
.shop__controls{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  margin: 18px auto;
  max-width: 720px;
  justify-content: center;
}

.shop__controls .field{ display: flex; align-items: center; }

.shop__controls input,
.shop__controls select{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  min-width: 200px;
  font-family: var(--font-body);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.shop__controls input:focus,
.shop__controls select:focus{
  outline: none;
  border-color: var(--jm-green);
  box-shadow: 0 0 0 3px var(--jm-green-soft);
}

/* meta line under controls */
.shop__meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  max-width: 720px;
  margin: 10px auto 18px;
}

/* Grid */
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

/* Product card (premium) */
.product{
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product:hover{
  transform: translateY(-4px);
  border-color: rgba(10,124,52,.2);
  box-shadow: var(--shadow-hover);
}

/* Product media */
.product__media{
  position: relative;
  height: 200px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  cursor: pointer;
  background:
    radial-gradient(480px 240px at 12% 22%, rgba(10,124,52,.12), transparent 60%),
    radial-gradient(500px 250px at 88% 12%, rgba(212,169,10,.1), transparent 62%),
    linear-gradient(145deg, #0d1117, #161b22);
}

.product__img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  opacity: 0;              /* JS fades to 1 */
  transition: opacity .22s ease;
  filter: saturate(1.05) contrast(1.02);
}

.product__badge{
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(10px);
  letter-spacing: .02em;
}

.product__placeholder{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  font-size: 22px;
  color: rgba(255,255,255,.92);
  letter-spacing: .6px;
}

/* Product body */
.product__body{
  padding: 16px;
  display:flex;
  flex-direction:column;
  flex: 1;
}

.product__top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.product__name{
  margin:0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.product__price{
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--jm-gold-soft);
  border: 1px solid rgba(212,169,10,.22);
  color: var(--jm-ink);
}

/* Options row (size/color/qty etc.) */
.product__options{
  display:grid;
  grid-template-columns: 1fr 1fr 88px;
  gap: 10px;
  margin: 12px 0;
}

.product input,
.product select{
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 12px;
}

.product .opt-notes{
  padding: 9px 12px;
}

/* Actions row */
.product__actions{
  margin-top:auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Quick view pill */
.qv-pill{
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: rgba(11,15,25,.55);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
.product:hover .qv-pill{
  opacity: 1;
  transform: translateY(0);
}

/* Skeleton */
.media-skeleton{
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.06) 0%,
    rgba(255,255,255,.12) 40%,
    rgba(255,255,255,.06) 80%
  );
  animation: shimmer 1.2s infinite linear;
  opacity: .9;
}
@keyframes shimmer{
  0%{ transform: translateX(-40%); }
  100%{ transform: translateX(40%); }
}

/* -------------------- Modal (Quick View) — Premium -------------------- */
.modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden]{ display: none !important; }

.modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(13,17,23,.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal__panel{
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow2), 0 32px 64px rgba(15,23,42,.2);
  border: 1px solid var(--border);
  animation: modalIn .3s ease;
}
@keyframes modalIn{
  from { opacity: 0; transform: scale(0.98) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__head{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--border);
}
.modal__badge{
  font-size: 11px;
  font-weight: 600;
  color: var(--jm-green);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.modal__title{ margin: 0 0 6px 0; font-size: 1.25rem; }
.modal__price{ font-weight: 700; color: var(--jm-ink); font-size: 1rem; }
.modal__close{
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  transition: background .2s ease, color .2s ease;
}
.modal__close:hover{ background: var(--jm-green-soft); color: var(--jm-green); }

.modal__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 20px;
}
@media (max-width: 560px){ .modal__grid{ grid-template-columns: 1fr; } }

.modal__media{
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(145deg, #0d1117, #161b22);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__media img{ width: 100%; height: 100%; object-fit: cover; }
.modal__placeholder{
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: rgba(255,255,255,.9);
  letter-spacing: .05em;
}

.modal__content{ display: flex; flex-direction: column; gap: 14px; }

.modal__logo-section { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.modal__logo-section .mini { margin: 0; }
.logo-preview { margin-top: 4px; }
.logo-preview__img { max-width: 120px; max-height: 80px; object-fit: contain; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.logo-preview__err { font-size: 12px; color: var(--muted); }

.modal__options{
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
}
.modal .mini{ display: flex; flex-direction: column; gap: 4px; }
.modal .mini span{ font-size: 12px; font-weight: 600; color: var(--muted); }
.modal input, .modal select{
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-body);
}
.modal__actions{ display: flex; gap: 10px; flex-wrap: wrap; }
.modal__actions .btn{ flex: 1; min-width: 120px; }

/* Product name link (opens Quick View) */
.product__nameLink{ background: none; border: none; padding: 0; text-align: left; cursor: pointer; color: inherit; width: 100%; }
.product__open{ display: block; }

/* -------------------- Cart page -------------------- */
.cart-page { padding: 24px 0 48px; }
.cart-page__head { margin-bottom: 28px; }
.cart-page__title { font-size: 1.75rem; margin: 0 0 8px 0; color: var(--text); }
.cart-page__head .muted { margin: 0; color: var(--muted-strong); }

.cart-empty {
  text-align: center;
  padding: 48px 24px;
  max-width: 420px;
  margin: 0 auto;
}
.cart-empty__icon { font-size: 3rem; color: var(--muted); margin-bottom: 16px; }
.cart-empty h2 { font-size: 1.35rem; margin: 0 0 8px 0; }
.cart-empty p { margin: 0 0 20px 0; }
.cart-empty .btn { margin-top: 8px; }

.cart-content { max-width: 640px; }
.cart-list { list-style: none; padding: 0; margin: 0 0 24px 0; }
.cart-item { padding: 16px 20px; margin-bottom: 12px; }
.cart-item__main { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { display: block; margin-bottom: 4px; color: var(--text); }
.cart-item__meta { font-size: 13px; color: var(--muted-strong); }
.cart-item__notes { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.cart-item__right { display: flex; align-items: center; gap: 12px; }
.cart-item__price { font-weight: 700; white-space: nowrap; }
.cart-item__remove {
  width: 36px; height: 36px; border: none; border-radius: var(--radius-sm);
  background: transparent; color: var(--muted); font-size: 1.25rem; line-height: 1;
  transition: background .2s ease, color .2s ease;
}
.cart-item__remove:hover { background: var(--jm-green-soft); color: var(--jm-green); }

.cart-item__logo { margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cart-item__logo-img { width: 48px; height: 48px; object-fit: contain; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; }
.cart-item__logo-placement { font-size: 12px; color: var(--jm-green); font-weight: 600; }
.cart-item__logo-dl { font-size: 12px; background: none; border: none; padding: 0; cursor: pointer; }
.cart-item__logo-dl:hover { text-decoration: underline; }

.cart-summary { padding: 24px; margin-bottom: 16px; }
.cart-summary__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 1.1rem; }
.cart-summary__value { font-weight: 700; }
.cart-whatsapp-btn { width: 100%; margin: 12px 0 8px 0; padding: 14px; }
.cart-summary .link { display: inline-block; margin-top: 8px; font-size: 13px; }

/* -------------------- Account page -------------------- */
.account-page { padding: 24px 0 48px; max-width: 560px; }
.account-page__title { font-size: 1.75rem; margin: 0 0 6px 0; color: var(--text); }
.account-page__sub { margin: 0 0 28px 0; color: var(--muted-strong); }

.account-block { padding: 24px; margin-bottom: 20px; }
.account-block h2 { font-size: 1.2rem; margin: 0 0 12px 0; display: flex; align-items: center; gap: 10px; color: var(--text); }
.account-block h2 i { color: var(--jm-green); }
.account-block p { margin: 0 0 14px 0; color: var(--muted-strong); line-height: 1.55; }
.account-block .btn { margin-top: 4px; }
.account-list { margin: 0 0 0 20px; padding: 0 0 0 8px; }
.account-list li { margin-bottom: 6px; }

.account-block__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.order-list { list-style: none; padding: 0; margin: 12px 0 0 0; }
.order-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.order-item:last-child { border-bottom: none; }
.order-item__detail { font-size: 13px; margin-top: 4px; }

/* Auth pages (signup / login) */
.auth-page { padding: 24px 0 48px; max-width: 420px; }
.auth-page__title { font-size: 1.75rem; margin: 0 0 6px 0; color: var(--text); }
.auth-page__sub { margin: 0 0 24px 0; color: var(--muted-strong); }
.auth-page__footer { margin-top: 24px; text-align: center; color: var(--muted-strong); }

.auth-form { padding: 24px; }
.auth-form__error { color: #c00; font-size: 14px; margin-bottom: 12px; padding: 8px 12px; background: rgba(200,0,0,.08); border-radius: var(--radius-sm); }
.auth-form__label { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.auth-form__label span { font-size: 14px; font-weight: 600; color: var(--text); }
.auth-form__label input { padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.auth-form__label input:focus { outline: none; border-color: var(--jm-green); box-shadow: 0 0 0 3px var(--jm-green-soft); }
.auth-form__btn { width: 100%; margin-top: 8px; padding: 14px; }

/* -------------------- Testimonial (home) -------------------- */
.testimonial-section { padding-top: 32px; }
.testimonial { padding: 28px 32px; max-width: 560px; margin: 0 auto; text-align: center; }
.testimonial__quote { font-family: var(--font-heading); font-size: 1.2rem; font-style: italic; color: var(--text); margin: 0 0 12px 0; line-height: 1.5; }
.testimonial__author { font-size: 14px; color: var(--muted-strong); }

/* -------------------- Delivery & terms (home) -------------------- */
.delivery-terms { padding: 32px 0 24px; }
.delivery-terms__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.delivery-terms__item strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 14px; }
.delivery-terms__item p { margin: 0; font-size: 14px; color: var(--muted-strong); line-height: 1.5; }

/* Mobile — tap targets, layout, readability */
@media (max-width: 520px){
  .shop__controls{ border-radius: 18px; }
  .shop__controls input, .shop__controls select{ min-width: 100%; }
  .product__options{ grid-template-columns: 1fr 1fr; }
  .product__actions{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 768px){
  .navPills .nav-link{ padding: 12px 16px; min-height: 44px; }
  .navbar-toggler{ padding: 10px 12px; min-width: 44px; min-height: 44px; }
  .btn{ min-height: 44px; padding: 12px 20px; }
  .storefront__btn{ min-height: 44px; }
  .cart-item__remove{ min-width: 44px; min-height: 44px; }
  .heroShowcase__nav{ width: 44px; height: 44px; }
  .ctaStrip{ flex-direction: column; text-align: center; padding: 24px 20px; }
  .ctaStrip__actions{ justify-content: center; }
  .testimonial{ padding: 24px 20px; }
  .testimonial__quote{ font-size: 1.1rem; }
}

/* Shop page: nav always solid (no hero) */
body.shop-page .siteNav .navWrap{
  background: rgba(255,255,255,.94);
  border-color: var(--border);
  box-shadow: var(--shadow2);
}