
/* Lumerento Atelier v4 — materials, live candle light, memorial page preview */
.theme-card .memorial-panel,.large-preview .memorial-panel{position:relative;isolation:isolate;overflow:hidden;text-shadow:none;box-shadow:0 9px 32px #00000025}
.memorial-panel::before,.memorial-panel::after{display:none!important}
.memorial-panel .memorial-surface{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.memorial-panel .memorial-flora{position:absolute;right:-9%;bottom:10%;width:60%;height:61%;object-fit:contain;z-index:1;opacity:.39;pointer-events:none;filter:drop-shadow(0 7px 7px #00000014)}
.memorial-panel .memory-content{position:relative;z-index:3;isolation:isolate;width:100%;min-height:74%;gap:0;align-items:center;justify-content:center;margin:0!important;padding:12px 0 0!important;text-align:center!important}
.memorial-panel .memory-name{max-width:100%;font-size:clamp(26px,2.5vw,34px);line-height:1.07;letter-spacing:-.027em;font-weight:500;overflow-wrap:break-word;hyphens:auto;text-wrap:balance}
.memorial-panel .memory-pretitle{position:relative;z-index:4;font-size:9px;letter-spacing:.14em;font-weight:600}
.memorial-panel .memory-dates{font-variant-numeric:oldstyle-nums;letter-spacing:.09em}
.memorial-panel .memory-quote{position:relative;z-index:3;max-width:87%;font-size:clamp(13px,1.25vw,16px);line-height:1.48;text-wrap:balance;overflow-wrap:anywhere}
.memorial-panel .memory-ornament{font-size:23px;line-height:1.2;opacity:.7;margin:12px auto 17px}
.memorial-panel .memory-ornament.restrained{font-family:var(--lm-serif);font-size:20px;letter-spacing:.35em;opacity:.47;margin:12px auto}
.memorial-panel .memory-footer{position:relative;z-index:5;display:flex;align-items:center;gap:8px;min-height:59px;justify-content:center;font:500 11px/1.35 var(--lm-ui)}
.memorial-panel .real-candle{position:relative;display:block;width:49px;height:61px;flex:0 0 49px;isolation:isolate}
.memorial-panel .real-candle:before{content:'';position:absolute;z-index:-1;width:68px;height:68px;left:-10px;top:-12px;border-radius:50%;background:radial-gradient(circle,#f7b44b70 0,#f2bc6b2e 32%,transparent 75%);filter:blur(8px);animation:lm-light 3.6s ease-in-out infinite alternate}
.memorial-panel .real-candle img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 7px #0004)}
@keyframes lm-light{from{opacity:.45;transform:scale(.88)}to{opacity:.85;transform:scale(1.04)}}
.memorial-panel[data-family="stone"] .memory-content{filter:drop-shadow(0 1px 0 #ffffff1a)}
.memorial-panel[data-family="stone"] .memory-ornament{margin:17px auto 21px}
.memorial-panel[data-family="stone"] .memory-footer{border-top:1px solid color-mix(in srgb,var(--tink),transparent 83%);padding-top:10px}
.memorial-panel[data-family="stone"] .memory-name{font-weight:500}
.memorial-panel[data-family="botanical"] .memory-content{justify-content:center}
.memorial-panel[data-family="botanical"] .memory-name{max-width:90%}
.memorial-panel[data-family="botanical"] .memory-quote{background:color-mix(in srgb,var(--tbg),transparent 63%);border-radius:3px;padding:4px 8px}
.memorial-panel[data-family="paper"] .memory-name{font-style:italic;font-weight:450}
.memorial-panel[data-family="paper"] .memory-content{align-items:flex-start!important;text-align:left!important;padding-left:9%!important}
.memorial-panel[data-family="paper"] .memory-pretitle{letter-spacing:.16em}
.memorial-panel[data-family="paper"] .memory-ornament{margin:13px 0 19px}
.memorial-panel[data-family="paper"] .memory-quote{max-width:90%}
.memorial-panel[data-family="paper"] .memory-footer{justify-content:flex-start;padding-left:9%}
.memorial-panel[data-family="celestial"] .memory-ornament{font-size:31px;color:var(--taccent)}
.memorial-panel[data-family="celestial"] .memory-name{letter-spacing:.003em}
.memorial-panel[data-family="landscape"] .memory-content{justify-content:flex-start;padding-top:10%!important}
.memorial-panel[data-family="landscape"] .memory-footer{background:color-mix(in srgb,var(--tbg),transparent 30%);border-radius:5px}
.memorial-panel[data-family="water"] .memory-content{justify-content:flex-start;padding-top:9%!important}
.memorial-panel[data-family="glass"] .memory-content{background:color-mix(in srgb,var(--tbg),transparent 9%);padding:20px 9px!important;max-width:88%;align-self:center;border-radius:90px 90px 3px 3px}
.memorial-panel[data-family="glass"] .memory-quote{margin-top:14px}
.memorial-panel[data-family="heritage"] .memory-content{max-width:88%;align-self:center}
.memorial-panel[data-family="heritage"] .memorial-surface{opacity:.96}
.memorial-panel[data-family="heritage"] .memory-footer{max-width:90%;align-self:center}
.memorial-panel[data-family="modern"] .memory-content{align-items:flex-start!important;text-align:left!important;padding-left:9%!important}
.memorial-panel[data-family="modern"] .memory-ornament{margin:15px 0}
.memorial-panel[data-family="modern"] .memory-name{max-width:95%}
.memorial-panel[data-family="modern"] .memory-footer{justify-content:flex-start;padding-left:9%}
.memorial-panel[data-family="light"] .memory-ornament{font-size:24px}
.memorial-panel .memorial-portrait{width:65px;height:65px;object-fit:cover;object-position:center;border-radius:50%;margin:14px auto 15px;border:2px solid color-mix(in srgb,var(--taccent),transparent 45%);box-shadow:0 6px 16px #0002}
.memorial-panel .memorial-portrait+.memory-ornament{display:none}
.card-media{height:338px}
.card-media .memorial-panel{padding:27px 21px}
.card-media .memorial-panel .memory-content{min-height:73%;padding-top:2px!important}
.card-media .memorial-panel .memory-name{font-size:clamp(23px,2.5vw,33px)}
.card-media .memorial-panel .memory-quote{margin-top:15px;font-size:clamp(12px,1.25vw,15px)}
.card-media .memorial-panel .real-candle{width:39px;height:49px;flex-basis:39px}
.card-media .memorial-panel .memory-footer{min-height:46px;font-size:9px}
.large-preview{padding:20px 12px;border-radius:4px}
.large-preview .memorial-panel.full{min-height:545px;max-width:680px;padding:51px 46px;aspect-ratio:3/3.9;height:auto}
.large-preview .memorial-panel.full .memory-content{min-height:74%;justify-content:center}
.large-preview .memorial-panel.full .memory-name{font-size:clamp(39px,4.8vw,60px);line-height:1.09}
.large-preview .memorial-panel.full .memory-quote{font-size:clamp(19px,2.1vw,24px);line-height:1.48;margin-top:26px}
.large-preview .memorial-panel.full .memory-pretitle{font-size:12px}
.large-preview .memorial-panel.full .memory-dates{font-size:19px}
.large-preview .memorial-panel.full .memory-ornament{font-size:29px;margin:24px auto 27px}
.large-preview .memorial-panel.full .real-candle{width:65px;height:81px;flex-basis:65px}
.large-preview .memorial-panel.full .memory-footer{font-size:14px;min-height:84px}
.large-preview .memorial-panel.full .memorial-portrait{width:106px;height:106px}
.modal{padding:12px}
.modal-inner{max-width:820px;max-height:calc(100dvh - 24px);height:auto;display:flex;flex-direction:column;overflow:hidden;padding:0;border-radius:8px;background:#171615;border-color:#62574c}
.modal-head{position:relative;flex:0 0 auto;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:17px;padding:21px 24px 15px;background:#171615;border-bottom:1px solid #332e29}
.modal-head h2{font-size:clamp(26px,4vw,37px);margin:4px 0 0}
.modal-head button{width:44px;height:44px;min-width:44px;border-radius:5px}
.modal-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#76665a transparent;scrollbar-width:thin;padding:0 24px 21px}
.modal-scroll:focus-visible{outline-offset:-3px}
.modal-actions{position:relative;z-index:3;flex:0 0 auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;background:#201d1b;border-top:1px solid #50443a;padding:13px 24px}
.modal-actions #modal-price{white-space:nowrap}
.modal-actions p{font-size:11px;line-height:1.35;margin:0}
.modal-actions button{border-radius:5px;white-space:nowrap}
.preview-personalize{margin:18px 0 12px;border:1px solid #594f45;background:#201e1b;border-radius:7px}
.preview-personalize summary{cursor:pointer;color:#dfc49d;font:600 13px/1.5 var(--lm-ui);padding:13px 16px}
.preview-personalize[open] summary{border-bottom:1px solid #413831}
.preview-fields{padding:15px;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.preview-fields label{display:flex;flex-direction:column;gap:6px;font:500 12px/1.35 var(--lm-ui);color:#d9ccbd}
.preview-fields .preview-fullfield{grid-column:1/-1}
.preview-fields input,.preview-fields textarea{width:100%;min-width:0;background:#161514;border:1px solid #686056;color:#f0e8dc;border-radius:5px;padding:10px 11px;font:400 14px var(--lm-ui)}
.preview-fields input[type=file]{font-size:12px}
.preview-fields textarea{resize:vertical}
.preview-fields button{background:transparent;color:#bfa88b;border:1px solid #706052;border-radius:4px;padding:8px 12px;font-size:12px;min-height:38px}
.preview-fields .photo-error{color:#e2a59d;font-size:11px;margin:4px 0}
.preview-kicker{font:600 10px/1.5 var(--lm-ui);letter-spacing:.17em;text-transform:uppercase;color:#b9ae9f;margin:18px 0 12px}
.memorial-example{margin-top:18px;background:#22201d;border:1px solid #4a4036;border-radius:6px;padding:20px 22px}
.example-head{display:flex;align-items:center;gap:10px;color:#c4ad88}
.example-head h3{margin:0;font:500 27px/1.2 var(--lm-serif);letter-spacing:-.02em}
.example-remembrance{display:flex;align-items:center;gap:15px;border-bottom:1px solid #55493c;padding:22px 0}
.example-avatar{width:39px;height:39px;border:1px solid #6e6253;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font:500 22px var(--lm-serif);color:#d5b891}
.example-remembrance p{font:italic 19px/1.5 var(--lm-serif);margin:0;color:#e5d6c2}
.example-candles{display:flex;align-items:center;justify-content:center;gap:15px;color:#e3c89c;font:500 12px var(--lm-ui);padding:20px 0 6px}
.example-mini-flame{font-size:19px;color:#e8b675;text-shadow:0 0 18px #e8b6755c}
.example-disclaimer{text-align:center;font:400 10px/1.4 var(--lm-ui);color:#a99d8c;margin:8px 0 0}
@media(max-width:740px){
 .modal-inner{width:100%;max-height:calc(100dvh - 12px)}
 .modal{padding:6px}
 .modal-head{padding:14px 16px 10px}
 .modal-head h2{font-size:29px}
 .modal-scroll{padding:0 12px 12px}
 .modal-actions{grid-template-columns:1fr auto;padding:11px 14px;gap:8px}
 .modal-actions p{grid-column:1/-1;grid-row:2;font-size:10px}
 .modal-actions #modal-price{font-size:12px}
 .modal-actions button{font-size:12px;min-height:42px}
 .preview-personalize{margin:12px 0}
 .preview-fields{grid-template-columns:1fr;gap:10px}
 .preview-fields .preview-fullfield{grid-column:auto}
 .preview-kicker{font-size:9px;letter-spacing:.12em}
 .large-preview{padding:9px}
 .large-preview .memorial-panel.full{min-height:450px;padding:27px 23px;aspect-ratio:auto}
 .large-preview .memorial-panel.full .memory-name{font-size:clamp(36px,9vw,49px)}
 .large-preview .memorial-panel.full .memory-pretitle{font-size:10px}
 .large-preview .memorial-panel.full .memory-dates{font-size:17px}
 .large-preview .memorial-panel.full .memory-quote{font-size:clamp(16px,4.1vw,21px);margin-top:19px}
 .large-preview .memorial-panel.full .memory-ornament{margin:17px auto;font-size:24px}
 .large-preview .memorial-panel.full .real-candle{width:54px;height:69px;flex-basis:54px}
 .large-preview .memorial-panel.full .memory-footer{font-size:11px;min-height:65px}
 .large-preview .memorial-panel.full .memorial-portrait{width:75px;height:75px}
 .memorial-example{padding:16px}
 .example-head h3{font-size:24px}
 .example-remembrance p{font-size:17px}
}
@media(max-width:610px){
 .card-media{height:346px}
 .card-media .memorial-panel .memory-name{font-size:31px}
 .card-media .memorial-panel .memory-quote{font-size:15px}
 .card-media .memorial-panel .memory-footer{font-size:10px}
}
@media(max-width:360px){
 .card-media{height:322px}
 .card-media .memorial-panel .memory-name{font-size:29px}
 .large-preview .memorial-panel.full .memory-name{font-size:35px}
 .modal-head h2{font-size:25px}
}
@media(prefers-reduced-motion:reduce){.memorial-panel .real-candle:before{animation:none}}

/* Fit genuine, unusually long names without destroying the typographic rhythm. */
.memorial-panel.name-long .memory-name{font-size:clamp(24px,2.9vw,29px);line-height:1.11}
.memorial-panel.name-extra-long .memory-name{font-size:clamp(20px,2.3vw,24px);line-height:1.13}
.large-preview .memorial-panel.full.name-long .memory-name{font-size:clamp(30px,4vw,45px)}
.large-preview .memorial-panel.full.name-extra-long .memory-name{font-size:clamp(25px,3.4vw,34px)}
@media(max-width:610px){.card-media .memorial-panel.name-long .memory-name{font-size:28px}.card-media .memorial-panel.name-extra-long .memory-name{font-size:24px}.large-preview .memorial-panel.full.name-long .memory-name{font-size:34px}.large-preview .memorial-panel.full.name-extra-long .memory-name{font-size:27px}}


/* Quiet editorial presentation — real image instead of ornamental arch. */
.intro-visual{
 background-image:linear-gradient(0deg,rgba(16,13,17,.16),rgba(16,13,17,.16)),url("media/hero-memorial.webp")!important;
 background-size:cover!important;
 background-position:center!important;
 border:1px solid #60504c!important;
 border-radius:7px!important;
 box-shadow:none!important;
}
.intro-visual .intro-ring,.intro-visual>p{display:none!important}
.intro h1{text-wrap:balance}
.intro .eyebrow{text-transform:none;letter-spacing:.08em}
.topbar,.topbar .brand{box-shadow:none}
.jump{border-radius:4px}
@media(max-width:759px){.intro-visual{display:none!important}}

/* The photographic cover replaces decorative emblem work. */
.brand-icon{display:none!important}


/* Atelier: a curated first view, with legible realistic candle photography. */
#grid.theme-grid > .theme-card[hidden]{display:none!important}
.theme-card{border-radius:9px!important;overflow:hidden}
.theme-card .card-media{height:355px}
.theme-card .memorial-panel .real-candle{width:53px!important;height:69px!important;flex:0 0 53px!important}
.theme-card .memorial-panel .memory-footer{min-height:64px!important;font-size:11px!important}
.theme-card .memorial-panel .memory-name{font-size:clamp(24px,2.6vw,33px)}
.theme-card .memorial-panel[data-family="botanical"] .memorial-flora{opacity:.58}
.theme-card .memorial-panel[data-family="paper"] .memory-name,
.theme-card .memorial-panel[data-family="modern"] .memory-name{text-align:left!important}
.theme-card .memorial-panel[data-family="landscape"] .memory-footer{border-top:1px solid #ffffff2a}
.theme-card .memorial-panel[data-family="heritage"] .memory-footer{border-top:1px solid #ffffff22}
.lm-gallery-more{display:flex;flex-direction:column;align-items:center;gap:13px;padding:30px 12px 10px;margin:0 auto}
.lm-gallery-more[hidden]{display:none!important}
.lm-gallery-more button{min-height:48px;min-width:220px;padding:11px 25px;border:1px solid #bd986e;color:#f5d9af;background:#241d1d;border-radius:7px;font:600 14px var(--lm-ui);transition:background .15s,border-color .15s}
.lm-gallery-more button:hover{background:#403029;border-color:#e5c28c}
.lm-gallery-more button:focus-visible{outline:3px solid #ead09f;outline-offset:4px}
.lm-gallery-more output{font:12px/1.5 var(--lm-ui);color:#d7c5b2}
@media(max-width:760px){
 .theme-card .card-media{height:350px}
 .theme-card .memorial-panel .real-candle{width:54px!important;height:69px!important;flex-basis:54px!important}
 .theme-card .memorial-panel .memory-footer{min-height:57px!important}
 .lm-gallery-more{padding:23px 12px}
 .lm-gallery-more button{width:min(100%,330px);min-height:52px}
 .intro{padding-bottom:24px!important}
 .catalog{padding-top:15px!important}
}
@media(prefers-reduced-motion:reduce){.lm-gallery-more button{transition:none}}


/* LUMERENTO ATELIER TYPOGRAPHY • 2026-10-31
   Readable price/filter/preview copy, balanced headings in 13 locales. */
.topbar .brand small{
 font:500 11px/1.45 var(--lm-ui)!important;letter-spacing:.07em!important;
 text-transform:none!important;color:#cdbba8;
}
.topbar .brand strong{font-weight:500;line-height:1.05;letter-spacing:-.028em}
#lang{font-size:13px!important;line-height:1.4}
.intro h1{line-height:1.065!important;letter-spacing:-.038em;text-wrap:balance;overflow-wrap:break-word;hyphens:none}
.intro-copy>.eyebrow,.catalog .eyebrow{font-size:11.5px!important;letter-spacing:.11em!important;line-height:1.55}
.intro-copy>p:not(.eyebrow){font-size:16px!important;line-height:1.67!important;text-wrap:pretty}
.intro .jump{font-size:14.5px;line-height:1.45}
.section-title h2{line-height:1.12!important;letter-spacing:-.024em;text-wrap:balance;overflow-wrap:normal}
.section-title output{font-size:12.5px!important;line-height:1.5}
.catalog .tools{align-items:end}
.catalog .tools label{font-size:13px!important;line-height:1.42!important;min-width:0}
.catalog .tools input,.catalog .tools select{font-size:14px!important;line-height:1.4!important;min-width:0;max-width:100%}
.theme-card-bottom .category{font:600 11.5px/1.45 var(--lm-ui)!important;letter-spacing:.09em!important;overflow-wrap:break-word}
.theme-card-bottom h3{font-size:clamp(27px,2.3vw,33px)!important;line-height:1.14!important;letter-spacing:-.026em;text-wrap:pretty;hyphens:none;overflow-wrap:break-word}
.theme-card-bottom .price{font-size:14.5px!important;line-height:1.4}
.theme-card-bottom .card-row button{font-size:13.5px!important;line-height:1.4!important;min-height:45px!important}
.theme-card .memorial-panel .memory-pretitle{font-size:10px!important;line-height:1.45!important;letter-spacing:.13em!important;white-space:normal}
.theme-card .memorial-panel .memory-dates{font-size:14.5px!important;line-height:1.4}
.theme-card .memorial-panel .memory-quote{font-size:15px!important;line-height:1.46!important;text-wrap:balance;overflow-wrap:break-word}
.theme-card .memorial-panel .memory-footer{font-size:12px!important;line-height:1.4!important}
.theme-card .memorial-panel .memory-name{line-height:1.13!important;text-wrap:balance;hyphens:none;word-break:normal;overflow-wrap:break-word}
.lm-gallery-more output{font-size:12.5px!important;line-height:1.5}
.lm-gallery-more button{font-size:14px!important;line-height:1.4!important}
.promise h2{line-height:1.18!important;text-wrap:balance}
.promise p{font-size:14.5px!important;line-height:1.7!important;text-wrap:pretty}
.modal-head h2{line-height:1.14!important;text-wrap:balance;overflow-wrap:break-word}
.modal-actions p{font-size:12px!important;line-height:1.55!important;overflow-wrap:break-word}
.preview-personalize summary{font-size:14px;line-height:1.5}
.preview-fields label{font-size:13px!important;line-height:1.45!important;min-width:0}
.preview-fields input,.preview-fields textarea{font-size:14px!important;line-height:1.45!important}
.preview-personalize[data-lm-file-ready="true"] input[type=file]{
 position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;
 overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap
}
.lm-preview-file-controls{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:9px 13px;padding:4px 0 6px}
.lm-preview-file-controls button{border:1px solid #b79a76;border-radius:6px;background:#372e27;color:#f1debf;
 font:600 13px/1.4 var(--lm-ui);min-height:43px;padding:9px 15px;cursor:pointer}
.lm-preview-file-controls button:hover{background:#4e3b2b}
.lm-preview-file-controls button:focus-visible,
.preview-personalize:has(input[type=file]:focus-visible) .lm-preview-file-controls button{
 outline:3px solid #edcb9b;outline-offset:3px
}
.lm-preview-file-controls .lm-preview-file-name{flex:1 1 140px;min-width:0;
 font:400 12.5px/1.5 var(--lm-ui);color:#d5c7b8;overflow-wrap:anywhere}
.example-remembrance p{line-height:1.5!important}
.example-disclaimer{font-size:11.5px!important;line-height:1.5!important}
.preview-kicker{font-size:11px;line-height:1.45}
footer{line-height:1.5}
footer span{font-size:12.5px}
@media(max-width:760px){
 .topbar{padding:12px 17px!important;gap:8px}
 .topbar .brand strong{font-size:clamp(26px,7.2vw,31px)!important}
 .topbar .brand small{font-size:10px!important;letter-spacing:.055em!important;line-height:1.42!important}
 #lang{min-height:43px!important;font-size:13px!important}
 .intro{padding:40px 18px 45px!important}
 .intro h1{font-size:clamp(36px,9.5vw,47px)!important;line-height:1.07!important;margin:12px 0 18px!important}
 .intro-copy>p:not(.eyebrow){font-size:15.5px!important;line-height:1.63!important}
 .catalog{padding:0 17px 58px!important}
 .section-title h2{font-size:clamp(33px,9vw,43px)!important;line-height:1.12!important}
 .catalog .tools{gap:12px;margin:19px 0 26px}
 .theme-card-bottom{padding:17px 17px 19px!important}
 .theme-card-bottom h3{font-size:clamp(27px,8vw,32px)!important;line-height:1.15!important;margin:8px 0 14px}
 .theme-card-bottom .category{font-size:11.5px!important}
 .theme-card .memorial-panel .memory-pretitle{font-size:10px!important}
 .theme-card .memorial-panel .memory-footer{font-size:12px!important}
 .modal-actions p{font-size:11.5px!important}
 .promise{padding-inline:19px}
 .promise h2{font-size:clamp(28px,8vw,36px)}
}
@media(max-width:370px){
 .intro h1{font-size:clamp(34px,10.7vw,39px)!important}
 .section-title h2{font-size:35px!important}
 .catalog .tools input,.catalog .tools select{font-size:13.5px!important;padding:10px 9px!important}
 .theme-card-bottom .category{font-size:11px!important}
 .theme-card-bottom .card-row button{font-size:13px!important;padding:10px 12px!important}
 .modal-head h2{font-size:clamp(24px,7.6vw,30px)!important}
 .modal-actions{grid-template-columns:1fr auto!important;gap:7px!important}
 .modal-actions p{grid-column:1/-1!important}
}
