@import url("/template-gallery.css");
@import url("/site-chrome.css?v=20261029-footer");
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap');
@import url("/arabian-art.css");
:root{--wine:#800020;--gold:#C8A25D;--paper:#F8F4EC;--beige:#E7DCC8;--ink:#2D2A26;--muted:#756B60;--white:#FFFDF9;--line:#c8a25d50}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 Manrope,Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--gold);outline-offset:4px}img{max-width:100%;height:auto}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;line-height:1.08;color:var(--wine)}h1{font-size:clamp(42px,5.1vw,65px)}h2{font-size:clamp(36px,4vw,48px)}h3{font-size:30px}.wrap{width:min(1136px,calc(100% - 48px));margin:auto}.site-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:104px}.brand{display:block;flex-shrink:0}.brand img{width:230px;display:block}.header-nav{display:flex;align-items:center;gap:36px;font-size:14px}.header-nav a[aria-current=page]{color:var(--wine);text-decoration:underline;text-underline-offset:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 24px;background:var(--wine);color:var(--paper);border:1px solid var(--wine);border-radius:8px;font-size:14px;text-align:center;transition:transform .18s,box-shadow .18s;line-height:1.5}.btn:hover{transform:translateY(-2px);box-shadow:0 5px 18px #80002020}.btn.secondary{background:transparent;color:var(--wine);border-color:var(--line)}.btn.gold{background:var(--gold);color:var(--wine);border-color:var(--gold)}.text-link{font-size:14px;color:var(--wine);padding:12px 0;display:inline-block}.actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:11px;color:var(--wine);margin-bottom:24px}.muted{color:var(--muted)}.mobile-menu{display:none;border:0;background:transparent;padding:10px;color:var(--wine);min-width:44px;min-height:44px}.mobile-menu svg{display:block;stroke:currentColor;fill:none;stroke-width:1.6}.mobile-intro{display:none}.hero{padding-top:16px}.hero-art{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain;border-radius:16px;animation:none}.hero .actions{margin-top:38px}.section{padding-top:112px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:40px}.section-head p{margin-top:16px;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.occasion{padding:24px;background:var(--beige);border-radius:12px;min-height:170px;display:flex;flex-direction:column;align-items:start;justify-content:space-between;gap:16px}.occasion.active{background:var(--wine);color:var(--paper)}.occasion.active h3{color:var(--paper)}.occasion small{font-size:13px}.occasion .index{font-size:12px;color:var(--wine)}.occasion.active .index{color:var(--gold)}.template-card{background:var(--white);padding:16px 16px 20px;border-radius:12px;min-width:0;transition:transform .18s,box-shadow .18s}.template-card:hover{transform:translateY(-4px);box-shadow:0 10px 30px #2d2a2610}.template-art{height:266px;border-radius:140px;background:var(--template-bg);color:var(--paper);display:flex;flex-direction:column;align-items:center;justify-content:space-around;padding:36px 24px;text-align:center;position:relative;isolation:isolate;overflow:hidden}.template-art:before{content:'';position:absolute;inset:12px;border:1px solid var(--gold);border-radius:130px;z-index:-1}.template-art small{font-size:9px;letter-spacing:1px;color:var(--gold)}.template-art strong{font:400 clamp(30px,3.1vw,43px)/1.08 'Cormorant Garamond',Georgia;overflow-wrap:anywhere}.template-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.template-card h3{font-size:25px;margin:18px 4px 8px}.template-card>p{font-size:12px;margin:0 4px 16px;color:var(--muted)}.template-card .btn{width:100%}.process{padding-bottom:80px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:36px;color:var(--muted)}.steps span{color:var(--wine);margin-right:12px}.site-footer{padding:38px 24px;background:var(--wine);color:var(--paper);text-align:center;display:grid;gap:18px}.site-footer h2{color:var(--paper);font-size:36px}.site-footer p{font-size:14px}.site-footer .footer-contacts,.socials{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;font-size:12px}.site-footer a:hover{text-decoration:underline}.pricing-intro{padding-top:48px}.pricing-intro>p:last-child{margin-top:24px;color:var(--muted)}.pricing-grid{margin-top:58px}.price-card{padding:24px;border-radius:14px;background:var(--white);display:flex;flex-direction:column;gap:22px;min-height:475px}.price-card .badge{font-size:10px;letter-spacing:1px;text-transform:uppercase;min-height:15px;color:var(--muted)}.price-card h3{font-size:35px}.price-card .amount{font-size:40px;line-height:1.2;color:var(--wine)}.price-card .price-detail{font-size:12px;color:var(--muted);min-height:38px}.price-card ul{list-style:none;margin:0;padding:0;line-height:1.8;font-size:15px}.price-card .btn{margin-top:auto;width:100%}.price-card.featured{background:var(--wine);color:var(--paper)}.price-card.featured h3,.price-card.featured .amount,.price-card.featured .price-detail{color:var(--paper)}.price-card.featured .badge{color:var(--gold)}.plan-limits{font-size:12px;opacity:.85}.pricing-note{font-size:12px;color:var(--muted);margin-top:24px}.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:36px}.filter{padding:10px 16px;min-height:44px;border:1px solid var(--line);background:transparent;color:var(--wine);border-radius:30px;font-size:13px}.filter[aria-pressed=true]{background:var(--wine);color:var(--paper)}.empty{padding:40px;border:1px solid var(--line);border-radius:12px;text-align:center;grid-column:1/-1}.contact-banner{margin:72px 0 120px;padding:32px;background:var(--beige);border-radius:14px}.contact-banner h2{font-size:38px}.contact-banner p{margin:20px 0 24px}.status-banner{padding:12px 24px;text-align:center;background:var(--beige);color:var(--wine);font-size:14px}.load-state{padding:80px 24px;text-align:center}.load-state p{margin:20px auto}.preview-dialog{width:min(1200px,95vw);height:94dvh;max-height:94dvh;padding:0;border:1px solid var(--gold);border-radius:16px;background:var(--paper);color:var(--ink)}.preview-dialog::backdrop{background:#2d2a26c9}.preview-toolbar{padding:12px 20px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.preview-toolbar strong{margin-right:auto}.preview-toolbar .btn{min-height:44px;padding:8px 18px}.preview-dialog iframe{display:block;width:100%;height:calc(100% - 76px);border:0}.close{border:0;background:transparent;font-size:26px;color:var(--wine);min-width:44px;min-height:44px}.preview-notice{font-size:12px;margin-top:10px;color:var(--muted)}.mobile-login{display:none}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:12px 20px;background:var(--ink);color:var(--paper);border-radius:8px;z-index:1000;display:none}.reveal{animation:none;opacity:1;transform:none}.skip-link{position:absolute;left:16px;top:-80px;background:var(--wine);color:white;padding:12px;z-index:999}.skip-link:focus{top:8px}@keyframes hero-enter{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes section-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:850px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pricing-grid{grid-template-columns:1fr;max-width:600px;margin-inline:auto}.price-card{min-height:430px}.header-nav{gap:22px}.steps{grid-template-columns:1fr}.section{padding-top:80px}}
@media(max-width:600px){.wrap{width:calc(100% - 48px)}.site-header{min-height:100px;gap:10px;position:relative}.brand,.brand img{width:145px}.mobile-menu{display:block}.mobile-login{display:inline-flex;margin-left:auto;padding:8px 18px;min-height:44px}.header-nav{display:none;position:absolute;top:85px;left:0;right:0;z-index:10;border:1px solid var(--line);border-radius:12px;background:var(--white);padding:20px;box-shadow:0 12px 32px #2d2a2620}.header-nav.open{display:grid;gap:8px}.header-nav a{padding:12px}.header-nav .btn{display:none}.mobile-intro{display:block;margin:40px 0 32px}.mobile-intro .mobile-heading{font-family:"Cormorant Garamond",Georgia;line-height:1.08;color:var(--wine);font-size:53px;max-width:342px}.mobile-intro .eyebrow{font-size:9px}.mobile-intro>p:last-child{margin-top:28px;color:var(--muted)}.hero{display:flex;flex-direction:column;padding:0}.hero .actions{order:1;margin:0 0 40px}.hero .actions .btn{width:100%}.hero .actions .text-link{display:none}.hero-art{order:2;border-radius:12px}.section{padding-top:88px}.section-head{display:block;margin-bottom:32px}.section-head .text-link{margin-top:12px}.grid{grid-template-columns:1fr;gap:20px}.occasion{min-height:90px;padding:20px}.occasion .index{display:none}.occasion h3{font-size:28px}.template-art{height:266px}.template-art strong{font-size:39px}.template-card h3{font-size:27px}.process{padding-bottom:72px}.site-footer{padding:32px 24px}.site-footer h2{font-size:30px}.site-footer .footer-contacts{display:grid;gap:10px}.pricing-intro{padding-top:40px}.pricing-intro h1{font-size:46px}.pricing-grid{margin-top:40px}.price-card .amount{font-size:39px}.filters{gap:8px}.filter{padding:10px 13px}.contact-banner{margin-bottom:72px;padding:24px}.preview-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.preview-toolbar{padding:10px 12px}.preview-toolbar strong{font-size:14px;width:calc(100% - 55px);order:0}.preview-toolbar .close{order:1}.preview-toolbar .btn{order:2;width:100%}.preview-dialog iframe{height:calc(100% - 123px)}h2{font-size:40px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.template-art{color:var(--template-text)}.template-art small{color:var(--template-detail)}.template-art.has-image :is(strong,small){visibility:visible}
.contact-icons{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}.contact-icon{position:relative;display:inline-grid;place-items:center;width:46px;height:46px;border:1px solid #c8a25d99;border-radius:50%;color:inherit;transition:background .18s,transform .18s}.contact-icon:hover,.contact-icon:focus-visible{background:#ffffff12;transform:translateY(-2px)}.contact-icon svg{display:block}.icon-tooltip{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%);max-width:240px;width:max-content;background:#2D2A26;color:#F8F4EC;font:12px/1.4 Manrope,Arial;padding:7px 10px;border-radius:6px;pointer-events:none;opacity:0;z-index:5}.contact-icon:hover .icon-tooltip,.contact-icon:focus-visible .icon-tooltip{opacity:1}@media(max-width:600px){.icon-tooltip{max-width:160px;white-space:normal}.contact-icon:first-child .icon-tooltip{left:0;transform:none}.contact-icon:last-child .icon-tooltip{left:auto;right:0;transform:none}}


/* Live preview is always a MOBILE invitation, even on a wide desktop viewport. */
.preview-dialog{display:flex;flex-direction:column;width:min(510px,calc(100vw - 24px));max-width:510px;height:min(920px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);margin:auto;overflow:hidden}
.preview-dialog:not([open]){display:none}
.preview-dialog .preview-toolbar{flex:0 0 auto;min-height:66px;padding:11px 16px;align-items:center}
.preview-dialog .preview-toolbar strong{min-width:0;overflow-wrap:anywhere;font-size:14px}
.preview-dialog .preview-toolbar .btn{white-space:normal;text-align:center}
.preview-dialog .preview-mobile-stage{display:flex;flex:1 1 auto;justify-content:center;align-items:stretch;min-height:0;padding:12px;background:#e8dfcf;overflow:hidden}
.preview-dialog .preview-mobile-stage iframe{display:block;flex:0 1 440px;width:min(100%,440px);min-width:0;height:100%;border:1px solid #cfb989;border-radius:12px;background:#fff;box-shadow:0 6px 22px #2d2a261a}
@media(max-width:600px){
 .preview-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}
 .preview-dialog .preview-toolbar{padding:9px 12px;min-height:0}
 .preview-dialog .preview-mobile-stage{padding:0;background:#fff}
 .preview-dialog .preview-mobile-stage iframe{width:100%;max-width:440px;flex:1 1 100%;height:100%;border:0;border-radius:0;box-shadow:none}
}

.preview-package-selector{display:grid;gap:4px;font-size:11px;color:var(--muted)}
.preview-package-selector select{min-height:44px;max-width:240px;padding:8px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink)}
@media(max-width:600px){.preview-package-selector{order:2;flex:1}.preview-package-selector select{max-width:100%;width:100%}.preview-toolbar>.btn{order:3}}


/* One gallery layout for every template, regardless of source artwork. */
.template-card{display:flex;flex-direction:column}
.template-card .template-art{height:266px;min-height:266px;max-height:266px;aspect-ratio:auto;border-radius:140px;width:100%;flex:none}
.template-card .template-art strong{position:relative;z-index:2;text-wrap:balance}
.template-card>h3{min-height:1.25em}
.template-card>p{min-height:3.1em}
.template-card>.btn{margin-top:auto}
/* Original stationery stays within the same oval as the other previews. */
.template-card[data-design="ivory"] .template-art.has-image{background:#F8F2E6;color:#20264B}
.template-card[data-design="ivory"] .template-art.has-image>img{object-fit:cover;object-position:center 48%}
.template-card[data-design="ivory"] .template-art.has-image:before{border-color:#B39155}
.template-card[data-design="ivory"] .template-art.has-image :is(small,strong){visibility:visible;color:#20264B;text-shadow:0 1px 8px #F8F2E6,0 0 18px #F8F2E6}

/* Arabian artwork uses the same visible typography and spacing as its peers. */
.template-card[data-design="arabian"] .template-art.has-image{padding:36px 24px;justify-content:space-around}
.template-card[data-design="arabian"] .template-art.has-image>.an-art{z-index:-2}
.template-card[data-design="arabian"] .template-art.has-image>:is(small,strong){display:block;color:#F8F4EC;text-shadow:0 1px 8px #123544,0 0 20px #123544}
.template-card[data-design="arabian"] .template-art.has-image>small{color:#E4C990}


/* Solid previews follow the admin colour, including designs with cover artwork. */
.template-card .template-art:not(.has-image){background:var(--template-bg);color:var(--template-text)}
.template-card .template-art:not(.has-image) small{color:var(--template-detail)}
.template-card[data-design="noor"] .template-art.has-image :is(small,strong){color:#FFF5DB;text-shadow:0 1px 4px #12382E,0 0 12px #12382E}

.template-card[data-design="arabian"] .template-art:not(.has-image){background:var(--template-bg);padding:36px 24px;justify-content:space-around}
.template-card[data-design="arabian"] .template-art:not(.has-image)>:is(small,strong){display:block;color:var(--template-text);visibility:visible}
.template-card[data-design="arabian"] .template-art:not(.has-image)>small{color:var(--template-detail)}

/* The same three-line typography sits above every cover and solid preview. */
.template-card .template-art>.template-copy{position:absolute;inset:36px 24px;z-index:3;display:grid;grid-template-rows:24px minmax(0,1fr) 24px;align-items:center;justify-items:center;gap:10px;text-align:center;pointer-events:none}
.template-card .template-copy>small{display:block;visibility:visible;opacity:1;font-size:10px;font-weight:600;line-height:1.5;letter-spacing:.6px;max-width:100%;text-wrap:balance}
.template-card .template-copy>strong{display:block;visibility:visible;opacity:1;width:100%;font:400 clamp(30px,3.1vw,43px)/1.08 'Cormorant Garamond',Georgia,serif;overflow-wrap:anywhere;text-wrap:balance}
@media(max-width:600px){.template-card .template-copy>strong{font-size:39px}}

/* Arch previews: translucent colour behind image copy; no fill on solid covers. */
.template-card .template-art{container-type:inline-size;border-radius:180px 180px 0 0}
.template-card .template-art:before{border-radius:170px 170px 0 0}
.template-card .template-art>.template-copy{inset:36px 24px 42px}
.template-card .template-copy>strong{width:100%;font-size:clamp(25px,12cqw,39px);line-height:1.25}
.template-card .template-copy .template-label{background:transparent;color:var(--template-text);padding:2px 6px;box-decoration-break:clone;-webkit-box-decoration-break:clone;text-shadow:none}
.template-card .template-copy>small .template-label{padding:2px 4px;line-height:1.8}
.template-card>p{margin:16px 4px 20px}

.template-card .template-art.has-image .template-label{background:var(--template-label-bg)}

/* Public and admin previews share the same frame and aligned header controls. */
.preview-dialog .preview-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:10px 12px;align-items:center}
.preview-dialog .preview-toolbar>strong{grid-column:1;grid-row:1;width:auto;margin:0;line-height:1.4}
.preview-dialog .preview-toolbar>.close{grid-column:2;grid-row:1;align-self:center;width:44px;height:44px;padding:0;line-height:1}
.preview-dialog .preview-controls{grid-column:1/-1;grid-row:2;display:flex;gap:12px;align-items:flex-end;min-width:0}
.preview-dialog .preview-controls .preview-package-selector{flex:1;min-width:0;order:0}
.preview-dialog .preview-controls select{width:100%;max-width:none;min-height:44px;height:44px}
.preview-dialog .preview-controls>[data-replay]{flex:0 0 auto;width:auto;min-height:44px;height:44px;padding:10px 14px;order:0;white-space:nowrap}
.preview-dialog .preview-toolbar:has(.preview-controls):not(:has(>.close))>strong{grid-column:1/-1}
@media(max-width:360px){.preview-dialog .preview-controls{gap:8px}.preview-dialog .preview-controls>[data-replay]{padding-inline:10px;font-size:12px}}

/* Compact preview controls keep the invitation as the primary content. */
.preview-dialog.compact-preview{width:min(460px,calc(100vw - 24px));max-width:460px}
.preview-dialog.compact-preview .preview-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) 40px 40px;gap:6px;min-height:56px;padding:7px 8px;flex:none;align-items:center}
.preview-dialog.compact-preview .preview-toolbar>strong{grid-column:auto;grid-row:auto;width:auto;margin:0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:1.4}
.preview-dialog.compact-preview .preview-package-selector{display:block;min-width:0;order:0}
.preview-dialog.compact-preview .preview-package-selector select{display:block;width:100%;max-width:none;min-width:0;height:40px;min-height:40px;padding:6px;font-size:12px;line-height:1.4}
.preview-dialog.compact-preview .preview-toolbar>.preview-icon{display:inline-flex;align-items:center;justify-content:center;grid-column:auto;grid-row:auto;order:0;width:40px;height:40px;min-width:40px;min-height:40px;padding:8px;margin:0;line-height:1;border:1px solid var(--line);border-radius:6px;color:var(--wine);background:transparent}
.preview-dialog.compact-preview .preview-icon svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.preview-dialog.compact-preview .preview-mobile-stage{padding:0;background:var(--paper)}
.preview-dialog.compact-preview .preview-mobile-stage iframe{width:100%;max-width:none;flex:1 1 100%;height:100%;border:0;border-radius:0;box-shadow:none}
.preview-dialog.compact-preview>.dialog-actions{display:flex;flex:none;align-items:center;gap:0;min-height:0;margin:0;padding:6px 8px;border-top:1px solid var(--line);background:var(--paper)}
.preview-dialog.compact-preview>.dialog-actions .btn{width:100%;min-height:44px;margin:0;padding:10px 16px;line-height:1.5}
@media(max-width:600px){.preview-dialog.compact-preview{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh}.preview-dialog.compact-preview .preview-toolbar{padding:6px;min-height:56px;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) 44px 44px;gap:4px}.preview-dialog.compact-preview .preview-toolbar>.preview-icon{width:44px;height:44px;min-width:44px;min-height:44px}.preview-dialog.compact-preview .preview-package-selector select{height:44px;min-height:44px}.preview-dialog.compact-preview>.dialog-actions{padding-bottom:max(6px,env(safe-area-inset-bottom))}}
/* Packages: at most four per row, with room for readable prices and features. */
.pricing-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none}
.pricing-grid .price-card{min-width:0}
.pricing-grid .amount{font-size:clamp(28px,2.7vw,36px)}
@media(max-width:1099px){.pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}}
@media(max-width:600px){.pricing-grid{grid-template-columns:minmax(0,1fr)}.pricing-grid .amount{font-size:36px}}

/* Keep the plan title aligned across all pricing cards, regardless of offer text. */
.price-card .badge{height:32px;min-height:32px;line-height:16px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.price-card h3{min-height:38px}
.price-card .plan-offer{min-height:26px;height:26px;display:flex;align-items:center;margin-top:-14px;overflow:hidden}
.price-card .offer-pill{display:inline-block;max-width:100%;padding:3px 10px;border-radius:6px;background:#f2e8d7;border:1px solid var(--gold);color:var(--wine);font-size:13px;font-weight:600;line-height:18px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.price-card.featured .offer-pill{background:var(--gold);border-color:var(--gold);color:var(--wine)}

/* A shared phone-and-artwork gallery for Home and Pricing. */
.grid.catalogue-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:22px 16px}
.catalogue-card{position:relative;min-width:0}
.catalogue-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.catalogue-actions .text-link{white-space:nowrap}
.catalogue-saved-toggle,.catalogue-save{color:var(--wine)}
.catalogue-saved-toggle{display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:6px 10px;border:1px solid transparent;border-radius:20px;background:transparent;font-size:13px;font-weight:600;white-space:nowrap}
.catalogue-saved-toggle:hover,.catalogue-saved-toggle[aria-pressed="true"]{border-color:var(--line);background:var(--white)}
.catalogue-save{position:absolute;z-index:4;top:4px;right:4px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent}
.catalogue-save::before{content:'';position:absolute;inset:6px;border:1px solid var(--line);border-radius:50%;background:var(--white);box-shadow:0 1px 5px #2d2a261a}
.catalogue-save svg,.catalogue-saved-toggle svg{position:relative;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.catalogue-save:hover::before{border-color:var(--wine)}
.catalogue-save[aria-pressed="true"] svg,.catalogue-saved-toggle[aria-pressed="true"] svg{fill:currentColor}
.catalogue-list-actions{display:inline-flex;flex-wrap:wrap;gap:2px 12px}
.catalogue-list-actions button,.catalogue-back{min-height:44px;padding:4px 0;border:0;background:transparent;color:var(--wine);font-size:12px;text-decoration:underline;text-underline-offset:3px}
.catalogue-list-actions[hidden],.catalogue-back[hidden]{display:none!important}
.catalogue-saved-empty{grid-column:1/-1;padding:16px 0;color:var(--muted)}
[data-catalogue-browse][hidden],[data-catalogue-saved][hidden],.catalogue-save[hidden]{display:none!important}
@media(max-width:640px){.catalogue-actions{gap:4px 10px}.catalogue-actions .text-link{margin-top:0!important}.catalogue-saved-toggle{padding-inline:6px}}
.catalogue-preview{display:block;width:100%;padding:0;border:0;border-radius:12px;background:none}
/* The full artwork remains the accessible preview button. */
.catalogue-preview:hover .catalogue-artwork{border-color:var(--gold)}
.catalogue-preview:focus-visible{outline:2px solid var(--wine);outline-offset:3px}
.catalogue-details{padding:10px 0 0;text-align:center}
.catalogue-details h3{color:var(--ink);font-size:clamp(17px,2.3vw,25px);line-height:1.14;margin:0 0 8px;overflow-wrap:anywhere}
.catalogue-packages{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin:0;padding:0;list-style:none}
.catalogue-package{border:1px solid #c8a25d88;border-radius:20px;padding:3px 8px;color:#6a4b19;background:#fbf7ef;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.catalogue-package.selected{border-color:var(--wine);background:#f6e9ec;color:var(--wine);font-weight:700}
@media(max-width:900px){.grid.catalogue-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.grid.catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}.catalogue-package{padding-inline:6px}}


/* Visible preview loading and recovery, even if the embedded page stalls. */
.preview-mobile-stage{position:relative}
.preview-load-status{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:28px;text-align:center;background:var(--paper);color:var(--ink)}
.preview-load-status[hidden],.preview-load-status [hidden]{display:none!important}
.preview-load-status strong{font-size:18px;color:var(--wine)}
.preview-load-status p{font-size:14px;max-width:300px;color:var(--muted)}
.preview-recovery{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:center}
.preview-load-spinner{width:32px;height:32px;border:2px solid var(--line);border-top-color:var(--wine);border-radius:50%;animation:preview-loading-turn .9s linear infinite}
@keyframes preview-loading-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.preview-load-spinner{animation:none}}

/* Homepage benefits blend with the ivory storefront. */
.home-benefits{margin-top:48px}
.home-benefits ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;margin:0;padding:8px 0;border-block:1px solid var(--line);color:var(--ink)}
.home-benefits li{display:flex;align-items:center;gap:9px;min-width:0;padding:12px 6px;font-size:13px;font-weight:500;line-height:1.45}
.home-benefits li:nth-child(odd){padding-right:12px}
.home-benefits li:nth-child(even){padding-left:12px}
.home-benefits svg{flex:0 0 18px;width:18px;height:18px;color:#a17b36}
.home-benefits>p{margin:10px 0 0;font-size:11px;line-height:1.5;color:var(--muted);text-align:center}
@media(min-width:650px){.home-benefits ul{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 0}.home-benefits li:nth-child(n){padding:12px 16px;font-size:14px}.home-benefits li:not(:nth-child(3n)){border-right:1px solid var(--line)}}
@media(min-width:1100px){.home-benefits{margin-top:64px}.home-benefits ul{grid-template-columns:repeat(6,minmax(0,1fr));padding:24px 0}.home-benefits li:nth-child(n){padding:0 14px;border:0;font-size:13px}.home-benefits li:first-child{padding-left:0}.home-benefits li:last-child{padding-right:0}.home-benefits li:not(:last-child){border-right:1px solid var(--line)}}


/* Compact wording controls retain space for the invitation on small screens. */
.preview-wording{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;padding:6px 8px;border-bottom:1px solid var(--line);background:var(--paper);font-size:11px;line-height:1.4}
.preview-wording>div{display:flex;gap:3px;min-width:0}.preview-wording button{font:inherit;min-height:36px;padding:6px 9px;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--wine)}
.preview-wording button[aria-pressed=true]{background:var(--wine);color:var(--paper);border-color:var(--wine)}
.tradition-hint{font-size:13px;line-height:1.6;color:var(--muted);margin:12px 0 18px;max-width:620px}
@media(max-width:359px){.preview-wording{gap:4px;font-size:10px}.preview-wording button{padding:6px 7px}}

/* Production dialog controls use a grid: account for the extra wording row. */
.preview-dialog.compact-preview[open]{grid-template-rows:auto auto minmax(0,1fr) auto}


/* Homepage: two independently scrollable, lightweight testimonial carousels. */
.love-notes{padding-block:42px}
.love-notes .section-head{margin-bottom:22px}
.love-notes .eyebrow{color:#9a6b4b}
.testimonials-group+.testimonials-group{margin-top:26px}
.testimonial-group-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}
.testimonial-group-heading h3{font-size:19px;font-weight:600;color:#800020;margin:0}
.testimonial-controls{display:flex;gap:8px}
.testimonial-controls button{width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border:1px solid #e7dcc8;background:#fffaf5;color:#800020;border-radius:50%;font-size:25px;display:grid;place-items:center;cursor:pointer}
.testimonial-controls button:hover{background:#f2e7df}
.testimonials-track{display:grid;grid-auto-columns:minmax(0,calc((100% - 32px)/3));grid-auto-flow:column;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:3px 2px 12px}
.testimonial-card{scroll-snap-align:start;min-width:0;background:#fffdfa;border:1px solid #e7dcc8;border-radius:14px;overflow:hidden}
.testimonial-quote{padding:23px;display:flex;flex-direction:column;min-height:220px}
.testimonial-quote-mark{color:#c8a25d;font:60px/0.9 Georgia,serif}
.testimonial-quote blockquote{font:italic 16px/1.65 Georgia,serif;color:#534740;margin:8px 0 18px;white-space:pre-wrap;overflow-wrap:anywhere}
.testimonial-person{color:#800020;font-weight:700;margin:auto 0 0}
.testimonial-event{color:#81756b;font-size:12px;margin:4px 0 0}
.testimonial-video-cover{aspect-ratio:4/5;position:relative;background:linear-gradient(145deg,#e7dcc8,#800020);display:grid;place-items:center}
.testimonial-video-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.testimonial-video-cover>button{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:8px;border:0;border-radius:12px;background:#fffef6e8;padding:15px 19px;color:#800020;cursor:pointer}
.testimonial-video-cover>button span{font-size:28px}
.testimonial-video-info{display:flex;flex-direction:column;gap:4px;padding:12px 15px;color:#800020}
.testimonial-video-info small{font-size:12px;color:#776960}
.testimonial-reel-dialog{width:min(440px,calc(100vw - 24px));border:1px solid #d9bf98;border-radius:12px;background:#fffaf4;padding:12px;text-align:center}
.testimonial-reel-dialog::backdrop{background:#16090fc4}
.testimonial-reel-dialog iframe{display:block;width:100%;height:min(70vh,610px);border:0}
.testimonial-reel-close{display:block;margin:0 0 8px auto;padding:7px 12px;border-radius:7px;border:1px solid #e7dcc8;background:white;color:#800020}
.testimonial-reel-dialog>a{display:inline-block;margin-top:12px;color:#800020}
@media(max-width:900px){.testimonials-track{grid-auto-columns:calc((100% - 16px)/2)}}
@media(max-width:600px){.testimonials-track{grid-auto-columns:86%}.testimonial-quote{min-height:195px}.love-notes{padding-block:28px}}
@media(prefers-reduced-motion:reduce){.testimonials-track{scroll-behavior:auto}}

/* Homepage rhythm: remove oversized gaps between hero, occasions and designs. */
#main .wrap > .hero + .section{padding-top:48px}
#main .wrap > .hero + .section + .section{padding-top:54px}
#main .wrap > .hero + .section .section-head,
#main .wrap > .hero + .section + .section .section-head{margin-bottom:24px}
@media(max-width:600px){
 #main .wrap > .hero + .section{padding-top:34px}
 #main .wrap > .hero + .section + .section{padding-top:40px}
 #main .wrap > .hero + .section .section-head,
 #main .wrap > .hero + .section + .section .section-head{margin-bottom:20px}
}

/* Mobile homepage: readable typography with a much shorter vertical footprint. */
@media(max-width:600px){
 #main .mobile-intro{margin:22px 0 20px}
 #main .mobile-intro .mobile-heading{font-size:clamp(34px,9vw,43px);line-height:1.06;max-width:none;margin-top:10px}
 #main .mobile-intro>p:last-child{margin-top:15px;font-size:14px;line-height:1.55}
 #main .hero .actions{margin-bottom:22px}
 #main .hero .actions .btn{min-height:44px;padding:11px 16px}
 #main .wrap>.hero+.section{padding-top:26px}
 #main .wrap>.hero+.section+.section{padding-top:30px}
 #main .wrap>.hero+.section .section-head,
 #main .wrap>.hero+.section+.section .section-head{margin-bottom:14px}
 #main .wrap>.hero+.section .section-head h2,
 #main .wrap>.hero+.section+.section .section-head h2{font-size:clamp(29px,7.8vw,36px);line-height:1.08}
 #main .wrap>.hero+.section .section-head p,
 #main .wrap>.hero+.section+.section .section-head p{font-size:13px;line-height:1.45;margin-top:9px}
 #main .wrap>.hero+.section .grid{gap:10px}
 #main .wrap>.hero+.section .occasion{min-height:0;padding:14px 16px;gap:7px;border-radius:11px}
 #main .wrap>.hero+.section .occasion h3{font-size:clamp(22px,6vw,26px);line-height:1.12;margin:0}
 #main .wrap>.hero+.section .occasion small{font-size:12px;line-height:1.3}
 #main .wrap>.hero+.section+.section .section-head .text-link{margin-top:10px;font-size:12px}
}


/* Search topic links are part of the public storefront, not invitation viewer styling. */
.seo-discover{padding-bottom:72px}
.seo-discover-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.seo-discover-grid a{display:flex;flex-direction:column;gap:12px;padding:24px;border:1px solid var(--line);background:var(--white);border-radius:12px;transition:border-color .2s,transform .2s}
.seo-discover-grid a:hover{border-color:var(--wine);transform:translateY(-2px)}
.seo-discover-grid strong{font-family:'Cormorant Garamond',Georgia,serif;color:var(--wine);font-size:26px;line-height:1.15}
.seo-discover-grid span{color:var(--muted);font-size:14px}
.seo-pricing-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin:48px 0 70px;font-size:14px}
.seo-pricing-links a{color:var(--wine);text-decoration:underline;text-underline-offset:3px}
@media(max-width:800px){.seo-discover-grid{grid-template-columns:1fr}.seo-discover{padding-bottom:48px}}
