/* CHUNGSHOP application chrome. All rules are scoped away from guest invitations. */
body.shop-wedding,body.designer{--shop-blue:#1265ed;--shop-navy:#0c2057;--shop-muted:#7c869d;--shop-line:#e9edf5;--shop-bg:#f7f9fd;--shop-panel:#fff;--shop-raised:#eef4ff;--wine:#1265ed;--ink:#0c2057;--muted:#7c869d;--cream:#fff;--line:#e9edf5;--studio-wine:#1265ed;--studio-line:#e9edf5;color:var(--shop-navy);font-family:'Be Vietnam Pro',sans-serif;background:var(--shop-bg)}
.shop-topbar{background:#eef5ff;border-bottom:1px solid #e1ebfa;color:#3871bc;font-size:9px;padding:9px 6%;display:flex;justify-content:space-between;gap:16px}.shop-topbar a{font-weight:600}.shop-wedding .studio-header{height:88px;background:var(--shop-panel);border-color:var(--shop-line);gap:20px}.shop-wedding .brand{font-size:22px;letter-spacing:-.7px;font-weight:800;color:var(--shop-navy)}.shop-wedding .brand>span:not(.brandmark){font-size:22px;color:var(--shop-navy);line-height:1.2}.shop-wedding .brand b{color:var(--shop-blue)}.shop-wedding .brand small{font:500 7px 'Be Vietnam Pro',sans-serif;letter-spacing:1.7px;color:var(--shop-muted);margin-top:6px}.shop-wedding .brandmark,.designer .designer-logo{display:grid;place-items:center;width:43px;height:47px;background:linear-gradient(140deg,#00d1f0 2%,#0864ff 55%,#8b13fb);color:white;font-size:31px;font-weight:800;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);border-radius:0}.shop-wedding .studio-header nav{margin-left:auto;color:var(--shop-muted);font-size:11px}.shop-theme-button{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border:1px solid #dce7f7;border-radius:50%;background:#eef4ff;color:#1265ed;font:22px Georgia,serif;padding:0}.shop-wedding .button{border-radius:9px;padding:13px 20px;font-weight:600;letter-spacing:0}.shop-wedding .burgundy{background:linear-gradient(110deg,#107bf1,#3457e8);color:#fff;border:0;box-shadow:0 6px 16px #156ae51a}.shop-wedding .outline{background:var(--shop-panel);color:var(--shop-blue);border-color:#d6e4fa}.shop-wedding .button:hover{transform:translateY(-2px);box-shadow:0 8px 20px #1265ed20}.shop-wedding .wedding-hero{max-width:1200px;margin:30px auto;border-radius:20px;background:radial-gradient(ellipse at 78% 45%,#d1e9ff,transparent 55%),linear-gradient(115deg,#effaff,#eef4ff 55%,#e8e4ff);border:1px solid #e2ebfc;min-height:550px;padding:45px 5%;gap:25px}.shop-wedding .hero-content>h1{font-family:'Be Vietnam Pro',sans-serif;font-size:clamp(34px,3.5vw,49px);font-weight:800;letter-spacing:-1.8px;line-height:1.45;color:var(--shop-navy);margin:23px 0 16px}.shop-wedding .hero-content>h1 em{font-style:normal;font-weight:800;background:linear-gradient(90deg,#0876ec,#7938e9);background-clip:text;color:transparent}.shop-wedding .hero-content>.eyebrow{background:#ffffffb3;border:1px solid white;border-radius:25px;padding:9px 12px;display:inline-flex;font-size:8px;letter-spacing:1px;font-weight:700;color:#1265ed}.shop-wedding .hero-content>p{font-size:12px;line-height:1.9;color:#6a7895}.shop-wedding .hero-details{color:#7486a5;gap:15px;font-size:9px}.shop-wedding .hero-art{height:440px}.shop-phone{position:relative;width:245px;height:420px;border:7px solid #fff;border-radius:26px;overflow:hidden;transform:rotate(7deg);box-shadow:0 20px 60px #3155a32a;background:#cfbda4}.shop-phone>img{width:100%;height:100%;object-fit:cover}.shop-phone>div{position:absolute;inset:0;text-align:center;background:linear-gradient(#20170d20,transparent 65%)}.shop-phone small{color:#fff;font-size:6px;letter-spacing:2.5px;display:block;margin-top:25px}.shop-phone strong{font:65px/.8 'Allura',cursive;display:block;color:white;transform:rotate(-7deg);margin-top:28px;font-weight:400}.shop-phone>div>span{display:block;color:white;font-size:8px;letter-spacing:2px;margin-top:25px}.shop-floating-tag{position:absolute;left:0;bottom:40px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e5edfc;box-shadow:0 10px 30px #365c9c16;padding:12px 16px;border-radius:12px;color:#1768df;font-size:22px}.shop-floating-tag>span{font-size:10px;color:#0c2057;font-weight:600}.shop-floating-tag small{display:block;font-size:8px;color:#7c869d;font-weight:400;margin-top:4px}.shop-wedding .intro-strip{max-width:1200px;margin:0 auto;border:1px solid var(--shop-line);background:var(--shop-panel);border-radius:12px;padding:18px 30px}.shop-wedding .intro-strip>span{color:var(--shop-blue);font-size:8px;letter-spacing:1px;font-weight:600}.shop-wedding .intro-strip b{color:var(--shop-blue)}.shop-wedding .intro-strip i{color:#a0b5d4}.shop-wedding .section-title h2,.shop-wedding .editor-launch h2,.shop-wedding .closing h2{font-family:'Be Vietnam Pro',sans-serif;font-size:30px;font-weight:800;letter-spacing:-1px;line-height:1.5;color:var(--shop-navy)}.shop-wedding .section-title em,.shop-wedding .editor-launch em,.shop-wedding .closing em{font-style:normal;font-weight:800;color:var(--shop-blue)}.shop-wedding .eyebrow{color:var(--shop-blue);font-size:9px;letter-spacing:1px}.shop-wedding .template-card{background:var(--shop-panel);border:1px solid var(--shop-line);border-radius:16px;overflow:hidden;max-width:560px;box-shadow:0 7px 22px #4c7bc50b;transition:transform .2s,box-shadow .2s}.shop-wedding .template-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px #1265ed16}.shop-wedding .template-caption{padding:18px 22px;border:0}.shop-wedding .template-caption h3{font-weight:700;color:var(--shop-navy);font-size:13px}.shop-wedding .template-caption>span{color:var(--shop-blue);background:var(--shop-raised);padding:8px 12px;border-radius:7px;font-weight:600}.shop-wedding .editor-launch{border:1px solid var(--shop-line);border-radius:20px;background:var(--shop-panel);margin-bottom:45px;max-width:1100px;padding:45px 25px}.shop-wedding .closing{background:linear-gradient(115deg,#edf8ff,#f1edff);border-color:var(--shop-line)}.shop-wedding .closing>span{color:var(--shop-blue);font-size:8px;letter-spacing:1px}.shop-wedding .studio-footer{background:var(--shop-panel);border-color:var(--shop-line);font-size:9px;color:var(--shop-muted)}.shop-wedding dialog{background:var(--shop-panel);border-color:var(--shop-line)}
/* Shared shop look in the design workspace, including existing panels. */
body.designer{--studio-wine:#1265ed;--studio-line:#e9edf5;background:var(--shop-bg);color:var(--shop-navy)}.designer .designer-header{background:var(--shop-panel);border-color:var(--shop-line)}.designer .designer-logo{width:31px;height:35px;font-size:23px}.designer .designer-brand b{font-size:14px;color:var(--shop-navy)}.designer .designer-brand b span{color:var(--shop-blue)}.designer .designer-brand small{display:block;color:var(--shop-muted);font-size:8px;font-weight:400}.designer .history-buttons{border-color:var(--shop-line)}.designer .history-buttons button{color:var(--shop-muted)}.designer .design-document>b{color:var(--shop-navy);font-weight:600}.designer .design-document>span{color:#4b9b82}.designer .header-profile{color:var(--shop-blue)}.designer .designer-button{background:var(--shop-panel);color:var(--shop-navy);border-color:#d9e5f8;border-radius:8px}.designer .designer-button.dark{background:linear-gradient(110deg,#107bf1,#3457e8);border-color:transparent;color:white;box-shadow:0 4px 12px #1265ed1a}.designer .tool-rail,.designer .asset-panel,.designer .inspector{background:var(--shop-panel);border-color:var(--shop-line)}.designer .tool-rail>button{color:var(--shop-muted);border-radius:9px}.designer .tool-rail>button:hover,.designer .tool-rail>button.active{background:var(--shop-raised);color:var(--shop-blue)}.designer .rail-back{color:var(--shop-blue)}.designer .design-workspace{background:var(--shop-bg)}.designer .workspace-top{color:var(--shop-muted)}.designer .status-dot{background:var(--shop-blue)}.designer .workspace-top>div button{color:var(--shop-muted)}.designer .workspace-top>div button.active{background:var(--shop-panel);color:var(--shop-blue)}.designer .canvas-play-motion{background:var(--shop-panel);border-color:#cddffa;color:var(--shop-blue);border-radius:7px}.designer .panel-kicker{color:var(--shop-blue);font-weight:600;letter-spacing:1px}.designer .asset-panel h2,.designer .inspector h2{color:var(--shop-navy)}.designer .panel-description{color:var(--shop-muted)}.designer .page-item{border-color:var(--shop-line);background:var(--shop-panel);color:var(--shop-navy);border-radius:9px}.designer .page-item:hover{border-color:#b3cff6;background:var(--shop-raised)}.designer .page-item b,.designer .page-item small{color:var(--shop-muted)}.designer .photo-tray{background:var(--shop-panel);border:1px solid var(--shop-line);border-radius:12px}.designer .tray-heading button,.designer .tray-heading>span,.designer .tray-upload{color:var(--shop-muted)}.designer .tray-upload{color:var(--shop-blue)}.designer .tray-add{border-color:#c5d9f7;color:var(--shop-blue);background:var(--shop-raised);border-radius:6px}.designer .inspector-selected{background:var(--shop-raised);border-color:#dde9fa;border-radius:9px}.designer .inspector-selected>span{color:var(--shop-blue)}.designer .inspector-selected b{color:var(--shop-navy)}.designer .inspector-selected small,.designer .canvas-help{color:var(--shop-muted)}.designer .inspector input,.designer .inspector textarea,.designer .inspector select,.designer .asset-panel input{background:var(--shop-panel);color:var(--shop-navy);border-color:var(--shop-line);border-radius:7px}.designer .inspector input[type=range]{accent-color:var(--shop-blue)}.designer .inspector-tip{background:var(--shop-raised);color:var(--shop-muted);border-radius:9px}.designer .inspector-tip>span{color:var(--shop-blue)}.designer .inspector-footer,.designer .panel-section-label,.designer .asset-disclaimer,.designer .inspector-footer p{color:var(--shop-muted)}.designer .inspector-footer p{font:600 15px 'Be Vietnam Pro',sans-serif}.designer .add-text,.designer .upload-drop,.designer .custom-text-item{background:var(--shop-raised);border-color:#cddffa;color:var(--shop-navy);border-radius:9px}.designer .add-text>b,.designer .add-text>i,.designer .upload-drop>b{color:var(--shop-blue)}.designer .add-text small,.designer .upload-drop>small{color:var(--shop-muted)}.designer .text-field-list>button,.designer .music-list button,.designer .effect-options button,.designer .wide-button,.designer .settings-preview,.designer .text-style-buttons button{background:var(--shop-panel);border-color:var(--shop-line);color:var(--shop-navy);border-radius:8px}.designer .text-field-list small{font:10px/1.6 'Be Vietnam Pro',sans-serif;color:var(--shop-muted)}.designer .music-list button.chosen,.designer .effect-options button.chosen,.designer .text-style-buttons button.chosen{background:var(--shop-raised);border-color:#9fc3ff;color:var(--shop-blue)}.designer .music-list i,.designer .music-list em,.designer .panel-reset{color:var(--shop-blue)}.designer .music-list small,.designer .settings-preview small,.designer .toggle-row small,.designer .palette-options b{color:var(--shop-muted)}.designer .toggle-row{border-color:var(--shop-line);color:var(--shop-navy)}.designer .toggle-row input{accent-color:var(--shop-blue)}.designer .motion-play-button{background:linear-gradient(110deg,#107bf1,#3457e8);color:white;border-color:transparent}.designer dialog{background:var(--shop-panel);border-color:var(--shop-line);color:var(--shop-navy)}.designer dialog h2{font:700 23px/1.5 'Be Vietnam Pro',sans-serif;color:var(--shop-navy)}.designer dialog p,.designer .profile-note{color:var(--shop-muted)}.designer .profile-tabs{background:var(--shop-raised)}.designer .profile-tabs button{color:var(--shop-muted)}.designer .profile-tabs button[aria-selected=true]{background:var(--shop-panel);color:var(--shop-blue)}.designer .publish-summary{border-color:var(--shop-line)}.designer .dialog-close{color:var(--shop-blue)}.designer #designer-toast{background:#0c2057;color:#fff}.designer .inspector-divider,.designer .inspector-footer{border-color:var(--shop-line)}
/* Dark mode uses the exact palette established by CHUNGSHOP's theme. */
html[data-theme=dark] body:is(.shop-wedding,.designer){--shop-blue:#76aaff;--shop-navy:#e5edff;--shop-muted:#a2b1ca;--shop-line:#2a3b56;--shop-bg:#0c1424;--shop-panel:#141f32;--shop-raised:#1b2a42;--wine:#76aaff;--ink:#e5edff;--muted:#a2b1ca;--cream:#141f32;--line:#2a3b56;--studio-wine:#76aaff;--studio-line:#2a3b56;color:var(--shop-navy);background:var(--shop-bg)}html[data-theme=dark] .shop-wedding .shop-topbar{background:#14273e;border-color:#2a3b56;color:#a9caff}html[data-theme=dark] .shop-wedding :is(.wedding-hero,.closing){background:radial-gradient(ellipse at 8% 5%,#123c57,transparent 55%),linear-gradient(120deg,#14273e,#24203f);border-color:#344b6c}html[data-theme=dark] .shop-wedding .hero-content>p{color:#acbdd7}html[data-theme=dark] .shop-wedding .hero-content>.eyebrow{background:#1b2a42;border-color:#344b6c;color:#a9caff}html[data-theme=dark] :is(.shop-theme-button,.designer .canvas-play-motion){background:#223959;color:#a9caff;border-color:#42618d}html[data-theme=dark] .designer :is(.inspector-selected,.add-text,.upload-drop,.custom-text-item){border-color:#344b6c}html[data-theme=dark] .designer :is(.text-field-list>button,.music-list button,.effect-options button,.wide-button,.settings-preview,.designer-button){border-color:#344b6c}html[data-theme=dark] .shop-wedding .outline{border-color:#344b6c}html[data-theme=dark] .designer input::placeholder,html[data-theme=dark] .designer textarea::placeholder{color:#97a9c4}
@media(max-width:1250px){.shop-wedding .wedding-hero,.shop-wedding .intro-strip{margin-left:4%;margin-right:4%}.shop-wedding .editor-launch{margin-left:5%;margin-right:5%}}
@media(max-width:900px){.designer .designer-brand small{display:none}.shop-wedding .studio-header nav{gap:18px}}
@media(max-width:600px){.shop-topbar{padding:8px 5%;font-size:7px}.shop-topbar>span{max-width:70%;line-height:1.6}.shop-wedding .studio-header{height:76px;padding:0 5%;gap:10px}.shop-wedding .brand>span:not(.brandmark){font-size:16px}.shop-wedding .brandmark{width:32px;height:36px;font-size:25px}.shop-wedding .brand small{font-size:5px;letter-spacing:1.2px}.shop-wedding .studio-header>.button{margin-left:auto;font-size:8px;padding:9px 10px}.shop-theme-button{width:30px;height:30px;flex-basis:30px;font-size:19px}.shop-wedding .wedding-hero{margin-top:20px;padding:30px 7%;min-height:auto}.shop-wedding .hero-content>h1{font-size:34px;letter-spacing:-1.4px}.shop-wedding .hero-content>.eyebrow{font-size:6px;padding:8px 10px}.shop-wedding .hero-art{height:410px}.shop-wedding .hero-details{font-size:7px;gap:9px;flex-wrap:wrap}.shop-wedding .intro-strip{padding:18px 10px}.shop-wedding .section-title h2,.shop-wedding .editor-launch h2,.shop-wedding .closing h2{font-size:25px}.shop-wedding .template-caption{padding:15px;gap:10px}.shop-wedding .template-caption h3{font-size:11px}.shop-wedding .template-caption>span{font-size:9px;padding:7px}.shop-wedding .template-caption p{font-size:8px}.shop-wedding .editor-launch{padding:30px 18px}.designer .designer-brand b{font-size:10px}.designer .designer-logo{width:25px;height:29px;font-size:20px}.designer .header-actions{gap:4px}.designer .shop-theme-button{width:27px;height:27px;flex-basis:27px;font-size:18px}}
html[data-theme=dark] .shop-wedding .hero-content>h1 em{background:linear-gradient(90deg,#84b8ff,#c49bff);background-clip:text;color:transparent}.shop-phone strong{font-size:58px}
.designer .workspace-top>.canvas-play-motion{width:auto;display:inline-flex;align-items:center;gap:5px;font:500 9px/1.4 'Be Vietnam Pro',sans-serif;padding:6px 10px;flex-shrink:0}@media(max-width:600px){.designer .workspace-top>.canvas-play-motion{font-size:8px;padding:5px 7px}}
.designer .selected-music{display:flex;align-items:center;gap:10px;padding:12px;background:var(--shop-raised);border:1px solid var(--shop-line);border-radius:9px;margin:12px 0 18px}.selected-music>i{font-style:normal;font-size:24px;color:var(--shop-blue)}.selected-music small{display:block;font-size:7px;letter-spacing:1px;color:var(--shop-muted)}.selected-music b{font-size:10px;font-weight:600;display:block;color:var(--shop-navy);margin-top:3px}.designer .music-search{display:flex;align-items:center;border:1px solid var(--shop-line);border-radius:8px;padding:0 9px;margin:0 0 10px}.music-search>span{font-size:20px;color:var(--shop-muted)}.designer .music-search input{border:0;margin:0;background:transparent;font-size:10px;padding:10px 6px;min-width:0;outline:none}.music-filters{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0 14px}.music-filters>button{font-size:7px;border:1px solid var(--shop-line);background:var(--shop-panel);color:var(--shop-muted);border-radius:20px;padding:5px 7px}.music-filters>button.chosen{background:var(--shop-raised);color:var(--shop-blue);border-color:#80b3fc}.music-library-list{display:flex;flex-direction:column;gap:8px}.music-track{display:flex;align-items:center;gap:8px;border:1px solid var(--shop-line);padding:10px 8px;border-radius:9px;background:var(--shop-panel)}.music-track.is-selected{border-color:#79adfa;background:var(--shop-raised)}.track-preview{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;background:var(--shop-raised);color:var(--shop-blue);border:1px solid var(--shop-line);border-radius:50%;font-size:9px;padding:0}.track-preview.is-playing{background:#1265ed;color:white}.track-meta{flex:1;min-width:0}.track-meta b{font-size:9px;font-weight:500;line-height:1.6;display:block;color:var(--shop-navy)}.track-meta small{display:block;font-size:7px;color:var(--shop-muted);margin-top:3px}.track-use{background:transparent;border:0;color:var(--shop-blue);font-size:8px;padding:4px;flex-shrink:0}.music-preview-status{font-size:8px;line-height:1.8;color:var(--shop-blue);margin:12px 0;min-height:16px}.music-other{border-top:1px solid var(--shop-line);padding-top:12px}.music-other summary{font-size:9px;color:var(--shop-muted);cursor:pointer;margin-bottom:10px}.music-empty{font-size:10px;color:var(--shop-muted);padding:15px 0}
.auto-scroll-settings{margin:18px 0 22px}.auto-scroll-toggle{display:flex!important;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;position:relative;font-size:11px!important;color:var(--shop-navy);font-weight:500;margin:0 0 14px!important}.auto-scroll-toggle>input{position:absolute!important;right:0;width:40px!important;height:24px!important;opacity:0;margin:0!important;cursor:pointer;z-index:1}.auto-scroll-toggle>i{height:24px;width:42px;flex-shrink:0;background:#ced7e5;border-radius:30px;position:relative;transition:background .2s;display:block}.auto-scroll-toggle>i:after{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:white;box-shadow:0 1px 3px #0001;transition:transform .2s}.auto-scroll-toggle>input:checked+i{background:#8bb5f1}.auto-scroll-toggle>input:checked+i:after{transform:translateX(18px)}.auto-scroll-toggle>input:focus-visible+i{outline:2px solid var(--shop-blue);outline-offset:3px}.designer .auto-scroll-speed{border:0;border-radius:12px;background:var(--shop-raised);padding:15px 12px 12px;margin:0;min-width:0;transition:opacity .2s}.designer .auto-scroll-speed:disabled{opacity:.45}.designer .auto-scroll-speed>label{display:flex;justify-content:space-between;align-items:center;color:var(--shop-blue);font-size:11px;margin:0 0 14px;font-weight:500}.auto-scroll-speed output{font-size:8px;color:var(--shop-muted);font-weight:400}.designer .auto-scroll-speed input[type=range]{display:block;width:100%;height:18px;background:transparent;border:0;padding:0;margin:0;accent-color:#84a8d9;cursor:pointer}.auto-scroll-speed>div{display:flex;justify-content:space-between;margin-top:10px;font-size:10px;color:var(--shop-muted)}.auto-scroll-settings>p{font-size:8px!important;color:var(--shop-muted);line-height:1.8;margin:10px 0 0}

/* Compact collection cards keep every template visible side by side. */
.shop-wedding .template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,230px));gap:20px;align-items:start}
.shop-wedding .template-grid .template-card{width:100%;max-width:none;margin:0;border-radius:12px;min-width:0}
.shop-wedding .template-grid .template-mini{height:250px;min-height:0;padding:20px!important}
.shop-wedding .template-grid .editorial-template{padding-top:25px!important}
.shop-wedding .template-grid .editorial-template h3{font-size:52px!important;padding:15px 0;margin:20px 0 0}
.shop-wedding .template-grid .template-mini>span{font-size:6px!important;letter-spacing:1.5px}
.shop-wedding .template-grid .template-mini>p{font-size:7px!important;letter-spacing:1.5px}
.shop-wedding .template-grid .letter-template h3{font-size:32px!important;line-height:1.2;margin:30px 0 15px!important}
.shop-wedding .template-grid .mini-envelope{width:100px;height:70px;margin:20px auto 25px;font-size:23px}
.shop-wedding .template-grid .letter-template small{font-size:6px;letter-spacing:1px}
.shop-wedding .template-grid .template-mini:after{width:75px;height:75px}
.shop-wedding .template-grid .letter-template:after{top:70px;left:-12px}
.shop-wedding .template-grid .template-caption{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:13px}
.shop-wedding .template-grid .template-caption h3{font-size:12px;line-height:1.5;margin:0}
.shop-wedding .template-grid .template-caption p{font-size:10px;line-height:1.6;margin:7px 0 0;color:var(--shop-muted)}
.shop-wedding .template-grid .template-caption>span{font-size:10px;padding:7px 10px}
@media(max-width:600px){.shop-wedding .template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shop-wedding .template-grid .template-mini{height:210px;padding:15px 10px!important}.shop-wedding .template-grid .editorial-template h3{font-size:44px!important}.shop-wedding .template-grid .letter-template h3{font-size:27px!important;margin:25px 0 12px!important}.shop-wedding .template-grid .mini-envelope{width:83px;height:58px;margin:17px auto 20px}.shop-wedding .template-grid .template-caption{padding:10px}.shop-wedding .template-grid .template-caption h3{font-size:11px}.shop-wedding .template-grid .template-caption p{font-size:9px}.shop-wedding .template-grid .template-mini>span{font-size:5px!important;letter-spacing:1px}.shop-wedding .template-grid .template-mini>p{font-size:6px!important;letter-spacing:1px}}
.shop-wedding .template-grid{align-items:stretch}.shop-wedding .template-grid .template-card{display:flex;flex-direction:column}.shop-wedding .template-grid .template-caption{flex:1}.shop-wedding .template-grid .template-caption>span{margin-top:auto}.shop-wedding .template-grid .letter-template:before{display:none}.shop-wedding .template-grid .letter-template:after{width:50px;height:50px;top:auto;bottom:8px;left:4px}

/* Gallery-first studio: keep the intro compact so templates appear immediately. */
.shop-wedding .studio-header{height:64px}.shop-wedding .collection-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:0;margin:18px auto 12px;padding:20px 28px;border-radius:12px}
.shop-wedding .collection-hero .hero-content>h1{font-size:28px;line-height:1.3;letter-spacing:-.8px;margin:8px 0}
.shop-wedding .collection-hero .hero-content>.eyebrow{background:none;border:0;padding:0;font-size:8px;letter-spacing:1.5px}
.shop-wedding .collection-hero .hero-content>p{font-size:11px;line-height:1.6;margin:0}
.shop-wedding .collection-hero>.button{flex-shrink:0;padding:11px 15px;font-size:11px}
.shop-wedding .intro-strip{padding:12px 22px;min-height:0}.shop-wedding .intro-strip p{margin:0;font-size:10px}
.shop-wedding .collection.section-space{padding-top:26px;padding-bottom:32px}
.shop-wedding .collection .section-title{margin-bottom:18px;align-items:center}.shop-wedding .collection .section-title .eyebrow{display:none}
.shop-wedding .collection .section-title h2{font-size:23px;line-height:1.4;margin:0}.shop-wedding .collection .section-title>p{font-size:10px;margin:0}
.shop-wedding #studio>.editor-launch,.shop-wedding #studio>.closing{display:none}
@media(max-width:600px){.shop-wedding .collection-hero{margin:12px 4% 10px;padding:16px;gap:12px;display:block}.shop-wedding .collection-hero .hero-content>h1{font-size:24px}.shop-wedding .collection-hero>.button{margin-top:13px;padding:9px 12px;font-size:10px}.shop-wedding .intro-strip{margin:0 4%;padding:10px}.shop-wedding .intro-strip>span{display:none}.shop-wedding .intro-strip p{font-size:8px}.shop-wedding .collection.section-space{padding-top:22px}.shop-wedding .collection .section-title h2{font-size:20px}.shop-wedding .collection .section-title>p{margin-top:5px}.shop-wedding .studio-header{height:62px}}
/* Touch editor sheets: explicit open state, reachable close control, no permanent overlays. */
.mobile-panel-close{display:none}
@media(max-width:850px){
body.designer .designer-shell .asset-panel,body.designer .designer-shell .inspector{display:none;position:fixed;inset:auto 10px max(10px,env(safe-area-inset-bottom)) 65px;width:auto;max-height:52dvh;height:auto;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;z-index:15;border:1px solid var(--shop-line,#d8dfeb);border-radius:14px;box-shadow:0 -8px 35px #0003;background:var(--shop-panel,#fff)}
body.designer .designer-shell.mobile-panel-open .asset-panel{display:block}
body.designer .designer-shell.mobile-inspector-open .inspector{display:block}
body.designer .mobile-panel-close{display:block;position:sticky;top:0;z-index:3;margin:0;width:100%;min-height:44px;padding:12px 16px;text-align:right;border:0;border-bottom:1px solid var(--shop-line,#d8dfeb);background:var(--shop-panel,#fff);color:var(--shop-blue,#1768df);font-size:13px;font-weight:650;cursor:pointer}
body.designer .asset-panel input,body.designer .asset-panel select,body.designer .asset-panel textarea,body.designer .inspector input,body.designer .inspector select,body.designer .inspector textarea{font-size:16px}
body.designer .asset-panel button,body.designer .inspector button{min-height:40px}
body.designer .inspector-footer,body.designer .inspector-selected,body.designer .inspector-tip{display:none}
}
@media(max-width:600px){
body.designer .designer-shell .asset-panel,body.designer .designer-shell .inspector{left:54px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));max-height:50dvh}
body.designer .designer-header{gap:4px;padding-inline:7px}
body.designer .designer-brand b{display:block;font-size:12px;white-space:nowrap}body.designer .history-buttons{margin-left:3px;padding-left:3px}
body.designer .header-actions .designer-button{min-height:38px;padding:8px}
body.designer .tool-rail>button{min-height:48px}
body.designer .canvas-help{display:none}
body.designer .photo-tray{margin-top:6px}body.designer .tray-heading button{min-height:32px;font-size:10px}body.designer .tray-upload{font-size:9px}body.designer .tray-heading>span{display:none}
}
.designer dialog.wedding-crop-dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:18px;overflow:auto;box-sizing:border-box;border-radius:14px;background:var(--shop-panel,#fff);color:var(--shop-navy,#17223a)}.wedding-crop-dialog header{display:flex;justify-content:space-between;gap:15px}.wedding-crop-dialog h2{font:600 20px 'Be Vietnam Pro',sans-serif;margin:0}.wedding-crop-dialog header p{font-size:11px}.wedding-crop-dialog button{min-height:44px;border:1px solid var(--shop-line,#d4dce8);border-radius:8px;background:var(--shop-raised,#edf2fa);color:inherit;padding:8px 13px}.wedding-crop-dialog header button{font-size:24px;min-width:44px}.wedding-crop-dialog canvas{display:block;max-width:100%;max-height:42dvh;width:auto;height:auto;margin:10px auto;background:repeating-conic-gradient(#ddd 0% 25%,#fff 0% 50%) 0/16px 16px;touch-action:none;cursor:grab;outline:1px solid #aaa4}.wedding-crop-dialog label{font-size:12px;margin:10px 0}.wedding-crop-dialog select{font-size:16px;padding:9px;border-radius:7px;width:100%;background:var(--shop-panel,#fff);color:inherit;border:1px solid var(--shop-line,#ddd)}.wedding-crop-dialog input{width:100%;min-height:32px}.wedding-crop-dialog footer{display:flex;justify-content:flex-end;gap:8px}.wedding-crop-dialog [data-crop-apply]{background:#216feb;color:#fff}.wedding-crop-dialog [data-crop-error]{color:#d65858;font-size:12px}.crop-album-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
/* Music needs more room than the compact editing sheets. */
@media(max-width:850px){
body.designer .designer-shell.mobile-panel-open:has([data-panel="music"].active) .asset-panel{height:76dvh;max-height:76dvh;top:auto;bottom:max(8px,env(safe-area-inset-bottom))}
body.designer .designer-shell.mobile-panel-open:has([data-panel="music"].active) #asset-content{padding-bottom:24px}
}
@media(max-width:600px){
body.designer .designer-shell.mobile-panel-open:has([data-panel="music"].active) .asset-panel{left:54px;right:8px;height:76dvh;max-height:calc(100dvh - 78px - env(safe-area-inset-top))}
}

/* Keep preview and editing iframe at the same layout width. */
.designer #studio-preview{box-sizing:content-box;border-width:0;padding:0}.designer .canvas-frame{flex-shrink:0}.designer #studio-preview iframe{display:block}
.library-shell{max-width:1120px;margin:0 auto;padding:48px 26px 80px}.library-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.library-heading h1{font-size:36px;letter-spacing:-1px;margin:12px 0;color:var(--shop-navy,#17223a)}.library-heading p{color:var(--shop-muted,#7d8ca4);font-size:13px;line-height:1.9}.library-account{padding:16px 20px;border:1px solid var(--shop-line,#d8dfeb);border-radius:14px;max-width:300px;overflow-wrap:anywhere;background:var(--shop-panel,#fff)}.library-account span{font-size:9px;letter-spacing:1px;color:var(--shop-muted,#7d8ca4);display:block;margin-bottom:6px}.library-account b{font-size:12px;color:var(--shop-navy,#17223a)}.library-tabs{display:flex;gap:6px;border-bottom:1px solid var(--shop-line,#d8dfeb);padding-bottom:12px;overflow:auto}.library-tabs button{white-space:nowrap;min-height:44px;border:0;border-radius:10px;background:transparent;padding:10px 16px;color:var(--shop-muted,#7d8ca4);font:600 12px system-ui;cursor:pointer}.library-tabs button.active{background:#2873ed1c;color:#6d9df1}.library-tabs b{margin-left:7px;font-size:10px}.library-help{font-size:11px;color:var(--shop-muted,#7d8ca4);line-height:1.8;margin:22px 0}.library-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}.library-card{padding:26px;border:1px solid var(--shop-line,#d8dfeb);border-radius:18px;background:var(--shop-panel,#fff);min-width:0}.library-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.library-mark{display:grid;place-content:center;width:42px;height:42px;border-radius:50%;border:1px solid #8caddc55;color:#8caddc;font:28px Georgia}.library-badge{font:600 9px system-ui;letter-spacing:1px;color:#8caddc;background:#8caddc14;padding:7px 9px;border-radius:6px}.library-card.is-letter .library-mark{color:#d8b7a7;border-color:#d8b7a755}.library-card h2{font-size:24px;margin:20px 0 9px;color:var(--shop-navy,#17223a)}.library-couple{font-size:13px;color:var(--shop-muted,#7d8ca4);min-height:22px}.library-card dl{font-size:11px;margin:22px 0;color:var(--shop-muted,#7d8ca4)}.library-card dl>div{display:flex;justify-content:space-between;gap:15px;margin:10px 0}.library-card dd{margin:0;text-align:right;color:var(--shop-navy,#17223a)}.library-url{display:block;overflow-wrap:anywhere;font-size:10px;line-height:1.7;padding:11px;border:1px solid var(--shop-line,#d8dfeb);border-radius:8px;color:#8caddc}.library-card-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.library-card-actions a,.library-card-actions button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 13px;box-sizing:border-box;border-radius:9px;border:1px solid var(--shop-line,#d8dfeb);background:transparent;color:var(--shop-navy,#17223a);font:600 11px system-ui;text-decoration:none;cursor:pointer}.library-card-actions .library-primary{background:#2873ed;color:white;border-color:#2873ed}.library-empty{text-align:center;padding:60px 24px;border:1px dashed var(--shop-line,#d8dfeb);border-radius:18px;grid-column:1/-1;color:var(--shop-muted,#7d8ca4)}.library-empty>span{font:48px Georgia;color:#8caddc}.library-empty h2{font-size:21px;color:var(--shop-navy,#17223a)}.library-empty p,.library-private{font-size:12px;line-height:1.8;color:var(--shop-muted,#7d8ca4)}.library-price{font-size:24px;color:#8caddc}#library-status{font-size:12px;color:#8caddc;margin-top:20px}.tool-rail .rail-library{margin-top:8px}
@media(max-width:600px){.library-shell{padding:25px 16px 50px}.library-heading{display:block;margin-bottom:22px}.library-heading h1{font-size:29px}.library-account{max-width:none;margin-top:18px;padding:12px 14px}.library-card{padding:22px}.library-tabs button{padding:10px 12px;font-size:11px}.library-card-actions{display:grid;grid-template-columns:1fr}.library-heading p{font-size:12px}}

/* Compact playback actions keep the invitation and canvas controls balanced. */
.designer .workspace-top>.canvas-play-motion{font-size:8px;padding:4px 8px;min-height:28px}.designer .workspace-top>.canvas-play-motion:disabled{opacity:.5;cursor:wait}
/* Close controls stay borderless when a dialog gives them initial focus. */
body.designer :is(.dialog-close,.preview-dialog-top>button),body.shop-wedding .dialog-close{border:0;box-shadow:none;border-radius:50%}
body.designer :is(.dialog-close,.preview-dialog-top>button):focus-visible,body.shop-wedding .dialog-close:focus-visible{outline:none;box-shadow:none;background:var(--shop-raised,#eef4ff);color:var(--shop-blue,#1265ed)}

.library-card-actions .library-delete-draft{color:#bb4354;border-color:#dfabb3;background:transparent}.wedding-delete-draft-dialog{width:min(420px,calc(100vw - 32px));padding:26px;border:1px solid var(--shop-line,#d8dfeb);border-radius:16px;background:var(--shop-panel,#fff);color:var(--shop-navy,#17223a)}.wedding-delete-draft-dialog h2{font:700 20px/1.5 'Be Vietnam Pro',sans-serif;margin:0 0 12px}.wedding-delete-draft-dialog p{font-size:12px;line-height:1.8;color:var(--shop-muted,#7d8ca4)}.wedding-delete-draft-dialog footer{display:flex;gap:10px;margin-top:22px}.wedding-delete-draft-dialog button{flex:1;min-height:42px;padding:10px;border:1px solid var(--shop-line,#d8dfeb);border-radius:8px;background:var(--shop-raised,#f3f6fc);color:var(--shop-navy,#17223a);font-size:11px}.wedding-delete-draft-dialog [data-delete-confirm]{background:#bb4354;border-color:#bb4354;color:#fff}

.wedding-restore-draft-dialog [data-restore-save]{background:#1265ed;border-color:#1265ed;color:#fff}

/* Collection welcome: scoped to the catalogue, never to the invitation or editor. */
.shop-wedding .studio-header .studio-active-pill{padding:8px 15px;border-radius:25px;background:linear-gradient(110deg,#854fc1,#454699);color:#fff;box-shadow:0 0 15px #b06ce22b}
.shop-wedding .studio-header>.button{border-radius:25px;background:linear-gradient(110deg,#c14df2,#5744ff);color:white;border:1px solid #b884f155;box-shadow:0 0 18px #8553f13b}
.shop-wedding .studio-collection-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1.3fr .95fr 1fr;align-items:center;gap:20px;overflow:hidden;min-height:240px;padding:28px 36px;margin-top:16px;border:1px solid #29558a;border-radius:22px;background:radial-gradient(ellipse at 58% 55%,#76418f66,transparent 40%),radial-gradient(ellipse at 95% 100%,#ac438b70,transparent 40%),linear-gradient(115deg,#082845,#101a3e 60%,#082843);box-shadow:inset 0 0 24px #0b83d928,0 5px 24px #032e6022;color:#f3f5ff}
.shop-wedding .studio-collection-hero .hero-content{z-index:2;min-width:0}
.shop-wedding .studio-collection-hero .hero-content>.eyebrow{display:inline-block;padding:5px 9px;border-radius:20px;font-size:8px;letter-spacing:1px;background:#17467599;color:#e4ecff}
.shop-wedding .studio-collection-hero .hero-content>h1{font:800 clamp(23px,2.5vw,35px)/1.3 'Be Vietnam Pro',sans-serif;color:#fff;margin:9px 0 0;white-space:nowrap}
.shop-wedding .studio-collection-hero .hero-content>.collection-hero-script{font:italic clamp(19px,2vw,28px)/1.5 'Allura',Georgia,serif;color:#f9afd6;margin:0 0 8px;white-space:nowrap}
.shop-wedding .studio-collection-hero .hero-content>p:not(.collection-hero-script){font:400 11px/1.8 'Be Vietnam Pro',sans-serif;color:#d8e3f4;margin:0}
.collection-hero-actions{display:flex;align-items:center;gap:12px;margin-top:15px}.shop-wedding .collection-hero-actions .button{font-size:11px;border-radius:30px;padding:10px 18px;white-space:nowrap}.shop-wedding .collection-hero-actions .burgundy{background:linear-gradient(110deg,#b64df1,#553cff);border:1px solid #ca9afa66;box-shadow:0 0 18px #b664ff44}.shop-wedding .collection-hero-actions .outline{background:#09193288;border:1px solid #a286d6;color:white}
.collection-hero-art{position:relative;aspect-ratio:315/185;min-width:0;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 94%,transparent);animation:collection-envelope-float 6s ease-in-out infinite}.collection-hero-art>img{position:absolute;width:406.35%;max-width:none;height:auto;left:-174.6%;top:-36.76%}
.collection-hero-benefits{list-style:none;margin:0;padding:0 0 0 22px;border-left:1px solid #6763c15c;position:relative;z-index:2}.collection-hero-benefits li{display:flex;align-items:center;gap:11px;padding:10px 0;border-bottom:1px solid #47619b40;color:#e8efff;font-size:11px;line-height:1.5}.collection-hero-benefits li:last-child{border:0}.collection-hero-benefits li>span{width:30px;height:30px;flex:0 0 30px;border-radius:50%;display:grid;place-items:center;font-size:20px;background:linear-gradient(135deg,#8350ac,#335487);color:#f3e5ff}
.shop-wedding .intro-strip{border-radius:22px;border-color:#23538b;background:linear-gradient(110deg,#073955,#12254a 55%,#07395b);box-shadow:inset 0 0 15px #208de624;color:#e4efff;padding:12px 22px}.shop-wedding .intro-strip>span{color:#e4efff}.shop-wedding .intro-strip p{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;margin-left:35px;color:#e4efff;font-size:11px}.shop-wedding .intro-strip b{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:50%;background:linear-gradient(135deg,#53c3ff,#4f54eb);color:white}.shop-wedding .intro-strip b:first-child{background:linear-gradient(135deg,#cc67f3,#6944f4)}.shop-wedding .intro-strip i{color:#829fff;font-size:22px}
@keyframes collection-envelope-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-5px) rotate(1deg)}}
@media(max-width:1000px){.shop-wedding .studio-collection-hero{grid-template-columns:1.25fr 1fr;padding:25px;gap:18px}.collection-hero-benefits{grid-column:1/-1;border:0;display:grid;grid-template-columns:1fr 1fr;padding:0}.collection-hero-benefits li{border:0;padding:5px}.shop-wedding .studio-header nav{gap:12px}.shop-wedding .studio-header .studio-active-pill{display:none}}
@media(max-width:600px){.shop-wedding .studio-collection-hero{display:flex;flex-direction:column;align-items:stretch;padding:22px 20px;gap:15px;margin:12px 4%}.shop-wedding .studio-collection-hero .hero-content>h1{font-size:29px;white-space:normal}.shop-wedding .studio-collection-hero .hero-content>.collection-hero-script{font-size:25px;white-space:normal}.collection-hero-art{width:240px;align-self:center}.collection-hero-benefits{gap:8px}.collection-hero-benefits li{font-size:10px;gap:7px}.collection-hero-benefits li>span{width:24px;height:24px;flex-basis:24px;font-size:17px}.shop-wedding .intro-strip{padding:14px;margin:0 4%}.shop-wedding .intro-strip>span{display:block;font-size:9px;text-align:center}.shop-wedding .intro-strip p{margin:10px 0 0;font-size:8px;gap:5px;flex-wrap:wrap}.shop-wedding .intro-strip b{width:22px;height:22px}.shop-wedding .intro-strip i{font-size:15px}}
@media(prefers-reduced-motion:reduce){.collection-hero-art{animation:none}}
html[data-theme=dark] .shop-wedding .studio-collection-hero{border-color:#285c91;background:radial-gradient(ellipse at 58% 55%,#76418f66,transparent 40%),radial-gradient(ellipse at 95% 100%,#ac438b70,transparent 40%),linear-gradient(115deg,#082845,#101a3e 60%,#082843)}
.collection-hero-art{mask-image:linear-gradient(90deg,transparent,#000 12%,#000 94%,transparent),linear-gradient(#000 88%,transparent);mask-composite:intersect}

/* Compact studio navigation matching the supplied reference. */
.shop-wedding .studio-header{height:62px;gap:20px;background:#03172b;border-bottom:1px solid #183452;color:#f4f6ff}
.shop-wedding .studio-header nav{align-items:center;gap:28px;flex-wrap:nowrap;white-space:nowrap;font-size:11px;color:#e4e7f4}
.shop-wedding .studio-header .studio-active-pill{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 19px;border-radius:24px;background:linear-gradient(180deg,#505497,#703673);box-shadow:inset 0 1px 3px #bbc2ff30;color:#fff;font-weight:650}
.shop-wedding .studio-header .studio-create-pill{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 20px;white-space:nowrap;border:0;border-radius:25px;background:linear-gradient(160deg,#dc69ed,#685bff 55%,#4544f6);box-shadow:inset 0 1px 3px #efccff77,0 0 13px #7357ff24;font-size:11px;color:#fff;font-weight:650}
.shop-wedding .studio-create-pill>span{font-size:19px;line-height:1;font-weight:400}
.shop-wedding .studio-header .shop-theme-button{margin-left:0;border:0;border-left:1px solid #344561;border-radius:0;width:46px;flex-basis:46px;height:31px;padding-left:16px;background:transparent;color:#bbc8f2;font-size:21px}
.shop-wedding .studio-header nav>a:focus-visible{outline:2px solid #c18cff;outline-offset:4px}
@media(max-width:1100px){.shop-wedding .studio-header{gap:12px;padding-inline:4%}.shop-wedding .studio-header nav{gap:16px;font-size:10px}.shop-wedding .studio-header .studio-active-pill{padding-inline:13px}.shop-wedding .studio-header .studio-create-pill{padding-inline:14px;font-size:10px}.shop-wedding .studio-header .brand small{display:none}}
@media(max-width:850px){.shop-wedding .studio-header{height:auto;min-height:64px;flex-wrap:wrap;padding-block:10px;gap:10px}.shop-wedding .studio-header nav{display:flex;order:4;width:100%;overflow-x:auto;gap:20px;padding:5px 0;scrollbar-width:none;margin:0}.shop-wedding .studio-header .studio-create-pill{margin-left:auto}.shop-wedding .studio-header .brand>span:not(.brandmark){font-size:18px}}
/* Square previews and a catalogue aligned with the surrounding content. */
.shop-wedding .collection.section-space{width:calc(100% - 8%);max-width:1200px;padding:26px 0 32px;margin-inline:auto}
.shop-wedding .collection .section-title{margin-inline:0;margin-bottom:20px}
.shop-wedding .template-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.shop-wedding .template-grid .template-mini{height:auto;min-height:0;aspect-ratio:1/1;flex:none;container-type:inline-size}
.shop-wedding .template-grid .editorial-template h3{position:absolute;top:23%;left:5%;right:5%;font-size:19cqw!important;line-height:.95;margin:0;padding:0}
.shop-wedding .template-grid .template-mini>span{position:absolute;top:10%;left:5%;right:5%;font-size:2.4cqw!important}
.shop-wedding .template-grid .template-mini>p{position:absolute;bottom:7%;left:5%;right:5%;margin:0;font-size:2.7cqw!important}
.shop-wedding .template-grid .letter-template h3{position:absolute;top:24%;left:5%;right:5%;font-size:14cqw!important;line-height:1.2;margin:0!important}
.shop-wedding .template-grid .mini-envelope{position:absolute;bottom:7%;left:30%;width:40%;height:28%;margin:0;font-size:9cqw}
.shop-wedding .template-grid .letter-template>small{display:none}
@media(max-width:600px){.shop-wedding .template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shop-wedding .collection.section-space{width:calc(100% - 8%);padding-inline:0}.shop-wedding .template-grid .template-mini{height:auto;aspect-ratio:1/1}.shop-wedding .template-grid .mini-envelope{width:40%;height:28%;margin:0}.shop-wedding .collection .section-title{align-items:start;gap:10px}}
/* Compact square cards: keep the outer alignment without stretching previews. */
.shop-wedding .template-grid{grid-template-columns:repeat(auto-fill,minmax(190px,230px));justify-content:start;gap:18px;align-items:stretch}
.shop-wedding .template-grid .template-caption{padding:12px;gap:8px}
.shop-wedding .template-grid .template-caption h3{font-size:12px;line-height:1.5}
.shop-wedding .template-grid .template-caption p{font-size:10px;line-height:1.6;margin-top:6px}
.shop-wedding .template-grid .template-caption>span{font-size:10px;padding:6px 10px}
@media(max-width:600px){.shop-wedding .template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shop-wedding .template-grid .template-caption{padding:10px}.shop-wedding .template-grid .template-caption h3{font-size:11px}.shop-wedding .template-grid .template-caption p{font-size:9px}}
/* Real customer invitations share the catalogue's compact visual treatment. */
.shop-wedding .customer-weddings.section-space{width:calc(100% - 8%);max-width:1200px;margin-inline:auto;padding:26px 0 32px;background:transparent;color:var(--shop-navy)}
.shop-wedding .customer-weddings .section-title{margin:0 0 20px;align-items:center}
.shop-wedding .customer-weddings .section-title .eyebrow{display:none}
.shop-wedding .customer-weddings .section-title h2{font-size:23px;line-height:1.4;margin:0}
.shop-wedding .customer-weddings .section-title>p{font-size:10px;margin:0;color:var(--shop-muted)}
.shop-wedding .customer-weddings-track{gap:18px;padding:0 0 10px}
.shop-wedding .customer-wedding-card{flex:0 0 230px;max-width:230px;aspect-ratio:auto;border:1px solid var(--shop-line);border-radius:12px;background:var(--shop-panel);color:var(--shop-navy)}
.shop-wedding .customer-wedding-cover{position:relative;inset:auto;aspect-ratio:1/1;width:100%}
.shop-wedding .customer-wedding-caption{position:static;inset:auto;padding:12px;background:none;text-shadow:none}
.shop-wedding .customer-wedding-caption>span{display:none}
.shop-wedding .customer-wedding-caption h3{font-size:12px;line-height:1.5;margin:0 0 8px}
.shop-wedding .customer-wedding-caption p{font-size:10px;color:var(--shop-blue)}
@media(max-width:600px){.shop-wedding .customer-weddings .section-title{align-items:start;gap:10px}.shop-wedding .customer-weddings .section-title h2{font-size:20px}.shop-wedding .customer-wedding-card{flex-basis:calc((100% - 12px)/2)}.shop-wedding .customer-wedding-caption{padding:10px}.shop-wedding .customer-wedding-caption h3{font-size:11px}}
/* Customer keepsake card: portrait photo, violet rim and overlaid caption. */
.shop-wedding .customer-wedding-card{flex:0 0 230px;max-width:230px;aspect-ratio:2/3;border:1px solid #e4bdf5;border-radius:23px;background:#18223e;color:#fff;box-shadow:0 0 8px #d48aff66,0 0 24px #9d4ef133,inset 0 0 3px #ffffff80}
.shop-wedding .customer-wedding-cover{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
.shop-wedding .customer-wedding-cover img{object-position:50% 40%}
.shop-wedding .customer-wedding-caption{position:absolute;inset:auto 0 0;padding:52px 18px 20px;background:linear-gradient(transparent,#111a34c9 40%,#131d3cf5);color:white;text-shadow:0 1px 5px #0004}
.shop-wedding .customer-wedding-caption>span{display:block;font-size:8px;letter-spacing:1px;color:#f3f1ff}
.shop-wedding .customer-wedding-caption h3{font-size:16px;line-height:1.4;margin:5px 0 10px;color:#fff}
.shop-wedding .customer-wedding-caption p{font-size:10px;line-height:1.5;color:#e6eafb}
.shop-wedding .customer-weddings-track{padding:8px 6px 20px;margin-inline:-6px}
@media(max-width:600px){.shop-wedding .customer-wedding-card{flex-basis:210px;max-width:210px}.shop-wedding .customer-wedding-caption{padding:45px 16px 18px}.shop-wedding .customer-wedding-caption h3{font-size:15px}}
.shop-wedding .studio-header .shop-theme-button{position:relative;display:grid;place-items:center;box-sizing:border-box;width:34px;height:34px;flex:0 0 34px;padding:0;margin-left:12px;border:1px solid #48628c;border-radius:50%;background:#1e3355;color:#b8d1ff;font-size:21px;line-height:1}
.shop-wedding .studio-header .shop-theme-button::before{content:"";position:absolute;left:-14px;top:3px;height:26px;border-left:1px solid #344561;pointer-events:none}
@media(max-width:600px){.shop-wedding .studio-header .shop-theme-button{width:30px;height:30px;flex-basis:30px;font-size:19px}.shop-wedding .studio-header .shop-theme-button::before{height:24px;top:2px}}
.shop-wedding .intro-strip .studio-steps{display:flex;align-items:center;justify-content:space-between;gap:18px;list-style:none;padding:0;margin:0 0 0 28px;flex:1;min-width:0}
.studio-steps li{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;white-space:nowrap;font-size:11px;line-height:1.3;color:#e4efff}
.studio-steps li+li::before{content:"›";font-size:22px;color:#829fff;margin-right:12px}
.shop-wedding .intro-strip .studio-steps b{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;margin:0;font-size:12px}
@media(max-width:600px){
 .shop-wedding .intro-strip{display:flex;flex-direction:column;gap:10px;padding:12px 10px;border-radius:18px}
 .shop-wedding .intro-strip>span{margin:0;font-size:8px;letter-spacing:1.2px}
 .shop-wedding .intro-strip .studio-steps{width:100%;margin:0;gap:6px;flex-wrap:nowrap}
 .studio-steps li{gap:4px;font-size:8px;letter-spacing:-.15px}
 .studio-steps li+li::before{display:none}
 .shop-wedding .intro-strip .studio-steps b{width:20px;height:20px;flex-basis:20px;font-size:9px}
}
.shop-wedding .template-purchase-row{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;margin-top:auto}
.shop-wedding .template-purchase-row>strong{font-size:13px;line-height:1.4;color:var(--shop-blue);white-space:nowrap}
.shop-wedding .template-purchase-row>span{flex-shrink:0;padding:7px 10px;border-radius:9px;background:var(--shop-raised);color:var(--shop-blue);font-size:10px;font-weight:600;white-space:nowrap}
@media(max-width:600px){.shop-wedding .template-purchase-row>strong{font-size:11px}.shop-wedding .template-purchase-row>span{font-size:9px;padding:7px}}
@media(max-width:360px){.shop-wedding .template-purchase-row{gap:4px}.shop-wedding .template-purchase-row>strong{font-size:10px}.shop-wedding .template-purchase-row>span{font-size:8px;padding:6px 5px}}

.shop-wedding .scarlet-template{position:relative;padding:0!important;background:#790e21;color:white}.scarlet-template>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.85)}.scarlet-template>h3{position:absolute;left:10%;bottom:12%;font:400 24cqw/1 'Allura',cursive;color:white;z-index:1;margin:0;text-shadow:0 1px 10px #530a22}.shop-wedding .template-grid .scarlet-template>span{top:auto;bottom:8%;font-size:2.5cqw!important;color:#fff;text-align:right}.scarlet-template::before,.scarlet-template::after{display:none}

/* Compact guide and FAQ follow the catalogue's shared light/dark palette. */
.shop-wedding .wedding-seo.section-space{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);gap:40px;width:calc(100% - 8%);max-width:1200px;margin:12px auto 36px;padding:28px;border:1px solid var(--shop-line);border-radius:20px;background:var(--shop-panel);color:var(--shop-navy);text-align:left}
.wedding-guide-kicker{display:block;color:var(--shop-blue);font-size:9px;font-weight:700;letter-spacing:1.6px;line-height:1.5;margin-bottom:12px}
.shop-wedding .wedding-guide-intro>h2{font-size:26px;line-height:1.35;letter-spacing:-.5px;margin:0 0 16px}
.wedding-guide-intro>h2 em{font-style:normal;color:var(--shop-blue)}
.wedding-guide-intro>p{font-size:12px;line-height:1.85;color:var(--shop-muted);margin:0 0 12px;max-width:48ch}
.shop-wedding .wedding-guide-cta{display:inline-flex;align-items:center;gap:20px;margin-top:8px;padding:11px 15px;font-size:11px;box-shadow:none;border-radius:10px}
.wedding-guide-faq{min-width:0}.shop-wedding .wedding-guide-faq>h2{font-size:18px;line-height:1.45;letter-spacing:-.25px;margin:0 0 16px;max-width:31ch}
.wedding-guide-faq details{border:1px solid var(--shop-line);border-radius:12px;background:var(--shop-bg);padding:0;margin-bottom:9px;overflow:hidden;transition:border-color .2s}
.wedding-guide-faq details[open]{border-color:var(--shop-blue)}
.wedding-guide-faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 15px;cursor:pointer;list-style:none;font-size:12px;font-weight:600;line-height:1.55;color:var(--shop-navy)}
.wedding-guide-faq summary::-webkit-details-marker{display:none}.wedding-guide-faq summary::after{content:'+';flex-shrink:0;font-size:20px;font-weight:400;line-height:1;color:var(--shop-blue)}.wedding-guide-faq details[open]>summary::after{content:'−'}
.wedding-guide-faq details>p{font-size:11px;line-height:1.85;color:var(--shop-muted);padding:0 15px 15px;margin:0}
.wedding-guide-faq summary:focus-visible{outline:2px solid var(--shop-blue);outline-offset:-4px;border-radius:12px}
@media(max-width:700px){.shop-wedding .wedding-seo.section-space{grid-template-columns:1fr;gap:24px;padding:20px;margin-top:6px;border-radius:16px}.shop-wedding .wedding-guide-intro>h2{font-size:23px}.wedding-guide-intro>p{max-width:none}.shop-wedding .wedding-guide-faq>h2{font-size:17px;max-width:none}.wedding-guide-faq summary{padding:13px;font-size:12px}.wedding-guide-kicker{font-size:8px;margin-bottom:9px}}

.shop-wedding .collection .section-description,.shop-wedding .customer-weddings .section-description{font-size:11px;line-height:1.7;color:var(--shop-muted);margin:7px 0 0;text-align:left}
/* Give the source artwork breathing room so the envelope and flowers stay intact. */
.collection-hero-art{aspect-ratio:370/215;mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent),linear-gradient(transparent,#000 5%,#000 92%,transparent);mask-composite:intersect}
.collection-hero-art>img{width:345.946%;left:-140.541%;top:-25.581%}

.library-responses{width:min(90vw,680px);max-height:85svh;overflow:auto;padding:28px;background:var(--surface,#152238);color:var(--text,#e4ecff);border:1px solid #7184a566;border-radius:20px}.library-responses::backdrop{background:#0009}.library-responses>button{float:right;background:none;color:inherit;border:0;font-size:28px;cursor:pointer}.library-responses article{border-top:1px solid #7184a544;padding:12px 0}.library-responses article p{white-space:pre-wrap}.library-responses h2{font-size:24px}.library-responses small{opacity:.7}

/* One catalogue layout for classic and premium templates. */
.shop-wedding .template-grid .template-card{display:flex;flex-direction:column;align-self:stretch}
.shop-wedding .template-grid .premium-card-image{display:block;flex:none}
.shop-wedding .template-grid .template-caption{display:flex;flex-direction:column;align-items:stretch;flex:1;padding:14px;gap:9px}
.shop-wedding .template-grid .template-caption>div:first-child{min-height:84px}
.shop-wedding .template-grid .template-caption h3{font-size:12px;line-height:1.5;margin:0;color:var(--shop-navy)}
.shop-wedding .template-grid .template-caption p{font-size:10px;line-height:1.6;margin:6px 0 0}
.shop-wedding .template-grid .premium-preview-link{display:block;margin:0;font-size:10px;line-height:1.5;font-weight:500;color:var(--shop-blue)}
.shop-wedding .template-grid .template-purchase-row{display:flex;align-items:center;justify-content:space-between;width:100%;gap:6px;margin-top:auto;padding-top:12px}
.shop-wedding .template-grid .template-purchase-row>strong{font-size:13px;line-height:1.4;color:var(--shop-blue)}
.shop-wedding .template-grid .template-purchase-row>a{display:inline-flex;align-items:center;justify-content:center;min-height:33px;flex-shrink:0;padding:7px 10px;border-radius:9px;background:var(--shop-raised);color:var(--shop-blue);font-size:10px;line-height:1.4;font-weight:600;white-space:nowrap;text-decoration:none}
@media(max-width:600px){.shop-wedding .template-grid .template-caption{padding:10px;gap:8px}.shop-wedding .template-grid .template-caption h3{font-size:11px}.shop-wedding .template-grid .template-caption p,.shop-wedding .template-grid .premium-preview-link{font-size:9px}.shop-wedding .template-grid .template-purchase-row>strong{font-size:11px}.shop-wedding .template-grid .template-purchase-row>a{font-size:9px;padding:7px 8px}}
