.orchidius-site {
    --bg: #fbf7fb;
    --surface: #ffffff;
    --soft: #f6eef6;
    --soft-green: #f1e4f0;
    --text: #2e2230;
    --muted: #786b7a;
    --line: #e9dfe9;
    --green: #65345f;
    --green-2: #824775;
    --purple: #aa5b95;
    --success: #735382;
    --shadow: 0 18px 48px rgba(57, 27, 58, .1);
    --shadow-sm: 0 10px 28px rgba(57, 27, 58, .07);
}

/* Shared account SVGs are green; shift their artwork to Orchidius violet. */
.orchidius-site img[src*="/icons/mobile-account/"] {
    filter: hue-rotate(165deg);
}

html[data-theme="dark"] .orchidius-site {
    --bg: #1c1620;
    --surface: #2a2130;
    --soft: #33283a;
    --soft-green: #3c2a40;
    --text: #f8edf6;
    --muted: #c5b3c4;
    --line: #514050;
    --green: #e0a7d3;
    --green-2: #efbfe3;
    --purple: #d795c3;
    --success: #c99bda;
    --shadow: 0 18px 48px rgba(0, 0, 0, .34);
    --shadow-sm: 0 10px 28px rgba(0, 0, 0, .26);
}

/* The shared dark rules use the Orchids green palette in several controls. */
html[data-theme="dark"] .orchidius-site .header-search {
    background: var(--soft);
    border-color: var(--line);
    box-shadow: 0 0 0 1px rgba(215, 149, 195, .12), var(--shadow-sm);
}
html[data-theme="dark"] .orchidius-site .header-search input::placeholder {
    color: var(--muted);
}
html[data-theme="dark"] .orchidius-site .header-search button {
    background: var(--green);
    color: #261b2b;
}
html[data-theme="dark"] .orchidius-site .product-card,
html[data-theme="dark"] .orchidius-site .favorite-heart,
html[data-theme="dark"] .orchidius-site .favorite-heart:hover {
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}
html[data-theme="dark"] .orchidius-site .favorite-heart {
    background: var(--soft);
    color: var(--green);
}
html[data-theme="dark"] .orchidius-site .favorite-heart.active {
    border-color: var(--green);
    background: var(--green);
    color: #261b2b;
}
html[data-theme="dark"] .orchidius-site .product-detail,
html[data-theme="dark"] .orchidius-site .product-description,
html[data-theme="dark"] .orchidius-site .content-body,
html[data-theme="dark"] .orchidius-site .article-body,
html[data-theme="dark"] .orchidius-site .saved-delivery-box,
html[data-theme="dark"] .orchidius-site .account-order-row {
    background: var(--surface) !important;
    border-color: var(--line) !important;
    color: var(--text) !important;
}
html[data-theme="dark"] .orchidius-site .gallery-main,
html[data-theme="dark"] .orchidius-site .gallery-main img,
html[data-theme="dark"] .orchidius-site .gallery-lightbox img {
    background: var(--surface);
}
html[data-theme="dark"] .orchidius-site .gallery-zoom-icon,
html[data-theme="dark"] .orchidius-site .gallery-nav,
html[data-theme="dark"] .orchidius-site .gallery-nav:hover {
    background: var(--soft);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}
html[data-theme="dark"] .orchidius-site .thumb.active {
    box-shadow: 0 0 0 2px rgba(215, 149, 195, .18);
}
html[data-theme="dark"] .orchidius-site .size-note {
    background: var(--soft);
    color: var(--text) !important;
}
html[data-theme="dark"] .orchidius-site .qty-stepper,
html[data-theme="dark"] .orchidius-site .qty-stepper button,
html[data-theme="dark"] .orchidius-site .btn-secondary {
    background: var(--soft);
    color: var(--green);
}
html[data-theme="dark"] .orchidius-site .cart-reserve-note {
    background: #3b3040;
    border-color: #71536b;
    color: #f8e1f0;
}
html[data-theme="dark"] .orchidius-site .flash-success {
    background: #3b3040;
    color: #f8d9ee;
}
html[data-theme="dark"] .orchidius-site .content-lead,
html[data-theme="dark"] .orchidius-site .content-accept,
html[data-theme="dark"] .orchidius-site .letter-filter a.active,
html[data-theme="dark"] .orchidius-site .letter-filter a:hover,
html[data-theme="dark"] .orchidius-site .sort-filter a.active,
html[data-theme="dark"] .orchidius-site .sort-filter a:hover {
    background: var(--soft-green) !important;
    border-color: var(--line) !important;
    color: var(--text) !important;
}
html[data-theme="dark"] .orchidius-site .letter-filter a,
html[data-theme="dark"] .orchidius-site .sort-filter a,
html[data-theme="dark"] .orchidius-site .mobile-filter-chip,
html[data-theme="dark"] .orchidius-site .mobile-sort-chip,
html[data-theme="dark"] .orchidius-site .mobile-sort-select {
    background: var(--surface) !important;
    border-color: var(--line) !important;
    color: var(--text) !important;
}
html[data-theme="dark"] .orchidius-site .letter-filter-count,
html[data-theme="dark"] .orchidius-site .help-link,
html[data-theme="dark"] .orchidius-site .account-row-toggle,
html[data-theme="dark"] .orchidius-site .account-focus-close {
    background: var(--soft) !important;
    border-color: var(--line) !important;
    color: var(--text) !important;
}
html[data-theme="dark"] .orchidius-site .help-card,
html[data-theme="dark"] .orchidius-site .account-order-detail.open,
html[data-theme="dark"] .orchidius-site .account-detail-grid,
html[data-theme="dark"] .orchidius-site .np-city-results {
    background: var(--surface) !important;
    border-color: var(--line) !important;
    color: var(--text) !important;
}
html[data-theme="dark"] .orchidius-site .help-overlay {
    background: rgba(17, 10, 19, .72);
}
html[data-theme="dark"] .orchidius-site .help-close,
html[data-theme="dark"] .orchidius-site .mobile-sheet-close,
html[data-theme="dark"] .orchidius-site .mobile-drawer-close {
    background: var(--soft) !important;
    border-color: var(--line) !important;
    color: var(--text) !important;
}
html[data-theme="dark"] .orchidius-site .account-stat-requests:not(.active),
html[data-theme="dark"] .orchidius-site .account-stat-invoices:not(.active),
html[data-theme="dark"] .orchidius-site .account-stat-orders:not(.active),
html[data-theme="dark"] .orchidius-site .account-stat-profile:not(.active) {
    background: var(--soft);
    border-color: var(--line);
}
html[data-theme="dark"] .orchidius-site .account-stat:not(.active) span,
html[data-theme="dark"] .orchidius-site .account-stat:not(.active) strong,
html[data-theme="dark"] .orchidius-site .product-detail p,
html[data-theme="dark"] .orchidius-site .content-body p,
html[data-theme="dark"] .orchidius-site .article-body p {
    color: var(--text) !important;
}
html[data-theme="dark"] .orchidius-site .account-page.has-open-detail .account-section.is-active,
html[data-theme="dark"] .orchidius-site .account-page.has-open-detail .account-section.is-active::before {
    background: var(--surface) !important;
}
html[data-theme="dark"] .orchidius-site .footer-payments .payment-logos > span {
    background: var(--soft);
    border-color: var(--line);
    color: var(--text);
}
html[data-theme="dark"] .orchidius-site .checkout-form > .btn,
html[data-theme="dark"] .orchidius-site .account-invoice-search .btn-secondary {
    background: var(--green);
    color: #261b2b;
}
html[data-theme="dark"] .orchidius-site .np-city-option:hover,
html[data-theme="dark"] .orchidius-site .np-city-option:focus,
html[data-theme="dark"] .orchidius-site .np-city-option.is-active {
    background: var(--soft-green);
    color: var(--text);
}
html[data-theme="dark"] .orchidius-site .auth-wrap .page-title-icon {
    display: none;
}

html[data-theme="dark"] .orchidius-site .brand-logo,
html[data-theme="dark"] .orchidius-site .mobile-orchids-logo,
html[data-theme="dark"] .orchidius-site .mobile-overlay-home img,
html[data-theme="dark"] .orchidius-site .mobile-bottom-nav > button:first-child img {
    content: url("/assets/site/orchidius-logo-dark.svg");
}

.orchidius-site .site-header,
.orchidius-site .mobile-bottom-nav {
    background: rgba(251, 247, 251, .96);
}

html[data-theme="dark"] .orchidius-site .site-header,
html[data-theme="dark"] .orchidius-site .mobile-bottom-nav {
    background: rgba(28, 22, 32, .96);
}

.orchidius-site .brand-logo {
    width: 164px;
    height: 43px;
    object-fit: contain;
}

.orchidius-site .mobile-orchids-logo {
    width: 148px;
    height: 38px;
    object-fit: contain;
}

.orchidius-site .mobile-bottom-nav > button:first-child img {
    width: 58px;
    height: 22px;
    object-fit: contain;
}

.orchidius-site .mobile-bottom-nav {
    grid-template-columns: repeat(4, 1fr);
}

.orchidius-site .orchidius-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 115px;
    color: var(--muted);
}

.orchidius-site .orchidius-footer .brand-logo {
    width: 150px;
}

.orchidius-site .product-card,
.orchidius-site .panel,
.orchidius-site .cart-summary,
.orchidius-site .checkout-form {
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.orchidius-site .stock-badge,
.orchidius-site .product-options-chip {
    background: var(--soft-green);
    color: var(--green);
}

@media (max-width: 680px) {
    .orchidius-site .brand-logo { width: 112px; height: 31px; }
    .orchidius-site .orchidius-footer { flex-direction: column; align-items: flex-start; padding: 28px 0; }
}
