:root{--ink:#14221c;--pine:#1c3327;--sage:#a9c3ae;--mist:#e8efe7;--warm:#f4f3ed;--white:#fdfdfa;--serif:'Playfair Display',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f4f3ed;color:var(--ink);font-family:var(--sans);font-size:15px}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #81a687;outline-offset:3px}[hidden]{display:none!important}.topbar{height:91px;position:absolute;z-index:15;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,5vw,84px);color:white}.brand{letter-spacing:.26em;font-size:13px;font-weight:700;line-height:1.3}.brand small{display:block;font-size:8px;letter-spacing:.27em;font-weight:500;margin-top:5px;opacity:.75}.desktop-nav{display:flex;gap:37px;font-size:11px;letter-spacing:.13em;text-transform:uppercase}.desktop-nav a:hover,.admin-entry:hover{color:#d2e6d0}.header-actions{display:flex;align-items:center;gap:24px}.admin-entry{font-size:10px;letter-spacing:.13em;text-transform:uppercase;opacity:.8}.menu-button{background:transparent;border:1px solid #ffffff70;border-radius:100%;height:38px;width:38px;padding:10px;display:none;flex-direction:column;justify-content:center;gap:4px}.menu-button span{height:1px;background:#fff;width:100%;display:block}.mobile-menu{position:absolute;top:78px;right:20px;z-index:21;width:220px;background:#192b23eF;color:white;padding:18px;box-shadow:0 15px 40px #0005}.mobile-menu a{display:block;padding:11px 8px;border-bottom:1px solid #ffffff20}.hero{min-height:760px;height:100svh;position:relative;background:linear-gradient(#19251c30,#111e18a0),url('https://images.unsplash.com/photo-1473448912268-2022ce9509d8?w=2200&q=85') center center/cover;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff}.hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,#0b130b40 0%,#18201805 43%,#0b171098 100%)}.hero-inner{position:relative;padding:140px 16px 90px}.eyebrow{font-weight:700;font-size:10px;letter-spacing:.29em;color:#d9e7d7}.eyebrow.green{color:#6c8e73}.hero h1{font:400 clamp(64px,8.3vw,142px)/1.03 var(--serif);letter-spacing:-.055em;margin:34px 0 23px}.hero h1 em,.intro h2 em,.about h2 em,.admin-head h2 em{font-weight:400}.hero p{line-height:1.9;color:#f1f2e9;font-size:13px}.outline-button{border:1px solid #f0f2e260;padding:14px 21px;display:inline-flex;gap:24px;margin-top:23px;letter-spacing:.16em;font-weight:600;font-size:10px;transition:background .2s}.outline-button:hover{background:#ffffff25}.hero-foot{position:absolute;left:6%;bottom:32px;right:6%;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.15em;color:#f7f8efbc}.intro{padding:115px clamp(22px,5vw,84px) 115px;max-width:1700px;margin:auto;text-align:center}.intro h2{font:400 clamp(40px,5vw,72px)/1.2 var(--serif);letter-spacing:-.025em;max-width:820px;margin:25px auto}.intro-copy{color:#69766e;max-width:575px;margin:0 auto 43px;line-height:1.85}.filters{display:flex;justify-content:center;flex-wrap:wrap;gap:13px;margin-bottom:42px}.filter{border:1px solid #d3d9ce;color:#475a4a;background:transparent;padding:11px 16px;border-radius:100px;font-size:11px;letter-spacing:.06em}.filter.selected,.filter:hover{background:#1f382b;color:white;border-color:#1f382b}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;text-align:left}.photo-card{position:relative;cursor:pointer;background:#e9ece4;overflow:hidden;min-width:0}.photo-card img{width:100%;height:420px;object-fit:cover;display:block;transition:transform .65s}.photo-card:hover img{transform:scale(1.035)}.photo-shade{position:absolute;inset:0;background:linear-gradient(transparent 60%,#000a 100%);pointer-events:none}.photo-meta{position:absolute;bottom:20px;left:23px;color:white;pointer-events:none}.photo-meta h3{font:400 26px var(--serif);margin:0 0 5px}.photo-meta span{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#f1f5edcc}.empty{padding:85px 20px;color:#6a756d}.about{position:relative;background:linear-gradient(128deg,#a9c3ae,#345341 50%,#101b16);color:#f7f7f5;min-height:780px;padding:115px 24px;overflow:hidden}.about-overlay{position:absolute;inset:0;background:linear-gradient(120deg,#0a100c35,#000b 80%);pointer-events:none}.about:before{content:'';position:absolute;width:600px;height:600px;border-radius:50%;background:#c7d8c833;filter:blur(130px);top:-250px;left:-220px}.about-content{position:relative;max-width:790px;margin:0 auto}.about h2{font:400 clamp(40px,5.6vw,76px)/1.18 var(--serif);letter-spacing:-.035em;margin:32px 0 38px}.about-text{font-size:15px;line-height:2.05;color:#eff4ee;max-width:720px}.about-text p{margin:0 0 22px}.about-text blockquote{font:italic 400 clamp(22px,3vw,32px)/1.55 var(--serif);border-left:2px solid var(--sage);padding-left:24px;margin:40px 0;color:#e5f0e2}.signature{display:flex;flex-direction:column;border-top:1px solid #ffffff45;margin-top:58px;padding-top:24px;gap:7px}.signature strong{font-family:var(--serif);font-weight:400;font-size:25px}.signature span{font-size:11px;letter-spacing:.06em;color:#dfebde}footer{background:#101c17;color:#e7ece5;padding:45px 6%;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px}footer strong{letter-spacing:.25em;font-size:12px}footer small{display:block;letter-spacing:.21em;font-size:8px;margin-top:6px;color:#a8c3ac}footer p{color:#a6b9ac}footer a{color:#a6b9ac}#toast{position:fixed;right:22px;bottom:22px;z-index:200;background:#1b3829;color:#fff;box-shadow:0 8px 30px #0003;padding:12px 20px;border-radius:9px;opacity:0;pointer-events:none;transition:opacity .2s;max-width:360px}#toast.show{opacity:1}.admin-view{padding:150px 25px 100px;background:#f1f3ef;min-height:100vh}.admin-view~footer{margin-top:0}.admin-shell{max-width:1120px;margin:auto}.admin-head{display:flex;justify-content:space-between;align-items:start;gap:24px;margin-bottom:45px}.admin-head h2{font:400 clamp(36px,5vw,58px) var(--serif);margin:12px 0}.admin-head p{color:#607268}.admin-head .eyebrow{color:#7b9b81}.ghost-link{background:transparent;border:0;color:#42634f;text-decoration:underline;text-underline-offset:5px;font-size:12px}.auth-card{max-width:440px;margin:40px auto;background:#fff;padding:38px;border:1px solid #e0e8df;box-shadow:0 15px 30px #1c352012}.auth-card h3,.panel h3{font:400 31px var(--serif);margin:0 0 12px}.auth-card p,.panel p{color:#647469;line-height:1.7}.auth-card form,.edit-form{display:grid;gap:21px;margin-top:26px}.edit-form label,.auth-card label{font-size:12px;color:#44564b;display:grid;gap:8px;font-weight:600}.edit-form input,.edit-form select,.edit-form textarea,.auth-card input{width:100%;border:1px solid #cbd5cc;border-radius:2px;padding:13px;background:white;color:#23372a;outline-offset:2px}.edit-form textarea{line-height:1.7;resize:vertical}.filled-button{border:0;background:#294937;color:white;padding:14px 20px;letter-spacing:.04em;font-size:12px}.filled-button:hover{background:#172f22}.filled-button:disabled{opacity:.5;cursor:wait}.hint{font-size:11px!important;color:#7b8a80!important}.setup-note{background:#e2eadf;border-left:4px solid #78957c;padding:17px 24px;line-height:1.6;margin:20px 0 26px}.setup-note h3{margin:0 0 5px}.setup-note p{margin:0;color:#4e6455}.dash-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.tabs{display:flex;gap:7px;flex-wrap:wrap}.tab{padding:12px 17px;background:transparent;border:1px solid #ccd8cc;color:#405945}.tab.active{background:#23432e;color:white;border-color:#23432e}.panel{background:white;padding:31px;border:1px solid #e2e8e0;min-height:290px}.panel-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:28px}.panel-heading p{margin:0}.admin-photo-list{display:grid;gap:10px}.admin-photo-row{display:flex;align-items:center;gap:16px;padding:12px;border:1px solid #e1e8df}.admin-photo-row img{width:90px;height:74px;object-fit:cover}.admin-photo-row .details{flex:1}.admin-photo-row h4{margin:0 0 6px}.admin-photo-row p{font-size:12px;margin:0}.row-actions{display:flex;gap:8px}.row-actions button,.ghost-button{padding:10px 13px;border:1px solid #cdd9cc;background:white;font-size:12px}.row-actions .danger{color:#9b4740}.photo-dialog{padding:0;border:0;background:#0d1510;color:white;max-width:min(1120px,95vw);max-height:94vh;box-shadow:0 20px 90px #000b}.photo-dialog::backdrop,.edit-dialog::backdrop{background:#07120be0}.photo-dialog img{display:block;max-height:73vh;max-width:100%;margin:auto;object-fit:contain}.dialog-close{position:absolute;z-index:2;right:8px;top:8px;background:#0b1519c9;color:white;border:0;width:42px;height:42px;font-size:27px}.dialog-caption{padding:20px 26px;display:flex;align-items:center;justify-content:space-between;gap:10px}.dialog-caption h3{font:400 25px var(--serif);margin:0}.dialog-caption p{font-size:11px;color:#b1c1b4}.edit-dialog{width:min(540px,94vw);max-height:94vh;border:0;padding:30px;background:#fff;color:#17271d}.edit-dialog .edit-form{margin:0}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading h3{font:400 29px var(--serif);margin:0}.dialog-heading button{border:0;background:transparent;font-size:30px}.form-actions{display:flex;justify-content:end;gap:10px}@media(max-width:900px){.desktop-nav{display:none}.menu-button{display:flex}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-card img{height:360px}.intro{padding-top:80px}.hero{min-height:680px}}@media(max-width:600px){.topbar{padding:0 20px;height:80px}.brand{font-size:10px}.brand small{font-size:7px}.admin-entry{font-size:0}.admin-entry span{font-size:16px}.header-actions{gap:15px}.hero{min-height:660px}.hero h1{font-size:64px}.hero-foot span:last-child{display:none}.gallery-grid{grid-template-columns:1fr}.photo-card img{height:420px}.intro{padding:75px 17px}.intro h2{font-size:39px}.about{padding:85px 22px}.about h2{font-size:41px}.about-text{font-size:14px}.admin-view{padding:115px 15px 60px}.admin-head{display:block}.panel{padding:20px 15px}.panel-heading{display:block}.panel-heading .filled-button{margin-top:15px}.admin-photo-row{flex-wrap:wrap}.row-actions{width:100%}.dash-toolbar{align-items:start;flex-direction:column}footer{display:grid;gap:13px}.dialog-caption{display:block}}

/* Consultas de adquisición: estilo editorial verde natural */
.store-section{padding:100px 24px;background:#e6eee5;text-align:center;color:#243c2b}.store-inner{max-width:740px;margin:auto}.store-inner h2{font:400 clamp(38px,5vw,65px)/1.2 var(--serif);margin:24px 0}.store-inner>p:not(.eyebrow){line-height:1.9;color:#536956}.store-link{display:inline-block;margin-top:18px}.store-note{font-size:12px;margin-top:26px}.viewer-action{display:flex;align-items:center;gap:15px}.viewer-action .filled-button{white-space:nowrap}.purchase-summary{color:#294937;font-weight:600;line-height:1.6}.photo-dialog .dialog-caption{gap:25px}@media(max-width:600px){.store-section{padding:75px 20px}.photo-dialog .dialog-caption{padding:16px;display:flex;flex-direction:column;align-items:stretch}.viewer-action{justify-content:space-between}.viewer-action .filled-button{font-size:11px;padding:12px}}

.download-shortcut{position:fixed;bottom:18px;right:18px;z-index:45;background:#1b3927;color:#fff;border:1px solid #a9c3ae;border-radius:50px;padding:12px 17px;font:inherit;box-shadow:0 5px 22px #0005;cursor:pointer}.download-shortcut:hover{background:#294a35}@media(max-width:530px){.download-shortcut{font-size:12px;bottom:10px;right:10px;padding:9px 12px}}

/* Recuperación de contraseña (Supabase Auth) */
.recovery-link{display:block;margin:1rem auto 0;background:transparent;border:0;color:#315b46;text-decoration:underline;cursor:pointer;font:inherit;font-size:.9rem;padding:.3rem}
.recovery-link:hover{color:#152e23}

/* Entrega manual de códigos: visible solo en panel de administrador */
.manual-code-result{margin-top:12px;padding:14px;border:1px solid #88a594;border-radius:12px;background:#edf5ee;max-width:100%;overflow-wrap:anywhere;color:#193627}
.manual-code-result p{margin:6px 0 9px!important;color:#193627!important}
.manual-code-result code{display:block;padding:9px 10px;background:#fff;border-radius:8px;font-size:13px;font-weight:700;user-select:all;word-break:break-all;margin-bottom:10px;color:#193627}
.manual-code-result button{padding:9px 14px;border-radius:8px;background:#245640;color:white;border:0;cursor:pointer}

/* Información bancaria editable desde el panel privado */
.payment-instructions{background:#f2f6f0;border:1px solid #d1ddce;padding:16px 18px;color:#264032;margin:10px 0 20px;line-height:1.6}
.payment-instructions h4{font:400 21px var(--serif);margin:0 0 10px}
.payment-instructions p{margin:6px 0;font-size:13px;overflow-wrap:anywhere}
.payment-account{font-weight:700;letter-spacing:.025em;user-select:all}
.payment-copy{background:#fff;border:1px solid #b9c9bb;padding:6px 10px;margin-left:8px;color:#23432e;cursor:pointer;font:inherit;font-size:11px}
.payment-admin-form{max-width:560px;margin-bottom:24px!important}.payment-admin-form input:disabled{background:#f1f3ef;color:#536857}.payment-rule{border:0;border-top:1px solid #e0e8df;margin:30px 0}

/* Condiciones de compra y aceptación, sin cambios en Supabase */
.license-terms{padding:17px 18px;border:1px solid #d4ded2;background:#f7f9f5;color:#294535;margin-top:3px}.license-terms h4{margin:0 0 10px;font:400 21px var(--serif)}.license-terms>p{font-size:12px;line-height:1.7;margin:0 0 12px}.license-details{font-size:12px;line-height:1.7}.license-details summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;color:#285d42;font-weight:650}.license-details-content{padding:8px 0 2px}.license-details-content p{margin:9px 0}.edit-form .license-accept{display:flex;align-items:flex-start;gap:10px;margin-top:17px;line-height:1.55;font-size:12px;font-weight:600;cursor:pointer}.edit-form .license-accept input[type=checkbox]{width:17px;height:17px;min-width:17px;margin:1px 0 0;accent-color:#285d42}

/* Detrás del lente: retrato real completo, sin cortes. */
.about{padding:clamp(70px,8vw,125px) clamp(20px,4.5vw,80px)}
.about-layout{position:relative;z-index:1;max-width:1480px;margin:0 auto;display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);align-items:center;gap:clamp(38px,5vw,100px)}
.about-portrait{margin:0;min-width:0;align-self:center}
.about-portrait img{width:100%;height:auto;object-fit:contain;display:block;border:1px solid #d9e8d526;box-shadow:0 22px 65px #07140b52}
.about-portrait figcaption{font-size:9px;letter-spacing:.21em;color:#d3e3d0;margin-top:17px;text-align:center}
.about-layout .about-content{width:100%;max-width:710px;margin:0}
.about-layout .about-content h2{margin-top:28px}
@media(max-width:900px){.about-layout{grid-template-columns:1fr;gap:42px;max-width:680px}.about-portrait{max-width:470px;width:100%;margin:0 auto}.about-layout .about-content{max-width:680px}}
@media(max-width:600px){.about{padding:70px 20px}.about-layout{gap:37px}.about-portrait{max-width:420px}.about-portrait figcaption{font-size:8px}.about-layout .about-content h2{margin-top:23px}}

/* Rincón de Lectura · edición 2026 */
.reading-section{padding:110px clamp(20px,5vw,85px);background:#f0efe6;color:#20362a}.reading-intro{max-width:700px;margin:0 auto 47px;text-align:center}.reading-intro h2{font:400 clamp(43px,5.2vw,72px)/1.16 var(--serif);margin:18px 0}.reading-intro p:not(.eyebrow){line-height:1.9;color:#607165}.reading-grid{max-width:1230px;margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.story-card{background:#fbfaf6;box-shadow:0 12px 40px #1a352114;border:1px solid #e2e4d8;padding:14px 14px 24px;display:flex;flex-direction:column;gap:10px}.story-cover{width:100%;aspect-ratio:1/1.414;object-fit:contain;background:#e5e0d3}.story-card h3{font:400 26px/1.25 var(--serif);margin:4px 0 0}.story-card p{font-size:12px;color:#627569;line-height:1.6;margin:0}.story-card .story-price{font-size:12px;color:#2f6241;font-weight:700}.story-card .filled-button{margin-top:auto}.story-card .story-badge{font-size:10px;text-transform:uppercase;letter-spacing:.16em;color:#37714e}.story-preview-dialog{width:min(760px,96vw);max-height:96vh;overflow-y:auto}.story-modal-head,.story-preview-nav{display:flex;align-items:center;justify-content:space-between;gap:10px}.story-preview-dialog h3{font:400 34px var(--serif);margin:23px 0 5px}.story-preview-page{margin:18px auto;display:flex;justify-content:center;max-width:460px;background:#e6e1d5}.story-preview-page img{display:block;width:100%;height:auto;object-fit:contain;max-height:64vh}.story-preview-nav{max-width:460px;margin:auto}.story-preview-dialog #storyPreviewMeta{font-size:12px;line-height:1.7;color:#647469}.story-preview-dialog #storyPreviewActions button{width:100%;margin-top:13px}.story-check{display:flex!important;align-items:center;gap:9px!important}.story-check input{width:auto!important;min-width:17px;height:17px;accent-color:#285a3a}.story-order-empty{color:#69786a;margin-top:14px}.story-preview-dialog .story-modal-head{position:sticky;top:-30px;background:white;padding:10px 0}.row-actions{flex-wrap:wrap}.row-actions button.danger{color:#9c443c;border-color:#d8a6a1}.story-card-price{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.story-read-note{font-size:11px;color:#617363}.story-admin-img{width:65px!important;height:92px!important;object-fit:cover!important}
@media(max-width:950px){.reading-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.desktop-nav{gap:16px;font-size:10px}}@media(max-width:600px){.reading-section{padding:78px 18px}.reading-grid{grid-template-columns:1fr;max-width:380px}.story-preview-dialog{padding:18px}.story-preview-dialog h3{font-size:29px}}

/* Lectura integrada del PDF completo para cuentos gratuitos */
.story-preview-page.pdf-reader{background:#f6f3ed;max-width:640px;min-height:250px;align-items:flex-start}.story-reading-canvas{display:block;max-width:100%;height:auto;margin:auto;box-shadow:0 5px 22px #172c2014}.story-preview-page img[hidden]{display:none!important}.story-preview-dialog .story-preview-page{max-width:640px}.story-preview-dialog .story-preview-nav{max-width:640px}

/* Entrega del código por WhatsApp o correo */
.contact-choice{border:1px solid #cbd8cb;padding:14px 17px;display:flex;flex-wrap:wrap;gap:12px 22px;color:#294937}.contact-choice legend{font-weight:600;font-size:12px;padding:0 6px}.contact-choice label{display:flex!important;align-items:center;gap:8px!important;font-size:13px!important}.contact-choice input{width:auto!important;accent-color:#285d42}.edit-form label[hidden]{display:none!important}.edit-form label small{display:block;font-weight:400;line-height:1.5;color:#657568}.manual-code-result button+button{margin-left:8px;margin-top:5px}

/* Comprá con confianza · edición editorial integrada */
.trust-section{background:#f4f3ed;color:#1b3426;padding:105px clamp(19px,5vw,84px) 95px}
.trust-wrap{max-width:1200px;margin:0 auto}.trust-header{text-align:center;max-width:735px;margin:0 auto 65px}
.trust-header h2{font:400 clamp(43px,5.7vw,78px)/1.14 var(--serif);letter-spacing:-.03em;margin:20px 0 18px}
.trust-header h2 em{font-weight:400}.trust-lead{color:#657367;line-height:1.85}
.trust-intro{display:grid;grid-template-columns:minmax(230px,.72fr) minmax(300px,1fr);gap:clamp(28px,6vw,90px);align-items:center;margin-bottom:92px}
.trust-figure{margin:0}.trust-figure img{width:100%;height:540px;display:block;object-fit:cover;object-position:center 44%;background:#d4ddcf}
.trust-figure figcaption{letter-spacing:.15em;text-transform:uppercase;font-size:9px;color:#6d8270;padding-top:13px}
.trust-copy h3,.trust-purchase h3,.trust-support h3{font:400 clamp(28px,3.4vw,44px)/1.25 var(--serif);margin:15px 0 24px;letter-spacing:-.015em}
.trust-copy p:not(.eyebrow),.trust-support p:not(.eyebrow){line-height:1.9;color:#59695d;font-size:14px;margin:0 0 16px}
.trust-inline-link{display:inline-block;margin-top:15px;border-bottom:1px solid #63846f;padding-bottom:6px;font-size:12px;font-weight:700;color:#245238}
.trust-purchase{border-top:1px solid #cbd7cc;padding-top:45px;margin-bottom:76px}.trust-purchase h3{margin-bottom:35px}
.trust-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.trust-steps>div{border-top:2px solid #789980;padding-top:19px}
.trust-steps span{font:400 24px var(--serif);color:#63866e}.trust-steps h4{font:400 20px/1.3 var(--serif);margin:15px 0 11px}
.trust-steps p{font-size:12px;color:#5d7161;line-height:1.8;margin:0}
.trust-duo{display:grid;grid-template-columns:1fr 1fr;gap:24px}.trust-support{padding:clamp(24px,4vw,45px);background:#e7ede4}.trust-support-alt{background:#eae6da}.trust-support h3{margin:15px 0 18px}.trust-support strong{color:#1e4530}
.trust-contact-links{display:flex;flex-direction:column;gap:14px;margin-top:22px}.trust-contact-links a{overflow-wrap:anywhere;color:#1d5636;font-size:13px;text-decoration:underline;text-underline-offset:4px}
.legal-section{padding:70px 24px;background:#eeeee7;color:#24382c;border-top:1px solid #d7dcd1}.legal-section-alt{background:#f6f5ef}.legal-wrap{max-width:860px;margin:auto}
.legal-wrap h2{font:400 clamp(32px,4vw,48px)/1.2 var(--serif);margin:16px 0 30px}.legal-wrap p:not(.eyebrow){font-size:14px;line-height:1.95;color:#526456}.legal-wrap a{color:#225b3a;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.trust-footer{display:grid;grid-template-columns:1fr 2fr;align-items:start;gap:26px;padding:44px max(24px,6vw) 28px}
.trust-footer-brand p{margin:12px 0;font-size:11px}.trust-footer nav{display:flex;gap:13px 25px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
.trust-footer nav a{font-size:11px;text-decoration:underline;text-decoration-color:#617567;text-underline-offset:5px}
.trust-footer-bottom{border-top:1px solid #ffffff24;padding-top:17px;grid-column:1/-1;display:flex;gap:15px;justify-content:space-between;align-items:center}
.trust-footer-bottom a{font-size:11px}
#confianza,#como-comprar,#contacto,#privacidad,#terminos-de-compra{scroll-margin-top:30px}
@media(max-width:1300px) and (min-width:901px){.desktop-nav{gap:16px;font-size:9px;letter-spacing:.07em}.topbar{padding:0 25px}.brand{font-size:11px}.header-actions{gap:8px}}
@media(max-width:950px){.trust-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.trust-intro{gap:34px}.trust-figure img{height:430px}}
@media(max-width:650px){.trust-section{padding:75px 19px 68px}.trust-header{margin-bottom:34px}.trust-header h2{font-size:43px}.trust-intro,.trust-duo{grid-template-columns:1fr}.trust-intro{margin-bottom:60px}.trust-figure img{height:auto;max-height:560px;object-fit:contain}.trust-steps{grid-template-columns:1fr 1fr;gap:20px}.trust-purchase{margin-bottom:52px}.trust-support{padding:24px}.trust-footer{grid-template-columns:1fr}.trust-footer nav{justify-content:flex-start}.trust-footer-bottom{align-items:flex-start;flex-direction:column}.legal-section{padding:57px 19px}}
@media(max-width:380px){.trust-steps{grid-template-columns:1fr}}

/* Instagram de fotografía: sección discreta de confianza */
.trust-social{margin-top:28px;padding:30px clamp(24px,4vw,46px);border:1px solid #cbd7cc;display:flex;align-items:center;justify-content:space-between;gap:25px;background:#f7f6f0}
.trust-social-copy h3{font:400 clamp(25px,3vw,36px)/1.2 var(--serif);margin:12px 0}
.trust-social-copy p:not(.eyebrow){color:#59695d;font-size:13px;line-height:1.7;margin:0;max-width:520px}
.trust-instagram-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;color:#eaf1e8;background:#254c38;padding:15px 22px;text-decoration:none;font-size:13px;white-space:nowrap;transition:background .15s ease}
.trust-instagram-link:hover,.trust-instagram-link:focus-visible{background:#366c4f}
#instagram{scroll-margin-top:30px}
@media(max-width:700px){.trust-social{flex-direction:column;align-items:stretch}.trust-instagram-link{width:100%;white-space:normal}}

/* Exhibición y venta: dos galerías independientes */
#saleGalleryGrid{max-width:1210px;margin:35px auto 0;text-align:left}
#saleFilters{justify-content:center;margin-top:26px}
#saleGalleryGrid .photo-card{box-shadow:0 15px 36px #172b1c1f}
#saleEmptyState{margin-top:25px}
.photo-card{cursor:pointer}
.publication-mode{display:grid;gap:9px;border:1px solid #cbd8cb;padding:13px 16px;margin:5px 0 14px}
.publication-mode legend{padding:0 6px;font-weight:650;color:#264331;font-size:13px}
.publication-mode label{display:flex!important;gap:8px!important;align-items:center!important;font-size:13px!important}
.publication-mode input{width:auto!important;accent-color:#214830}
.edit-form label[hidden]{display:none!important}
.category-admin{border-top:1px solid #d2ded1;margin-top:32px;padding-top:23px}
.category-add{display:flex;gap:10px;max-width:780px;flex-wrap:wrap;margin:15px 0}
.category-add input{flex:1;min-width:220px;border:1px solid #c9d8ca;background:white;padding:12px;font:inherit}
.category-row{display:flex;align-items:center;gap:9px;border-bottom:1px solid #e2eae0;padding:10px 0}
.category-row span{flex:1;overflow-wrap:anywhere}
.category-row button{border:1px solid #c7d7ca;background:white;padding:8px 10px;color:#245039;cursor:pointer}
@media(max-width:700px){#saleGalleryGrid{grid-template-columns:1fr}.category-add{flex-direction:column}}

/* Visor deslizable de Exhibición y Venta */
.photo-dialog{width:min(1200px,96vw);max-width:min(1200px,96vw);max-height:96dvh;overflow:hidden;border-radius:4px;}
.photo-dialog .lightbox-toolbar{padding:13px 60px 11px 20px;display:flex;gap:15px;align-items:center;justify-content:space-between;color:#e4ebe4;font-size:12px;letter-spacing:.02em;min-height:55px;}
.lightbox-toolbar button{background:#ffffff1c;color:white;border:1px solid #ffffff4a;border-radius:4px;padding:8px 12px;font-size:12px;}
.lightbox-stage{position:relative;display:flex;align-items:center;justify-content:center;height:min(69vh,780px);width:100%;background:#0a100d;overflow:hidden;touch-action:pan-y;user-select:none;}
.lightbox-stage img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;transition:transform .14s ease;transform-origin:center center;user-select:none;-webkit-user-drag:none;}
.lightbox-stage.is-zoomed{touch-action:none;cursor:grab;}
.lightbox-stage.is-zoomed:active{cursor:grabbing;}
.lightbox-stage.is-zoomed img{transition:none;}
.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:46px;height:70px;border:1px solid #ffffff40;background:#07120bad;color:white;font:400 48px/1 Georgia,serif;border-radius:4px;display:flex;align-items:center;justify-content:center;}
.lightbox-nav:hover{background:#203d30ee;}
.lightbox-prev{left:12px}.lightbox-next{right:12px}
.photo-dialog .dialog-caption{padding:14px 22px 8px;}
.photo-dialog .dialog-caption h3{font-size:23px;}
.photo-dialog .dialog-caption p{margin:5px 0;}
.lightbox-help{color:#c2cec5;text-align:center;font-size:11px;margin:0;padding:7px 15px 14px;}
@media(max-width:600px){.photo-dialog{width:100vw;max-width:100vw;max-height:98dvh;}.photo-dialog .lightbox-toolbar{padding:12px 53px 9px 12px;gap:8px;font-size:11px;}.lightbox-stage{height:62dvh;}.lightbox-nav{height:52px;width:34px;font-size:36px;opacity:.88;}.lightbox-prev{left:5px}.lightbox-next{right:5px}.lightbox-help{font-size:10px;padding-bottom:10px}.photo-dialog .dialog-caption{padding:12px 15px 7px;}}

/* PayPal Sandbox: panel independiente del pago Banrural */
#resumePaypal{bottom:75px;background:#2b4b62;border-color:#b0cbd8}
#paypalDialog .edit-form{gap:16px}
#paypalResumeSection,#paypalDownloadSection,#paypalCreateSection{display:grid;gap:13px}
#paypalApproveLink{display:inline-block;text-align:center}
#paypalDownloadLink{color:#256a46;text-decoration:underline;text-underline-offset:4px;font-weight:700}
#requestPaypal{background:#255676;margin-left:9px}
@media(max-width:530px){#resumePaypal{bottom:59px;right:10px}#requestPaypal{margin:9px 0 0}}

/* Temporizador visible del enlace firmado de PayPal Sandbox. */
.paypal-countdown{margin:0;padding:10px 12px;background:#eaf3ed;border:1px solid #c3d9ca;border-radius:4px;color:#1d5135;font-size:0.95rem;font-weight:700;}

/* PayPal Sandbox: recuperación privada por correo */
#openPaypalRecovery{bottom:135px;background:#345a51;border-color:#b7d7c7}
#recoveryDialog .recovery-form{gap:16px}
#recoveryRequestForm,#recoveryRetrySection,#recoveryVerifiedSection{display:grid;gap:13px}
#recoveryDownloadLink{color:#256a46;text-decoration:underline;text-underline-offset:4px;font-weight:700}
@media(max-width:530px){#openPaypalRecovery{bottom:112px;right:10px;font-size:11px}}


/* Preguntas frecuentes — editorial / mobile first */
.faq-section{padding:95px 24px 105px;background:#f7f8f4;color:#18342b;scroll-margin-top:85px}
.faq-wrap{max-width:1040px;margin:0 auto}
.faq-intro{max-width:800px;margin-bottom:58px}
.faq-intro h2{font-family:'Playfair Display',Georgia,serif;font-size:clamp(36px,5vw,66px);font-weight:400;line-height:1.12;margin:13px 0 20px;color:#1c352b}
.faq-intro h2 em{font-style:italic;color:#4c7967}
.faq-intro>p:not(.eyebrow){line-height:1.8;color:#55665b;font-size:15px}
.faq-intro .faq-test-note{border-left:3px solid #7ba68e;background:#e9efe9;padding:15px 18px;margin:20px 0 0;font-size:13px;line-height:1.75}
.faq-test-note strong{color:#254a39}
.faq-category{display:flex;align-items:baseline;gap:25px;border-top:1px solid #cfdbd0;padding:32px 0 15px;margin-top:26px}
.faq-category span{font-size:10px;letter-spacing:1.6px;font-weight:700;color:#718e7a;white-space:nowrap}
.faq-category h3{font-family:'Playfair Display',Georgia,serif;font-weight:400;font-size:clamp(22px,3vw,29px);margin:0;color:#254437}
.faq-items details{border-bottom:1px solid #dce4dc;transition:background .2s}
.faq-items details[open]{background:#fff}
.faq-items summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 15px;font-weight:600;font-size:15px;line-height:1.55;color:#264437}
.faq-items summary::-webkit-details-marker{display:none}
.faq-items summary:after{content:'+';font-size:23px;font-weight:300;color:#587a68;flex:0 0 19px;text-align:center}
.faq-items details[open] summary:after{content:'−'}
.faq-items summary:hover,.faq-items summary:focus-visible{color:#437b59}
.faq-items summary:focus-visible{outline:2px solid #7ca88c;outline-offset:-2px}
.faq-answer{padding:0 44px 19px 15px;max-width:880px;color:#52685a;font-size:14px;line-height:1.85}
.faq-answer p{margin:0 0 11px}
.faq-answer a,.faq-end a{color:#2c6b4c;text-decoration:underline;text-underline-offset:3px}
.faq-end{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:43px;padding:23px 26px;background:#e6eee6;border-radius:3px}
.faq-end p{font-family:'Playfair Display',Georgia,serif;color:#234437;font-size:20px;margin:0}
.faq-end a{font-weight:700;font-size:13px;white-space:nowrap}
@media(max-width:700px){.faq-section{padding:65px 20px 80px}.faq-intro{margin-bottom:35px}.faq-category{display:block;padding:26px 0 12px}.faq-category h3{margin-top:8px}.faq-items summary{padding:19px 12px;font-size:14px}.faq-answer{padding:0 31px 18px 12px;font-size:13px}.faq-end{display:block;padding:20px}.faq-end p{margin-bottom:12px}}

/* Elección de métodos de compra y recuperación PayPal visible en la tienda */
.paypal-help-card{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;border:1px solid #c9d6cc;background:#f3f6f1;color:#20362b;padding:22px 25px;border-radius:3px;margin:24px auto 32px;max-width:1040px}
.paypal-help-card strong{font-size:16px;letter-spacing:.02em}
.paypal-help-card p{font-size:13px;line-height:1.7;max-width:610px;margin:7px 0 0;color:#3e5646}
.paypal-recover-button{background:#244937;color:#fff;border:1px solid #244937;padding:13px 18px;border-radius:2px;cursor:pointer;font:inherit;font-size:13px;line-height:1.35;white-space:normal}
.paypal-recover-button:hover,.paypal-recover-button:focus-visible{background:#376248;color:#fff}
@media(max-width:700px){.paypal-help-card{padding:18px;gap:15px}.paypal-recover-button{width:100%}}

/* Navegación cómoda para galerías extensas */
.gallery-more{margin:34px auto 0;text-align:center}
.gallery-more[hidden],.gallery-back-start[hidden]{display:none!important}
.gallery-more-button{font:600 11px/1.4 var(--sans,inherit);letter-spacing:.08em;color:#fff;background:#254533;border:1px solid #254533;border-radius:3px;padding:15px 23px;cursor:pointer}
.gallery-more-button:hover,.gallery-more-button:focus-visible{background:#163024}
.gallery-more-count{margin:11px 0 0;color:#6e8073;font-size:11px}
.gallery-back-start{position:fixed;right:22px;bottom:80px;z-index:80;background:#1d392b;color:#fff;border:1px solid #abc0af;border-radius:28px;padding:13px 17px;box-shadow:0 9px 26px #0003;font-size:12px;cursor:pointer}
.gallery-back-start span{margin-right:7px;font-size:17px}
.gallery-back-start:hover,.gallery-back-start:focus-visible{background:#315b43}
@media(max-width:600px){.gallery-back-start{right:12px;bottom:76px;padding:11px 13px;font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Consentimiento informado antes de iniciar compras digitales */
.legal-consent{display:flex;gap:10px;align-items:flex-start;margin:14px 0 12px;padding:12px;border:1px solid #d4e2d7;border-radius:10px;background:#f4f8f4;font-size:.88rem;line-height:1.5}.legal-consent input{flex:none;width:18px;height:18px;margin-top:3px}.legal-consent a{color:#1d6c52;text-decoration:underline}.license-accept a,.story-check a{color:#1d6c52;text-decoration:underline}

/* Consentimiento voluntario y control de estadísticas */
.se-analytics-consent[hidden]{display:none!important}
.se-analytics-consent{position:fixed;z-index:99999;left:18px;bottom:18px;max-width:560px;width:calc(100% - 36px);display:flex;align-items:center;gap:20px;flex-wrap:wrap;background:#f8f8f3;color:#193126;border:1px solid #b1c7b6;border-radius:12px;padding:19px 20px;box-shadow:0 12px 40px #0005;font:14px/1.5 Arial,sans-serif}
.se-analytics-consent__text{flex:1 1 230px}
.se-analytics-consent__text strong{font-size:15px}
.se-analytics-consent__text p{margin:6px 0 0;color:#334d41}
.se-analytics-consent a{color:#145c42;text-decoration:underline}
.se-analytics-consent__actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.se-analytics-consent button{font:600 12px Arial,sans-serif;cursor:pointer;padding:11px 13px;border-radius:5px;border:1px solid #294c3a;background:transparent;color:#294c3a}
.se-analytics-consent button[data-consent="accepted"]{background:#294c3a;color:white}
.se-analytics-consent button:focus-visible,.se-analytics-prefs-link:focus-visible{outline:3px solid #82ae97;outline-offset:3px}
.se-analytics-prefs-link{display:inline-block;cursor:pointer;margin:12px 18px;padding:4px;border:0;background:transparent;color:inherit;text-decoration:underline;font:inherit;font-size:12px}
@media(max-width:600px){.se-analytics-consent{left:10px;bottom:10px;width:calc(100% - 20px);padding:14px}.se-analytics-consent__actions{width:100%}.se-analytics-consent__actions button{flex:1}}
