@font-face { font-family: TutorialDidot; src: url('fonts/GFSDidot-Regular.ttf') format('truetype'); font-display: swap; }
.tutorial-page { container-type: inline-size; color: #254d32; }
.tutorial-paper { position: relative; isolation: isolate; width: 100%; height: 100%; padding: 7cqw; background: #fcf5e7; font: 2.65cqw/1.3 Arial, sans-serif; display: flex; flex-direction: column; justify-content: space-between; gap: 3cqw; overflow: hidden; }
.tutorial-paper::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('img/tutorial-fondo.png') center / 100% 100% no-repeat; pointer-events: none; }
.tutorial-paper-2::before { transform: scaleX(-1); }
.tutorial-heading { text-align: center; }
.tutorial-eyebrow { font-size: 1.85cqw; letter-spacing: .22cqw; color: #70866d; margin: 0 0 1cqw; }
.tutorial-heading h2 { font: 7cqw/.98 TutorialDidot, Georgia, serif; letter-spacing: -.22cqw; color: #164d29; margin: 0 0 1.5cqw; }
.tutorial-heading > p:last-child { font-size: 2.15cqw; line-height: 1.35; max-width: 80cqw; margin: 0 auto; }
.tutorial-address { display: block; text-align: center; border: .15cqw solid #8aa87e; border-radius: 1.2cqw; padding: 1.7cqw 1cqw; text-decoration: none; font-size: 2.4cqw; font-weight: bold; background: #fffcf4a8; }
.tutorial-step h3 { display: flex; align-items: center; gap: 2cqw; font-size: 3cqw; font-weight: 500; line-height: 1.22; margin: 0 0 1.7cqw; }
.tutorial-step h3 > span { flex: 0 0 6.7cqw; width: 6.7cqw; height: 6.7cqw; border-radius: 50%; background: #205c35; color: #fffaf0; display: grid; place-items: center; font: 5.3cqw/1 TutorialDidot, Georgia, serif; }
.tutorial-bag-row { display: flex; align-items: center; justify-content: center; gap: 3cqw; margin: 0 0 0 8.7cqw; padding: 1cqw; background: #e8eedf85; border-radius: 1.4cqw; }
.tutorial-bag { width: 7cqw; color: #244f40; flex: 0 0 auto; }
.tutorial-bag svg { width: 100%; height: 9.5cqw; display: block; }
.tutorial-first-step { display: flex; align-items: center; gap: 2cqw; }
.tutorial-first-step .tutorial-step { flex: 1; }
.tutorial-first-step h3 { margin: 0; }
.tutorial-bag-row p { font-size: 2.4cqw; margin: 0; }
.demo-selector { width: 62cqw; margin: 0 auto; border: .12cqw solid #d7dfcd; background: #fffef9e8; border-radius: 1.6cqw; padding: 1.5cqw; }
.demo-selector h4 { display: flex; justify-content: space-between; font-size: 2.5cqw; margin: 0 0 1.2cqw; }
.demo-selector h4 > span { color: #6a865d; }
.demo-product { padding: .65cqw 1.2cqw; background: #e0ecd2; border: .1cqw solid #cedcbe; border-radius: 1.1cqw; margin-top: .6cqw; display: flex; align-items: center; justify-content: space-between; gap: .8cqw; }
.demo-product > div:first-child { display: flex; flex-direction: column; }
.demo-product small { font-size: 1.2cqw; line-height: 1.1; letter-spacing: .08cqw; }
.demo-product strong { font-size: 1.9cqw; line-height: 1.1; }
.demo-product b { font-size: 1.75cqw; line-height: 1.1; }
.demo-quantity { display: flex; align-items: center; gap: .8cqw; font-size: 1.9cqw; white-space: nowrap; }
.demo-quantity > span { border: .15cqw solid #577b43; width: 3.2cqw; height: 3.2cqw; border-radius: 50%; display: grid; place-items: center; background: #fffef6; font-size: 2.4cqw; }
.demo-quantity b { background: #3c6a32; color: white; border-radius: 3cqw; padding: .85cqw 1.1cqw; font-size: 1.7cqw; }
.demo-note { font-size: 1.5cqw; color: #6d7866; margin: 1.2cqw 0 0; }
.tutorial-order-example { width: 33cqw; border-radius: 2.3cqw; background: #205c35; color: #fffaf0; padding: 2cqw; font-size: 3.8cqw; font-weight: bold; margin: 0 auto; text-align: center; position: relative; }
.tutorial-order-example span { position: absolute; top: -1.4cqw; right: -1.3cqw; border-radius: 50%; width: 5cqw; height: 5cqw; display: grid; place-items: center; background: #d05e23; font-size: 3cqw; }
.tutorial-paper-3 { gap: 3cqw; }
.tutorial-paper-3 .tutorial-heading h2 { font-size: 5.5cqw; letter-spacing: -.15cqw; }
.tutorial-final-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.tutorial-final-steps .tutorial-step { border-top: .1cqw solid #a4b695; padding-top: 2cqw; }
.tutorial-final-steps .tutorial-step h3 { gap: 1.3cqw; font-size: 2.8cqw; }
.tutorial-final-steps .tutorial-step h3 > span { flex-basis: 5.8cqw; width: 5.8cqw; height: 5.8cqw; font-size: 4.5cqw; }
.tutorial-final-steps p { font-size: 2.3cqw; margin: 0 0 1.5cqw; min-height: 9cqw; }
.tutorial-review-example { background: #fffdf7d9; border: .1cqw solid #cdd6be; border-radius: 1.3cqw; padding: 1.6cqw; font-size: 1.9cqw; }
.tutorial-review-example strong { display: block; margin-bottom: 1.2cqw; font-size: 2.1cqw; }
.tutorial-review-example > div { display: flex; justify-content: space-between; }
.tutorial-whatsapp-example { background: #287a3d; color: white; padding: 2.4cqw 1cqw; border-radius: 1.3cqw; font-size: 2.05cqw; text-align: center; font-weight: bold; }
.tutorial-video-section { text-align: center; }
.tutorial-video-section h3 { font: 4.3cqw/1.1 TutorialDidot, Georgia, serif; margin: 0 0 .7cqw; }
.tutorial-video-section > p { font-size: 2.2cqw; margin: 0 0 1.4cqw; }
.tutorial-video-wrap { width: 30.375cqw; height: 54cqw; margin: 0 auto; border-radius: 1.8cqw; overflow: hidden; background: #123e24; box-shadow: 0 1cqw 3cqw #254d3228; }
.tutorial-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #123e24; }
.tutorial-video-section .tutorial-video-help { font-size: 1.85cqw; margin: 1.2cqw 0 0; }
.tutorial-zoom { container-type: inline-size; width: 100%; max-width: none; aspect-ratio: 1004 / 1417; margin: 0 auto; text-align: left; }
.tutorial-zoom[hidden] { display: none; }
/* La vista de revisión también permite comprobar la composición sin el libro. */
.tutorial-preview { margin: 0; background: #e4e8df; padding: 24px; }
.tutorial-preview h1 { text-align: center; color: #254d32; font: 24px Arial, sans-serif; }
.tutorial-preview-spread { display: flex; justify-content: center; gap: 20px; }
.tutorial-preview-page { width: min(46vw, 640px); aspect-ratio: 1004 / 1417; container-type: inline-size; box-shadow: 0 10px 30px #254d3220; }
.tutorial-preview.fit .tutorial-preview-page { width: min(46vw, calc((100vh - 110px) * .70854)); }
@media (min-width: 769px) { .catalogo-libro { --alto: clamp(500px, calc(100vh - 190px), 900px); width: min(96vw, calc(var(--alto) * 1.414)); height: var(--alto); } }
@media (max-width: 650px) { .tutorial-preview { padding: 12px; } .tutorial-preview-spread { flex-direction: column; align-items: center; } .tutorial-preview-page { width: 100%; max-width: 500px; } }
