/* ============================================================
   JOVS — designed storefront front page
   Scoped to .jv so theme header/footer stay untouched
   ============================================================ */

/* Let the storefront run edge to edge, outside the theme's 645px content column */
.jovs-home-page .wp-block-post-content,
.jovs-home-page main.wp-block-group,
.jovs-home-page main > .wp-block-group,
.jovs-home-page .wp-block-post-content > .wp-block-group {
  max-width: none !important;
  width: 100% !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}
.jovs-home-page .jv { max-width: none !important; width: 100% !important; }

.jv {
  --jv-bg: #f6f2ec;
  --jv-bg-2: #efe9e1;
  --jv-surface: #ffffff;
  --jv-ink: #111014;
  --jv-ink-2: #2a2723;
  --jv-muted: #6e6862;
  --jv-line: rgba(17, 16, 20, 0.12);
  --jv-line-soft: rgba(17, 16, 20, 0.07);
  --jv-accent: #c4452d;
  --jv-accent-2: #e0714f;
  --jv-blush: #f4ddd4;
  --jv-radius: 22px;
  --jv-shadow-sm: 0 1px 2px rgba(17, 16, 20, 0.05), 0 8px 20px -10px rgba(17, 16, 20, 0.16);
  --jv-shadow-md: 0 2px 4px rgba(17, 16, 20, 0.04), 0 22px 48px -22px rgba(17, 16, 20, 0.28);
  --jv-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  position: relative;
  background: var(--jv-bg);
  color: var(--jv-ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.jv *,
.jv *::before,
.jv *::after { box-sizing: border-box; }

.jv img { max-width: 100%; display: block; }
.jv a { color: inherit; text-decoration: none; }
.jv p { margin: 0; }
.jv ul, .jv ol { margin: 0; padding: 0; list-style: none; }
.jv h1, .jv h2, .jv h3 { margin: 0; font-weight: 400; }
.jv svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.jv :focus-visible { outline: 2px solid var(--jv-accent); outline-offset: 3px; border-radius: 4px; }

.jv-shell {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

/* ---------- type ---------- */
.jv-display {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  font-size: clamp(41.6px, 5.4vw, 73.6px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
.jv-display em { font-style: italic; color: var(--jv-accent); }

.jv-h2 {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-size: clamp(28px, 3vw, 41.6px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.jv-h2 em { font-style: italic; color: var(--jv-accent); }
.jv-h2--light { color: #fff; }
.jv-h2--light em { color: var(--jv-accent-2); }

.jv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.52px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jv-muted);
  margin-bottom: 16px;
}
.jv-eyebrow--light { color: rgba(255, 255, 255, 0.66); }
.jv-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--jv-accent);
  box-shadow: 0 0 0 4px rgba(196, 69, 45, 0.14);
}

.jv-lead {
  font-size: clamp(16px, 1.2vw, 17.6px);
  color: var(--jv-muted);
  max-width: 46ch;
}

/* ---------- buttons ---------- */
.jv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.jv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14.72px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--jv-ease), background 0.25s var(--jv-ease), color 0.25s var(--jv-ease), box-shadow 0.25s var(--jv-ease);
}
.jv-btn svg { width: 17px; height: 17px; transition: transform 0.25s var(--jv-ease); }
.jv-btn:hover svg { transform: translateX(3px); }
.jv-btn--solid { background: var(--jv-ink); color: #fff; box-shadow: 0 12px 26px -14px rgba(17, 16, 20, 0.65); }
.jv-btn--solid:hover { background: var(--jv-accent); transform: translateY(-1px); }
.jv-btn--ghost { border-color: var(--jv-line); color: var(--jv-ink); background: rgba(255, 255, 255, 0.5); }
.jv-btn--ghost:hover { border-color: var(--jv-ink); background: #fff; transform: translateY(-1px); }
.jv-btn--light { background: #fff; color: var(--jv-ink); }
.jv-btn--light:hover { background: var(--jv-accent-2); color: #fff; transform: translateY(-1px); }

.jv-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.08px;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--jv-line);
  transition: border-color 0.2s var(--jv-ease), color 0.2s var(--jv-ease);
  white-space: nowrap;
}
.jv-textlink svg { width: 15px; height: 15px; }
.jv-textlink:hover { color: var(--jv-accent); border-color: var(--jv-accent); }

/* ---------- hero ---------- */
.jv-hero {
  position: relative;
  padding: clamp(34px, 5vw, 68px) 0 clamp(46px, 6vw, 84px);
  background:
    radial-gradient(900px 460px at 78% 8%, rgba(224, 113, 79, 0.16), transparent 62%),
    radial-gradient(700px 420px at 8% 0%, rgba(244, 221, 212, 0.55), transparent 60%),
    var(--jv-bg);
}
.jv-hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.jv-hero__copy { max-width: 560px; }
.jv-hero .jv-lead { margin-top: 22px; }

.jv-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}
.jv-hero__chips li {
  font-size: 12.16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--jv-ink-2);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--jv-line);
  background: rgba(255, 255, 255, 0.55);
}

.jv-hero__visual {
  position: relative;
  min-height: clamp(360px, 44vw, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.jv-hero__panel {
  position: absolute;
  inset: 4% 6% 8% 8%;
  border-radius: 44% 56% 52% 48% / 52% 44% 56% 48%;
  background: linear-gradient(150deg, #f9ece6 0%, #f4ddd4 46%, #ecc7b8 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 40px 90px -50px rgba(196, 69, 45, 0.55);
  animation: jv-blob 16s ease-in-out infinite alternate;
}
@keyframes jv-blob {
  from { border-radius: 44% 56% 52% 48% / 52% 44% 56% 48%; transform: rotate(-1.2deg); }
  to   { border-radius: 52% 48% 45% 55% / 46% 54% 46% 54%; transform: rotate(1.2deg); }
}
.jv-hero__img {
  position: relative;
  z-index: 2;
  width: min(88%, 480px);
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(17, 16, 20, 0.22));
  animation: jv-floaty 7s ease-in-out infinite;
}
@keyframes jv-floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.jv-float {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--jv-shadow-md);
}
.jv-float__k { font-size: 10.88px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--jv-muted); }
.jv-float__v { font-size: 13.44px; font-weight: 600; color: var(--jv-ink); }
.jv-float--one { top: 8%; right: 0; }
.jv-float--two { bottom: 10%; left: 0; }

.jv-hero__link {
  position: absolute;
  z-index: 3;
  bottom: -6px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.12px;
  font-weight: 600;
  color: var(--jv-ink);
  padding: 10px 0;
  border-bottom: 1px solid rgba(17, 16, 20, 0.35);
}
.jv-hero__link svg { width: 15px; height: 15px; }
.jv-hero__link:hover { color: var(--jv-accent); border-color: var(--jv-accent); }

/* ---------- trust ---------- */
.jv-trust { background: var(--jv-surface); border-block: 1px solid var(--jv-line-soft); }
.jv-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-block: 20px;
}
.jv-trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
}
.jv-trust__item + .jv-trust__item { border-left: 1px solid var(--jv-line-soft); }
.jv-trust__item svg { width: 24px; height: 24px; color: var(--jv-accent); flex: none; }
.jv-trust__item div { display: grid; line-height: 1.35; }
.jv-trust__item strong { font-size: 13.44px; font-weight: 600; }
.jv-trust__item span { font-size: 12.16px; color: var(--jv-muted); }

/* ---------- sections ---------- */
.jv-section { padding: clamp(54px, 7vw, 96px) 0; }
.jv-section--tint { background: var(--jv-bg-2); }
.jv-section--ink {
  background:
    radial-gradient(700px 380px at 88% 0%, rgba(196, 69, 45, 0.28), transparent 60%),
    radial-gradient(600px 420px at 0% 100%, rgba(224, 113, 79, 0.14), transparent 60%),
    #111014;
  color: #fff;
}
.jv-section--ink .jv-eyebrow { color: rgba(255, 255, 255, 0.6); }
.jv-section--ink .jv-dot { background: var(--jv-accent-2); box-shadow: 0 0 0 4px rgba(224, 113, 79, 0.18); }

.jv-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 3vw, 42px);
}
.jv-head__note { max-width: 34ch; color: rgba(255, 255, 255, 0.62); font-size: 14.72px; }
.jv-head--light .jv-h2 { color: #fff; }

/* ---------- category tiles ---------- */
.jv-cats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.jv-cat {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--jv-radius);
  background: #ddd3c9;
  min-height: 220px;
  isolation: isolate;
  box-shadow: var(--jv-shadow-sm);
}
.jv-cat__media { position: absolute; inset: 0; z-index: -2; }
.jv-cat__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--jv-ease);
}
.jv-cat::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17, 16, 20, 0) 32%, rgba(17, 16, 20, 0.72) 100%);
}
.jv-cat:hover .jv-cat__media img { transform: scale(1.045); }
.jv-cat__body {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 2px;
  padding: 20px 22px;
  color: #fff;
}
.jv-cat__name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22.4px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.jv-cat__meta { font-size: 12.16px; color: rgba(255, 255, 255, 0.72); }
.jv-cat__go {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px;
  font-size: 12.16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.9;
}
.jv-cat__go svg { width: 14px; height: 14px; transition: transform 0.25s var(--jv-ease); }
.jv-cat:hover .jv-cat__go svg { transform: translateX(4px); }

.jv-cat--a { grid-column: span 4; min-height: 340px; }
.jv-cat--b { grid-column: span 2; min-height: 340px; }
.jv-cat--c { grid-column: span 2; }

/* ---------- product cards ---------- */
.jv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.jv-card {
  display: flex;
  flex-direction: column;
  background: var(--jv-surface);
  border: 1px solid var(--jv-line-soft);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s var(--jv-ease), box-shadow 0.3s var(--jv-ease), border-color 0.3s var(--jv-ease);
}
.jv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 69, 45, 0.28);
  box-shadow: var(--jv-shadow-md);
}
.jv-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  padding: 12%;
  background: linear-gradient(160deg, #faf7f3, #f1ebe4);
  overflow: hidden;
}
.jv-card__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--jv-ease);
}
.jv-card:hover .jv-card__media img { transform: scale(1.05); }
.jv-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-size: 10.56px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--jv-accent);
  border-radius: 999px;
  padding: 5px 10px;
}
.jv-card__badge--soft { background: rgba(17, 16, 20, 0.82); }
.jv-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 18px;
  flex: 1;
}
.jv-card__title {
  font-family: "Inter", sans-serif;
  font-size: 14.08px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  min-height: 2.4em;
}
.jv-card__title a:hover { color: var(--jv-accent); }
.jv-card__price {
  font-size: 13.76px;
  color: var(--jv-ink-2);
  margin-top: auto;
}
.jv-card__price .woocommerce-Price-amount { font-weight: 600; }
.jv-card__price del { color: var(--jv-muted); font-weight: 400; margin-right: 4px; }
.jv-card__price ins { text-decoration: none; color: var(--jv-accent); }
.jv-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.48px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--jv-ink);
  padding-top: 10px;
  border-top: 1px solid var(--jv-line-soft);
  transition: color 0.2s var(--jv-ease);
}
.jv-card__cta svg { width: 14px; height: 14px; transition: transform 0.25s var(--jv-ease); }
.jv-card:hover .jv-card__cta { color: var(--jv-accent); }
.jv-card:hover .jv-card__cta svg { transform: translateX(3px); }

/* ---------- editorial ---------- */
.jv-editorial {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.jv-editorial__media {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(150deg, #f9ece6, #ecc7b8);
  padding: clamp(24px, 4vw, 54px);
  box-shadow: var(--jv-shadow-md);
}
.jv-editorial__media img { width: 100%; height: auto; filter: drop-shadow(0 24px 36px rgba(17, 16, 20, 0.2)); }
.jv-editorial__tag {
  position: absolute;
  top: 18px; left: 18px;
  font-size: 10.56px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.86);
  color: var(--jv-ink);
  border-radius: 999px;
  padding: 6px 12px;
}
.jv-editorial__copy .jv-lead { margin-top: 18px; }
.jv-list { display: grid; gap: 14px; margin: 26px 0 30px; }
.jv-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14.72px;
  color: var(--jv-ink-2);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--jv-line-soft);
}
.jv-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.jv-list li span {
  font-family: "Fraunces", Georgia, serif;
  font-size: 13.76px;
  color: var(--jv-accent);
  letter-spacing: 0.04em;
  padding-top: 2px;
}

/* ---------- technology ---------- */
.jv-tech {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.jv-tech__card {
  position: relative;
  padding: 30px 28px 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  transition: transform 0.3s var(--jv-ease), border-color 0.3s var(--jv-ease), background 0.3s var(--jv-ease);
}
.jv-tech__card:hover { transform: translateY(-4px); border-color: rgba(224, 113, 79, 0.5); background: linear-gradient(170deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)); }
.jv-tech__icon {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(224, 113, 79, 0.16);
  color: var(--jv-accent-2);
  margin-bottom: 20px;
}
.jv-tech__icon svg { width: 26px; height: 26px; }
.jv-tech__card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 21.12px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.jv-tech__card p { font-size: 14.4px; color: rgba(255, 255, 255, 0.62); }
.jv-tech__card a {
  display: inline-flex;
  margin-top: 22px;
  font-size: 12.48px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jv-accent-2);
  border-bottom: 1px solid rgba(224, 113, 79, 0.4);
  padding-bottom: 3px;
}
.jv-tech__card a:hover { color: #fff; border-color: #fff; }

/* ---------- steps ---------- */
.jv-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  counter-reset: none;
}
.jv-steps li { position: relative; padding-top: 26px; border-top: 1px solid var(--jv-line); }
.jv-step__no {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 14.4px;
  color: var(--jv-accent);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.jv-steps h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 20.48px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.jv-steps p { font-size: 14.4px; color: var(--jv-muted); max-width: 34ch; }

/* ---------- guarantee ---------- */
.jv-guarantee {
  background:
    radial-gradient(820px 420px at 82% 50%, rgba(196, 69, 45, 0.4), transparent 62%),
    #111014;
  color: #fff;
  padding: clamp(56px, 7vw, 96px) 0;
}
.jv-guarantee__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 64px);
}
.jv-guarantee__note { margin-top: 18px; max-width: 52ch; color: rgba(255, 255, 255, 0.66); font-size: 15.04px; }
.jv-guarantee__actions { display: grid; gap: 14px; justify-items: start; flex: none; }
.jv-guarantee__micro { font-size: 12.16px; color: rgba(255, 255, 255, 0.6); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .jv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jv-cat--a { grid-column: span 6; min-height: 320px; }
  .jv-cat--b { grid-column: span 3; min-height: 260px; }
  .jv-cat--c { grid-column: span 3; }
}

@media (max-width: 900px) {
  .jv-hero__grid { grid-template-columns: 1fr; }
  .jv-hero__copy { max-width: 640px; }
  .jv-hero__visual { order: -1; min-height: 380px; margin-bottom: 8px; }
  .jv-hero__img { width: min(72%, 400px); }
  .jv-trust__grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .jv-trust__item + .jv-trust__item { border-left: 0; }
  .jv-trust__item:nth-child(even) { border-left: 1px solid var(--jv-line-soft); }
  .jv-editorial { grid-template-columns: 1fr; }
  .jv-tech { grid-template-columns: 1fr; }
  .jv-guarantee__inner { flex-direction: column; align-items: flex-start; }
  .jv-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 700px) {
  .jv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .jv-steps { grid-template-columns: 1fr; gap: 26px; }
  .jv-cats { grid-template-columns: repeat(2, 1fr); }
  .jv-cat--a, .jv-cat--b, .jv-cat--c { grid-column: span 2; min-height: 220px; }
  .jv-float--one { right: 0; top: 4%; padding: 10px 12px; }
  .jv-float--two { left: 0; bottom: 6%; padding: 10px 12px; }
  .jv-hero__link { right: 0; }
  .jv-card__body { padding: 12px 13px 14px; gap: 8px; }
  .jv-card__title { font-size: 13.12px; }
  .jv-actions { gap: 10px; }
  .jv-btn { min-height: 48px; padding: 0 20px; font-size: 13.76px; }
  .jv-trust__grid { padding-block: 14px; }
  .jv-trust__item { padding: 8px 6px; }
  .jv-trust__item strong { font-size: 12.8px; }
  .jv-trust__item span { font-size: 11.52px; }
}

@media (prefers-reduced-motion: reduce) {
  .jv-hero__panel, .jv-hero__img { animation: none; }
  .jv-card, .jv-cat__media img, .jv-btn { transition: none; }
}
