/* Colour palettes for the Elegant demo (default = gold). Customer pages don't load this file. */

/* ---------- Rose: dusty rose paper and ink ---------- */
:root[data-theme="rose"]{--paper:#f5ece8;--ink:#6e4f4c}
[data-theme="rose"] body,[data-theme="rose"] .cover:before{background:radial-gradient(ellipse at 50% 30%,#fbf5f2,#eadcd7)}
:root[data-theme="rose"]{background:#efe3df}
[data-theme="rose"] #paper-tone stop:first-child{stop-color:#fbf4f1}
[data-theme="rose"] #paper-tone stop:last-child{stop-color:#f0e3de}
[data-theme="rose"] .base,[data-theme="rose"] .lower{border-color:#dfcfc9}
[data-theme="rose"] .envelope-liner:before,[data-theme="rose"] .wedding .card{background:#fcf7f5}
[data-theme="rose"] .wedding .card{border-color:#d4b1ab}
[data-theme="rose"] .wedding .card:before{border-color:#d4b1ab66}
[data-theme="rose"] #mono-gold stop:nth-child(1){stop-color:#5a2f2d}
[data-theme="rose"] #mono-gold stop:nth-child(2){stop-color:#a8706b}
[data-theme="rose"] #mono-gold stop:nth-child(3){stop-color:#d0a39c}
[data-theme="rose"] #mono-gold stop:nth-child(4){stop-color:#7a4643}
[data-theme="rose"] #mono-gold stop:nth-child(5){stop-color:#b27f78}
[data-theme="rose"] .wedding .ornament{color:#b98680}
[data-theme="rose"] .eyebrow,[data-theme="rose"] .family-label{color:#a3706b}
[data-theme="rose"] .divider{background:linear-gradient(90deg,transparent,#c0918b,transparent)}
[data-theme="rose"] .names-fallback,[data-theme="rose"] .footer-note{color:#3d2a2a}
[data-theme="rose"] .cd-item{border-color:#d4b1ab55}
[data-theme="rose"] .cd-label,[data-theme="rose"] .language-switch,[data-theme="rose"] .made-by a{color:#a3706b}
[data-theme="rose"] .action-button{color:#7d4e4a;background:#f4e6e2;border-color:#d4b1ab99}
[data-theme="rose"] .action-button:hover{background:#eed9d4}

/* ---------- Blue: misty blue paper and ink ---------- */
:root[data-theme="blue"]{--paper:#eceff2;--ink:#4b5a68}
[data-theme="blue"] body,[data-theme="blue"] .cover:before{background:radial-gradient(ellipse at 50% 30%,#f6f8fa,#d9dfe5)}
:root[data-theme="blue"]{background:#e1e6eb}
[data-theme="blue"] #paper-tone stop:first-child{stop-color:#f5f7f9}
[data-theme="blue"] #paper-tone stop:last-child{stop-color:#e3e8ed}
[data-theme="blue"] .base,[data-theme="blue"] .lower{border-color:#ccd4dc}
[data-theme="blue"] .envelope-liner:before,[data-theme="blue"] .wedding .card{background:#f8fafb}
[data-theme="blue"] .wedding .card{border-color:#a9b8c6}
[data-theme="blue"] .wedding .card:before{border-color:#a9b8c666}
[data-theme="blue"] #mono-gold stop:nth-child(1){stop-color:#223244}
[data-theme="blue"] #mono-gold stop:nth-child(2){stop-color:#5f7a93}
[data-theme="blue"] #mono-gold stop:nth-child(3){stop-color:#9fb3c6}
[data-theme="blue"] #mono-gold stop:nth-child(4){stop-color:#3a4f63}
[data-theme="blue"] #mono-gold stop:nth-child(5){stop-color:#6d879f}
[data-theme="blue"] .wedding .ornament{color:#7f96ab}
[data-theme="blue"] .eyebrow,[data-theme="blue"] .family-label{color:#667f96}
[data-theme="blue"] .divider{background:linear-gradient(90deg,transparent,#8ea3b7,transparent)}
[data-theme="blue"] .names-fallback,[data-theme="blue"] .footer-note{color:#26313c}
[data-theme="blue"] .cd-item{border-color:#a9b8c655}
[data-theme="blue"] .cd-label,[data-theme="blue"] .language-switch,[data-theme="blue"] .made-by a{color:#667f96}
[data-theme="blue"] .action-button{color:#46607a;background:#e7ecf1;border-color:#a9b8c699}
[data-theme="blue"] .action-button:hover{background:#dde4eb}

/* ================= Dark palettes ("Elegant Night"): deep paper, gold details ================= */
/* ---------- forest ---------- */
:root[data-theme="forest"]{--paper:#173f34;--ink:#e8ddc4;color-scheme:dark;background:#07170f}
[data-theme="forest"] body,[data-theme="forest"] .cover:before{background:radial-gradient(ellipse at 50% 30%,#143d32,#051410 80%)}
[data-theme="forest"] .paper{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.12) 0 .6px,transparent .6px 2px),repeating-linear-gradient(0deg,rgba(255,255,255,.035) 0 .6px,transparent .6px 3px),linear-gradient(120deg,rgba(255,255,255,.05),rgba(0,0,0,.12))}
[data-theme="forest"] .base,[data-theme="forest"] .lower{border-color:#2b594b}
[data-theme="forest"] .lower{box-shadow:inset 0 1px 1px rgba(255,255,255,.06)}
[data-theme="forest"] .stage{filter:drop-shadow(0 20px 30px rgba(0,0,0,.5))}
[data-theme="forest"] #paper-tone stop:first-child{stop-color:#1f4c3f}
[data-theme="forest"] #paper-tone stop:last-child{stop-color:#12342a}
[data-theme="forest"] #linen path:first-child{stroke:#000;stroke-opacity:.12}
[data-theme="forest"] #linen path:last-child{stroke:#fff;stroke-opacity:.04}
[data-theme="forest"] .edge-rest{stroke:#c9a96b;stroke-opacity:.45}
[data-theme="forest"] #mono-gold stop:nth-child(1){stop-color:#8a6d38}
[data-theme="forest"] #mono-gold stop:nth-child(2){stop-color:#e3c98f}
[data-theme="forest"] #mono-gold stop:nth-child(3){stop-color:#f7e6b8}
[data-theme="forest"] #mono-gold stop:nth-child(4){stop-color:#b08a4a}
[data-theme="forest"] #mono-gold stop:nth-child(5){stop-color:#dcbd7e}
[data-theme="forest"] .envelope-liner:before{background:#0f2e26;box-shadow:inset 0 8px 22px rgba(0,0,0,.35),inset 0 0 0 1px #2b594b}
[data-theme="forest"] .wedding .card{background:#0f2e26;border-color:rgba(201,169,107,.6);box-shadow:0 22px 60px rgba(0,0,0,.45)}
[data-theme="forest"] .wedding .card:before{border-color:rgba(201,169,107,.3)}
[data-theme="forest"] .wedding .ornament{color:#c9a96b}
[data-theme="forest"] .eyebrow,[data-theme="forest"] .family-label,[data-theme="forest"] .cd-label,[data-theme="forest"] .language-switch,[data-theme="forest"] .made-by a{color:#c9a96b}
[data-theme="forest"] .divider{background:linear-gradient(90deg,transparent,#c9a96b,transparent)}
[data-theme="forest"] .names-fallback{color:#f1e7cf}
[data-theme="forest"] .footer-note{color:#e8ddc4}
[data-theme="forest"] .cd-item{border-color:rgba(201,169,107,.3)}
[data-theme="forest"] .action-button{color:#f1e7cf;background:rgba(201,169,107,.12);border-color:rgba(201,169,107,.5)}
[data-theme="forest"] .action-button:hover{background:rgba(201,169,107,.22)}
[data-theme="forest"] .controls{color:#c9a96b}
[data-theme="forest"] .demo-badge{color:#c9a96b !important;background:rgba(0,0,0,.3) !important;border-color:rgba(201,169,107,.4) !important}

/* ---------- midnight ---------- */
:root[data-theme="midnight"]{--paper:#1c2a4a;--ink:#e6dfcf;color-scheme:dark;background:#090f1f}
[data-theme="midnight"] body,[data-theme="midnight"] .cover:before{background:radial-gradient(ellipse at 50% 30%,#1a2746,#060b18 80%)}
[data-theme="midnight"] .paper{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.12) 0 .6px,transparent .6px 2px),repeating-linear-gradient(0deg,rgba(255,255,255,.035) 0 .6px,transparent .6px 3px),linear-gradient(120deg,rgba(255,255,255,.05),rgba(0,0,0,.12))}
[data-theme="midnight"] .base,[data-theme="midnight"] .lower{border-color:#35486f}
[data-theme="midnight"] .lower{box-shadow:inset 0 1px 1px rgba(255,255,255,.06)}
[data-theme="midnight"] .stage{filter:drop-shadow(0 20px 30px rgba(0,0,0,.5))}
[data-theme="midnight"] #paper-tone stop:first-child{stop-color:#243560}
[data-theme="midnight"] #paper-tone stop:last-child{stop-color:#162341}
[data-theme="midnight"] #linen path:first-child{stroke:#000;stroke-opacity:.12}
[data-theme="midnight"] #linen path:last-child{stroke:#fff;stroke-opacity:.04}
[data-theme="midnight"] .edge-rest{stroke:#cdb07a;stroke-opacity:.45}
[data-theme="midnight"] #mono-gold stop:nth-child(1){stop-color:#8a6d38}
[data-theme="midnight"] #mono-gold stop:nth-child(2){stop-color:#e3c98f}
[data-theme="midnight"] #mono-gold stop:nth-child(3){stop-color:#f7e6b8}
[data-theme="midnight"] #mono-gold stop:nth-child(4){stop-color:#b08a4a}
[data-theme="midnight"] #mono-gold stop:nth-child(5){stop-color:#dcbd7e}
[data-theme="midnight"] .envelope-liner:before{background:#111c35;box-shadow:inset 0 8px 22px rgba(0,0,0,.35),inset 0 0 0 1px #35486f}
[data-theme="midnight"] .wedding .card{background:#111c35;border-color:rgba(205,176,122,.6);box-shadow:0 22px 60px rgba(0,0,0,.45)}
[data-theme="midnight"] .wedding .card:before{border-color:rgba(205,176,122,.3)}
[data-theme="midnight"] .wedding .ornament{color:#cdb07a}
[data-theme="midnight"] .eyebrow,[data-theme="midnight"] .family-label,[data-theme="midnight"] .cd-label,[data-theme="midnight"] .language-switch,[data-theme="midnight"] .made-by a{color:#cdb07a}
[data-theme="midnight"] .divider{background:linear-gradient(90deg,transparent,#cdb07a,transparent)}
[data-theme="midnight"] .names-fallback{color:#f2ecdd}
[data-theme="midnight"] .footer-note{color:#e6dfcf}
[data-theme="midnight"] .cd-item{border-color:rgba(205,176,122,.3)}
[data-theme="midnight"] .action-button{color:#f2ecdd;background:rgba(205,176,122,.12);border-color:rgba(205,176,122,.5)}
[data-theme="midnight"] .action-button:hover{background:rgba(205,176,122,.22)}
[data-theme="midnight"] .controls{color:#cdb07a}
[data-theme="midnight"] .demo-badge{color:#cdb07a !important;background:rgba(0,0,0,.3) !important;border-color:rgba(205,176,122,.4) !important}

/* ---------- plum ---------- */
:root[data-theme="plum"]{--paper:#3d1a35;--ink:#f0e2d9;color-scheme:dark;background:#1a0915}
[data-theme="plum"] body,[data-theme="plum"] .cover:before{background:radial-gradient(ellipse at 50% 30%,#3d1a35,#140610 80%)}
[data-theme="plum"] .paper{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.12) 0 .6px,transparent .6px 2px),repeating-linear-gradient(0deg,rgba(255,255,255,.035) 0 .6px,transparent .6px 3px),linear-gradient(120deg,rgba(255,255,255,.05),rgba(0,0,0,.12))}
[data-theme="plum"] .base,[data-theme="plum"] .lower{border-color:#5c2f52}
[data-theme="plum"] .lower{box-shadow:inset 0 1px 1px rgba(255,255,255,.06)}
[data-theme="plum"] .stage{filter:drop-shadow(0 20px 30px rgba(0,0,0,.5))}
[data-theme="plum"] #paper-tone stop:first-child{stop-color:#4a2242}
[data-theme="plum"] #paper-tone stop:last-child{stop-color:#30142a}
[data-theme="plum"] #linen path:first-child{stroke:#000;stroke-opacity:.12}
[data-theme="plum"] #linen path:last-child{stroke:#fff;stroke-opacity:.04}
[data-theme="plum"] .edge-rest{stroke:#d8a98b;stroke-opacity:.45}
[data-theme="plum"] #mono-gold stop:nth-child(1){stop-color:#8a6d38}
[data-theme="plum"] #mono-gold stop:nth-child(2){stop-color:#e3c98f}
[data-theme="plum"] #mono-gold stop:nth-child(3){stop-color:#f7e6b8}
[data-theme="plum"] #mono-gold stop:nth-child(4){stop-color:#b08a4a}
[data-theme="plum"] #mono-gold stop:nth-child(5){stop-color:#dcbd7e}
[data-theme="plum"] .envelope-liner:before{background:#2a1025;box-shadow:inset 0 8px 22px rgba(0,0,0,.35),inset 0 0 0 1px #5c2f52}
[data-theme="plum"] .wedding .card{background:#2a1025;border-color:rgba(216,169,139,.6);box-shadow:0 22px 60px rgba(0,0,0,.45)}
[data-theme="plum"] .wedding .card:before{border-color:rgba(216,169,139,.3)}
[data-theme="plum"] .wedding .ornament{color:#d8a98b}
[data-theme="plum"] .eyebrow,[data-theme="plum"] .family-label,[data-theme="plum"] .cd-label,[data-theme="plum"] .language-switch,[data-theme="plum"] .made-by a{color:#d8a98b}
[data-theme="plum"] .divider{background:linear-gradient(90deg,transparent,#d8a98b,transparent)}
[data-theme="plum"] .names-fallback{color:#f8ece4}
[data-theme="plum"] .footer-note{color:#f0e2d9}
[data-theme="plum"] .cd-item{border-color:rgba(216,169,139,.3)}
[data-theme="plum"] .action-button{color:#f8ece4;background:rgba(216,169,139,.12);border-color:rgba(216,169,139,.5)}
[data-theme="plum"] .action-button:hover{background:rgba(216,169,139,.22)}
[data-theme="plum"] .controls{color:#d8a98b}
[data-theme="plum"] .demo-badge{color:#d8a98b !important;background:rgba(0,0,0,.3) !important;border-color:rgba(216,169,139,.4) !important}
