/* Itzú · «Deidades del hinduismo» sales page (funnel /deidades, user 4) — same sketchbook look as site.css */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,700;1,9..144,600&family=Inter:wght@400;500;600;700&display=swap');
body:has(.dz) { background: #f3ede0 !important; margin: 0; }
body:has(.dz) .prodby-public-wrap, body:has(.dz) .grapesjs-render, body:has(.dz) .prodby-visual-html { background: transparent !important; padding: 0 !important; margin: 0 !important; max-width: none !important; color: inherit; }
.dz { --paper: #f3ede0; --ink: #2b2622; --mut: #6b5f55; --acc: #a4471c; --deep: #8a2e1f; --line: rgba(43,38,34,.16);
  min-height: 100vh; color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(ellipse at 50% 18%, rgba(230,180,130,.32), transparent 55%), var(--paper); }
.dz *, .dz *::before, .dz *::after { box-sizing: border-box; }
.dz-wrap { width: min(1080px, 100% - 32px); margin: 0 auto; padding: 40px 0 64px; }
.dz-kick { margin: 0 0 10px; font-size: 12px; letter-spacing: .34em; text-transform: uppercase; font-weight: 600; color: var(--acc); }
.dz h1 { margin: 0; font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(36px, 7vw, 60px); line-height: 1.04; color: var(--deep); }
.dz h1 em { display: block; font-style: italic; font-weight: 600; color: var(--ink); font-size: .55em; margin-top: 8px; }
.dz h2 { font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(24px, 4vw, 32px); margin: 0 0 14px; color: var(--deep); }
.dz-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.dz-lead { font-family: 'Fraunces', serif; font-size: 20px; line-height: 1.45; margin: 18px 0 22px; }
.dz-book { position: relative; width: min(360px, 100%); margin: 0 auto; transform: rotate(-2deg); }
.dz-book img { display: block; width: 100%; height: auto; border-radius: 4px 10px 10px 4px; box-shadow: 0 2px 0 #e7dccb, 6px 6px 0 #e2d4bf, 24px 34px 60px rgba(60,35,15,.32); }
.dz-badge { position: absolute; right: -14px; top: 18px; background: var(--acc); color: #fff; font: 700 13px/1.15 Inter; text-align: center; padding: 12px 10px; border-radius: 50%; width: 88px; height: 88px; display: grid; place-items: center; transform: rotate(10deg); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.dz-cta { display: inline-block; background: var(--deep); color: #fff !important; text-decoration: none; font-weight: 700; padding: 15px 26px; border-radius: 999px; font-size: 17px; box-shadow: 0 10px 24px rgba(138,46,31,.28); }
.dz-cta small { display: block; font-weight: 500; font-size: 12px; opacity: .8 }
.dz-trust { margin-top: 12px; font-size: 13px; color: var(--mut); }
.dz-sec { margin-top: 64px; }
.dz-peek { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dz-peek figure { margin: 0; text-align: center; } .dz-peek img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 14px 34px rgba(60,35,15,.18); }
.dz-peek figcaption { margin-top: 8px; font-size: 13px; color: var(--mut); font-style: italic; font-family: 'Fraunces', serif; }
.dz-inc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; list-style: none; padding: 0; margin: 0; }
.dz-inc li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); position: relative; }
.dz-inc li::before { content: 'ॐ'; position: absolute; left: 2px; top: 10px; color: var(--acc); font-size: 18px; }
.dz-inc b { font-family: 'Fraunces', serif; font-size: 17px; }
.dz-names { font-family: 'Fraunces', serif; font-style: italic; color: var(--mut); line-height: 1.8; }
.dz-buy { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.dz-price { font-family: 'Fraunces', serif; font-size: 54px; font-weight: 700; color: var(--deep); line-height: 1; margin: 10px 0 4px; }
.dz-price span { font-size: 18px; color: var(--mut); font-weight: 500; }
.dz-letter { background: #fbf7f0; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; font-family: 'Fraunces', serif; font-size: 17px; }
.dz-letter p { margin: 0 0 10px; } .dz-sign { font-style: italic; color: var(--acc); }
.dz-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; } .dz-faq summary { cursor: pointer; font-weight: 600; }
.dz-faq p { margin: 8px 0 0; color: var(--mut); }
.dz-foot { margin-top: 56px; text-align: center; font-size: 13px; color: var(--mut); }
.dz .prodby-order-form__card { box-shadow: 0 24px 60px rgba(60,35,15,.16) !important; }
@media (max-width: 820px) { .dz-hero, .dz-buy { grid-template-columns: 1fr; gap: 26px; } .dz-hero { text-align: center; } .dz-inc { grid-template-columns: 1fr; } .dz-peek { gap: 10px; } .dz-badge { right: 0; width: 76px; height: 76px; font-size: 12px; } }

/* 13 nov 2026 — «Tu ejemplar lleva tu nombre» (3D book) + «Actualizaciones de por vida» */
.dz-p { font-size: 17px; line-height: 1.6; margin: 0 0 14px; max-width: 56ch; }
.dz-own { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.dz-3d { perspective: 1500px; display: grid; place-items: center; padding: 30px 0 10px; position: relative; }
.dz-b3 { --w: 230px; --h: 326px; --d: 30px; width: var(--w); height: var(--h); position: relative; transform-style: preserve-3d; transform: rotateX(8deg) rotateY(-32deg); animation: dz-turn 10s ease-in-out infinite alternate; }
.dz-b3__f { position: absolute; top: 0; left: 0; backface-visibility: hidden; }
.dz-b3__front, .dz-b3__back { width: var(--w); height: var(--h); border-radius: 3px 8px 8px 3px; overflow: hidden; }
.dz-b3__front { transform: translateZ(calc(var(--d) / 2)); box-shadow: inset 6px 0 10px rgba(0,0,0,.18); }
.dz-b3__front img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dz-b3__back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); background: linear-gradient(135deg, #8a2e1f, #5f1f15); }
.dz-b3__spine { width: var(--d); height: var(--h); left: calc(var(--d) / -2); transform: rotateY(-90deg); background: linear-gradient(90deg, #6d2418, #8a2e1f 45%, #6d2418); display: grid; place-items: center; }
.dz-b3__spine span { writing-mode: vertical-rl; transform: rotate(180deg); color: #f3ede0; font: 600 11px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.dz-b3__pages { width: var(--d); height: calc(var(--h) - 8px); top: 4px; left: calc(var(--w) - var(--d) / 2); transform: rotateY(90deg); background: repeating-linear-gradient(90deg, #fbf7f0 0 2px, #e6dccb 2px 3px); }
.dz-b3__top { width: calc(var(--w) - 4px); height: var(--d); top: calc(var(--d) / -2); transform: rotateX(90deg); background: repeating-linear-gradient(0deg, #fbf7f0 0 2px, #e6dccb 2px 3px); }
.dz-3d__shadow { width: 250px; height: 26px; margin-top: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(60,35,15,.34), transparent); filter: blur(4px); animation: dz-shadow 10s ease-in-out infinite alternate; }
@keyframes dz-turn { from { transform: rotateX(8deg) rotateY(-38deg); } to { transform: rotateX(5deg) rotateY(24deg); } }
@keyframes dz-shadow { from { transform: translateX(-10px) scaleX(1.05); } to { transform: translateX(10px) scaleX(.92); } }
@media (prefers-reduced-motion: reduce) { .dz-b3, .dz-3d__shadow { animation: none; } }
.dz-name { display: grid; gap: 6px; margin: 18px 0 12px; max-width: 360px; font-size: 14px; font-weight: 600; color: var(--mut); }
.dz-name input { font: 500 17px/1.2 Inter, sans-serif; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbf7f0; color: var(--ink); width: 100%; }
.dz-name input:focus-visible { outline: 2px solid var(--deep); outline-offset: 2px; }
.dz-stamp { margin: 0; padding: 12px 16px; border: 1px dashed rgba(138,46,31,.45); border-radius: 10px; background: #fbf7f0; font: 500 14px/1.4 Inter, sans-serif; color: var(--mut); max-width: 460px; overflow-wrap: anywhere; }
.dz-stamp b { color: var(--deep); font-family: 'Fraunces', serif; font-style: italic; font-size: 17px; }
.dz-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: dzs; }
.dz-steps li { counter-increment: dzs; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fbf7f0; display: grid; gap: 6px; }
.dz-steps li::before { content: counter(dzs); width: 30px; height: 30px; border-radius: 50%; background: var(--deep); color: #fff; display: grid; place-items: center; font: 700 14px/1 Inter, sans-serif; }
.dz-steps b { font-family: 'Fraunces', serif; font-size: 20px; color: var(--deep); }
.dz-steps span { font-size: 15px; color: var(--mut); }
@media (max-width: 820px) { .dz-own { grid-template-columns: minmax(0, 1fr); gap: 10px; } .dz-steps { grid-template-columns: minmax(0, 1fr); } .dz-b3 { --w: 190px; --h: 269px; --d: 26px; } }

/* 13 nov v2 — the 3D book opens on the dedication page when a name is typed (JS drives the angles; cover is a hinged leaf) */
.dz-own { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); overflow: hidden; padding-block: 8px; }
.dz-3d { min-height: 470px; align-content: center; }
.dz-3d__zoom { will-change: transform; }
.dz-b3 { animation: none; will-change: transform; }
.dz-b3__cover { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 0 50%; will-change: transform; }
.dz-b3__inside { width: var(--w); height: var(--h); border-radius: 8px 3px 3px 8px; transform: translateZ(calc(var(--d) / 2 - 1px)) rotateY(180deg); background: linear-gradient(90deg, #efe4d0, #f7efe0 60%, #e9dcc5); box-shadow: inset -10px 0 16px rgba(60,35,15,.16); }
.dz-b3__page { width: calc(var(--w) - 5px); height: calc(var(--h) - 8px); top: 4px; left: 2px; border-radius: 2px 6px 6px 2px; transform: translateZ(calc(var(--d) / 2 - 1.5px)); background: linear-gradient(90deg, #e9dfcd 0, #fbf7f0 9%, #fbf7f0 100%); box-shadow: inset 8px 0 12px rgba(60,35,15,.12);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5em; padding: 10% 9%; text-align: center; font-size: calc(var(--w) / 9.2); color: var(--ink); overflow: hidden; }
.dz-ded__om { font-size: 1.05em; color: var(--acc); line-height: 1; }
.dz-ded__l { font: 600 .36em/1.2 Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); }
.dz-ded__n { font-family: 'Fraunces', serif; font-style: italic; font-weight: 700; color: var(--deep); line-height: 1.08; font-size: 1em; overflow-wrap: anywhere; max-width: 100%; }
.dz-ded__r { width: 34%; height: 1px; background: var(--acc); opacity: .6; }
.dz-ded__s { font: 500 .3em/1.5 Inter, sans-serif; color: var(--mut); }
.dz-3d__shadow { animation: none; transition: opacity .5s; }
.dz-own.is-open .dz-3d__shadow { opacity: .55; }
.dz-hint { margin: 0; font-size: 14px; color: var(--mut); max-width: 44ch; min-height: 2.9em; }
.dz-name input { font-size: 18px; }
@media (max-width: 820px) {
  .dz-own { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .dz-3d { min-height: 400px; padding: 14px 0 6px; }
  .dz-name { max-width: none; scroll-margin-top: 14px; }
}
.dz-3d { overflow: hidden; }
@media (min-width: 821px) { .dz-3d { min-height: 520px; } }

/* 13 nov v3 — nothing is cut: the cover fades as it swings open and the dedication page zooms inside its own box */
.dz-3d { overflow: visible; }
.dz-own { overflow: visible; overflow-x: clip; }
@media (min-width: 821px) { .dz-3d { min-height: 540px; } }
@media (max-width: 820px) { .dz-3d { min-height: 430px; } }
/* 13 nov v4 — the name field's border/focus ring was cropped by the section clip: no clipping, a little inner room instead */
.dz-own { overflow: visible; }
.dz-own__txt { padding-inline: 4px; min-width: 0; }
.dz-name { padding-inline: 2px; }
.dz-name input { box-sizing: border-box; max-width: 100%; }
.dz-3d { overflow: visible; contain: layout; }
html:has(.dz), body:has(.dz) { overflow-x: clip; }

/* 13 nov v5 — sales pass: colour bands per section, pain → answer, value stack, mid-page CTA, sticky buy bar on phones */
.dz-wrap { padding-top: 28px; }
.dz-sec { margin-top: 0; padding: 64px 0; }
.dz-hero { padding-bottom: 56px; }
.dz-band { position: relative; background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }
.dz-band--light { --band: #fbf7f0; }
.dz-band--sand { --band: #ead9bf; }
.dz-band--deep { --band: #7a2718; color: #fbeee0; }
.dz-band--night { --band: #2b2622; color: #f3ede0; }
.dz-band--deep h2, .dz-band--night h2 { color: #fff3df; }
.dz-band--deep .dz-kick, .dz-band--night .dz-kick { color: #f0b98a; }
.dz-band--night .dz-p b, .dz-band--deep b { color: #fff; }
.dz-band--night .dz-steps li { background: #3a332e; border-color: rgba(255,255,255,.14); }
.dz-band--night .dz-steps b { color: #f0b98a; } .dz-band--night .dz-steps span { color: #d9cfc2; }
.dz-band--night .dz-steps li::before { background: #f0b98a; color: #2b2622; }
.dz-ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.dz-ticks li { padding-left: 28px; position: relative; text-align: left; }
.dz-ticks li::before { content: ''; position: absolute; left: 2px; top: .28em; width: 16px; height: 9px; border-left: 3px solid var(--acc); border-bottom: 3px solid var(--acc); transform: rotate(-45deg) scale(.75); }
.dz-pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.dz-pains > div { padding: 20px; border-radius: 14px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); display: grid; gap: 8px; align-content: start; }
.dz-pains b { font-family: 'Fraunces', serif; font-style: italic; font-size: 21px; }
.dz-pains span { font-size: 15px; line-height: 1.5; color: #f3dccb; }
.dz-turn { margin: 26px 0 0; font-family: 'Fraunces', serif; font-size: 21px; color: #fff3df; }
.dz-mid { margin-top: 30px; padding: 22px 24px; border-radius: 16px; background: #fbf7f0; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.dz-mid p { margin: 0; font-size: 17px; max-width: 38ch; }
.dz-stack { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15.5px; }
.dz-stack li { padding-left: 26px; position: relative; }
.dz-stack li::before { content: '+'; position: absolute; left: 4px; top: -1px; font-weight: 700; color: var(--acc); font-size: 18px; }
.dz-buy { padding-bottom: 24px; }
.dz-sticky { display: none; }
@media (max-width: 820px) {
  .dz-sec { padding: 46px 0; }
  .dz-pains { grid-template-columns: minmax(0, 1fr); }
  .dz-ticks { max-width: 30ch; margin-inline: auto; }
  .dz-mid { text-align: center; justify-content: center; }
  .dz-sticky { display: flex; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fbf7f0; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(60,35,15,.14); transform: translateY(110%); transition: transform .25s ease; font-size: 14px; color: var(--ink); }
  .dz-sticky.is-on { transform: none; }
  .dz-sticky .dz-cta { padding: 11px 18px; font-size: 15px; margin: 0; }
  .dz-foot { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { .dz-sticky { transition: none; } }
