/*
 * JIYANSH CREATION brand layer.
 *
 * Bootstrap is loaded first from a local file, then this sheet overrides its
 * variables. Everything visual is driven from the tokens in :root, so changing
 * a colour here changes it across the whole site; no component hard-codes a hex
 * value. This is the same palette as the Next.js build it replaces.
 *
 * There is no build step. cPanel has no Node, so this is plain CSS that the
 * browser reads directly rather than something compiled from Sass.
 */

:root {
  /* ---- Primary: navy, from the logo ---- */
  --jc-primary-50: #f1f5f8;
  --jc-primary-100: #dde7ee;
  --jc-primary-200: #bccfdd;
  --jc-primary-300: #90aec4;
  --jc-primary-400: #5d86a4;
  --jc-primary-500: #3d6a8a;
  --jc-primary-600: #2c5372;
  --jc-primary-700: #1d3f5b;
  --jc-primary-800: #123149;
  --jc-primary-900: #0a2c42;
  --jc-primary-950: #061c2b;

  /* ---- Secondary: gold, from the logo lettering ---- */
  --jc-secondary-50: #fdf9ef;
  --jc-secondary-100: #faf0d7;
  --jc-secondary-200: #f4dfae;
  --jc-secondary-300: #efce96;
  --jc-secondary-400: #e8c27a;
  --jc-secondary-500: #dda94f;
  --jc-secondary-600: #c68f36;
  --jc-secondary-700: #a3712c;
  --jc-secondary-800: #7f5726;
  --jc-secondary-900: #684821;
  --jc-secondary-950: #3b2710;

  /* ---- Accent: terracotta, for occasional emphasis ---- */
  --jc-accent-400: #e88d75;
  --jc-accent-500: #d96a4c;
  --jc-accent-600: #c5502f;
  --jc-accent-700: #a54026;

  /* ---- Surfaces: warm neutrals rather than grey, to suit the gold ---- */
  --jc-surface-0: #ffffff;
  --jc-surface-50: #faf9f7;
  --jc-surface-100: #f4f2ee;
  --jc-surface-200: #e8e4dd;
  --jc-surface-300: #d6d0c6;
  --jc-surface-400: #b3aa9c;
  --jc-surface-500: #8f8577;
  --jc-surface-600: #6f665a;
  --jc-surface-700: #564e45;
  --jc-surface-800: #3b352f;
  --jc-surface-900: #241f1b;

  /* ---- Status ---- */
  --jc-success-50: #f0f8f3;
  --jc-success-200: #bfdfcb;
  --jc-success-700: #2f6d47;
  --jc-success-900: #1d4530;
  --jc-warning-50: #fdf6ea;
  --jc-warning-200: #f2debb;
  --jc-warning-700: #8a6220;
  --jc-warning-900: #573d13;
  --jc-danger-50: #fdf3f2;
  --jc-danger-200: #f4cdc8;
  --jc-danger-700: #a33327;
  --jc-danger-900: #6b241c;
  --jc-info-50: #f0f5fa;
  --jc-info-200: #c4d8ea;
  --jc-info-700: #2c5372;
  --jc-info-900: #123149;

  /* ---- Semantic aliases ---- */
  --jc-ink: var(--jc-primary-950);
  --jc-ink-muted: var(--jc-surface-600);
  --jc-page: var(--jc-surface-50);
  --jc-line: var(--jc-surface-200);

  /* ---- Shape and depth ---- */
  --jc-radius: 0.875rem;
  --jc-shadow-card: 0 1px 2px rgb(10 44 66 / 0.06), 0 8px 24px -12px rgb(10 44 66 / 0.18);
  --jc-shadow-lift: 0 2px 4px rgb(10 44 66 / 0.08), 0 18px 40px -16px rgb(10 44 66 / 0.28);
  --jc-container: 96rem;

  /* ---- Typography: Marcellus for display, Inter for everything else ---- */
  --jc-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --jc-font-display: "Marcellus", Georgia, "Times New Roman", serif;

  /* ---- Bootstrap overrides, so its own components inherit the brand ---- */
  --bs-primary: var(--jc-primary-900);
  --bs-primary-rgb: 10, 44, 66;
  --bs-body-bg: var(--jc-page);
  --bs-body-color: var(--jc-ink);
  --bs-body-font-family: var(--jc-font-sans);
  --bs-border-color: var(--jc-line);
  --bs-border-radius: 0.625rem;
  --bs-border-radius-lg: var(--jc-radius);
  --bs-link-color: var(--jc-primary-800);
  --bs-link-hover-color: var(--jc-primary-950);
  --bs-emphasis-color: var(--jc-ink);
  --bs-secondary-color: var(--jc-ink-muted);
}

/* ------------------------------------------------------------------ base */

html,
body {
  /* Belt and braces against horizontal scroll on phones: a single wide child
     anywhere would otherwise make the whole page pan sideways. */
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--jc-font-sans);
  color: var(--jc-ink);
  background-color: var(--jc-page);
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

/* Long SKUs and addresses must wrap rather than widen their container. */
td,
th,
dd,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
.jc-display {
  font-family: var(--jc-font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}

::selection {
  background-color: var(--jc-secondary-300);
  color: var(--jc-primary-950);
}

/* Spinners on number inputs are useless next to our own +/- buttons. */
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* --------------------------------------------------------------- layout */

.jc-container {
  width: 100%;
  max-width: var(--jc-container);
  margin-inline: auto;
  /* The same horizontal padding on every page, at every breakpoint. */
  padding-inline: 1rem;
}

@media (min-width: 576px) {
  .jc-container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 992px) {
  .jc-container {
    padding-inline: 2.5rem;
  }
}

.jc-container-narrow {
  max-width: 48rem;
}

.jc-page {
  padding-block: 2.5rem;
}

@media (min-width: 576px) {
  .jc-page {
    padding-block: 3rem;
  }
}

/* ---------------------------------------------------------------- bands */

.jc-band-navy {
  background-color: var(--jc-primary-950);
  color: var(--jc-surface-0);
}

.jc-band-navy a {
  color: var(--jc-primary-100);
}

.jc-band-navy a:hover {
  color: var(--jc-surface-0);
}

/* --------------------------------------------------------------- header */

.jc-announce {
  background-color: var(--jc-primary-950);
  color: var(--jc-primary-100);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.jc-header {
  background-color: var(--jc-primary-900);
  color: var(--jc-surface-0);
}

.jc-header .nav-link {
  color: var(--jc-primary-100);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
}

.jc-header .nav-link:hover,
.jc-header .nav-link:focus {
  background-color: var(--jc-primary-800);
  color: var(--jc-surface-0);
}

.jc-header .nav-link.active {
  background-color: var(--jc-primary-800);
  color: var(--jc-surface-0);
}

/* ------------------------------------------------------------- wordmark */

.jc-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
  text-decoration: none;
}

.jc-monogram {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  border-radius: 0.5rem;
  background-color: var(--jc-secondary-400);
  color: var(--jc-primary-950);
  font-family: var(--jc-font-display);
  font-size: 1.25rem;
  line-height: 1;
}

.jc-wordmark-text {
  min-width: 0;
  line-height: 1.1;
}

.jc-wordmark-name {
  font-family: var(--jc-font-display);
  font-size: 1rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jc-wordmark-name .jc-gold {
  color: var(--jc-secondary-400);
}

.jc-wordmark-strap {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jc-primary-200);
}

/* ---------------------------------------------------------------- cards */

.jc-card {
  background-color: var(--jc-surface-0);
  border: 1px solid var(--jc-line);
  border-radius: var(--jc-radius);
  box-shadow: var(--jc-shadow-card);
}

.jc-card-flush {
  background-color: var(--jc-surface-0);
  border: 1px solid var(--jc-line);
  border-radius: var(--jc-radius);
}

/* -------------------------------------------------------------- buttons */

.btn-jc {
  background-color: var(--jc-primary-900);
  border-color: var(--jc-primary-900);
  color: var(--jc-surface-0);
  font-weight: 500;
}

.btn-jc:hover,
.btn-jc:focus {
  background-color: var(--jc-primary-950);
  border-color: var(--jc-primary-950);
  color: var(--jc-surface-0);
}

.btn-jc-gold {
  background-color: var(--jc-secondary-400);
  border-color: var(--jc-secondary-400);
  color: var(--jc-primary-950);
  font-weight: 600;
}

.btn-jc-gold:hover,
.btn-jc-gold:focus {
  background-color: var(--jc-secondary-300);
  border-color: var(--jc-secondary-300);
  color: var(--jc-primary-950);
}

.btn-jc-outline {
  background-color: var(--jc-surface-0);
  border-color: var(--jc-surface-300);
  color: var(--jc-ink);
}

.btn-jc-outline:hover,
.btn-jc-outline:focus {
  background-color: var(--jc-surface-100);
  border-color: var(--jc-surface-400);
  color: var(--jc-ink);
}

.btn-jc-ghost-light {
  background-color: transparent;
  border-color: rgb(255 255 255 / 0.35);
  color: var(--jc-surface-0);
}

.btn-jc-ghost-light:hover,
.btn-jc-ghost-light:focus {
  background-color: rgb(255 255 255 / 0.12);
  border-color: var(--jc-surface-0);
  color: var(--jc-surface-0);
}

/* --------------------------------------------------------------- inputs */

.form-control,
.form-select {
  border-color: var(--jc-surface-300);
  border-radius: 0.5rem;
  color: var(--jc-ink);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--jc-secondary-500);
  box-shadow: 0 0 0 0.2rem rgb(221 169 79 / 0.25);
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--jc-surface-700);
  margin-bottom: 0.25rem;
}

/* --------------------------------------------------------- section head */

.jc-rule-gold::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin-top: 0.625rem;
  background-color: var(--jc-secondary-500);
}

.jc-eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jc-secondary-600);
}

.jc-muted {
  color: var(--jc-ink-muted);
}

/* ---------------------------------------------------------------- tiles */

.jc-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--jc-radius);
  background-color: var(--jc-primary-900);
  text-decoration: none;
  aspect-ratio: 4 / 3;
}

.jc-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.jc-tile:hover img {
  transform: scale(1.04);
}

.jc-tile-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(6 28 43 / 0.85) 0%, rgb(6 28 43 / 0.2) 55%, transparent 100%);
}

.jc-tile-body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem;
  color: var(--jc-surface-0);
}

.jc-tile-name {
  font-family: var(--jc-font-display);
  font-size: 1.0625rem;
  line-height: 1.2;
}

.jc-tile-meta {
  font-size: 0.75rem;
  color: var(--jc-secondary-200);
}

/* Fallback for a category or product with no photograph yet. */
.jc-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--jc-primary-800), var(--jc-primary-950));
  color: var(--jc-secondary-400);
  font-family: var(--jc-font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
}

/* ------------------------------------------------------------- products */

.jc-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--jc-surface-0);
  border: 1px solid var(--jc-line);
  border-radius: var(--jc-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.jc-product-card:hover {
  box-shadow: var(--jc-shadow-lift);
  transform: translateY(-2px);
  color: inherit;
}

/* A fixed ratio keeps the grid aligned whatever shape the photos are. */
.jc-product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: var(--jc-surface-100);
  overflow: hidden;
}

.jc-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jc-product-body {
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1 1 auto;
}

.jc-product-sku {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jc-surface-500);
}

.jc-product-name {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
}

.jc-price {
  font-family: var(--jc-font-display);
  font-size: 1.125rem;
  color: var(--jc-ink);
}

.jc-price-note {
  font-size: 0.75rem;
  color: var(--jc-ink-muted);
}

.jc-bulk-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background-color: var(--jc-secondary-400);
  color: var(--jc-primary-950);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
}

/* The gated price prompt a guest sees in place of a rate. */
.jc-locked-price {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--jc-primary-800);
}

/* --------------------------------------------------------- product page */

.jc-gallery-main {
  aspect-ratio: 1 / 1;
  background-color: var(--jc-surface-100);
  border: 1px solid var(--jc-line);
  border-radius: var(--jc-radius);
  overflow: hidden;
}

.jc-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jc-thumb {
  width: 4.5rem;
  height: 4.5rem;
  flex: 0 0 auto;
  border: 1px solid var(--jc-line);
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--jc-surface-100);
  padding: 0;
}

.jc-thumb.active {
  border-color: var(--jc-secondary-500);
  box-shadow: 0 0 0 2px rgb(221 169 79 / 0.3);
}

.jc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------------------------------------------------- table */

.jc-table {
  --bs-table-bg: var(--jc-surface-0);
  border-color: var(--jc-line);
}

.jc-table thead th {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--jc-surface-600);
  font-weight: 600;
  border-bottom-color: var(--jc-line);
}

.jc-tier-row-active {
  background-color: var(--jc-secondary-50);
}

/* --------------------------------------------------------------- badges */

.jc-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.1875rem 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.jc-badge-success {
  background-color: var(--jc-success-50);
  border-color: var(--jc-success-200);
  color: var(--jc-success-900);
}

.jc-badge-warning {
  background-color: var(--jc-warning-50);
  border-color: var(--jc-warning-200);
  color: var(--jc-warning-900);
}

.jc-badge-danger {
  background-color: var(--jc-danger-50);
  border-color: var(--jc-danger-200);
  color: var(--jc-danger-900);
}

.jc-badge-info {
  background-color: var(--jc-info-50);
  border-color: var(--jc-info-200);
  color: var(--jc-info-900);
}

.jc-badge-secondary {
  background-color: var(--jc-surface-100);
  border-color: var(--jc-surface-200);
  color: var(--jc-surface-700);
}

/* -------------------------------------------------------------- filters */

.jc-sidebar {
  position: sticky;
  top: 1.5rem;
}

.jc-filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--jc-surface-700);
  text-decoration: none;
}

.jc-filter-link:hover {
  background-color: var(--jc-surface-100);
  color: var(--jc-ink);
}

.jc-filter-link.active {
  background-color: var(--jc-primary-900);
  color: var(--jc-surface-0);
}

.jc-filter-count {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ---------------------------------------------------------- pagination */

.pagination {
  --bs-pagination-color: var(--jc-primary-800);
  --bs-pagination-active-bg: var(--jc-primary-900);
  --bs-pagination-active-border-color: var(--jc-primary-900);
  --bs-pagination-border-color: var(--jc-line);
  --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgb(221 169 79 / 0.25);
}

/* ------------------------------------------------------------- footer */

.jc-footer {
  background-color: var(--jc-primary-950);
  color: var(--jc-primary-200);
  font-size: 0.875rem;
}

.jc-footer h6 {
  color: var(--jc-surface-0);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jc-footer a {
  color: var(--jc-primary-200);
  text-decoration: none;
}

.jc-footer a:hover {
  color: var(--jc-surface-0);
}

/* --------------------------------------------------------------- steps */

.jc-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.jc-timeline li {
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 1rem;
}

.jc-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.375rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background-color: var(--jc-secondary-500);
}

.jc-timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.1875rem;
  top: 1rem;
  bottom: 0;
  width: 1px;
  background-color: var(--jc-line);
}

/* ===========================================================================
   Homepage and navigation, matching the approved design.
   Still driven entirely from the tokens at the top of this file.
   =========================================================================== */

/* ------------------------------------------------------------- top nav bar */

.jc-topnav {
  background-color: var(--jc-primary-950);
}

.jc-topnav .jc-nav-link {
  color: var(--jc-primary-100);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.375rem 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.jc-topnav .jc-nav-link:hover {
  color: var(--jc-surface-0);
  background-color: rgb(255 255 255 / 0.08);
}

.jc-topnav .jc-nav-link.active {
  color: var(--jc-secondary-400);
}

/* A pill button that reads as the primary call to action in the bar. */
.jc-quote-btn {
  background-color: var(--jc-secondary-400);
  color: var(--jc-primary-950);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.125rem;
  border: 0;
  border-radius: 999px;
  white-space: nowrap;
}

.jc-quote-btn:hover,
.jc-quote-btn:focus {
  background-color: var(--jc-secondary-300);
  color: var(--jc-primary-950);
}

.jc-icon-btn {
  background: transparent;
  border: 0;
  color: var(--jc-primary-100);
  padding: 0.375rem;
  border-radius: 0.375rem;
  line-height: 1;
}

.jc-icon-btn:hover {
  color: var(--jc-surface-0);
  background-color: rgb(255 255 255 / 0.08);
}

/* ------------------------------------------------------------------- hero */

.jc-hero {
  position: relative;
  background-color: var(--jc-primary-950);
  overflow: hidden;
}

.jc-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.jc-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* The scrim is what keeps white text readable over any photograph the owner
   uploads, rather than hoping the image happens to be dark on the left. */
.jc-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgb(6 28 43 / 0.97) 0%,
    rgb(6 28 43 / 0.92) 34%,
    rgb(6 28 43 / 0.55) 58%,
    rgb(6 28 43 / 0.25) 100%
  );
}

@media (max-width: 991.98px) {
  /* On a phone the photo sits behind the whole block, so the scrim has to be
     heavier or the text becomes unreadable. */
  .jc-hero-scrim {
    background: linear-gradient(
      180deg,
      rgb(6 28 43 / 0.92) 0%,
      rgb(6 28 43 / 0.88) 60%,
      rgb(6 28 43 / 0.94) 100%
    );
  }
}

.jc-hero-body {
  position: relative;
  z-index: 1;
  padding-block: 3.5rem;
}

@media (min-width: 992px) {
  .jc-hero-body {
    padding-block: 5rem;
    max-width: 40rem;
  }
}

.jc-hero-title {
  font-size: clamp(1.9rem, 5.2vw, 3.1rem);
  line-height: 1.12;
  color: var(--jc-surface-0);
  margin: 0;
}

.jc-hero-title .jc-accent {
  display: block;
  color: var(--jc-secondary-400);
}

.jc-hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jc-primary-200);
}

.jc-hero-tags span:not(:last-child)::after {
  content: "|";
  margin-left: 1rem;
  color: rgb(255 255 255 / 0.3);
}

/* ------------------------------------------------------------ trust strip */

.jc-trust {
  background-color: var(--jc-surface-0);
  border-bottom: 1px solid var(--jc-line);
}

.jc-trust-item {
  text-align: center;
  padding: 1.5rem 0.75rem;
}

@media (min-width: 768px) {
  /* Dividers between columns rather than around them, so the row reads as one
     strip instead of four boxes. */
  .jc-trust-item + .jc-trust-item {
    border-left: 1px solid var(--jc-line);
  }
}

.jc-trust-icon {
  color: var(--jc-secondary-600);
  margin-bottom: 0.5rem;
}

.jc-trust-title {
  font-family: var(--jc-font-display);
  font-size: 1rem;
  color: var(--jc-ink);
}

.jc-trust-text {
  font-size: 0.8125rem;
  color: var(--jc-ink-muted);
  margin: 0.25rem 0 0;
}

/* ------------------------------------------------- centred section heading */

.jc-section-title {
  font-family: var(--jc-font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--jc-ink);
  margin: 0;
}

.jc-section-title-centre {
  text-align: center;
  position: relative;
  padding-bottom: 0.875rem;
}

.jc-section-title-centre::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 3.5rem;
  height: 2px;
  background-color: var(--jc-secondary-500);
}

/* ----------------------------------------------------------- category card */

/* Compact version of the tile used on the homepage grid: picture with a solid
   navy caption bar, as in the design. */
.jc-cat-card {
  display: block;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--jc-surface-100);
  text-decoration: none;
  border: 1px solid var(--jc-line);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.jc-cat-card:hover {
  box-shadow: var(--jc-shadow-lift);
  transform: translateY(-2px);
}

.jc-cat-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.jc-cat-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.jc-cat-card:hover .jc-cat-card-media img {
  transform: scale(1.05);
}

.jc-cat-card-label {
  background-color: var(--jc-primary-950);
  color: var(--jc-surface-0);
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  padding: 0.5rem 0.5rem;
  line-height: 1.3;
}

/* ------------------------------------------------------ featured prod card */

.jc-feat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--jc-surface-0);
  border: 1px solid var(--jc-line);
  border-radius: 0.5rem;
  overflow: hidden;
}

.jc-feat-media {
  aspect-ratio: 1 / 1;
  background-color: var(--jc-surface-100);
  overflow: hidden;
}

.jc-feat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jc-feat-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1 1 auto;
}

.jc-feat-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--jc-ink);
  line-height: 1.3;
  text-decoration: none;
}

.jc-feat-name:hover {
  color: var(--jc-primary-700);
}

.jc-feat-meta {
  font-size: 0.6875rem;
  color: var(--jc-ink-muted);
}

.jc-feat-actions {
  margin-top: auto;
  display: grid;
  gap: 0.375rem;
}

.jc-btn-outline-sm {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--jc-surface-300);
  border-radius: 0.375rem;
  color: var(--jc-ink);
  background-color: var(--jc-surface-0);
  text-decoration: none;
}

.jc-btn-outline-sm:hover {
  background-color: var(--jc-surface-100);
  color: var(--jc-ink);
}

.jc-btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4rem 0.5rem;
  border-radius: 0.375rem;
  background-color: var(--jc-primary-950);
  color: var(--jc-surface-0);
  text-decoration: none;
  border: 0;
}

.jc-btn-wa:hover {
  background-color: var(--jc-primary-900);
  color: var(--jc-surface-0);
}

/* ----------------------------------------------------------- why choose us */

.jc-why-item {
  display: flex;
  gap: 0.625rem;
}

.jc-why-icon {
  flex: 0 0 auto;
  color: var(--jc-secondary-600);
  margin-top: 0.125rem;
}

.jc-why-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--jc-ink);
}

.jc-why-text {
  font-size: 0.75rem;
  color: var(--jc-ink-muted);
  margin: 0;
}

/* ------------------------------------------------------------- audiences */

.jc-aud-card {
  text-align: center;
  padding: 1rem 0.5rem;
  background-color: var(--jc-surface-0);
  border: 1px solid var(--jc-line);
  border-radius: 0.5rem;
  height: 100%;
}

.jc-aud-card svg {
  color: var(--jc-secondary-600);
}

.jc-aud-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--jc-ink);
  margin: 0.5rem 0 0;
  line-height: 1.3;
}

/* ----------------------------------------------------------------- steps */

.jc-step {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  background-color: var(--jc-surface-0);
  border: 1px solid var(--jc-line);
  border-radius: 0.5rem;
  padding: 0.75rem;
  height: 100%;
}

.jc-step-num {
  flex: 0 0 auto;
  font-family: var(--jc-font-display);
  font-size: 0.875rem;
  color: var(--jc-secondary-700);
  background-color: var(--jc-secondary-100);
  border-radius: 0.375rem;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
}

.jc-step-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--jc-ink);
}

.jc-step-text {
  font-size: 0.75rem;
  color: var(--jc-ink-muted);
  margin: 0;
}

/* The arrow between steps. Hidden below lg, where the steps stack and an
   arrow pointing sideways would be nonsense. */
.jc-step-arrow {
  display: none;
  align-self: center;
  color: var(--jc-surface-400);
}

@media (min-width: 992px) {
  .jc-step-arrow {
    display: block;
  }
}

/* ------------------------------------------------------------- cta band */

.jc-cta {
  background-color: var(--jc-primary-950);
  border-radius: 0.5rem;
  color: var(--jc-surface-0);
  padding: 1.25rem;
}

.jc-cta-icon {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(255 255 255 / 0.25);
  display: grid;
  place-items: center;
  color: var(--jc-secondary-400);
}

/* --------------------------------------------------------- instagram row */

.jc-ig-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0.375rem;
  overflow: hidden;
}

.jc-ig-strip a {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.25rem;
  background-color: var(--jc-surface-100);
}

.jc-ig-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------- quote form */

/* Each product row in the enquiry modal. Grid rather than flex so the select
   takes the slack and the quantity box keeps a fixed width. */
.jc-quote-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 6rem auto;
  gap: 0.5rem;
  align-items: start;
}

@media (max-width: 575.98px) {
  .jc-quote-row {
    grid-template-columns: minmax(0, 1fr) 4.5rem auto;
  }
}

/* ------------------------------------------------------------ uploaded logo */

/* Height is set inline from the back office so the owner controls the size.
   Width is left to follow the image, which is what lets a tall square mark and
   a wide one that already contains the name both sit correctly in the bar. */
.jc-logo-img {
  display: block;
  width: auto;
  max-width: 14rem;
  object-fit: contain;
  flex: 0 0 auto;
}

@media (max-width: 575.98px) {
  /* A wide logo would otherwise push the quote button and hamburger off a
     narrow screen, which is exactly the overflow this site had before. */
  .jc-logo-img {
    max-width: 9.5rem;
  }
}

.jc-footer .jc-logo-img {
  max-width: 18rem;
}

/* A product can carry a collection tag and a bulk-rate tag at once, so the
   second one moves to the opposite corner instead of sitting on top. */
.jc-bulk-badge-right {
  left: auto;
  right: 0.5rem;
  background-color: var(--jc-primary-900);
  color: var(--jc-secondary-300);
}

/* Inline tag used next to a product name on its own page. */
.jc-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.1875rem 0.5rem;
  border-radius: 999px;
  background-color: var(--jc-secondary-400);
  color: var(--jc-primary-950);
  vertical-align: middle;
}
