.wjo-page {
  --wjo-paper: #FAF3E7;
  --wjo-paper-2: #F2E8D8;
  --wjo-ink: #241F1B;
  --wjo-red: #A32C39;
  --wjo-red-deep: #7C1F2A;
  --wjo-turmeric: #93692B;
  --wjo-line: rgba(36,31,27,0.14);

  background: var(--wjo-paper) !important;
  color: var(--wjo-ink) !important;
  font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif !important;
  line-height: 1.55;
  max-width: 100%;
  overflow-x: hidden;
}

/*
 * The theme this is embedded in may set its own color/font rules on plain
 * tags (label, p, span, li, a, h1-h3, input, textarea). Every text element
 * below gets its color spelled out explicitly and marked !important so it
 * renders correctly regardless of the active theme's global styles.
 */

.wjo-page * { box-sizing: border-box; }
.wjo-page img { max-width: 100%; display: block; }
.wjo-page a.wjo-btn { text-decoration: none; }
.wjo-page p,
.wjo-page span,
.wjo-page label,
.wjo-page li,
.wjo-page h1,
.wjo-page h2,
.wjo-page h3 {
  font-family: inherit;
}

.wjo-wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

.wjo-stripe {
  height: 8px;
  background: repeating-linear-gradient(to right, var(--wjo-red) 0px, var(--wjo-red) 3px, transparent 3px, transparent 9px);
  opacity: 0.85;
}

.wjo-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  background-color: #2b2420;
  background-size: cover;
  background-position: center 32%;
}
.wjo-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,15,12,0.86) 0%, rgba(20,15,12,0.45) 42%, rgba(20,15,12,0.02) 72%);
}
.wjo-hero-inner {
  position: relative; z-index: 1;
  width: 100%;
  padding: 40px 24px 32px;
  color: #FBF3E6 !important;
}
.wjo-kicker { font-weight: 600; font-size: 0.92rem; color: #E7C9A6 !important; margin: 0 0 10px; }
.wjo-title { font-weight: 700; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.05; margin: 0 0 14px; max-width: 16ch; color: #FBF3E6 !important; }
.wjo-hero-inner p.wjo-sub { font-size: 1.08rem; max-width: 46ch; color: #F1E3CE !important; margin: 0; }

.wjo-section { padding: 48px 0; }
.wjo-alt-bg { background: var(--wjo-paper-2) !important; }

.wjo-lede { font-style: italic; font-weight: 600; font-size: 1.3rem; line-height: 1.4; max-width: 34ch; color: var(--wjo-red-deep) !important; margin: 0 0 8px; }
.wjo-section-head { font-weight: 700; font-size: 1.7rem; margin: 0 0 16px; color: var(--wjo-ink) !important; }

.wjo-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.wjo-split.wjo-reverse .wjo-art { order: 2; }
.wjo-split.wjo-reverse .wjo-copy { order: 1; }
.wjo-copy p { color: var(--wjo-ink) !important; }
.wjo-art img { border-radius: 4px; }
.wjo-art figure { margin: 0; }

.wjo-specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wjo-specs li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; font-size: 0.98rem; border-bottom: 1px solid var(--wjo-line); padding-bottom: 12px; color: var(--wjo-ink) !important; }
.wjo-specs li .wjo-k { font-weight: 700; color: var(--wjo-red-deep) !important; }
.wjo-specs li span:not(.wjo-k) { color: var(--wjo-ink) !important; }

.wjo-uses-head { max-width: 52ch; }
.wjo-tags { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 24px; }
.wjo-tag {
  position: relative; background: var(--wjo-paper-2) !important;
  border: 1px solid var(--wjo-line); border-radius: 3px;
  padding: 10px 16px 10px 28px; font-size: 0.95rem; font-weight: 500; white-space: nowrap;
  color: var(--wjo-ink) !important;
}
.wjo-tag::before { content: ""; position: absolute; left: 12px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--wjo-red); }
.wjo-tag:nth-child(3n+2)::before { background: var(--wjo-turmeric); }

.wjo-price-band { background: var(--wjo-red-deep) !important; color: #FBF1E3 !important; }
.wjo-price-band .wjo-section-head { color: #FBF1E3 !important; }
.wjo-price-band p { color: #EFD7CE !important; max-width: 46ch; font-size: 1rem; }

.wjo-order-panel {
  background: var(--wjo-paper) !important; color: var(--wjo-ink) !important;
  border-radius: 6px; padding: 26px 28px;
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start;
}
.wjo-field-row { margin-bottom: 12px; }
.wjo-field-row label {
  display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 4px;
  color: var(--wjo-ink) !important; opacity: 0.85;
}
.wjo-field-row input[type="text"],
.wjo-field-row textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--wjo-line); border-radius: 4px; font-size: 0.96rem;
  background: #fff !important; color: var(--wjo-ink) !important; font-family: inherit; resize: vertical;
}
.wjo-field-row input[type="text"]::placeholder,
.wjo-field-row textarea::placeholder { color: #9a9186 !important; opacity: 1; }

.wjo-qty-row { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.wjo-qty-row .wjo-label { font-size: 0.9rem; color: var(--wjo-ink) !important; opacity: 0.75; }
.wjo-qty-btn {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--wjo-line);
  background: var(--wjo-paper-2) !important; color: var(--wjo-ink) !important; font-size: 1.05rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.wjo-qty-value { min-width: 26px; text-align: center; font-weight: 700; font-size: 1.1rem; color: var(--wjo-ink) !important; }

.wjo-order-total { margin-bottom: 6px; }
.wjo-mrp-value { font-size: 1rem; color: var(--wjo-ink) !important; opacity: 0.55; text-decoration: line-through; text-decoration-color: var(--wjo-red); }
.wjo-total-value { font-weight: 700; font-size: 2.1rem; color: var(--wjo-red-deep) !important; line-height: 1; margin-top: 2px; }
.wjo-unit-value { font-size: 0.84rem; margin-top: 6px; color: var(--wjo-ink) !important; opacity: 0.75; }

.wjo-form-msg { font-size: 0.86rem; min-height: 1.2em; margin: 6px 0; color: var(--wjo-ink) !important; }
.wjo-form-msg.wjo-error { color: var(--wjo-red) !important; font-weight: 600; }

.wjo-order-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.wjo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border-radius: 4px; font-weight: 700; font-size: 0.94rem; border: none; cursor: pointer; }
.wjo-btn-primary { background: var(--wjo-red-deep) !important; color: #FBF1E3 !important; }
.wjo-btn-whatsapp { background: #2E7D5B !important; color: #FBF1E3 !important; }
.wjo-hint { font-size: 0.76rem; color: var(--wjo-ink) !important; opacity: 0.7; margin: -2px 0 0; }

.wjo-qr-box { justify-self: center; text-align: center; }
.wjo-qrcode-container { display: inline-block; padding: 10px; background: #fff !important; border-radius: 6px; border: 1px solid var(--wjo-line); line-height: 0; min-height: 180px; min-width: 180px; }
.wjo-qr-caption { font-size: 0.82rem; color: var(--wjo-ink) !important; opacity: 0.7; margin-top: 8px; max-width: 200px; }

.wjo-back-link { max-width: 960px; margin: 20px auto 0; padding: 0 24px; }
.wjo-back-link a { color: var(--wjo-red-deep) !important; font-weight: 600; text-decoration: none; }

/* catalog grid */
.wjo-catalog-wrap { padding: 32px 24px; }
.wjo-catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.wjo-catalog-card {
  display: block; text-decoration: none;
  border: 1px solid rgba(36,31,27,0.14); border-radius: 6px; overflow: hidden; background: #fff !important;
}
.wjo-catalog-thumb { height: 160px; background-size: cover; background-position: center; }
.wjo-catalog-body { padding: 16px; }
.wjo-catalog-body h3 { margin: 0 0 4px; font-size: 1.1rem; color: var(--wjo-ink) !important; }
.wjo-catalog-tagline { font-size: 0.85rem; color: var(--wjo-ink) !important; opacity: 0.7; margin: 0 0 10px; }
.wjo-catalog-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.wjo-catalog-mrp { font-size: 0.9rem; color: var(--wjo-ink) !important; opacity: 0.5; text-decoration: line-through; }
.wjo-catalog-amount { font-size: 1.3rem; font-weight: 700; color: #7C1F2A !important; }
.wjo-catalog-cta { width: 100%; }

@media (max-width: 760px) {
  .wjo-split { grid-template-columns: 1fr; gap: 24px; }
  .wjo-split.wjo-reverse .wjo-art { order: 1; }
  .wjo-split.wjo-reverse .wjo-copy { order: 2; }
  .wjo-order-panel { grid-template-columns: 1fr; text-align: left; }
  .wjo-qr-box { justify-self: start; }
  .wjo-section { padding: 36px 0; }
  .wjo-hero { min-height: 54vh; }
}
