/* ===============================================================
   JEWEL THEME — shared storefront design tokens for the 2026-09
   homepage redesign (inspired by https://gehena-jaipur.netlify.app/).

   Self-hosted Playfair Display (public/assets/fonts/playfair-display/
   — installed via the @fontsource npm package, never linked from a
   CDN, per this project's "self-host everything" rule) supplies the
   serif display headings; everything else layers on top of the
   existing brand pink (#f90074) already used throughout store_header/
   store_footer/store_hero, so this file adds vocabulary rather than
   replacing the palette.

   Scope: linked only from the pages that use these classes (currently
   views/store_landing.ejs and, for the hero's default headline font,
   views/partials/store_hero.ejs) — never from head-assets.ejs, which
   is shared with the internal staff/office admin pages and must keep
   its own generic look untouched.
================================================================= */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/playfair-display/playfair-display-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/playfair-display/playfair-display-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display/playfair-display-latin-700-normal.woff2') format('woff2');
}

:root {
  --jewel-pink: #f90074;
  --jewel-pink-dark: #c40058;
  --jewel-pink-soft: #fff0f6;
  --jewel-ink: #241a1e;
  --jewel-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* ---- Eyebrow label — small italic serif kicker above a heading ---- */
.jewel-eyebrow {
  display: block;
  font-family: var(--jewel-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jewel-pink);
  margin-bottom: 8px;
}

/* ---- Serif display headings ---- */
.jewel-heading {
  font-family: var(--jewel-serif);
  font-weight: 700;
  color: var(--jewel-ink);
  line-height: 1.2;
}

.jewel-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 30px;
}
.jewel-section-head .jewel-heading { font-size: 1.9rem; margin: 0 0 8px; }
.jewel-section-head p { color: #767676; margin: 0; }

/* ---- Pill / gradient buttons ---- */
.jewel-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 34px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, var(--jewel-pink), #ff5fa2);
  color: #fff;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 18px rgba(249, 0, 116, 0.28);
}
.jewel-btn-pill:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(249, 0, 116, 0.35); color: #fff; }

.jewel-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  color: var(--jewel-pink);
  border: 1.5px solid var(--jewel-pink);
  transition: background 0.2s ease, color 0.2s ease;
}
.jewel-btn-outline:hover { background: var(--jewel-pink); color: #fff; }

/* ---- Trust badge strip ---- */
.jewel-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: center;
  padding: 22px 12px;
  background: var(--jewel-pink-soft);
  border-radius: 14px;
}
.jewel-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #4a3d41;
  font-weight: 600;
}
.jewel-trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--jewel-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.jewel-trust-icon svg { width: 18px; height: 18px; }

/* ---- Category tiles v2 — full-bleed photo with scrim + overlaid label ---- */
.jewel-coll-tile {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.jewel-coll-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16); }
.jewel-coll-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.jewel-coll-tile-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 2.4em; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--jewel-pink), #ff8fbd);
}
.jewel-coll-tile-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,10,14,0.80) 0%, rgba(20,10,14,0.18) 55%, rgba(20,10,14,0) 82%);
}
.jewel-coll-tile-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 16px;
  color: #fff; font-family: var(--jewel-serif); font-weight: 700; font-size: 1.1rem;
}
.jewel-coll-tile-label .jewel-coll-tile-sub {
  display: block; font-family: "Segoe UI", Tahoma, sans-serif; font-weight: 500;
  font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(255,255,255,0.82); margin-top: 4px;
}

/* ---- Product card discount badge (real MRP-derived, see product_card.ejs) ---- */
.jewel-discount-badge {
  display: inline-block; background: #1f8a4c; color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 2px 8px; border-radius: 5px; margin-left: 6px; vertical-align: middle;
}
.jewel-mrp-strike { color: #9a9a9a; text-decoration: line-through; font-weight: 500; font-size: 0.85em; margin-left: 6px; }

/* ---- Testimonials (real buyer feedback — see product_card.ejs's sibling
   comment in store_landing.ejs for why this is never fabricated) ---- */
.jewel-testimonial-card {
  height: 100%;
  background: #fff;
  border: 1px solid #f3e2ea;
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.jewel-testimonial-quote {
  font-family: var(--jewel-serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--jewel-pink);
  opacity: 0.55;
  margin-bottom: 4px;
}
.jewel-testimonial-text {
  color: #444;
  font-size: 0.92rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 14px;
  /* Long comments are capped visually rather than truncated in the query
     itself, so the card grid stays even without losing any real text —
     the full comment is always readable at /store/feedback. */
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jewel-testimonial-meta { font-size: 0.82rem; color: #555; }
.jewel-testimonial-meta strong { display: block; color: var(--jewel-ink); }
.jewel-testimonial-badge {
  display: inline-block;
  background: var(--jewel-pink-soft);
  color: var(--jewel-pink);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 5px;
  margin-top: 4px;
}
.jewel-testimonial-item { display: block; color: #888; margin-top: 4px; }

/* ---- Our Story band ---- */
.jewel-story-band {
  background: linear-gradient(135deg, #fff7fa, #fff);
  border: 1px solid #f6dbe8;
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.jewel-story-band p { color: #555; line-height: 1.7; font-size: 1.02rem; max-width: 620px; margin: 0 auto 20px; }
