
/* Midnight and gold: overrides apply only to the chosen dark theme. */
:root[data-theme="dark"] {--bg:#0c1626;--surface:#1c2b3e;--tint:#122035;--text:#f6efdf;--muted:#c5c9d1;--line:#445064;--accent:#e6bf72;--accent-hover:#f4d596;--accent-ink:#152033;--accent-soft:#28364b;--green:#e6bf72;--shadow:0 7px 25px #0003;--holiday-gold:#e6bf72;--holiday-glow:#5b4930;}
:root[data-theme="dark"] body {background-color:var(--bg);background-image:radial-gradient(ellipse at 50% 12%,#1a355555,transparent 48%),radial-gradient(circle at 9% 23%,#d9b56e99 0 1px,transparent 2px),radial-gradient(circle at 89% 37%,#e3be7766 0 1px,transparent 2px),radial-gradient(circle at 24% 54%,#d8c19855 0 1px,transparent 2px);background-attachment:fixed;}
:root[data-theme="dark"] body:before,:root[data-theme="dark"] body:after {content:"";position:fixed;pointer-events:none;width:480px;height:270px;background:url('midnight-pine.png') 0 0/contain no-repeat;z-index:0;opacity:.95;}
:root[data-theme="dark"] body:before {left:0;top:64px;}
:root[data-theme="dark"] body:after {right:0;bottom:0;transform:rotate(180deg);}
main,.footer {position:relative;z-index:1;}
:root[data-theme="dark"] .topbar {background:#0a1423f5;border-bottom:1px solid #dbb77355;}
:root[data-theme="dark"] .festive-ribbon {background:#122035cc;border-color:#d9b56b40;}
:root[data-theme="dark"] .festive-ribbon:before {filter:drop-shadow(0 0 3px #ffe8a4);opacity:1;}
:root[data-theme="dark"] #menu {background:radial-gradient(ellipse at 50% 5%,#25497029,transparent 50%);}
:root[data-theme="dark"] .hero {background:radial-gradient(ellipse at 30% 30%,#2a4c7744,transparent 65%);}
:root[data-theme="dark"] .hero:after {background-image:url('midnight-pine.png');background-size:760px auto;width:270px;height:180px;transform:scaleX(-1);opacity:.9;}
:root[data-theme="dark"] .hero h1,:root[data-theme="dark"] .section h2 {font-family:Georgia,'Times New Roman',serif;letter-spacing:-.03em;font-weight:600;}
:root[data-theme="dark"] .hero h1 .script,:root[data-theme="dark"] .script {color:#e8c581;}
:root[data-theme="dark"] .btn--primary,:root[data-theme="dark"] .nav__contact {color:#142033;background:linear-gradient(135deg,#f5d696,#deb366);border:1px solid #e7c784;box-shadow:0 3px 14px #d5a64c12;}
:root[data-theme="dark"] .btn--primary:hover,:root[data-theme="dark"] .nav__contact:hover {background:linear-gradient(135deg,#ffe9b9,#ebc580);box-shadow:0 5px 18px #d7b2602b;}
:root[data-theme="dark"] .theme-toggle {color:#e9c581;border-color:#cba65770;background:#122035;}
:root[data-theme="dark"] .nav a[aria-current="page"] {background:#26384e;color:#f2ce89;box-shadow:inset 0 0 0 1px #d7b36e66;}
:root[data-theme="dark"] .card,:root[data-theme="dark"] .ny-card {background:linear-gradient(135deg,#203148,#182637);border:1px solid #d7b67470;box-shadow:0 6px 24px #0002;}
:root[data-theme="dark"] .card__type {background:#101b2de8;color:#f5ead1;border:1px solid #e1c48980;}
:root[data-theme="dark"] .card__media img,:root[data-theme="dark"] .ny-card__photo img {filter:none;}
:root[data-theme="dark"] .card__foot .price {color:#f9ecd0;}
:root[data-theme="dark"] .meta li {background:#0e1b2ca1;border:1px solid #aeb8c12e;color:#f6efdf;}
:root[data-theme="dark"] .chip {background:#16273a;border-color:#c1a77870;}
:root[data-theme="dark"] .chip[aria-pressed="true"] {background:#f2e3c7;color:#18253a;border-color:#f2e3c7;}
:root[data-theme="dark"] .chip--ny {background:#1d3046;color:#f0ce90;border-color:#caaa67;}
:root[data-theme="dark"] .chip--ny[aria-pressed="true"] {background:#e7c27d;color:#152033;border-color:#e7c27d;}
:root[data-theme="dark"] .notice {border:1px solid #d5b47485;background:linear-gradient(115deg,#22334b,#15243a);box-shadow:inset 3px 0 #ddbc79;}
:root[data-theme="dark"] .notice strong {color:#f2d494;}
:root[data-theme="dark"] .select select,:root[data-theme="dark"] .field input,:root[data-theme="dark"] .field textarea {background:#17283d;border-color:#b7b6b266;}
:root[data-theme="dark"] .ny-countdown {background:linear-gradient(140deg,#263f5d,#172c43);border-color:#dab97799;box-shadow:0 0 22px #e6bc6520;}
:root[data-theme="dark"] .ny-countdown strong {color:#f5cf80;}
:root[data-theme="dark"] .ny-sets {background:#0f1d30d9;border-color:#e0bc7240;}
:root[data-theme="dark"] .ph.ph--composition {background:radial-gradient(ellipse at 50% 35%,#344860,#17263a);}
:root[data-theme="dark"] .ph--composition svg {stroke:#e8c581;}
:root[data-theme="dark"] .ph--composition strong {font-family:Georgia,serif;}
:root[data-theme="dark"] .ph.ph--composition span {color:#e8c581;}
:root[data-theme="dark"] .modal,:root[data-theme="dark"] .modal__box {background:#1a2a3f;}
:root[data-theme="dark"] .modal {border:1px solid #cbaa6a80;}
:root[data-theme="dark"] .modal::backdrop {background:#040a14c7;}
:root[data-theme="dark"] .send .btn:first-child {background:linear-gradient(135deg,#f5d696,#deb366);color:#142033;border-color:#e7c784;}
:root[data-theme="dark"] .contacts a,:root[data-theme="dark"] .socials__list a {background:#203248;}
:root[data-theme="dark"] .footer {background:#0b1727d9;border-top:1px solid #c5a05d40;}
@media(max-width:599px){
 :root[data-theme="dark"] body:before {top:104px;width:250px;height:140px;opacity:.65;}
 :root[data-theme="dark"] body:after {width:230px;height:130px;opacity:.65;}
 :root[data-theme="dark"] .hero:after {width:110px;height:84px;background-size:360px auto;}
 :root[data-theme="dark"] .notice {padding:14px 15px;}
 :root[data-theme="dark"] .notice p {font-size:.85rem;}
}

/* Keep fixed decorative branches above section backgrounds, below navigation and dialogs. */
:root[data-theme="dark"] body:before,:root[data-theme="dark"] body:after {z-index:2;}

/* Fit decoration within the page gutters so it never covers text or order buttons. */
:root[data-theme="dark"] body:before,:root[data-theme="dark"] body:after {width:clamp(90px,calc((100vw - 1160px)*1.3),480px);height:270px;background-size:100% auto;}
@media(max-width:700px){:root[data-theme="dark"] body:before,:root[data-theme="dark"] body:after{width:40px;height:24px;opacity:.95;}}
