html.theme-dark {
    color-scheme: dark;
    --background: #0e1726;
    --bg: #0e1726;
    --white: #192638;
    --card: #192638;
    --text: #e5edf7;
    --muted: #aab8ca;
    --border: #334258;
    --line: rgba(215, 226, 242, .14);
    --navy: #e5edf7;
    --navy-light: #26364e;
    --navy-soft: #1b2b43;
    --shadow: 0 12px 30px rgba(0, 0, 0, .28);
    --admin-bg: #0e1726;
    --admin-card: #192638;
    --admin-text: #e5edf7;
    --admin-muted: #aab8ca;
    --admin-border: #334258;
    --admin-navy: #e5edf7;
    --admin-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}

html.theme-dark body {
    background: #0e1726 !important;
    color: #e5edf7;
}

html.theme-dark .header,
html.theme-dark .topbar,
html.theme-dark .sidebar,
html.theme-dark .admin-sidebar,
html.theme-dark .footer,
html.theme-dark .footer-main {
    background-color: #111d31;
    border-color: #334258;
}

html.theme-dark .navigation,
html.theme-dark .header-search,
html.theme-dark .settings-nav,
html.theme-dark .settings-content {
    background-color: #172338;
    border-color: #334258;
    color: #e5edf7;
}

html.theme-dark .header-search input,
html.theme-dark .header-search input::placeholder {
    color: #e5edf7;
}

html.theme-dark .admin-topbar {
    border-color: #334258;
    background: rgba(17, 29, 49, .96);
}

html.theme-dark .admin-primary-action {
    color: #0e1726;
}

html.theme-dark .admin-home-button:hover {
    color: #5ee0cd;
}

html.theme-dark .admin-table thead {
    background-color: #152135;
}

html.theme-dark .admin-table th {
    color: #aab8ca;
}

html.theme-dark .admin-table td {
    border-color: #334258;
    color: #c5d0df;
}

html.theme-dark .admin-table tbody tr:hover {
    background-color: #223249;
}

html.theme-dark .message-item {
    border-color: #334258;
    background-color: #152135;
}

html.theme-dark .message-item p {
    color: #c5d0df;
}

html.theme-dark .admin-main .dev-warning p {
    color: #775b28;
}

html.theme-dark .admin-main .admin-load-status {
    color: #f18a8a;
}

html.theme-dark main [class*="-card"],
html.theme-dark main article,
html.theme-dark main .toolbar,
html.theme-dark main .results-box,
html.theme-dark main [class~="panel"],
html.theme-dark main [class*="-panel"]:not([class*="-panel-heading"]),
html.theme-dark .main [class*="-card"],
html.theme-dark .main-content [class*="-card"],
html.theme-dark .main [class~="panel"],
html.theme-dark .main-content [class~="panel"],
html.theme-dark .main [class*="-panel"]:not([class*="-panel-heading"]),
html.theme-dark .main-content [class*="-panel"]:not([class*="-panel-heading"]),
html.theme-dark .main section[class*="-section"],
html.theme-dark .main-content section[class*="-section"] {
    background-color: #192638;
    border-color: #334258;
    color: #e5edf7;
}

html.theme-dark main h1,
html.theme-dark main h2,
html.theme-dark main h3,
html.theme-dark main h4,
html.theme-dark .breadcrumb strong {
    color: #e5edf7;
}

html.theme-dark main p,
html.theme-dark main label,
html.theme-dark .breadcrumb {
    color: #aab8ca;
}

html.theme-dark main input,
html.theme-dark main select,
html.theme-dark main textarea {
    background-color: #101a2b;
    border-color: #3a4b64;
    color: #e5edf7;
}

html.theme-dark main input::placeholder,
html.theme-dark main textarea::placeholder {
    color: #8e9db2;
}

html.theme-dark input:focus,
html.theme-dark select:focus,
html.theme-dark textarea:focus {
    border-color: #5ee0cd;
    background-color: #101a2b;
    color: #e5edf7;
}

html.theme-dark .main table thead,
html.theme-dark .main-content table thead {
    background-color: #152135;
}

html.theme-dark .main table th,
html.theme-dark .main-content table th {
    color: #aab8ca;
}

html.theme-dark .main table td,
html.theme-dark .main-content table td {
    border-color: #334258;
    color: #c5d0df;
}

html.theme-dark .main table tbody tr:hover,
html.theme-dark .main-content table tbody tr:hover {
    background-color: #223249;
}

html.theme-dark .main .pagination button,
html.theme-dark .main-content .pagination button {
    border-color: #3a4b64;
    background-color: #101a2b;
    color: #c5d0df;
}

html.theme-dark .main .pagination button.current,
html.theme-dark .main-content .pagination button.current {
    border-color: var(--turquoise, #13b8a6);
    background-color: var(--turquoise, #13b8a6);
    color: #fff;
}

html.theme-dark .main .export-btn,
html.theme-dark .main .back-button,
html.theme-dark .main .draft-button,
html.theme-dark .main .action-btn,
html.theme-dark .main-content .icon-button,
html.theme-dark .main-content .period-select {
    border-color: #3a4b64;
    background-color: #1b2a40;
    color: #e5edf7;
}

html.theme-dark .choose-button,
html.theme-dark .notification,
html.theme-dark .menu-toggle,
html.theme-dark .admin-menu-toggle {
    border-color: #3a4b64;
    background-color: #1b2a40;
    color: #e5edf7;
}

html.theme-dark .settings-link {
    color: #bdc9d9;
}

html.theme-dark .settings-link:hover,
html.theme-dark .settings-link.active {
    background: #20364d;
    color: #5ee0cd;
}

html.theme-dark .sidebar .nav-link.active {
    color: #0e1726;
}

html.theme-dark .settings-card {
    background-color: #192638;
    border-color: #334258;
}

html.theme-dark .form-group label,
html.theme-dark .upload-group > label,
html.theme-dark .upload-info strong,
html.theme-dark .cover-content strong,
html.theme-dark .toggle-row strong,
html.theme-dark .notification-row strong,
html.theme-dark .security-item strong {
    color: #e5edf7;
}

html.theme-dark .logo-upload,
html.theme-dark .password-form {
    background-color: #152135;
    border-color: #334258;
}

html.theme-dark .cover-upload {
    background-color: #152135;
    border-color: #44566e;
}

html.theme-dark .orders-section,
html.theme-dark .orders-section .table-container {
    background-color: #192638;
    border-color: #334258;
}

html.theme-dark .orders-section .search-box,
html.theme-dark .orders-section .filter-bar select,
html.theme-dark .orders-section .filter-bar input[type="date"] {
    border-color: #3a4b64;
    background-color: #101a2b;
    color: #e5edf7;
}

html.theme-dark .orders-section .status-tabs,
html.theme-dark .orders-section .table-footer,
html.theme-dark .orders-section td {
    border-color: #334258;
}

html.theme-dark .orders-section thead {
    background-color: #152135;
}

html.theme-dark .orders-section th {
    color: #aab8ca;
}

html.theme-dark .orders-section td,
html.theme-dark .orders-section .tab {
    color: #c5d0df;
}

html.theme-dark .orders-section tbody tr:hover {
    background-color: #223249;
}

html.theme-dark .orders-section .customer strong,
html.theme-dark .orders-section .order-id,
html.theme-dark .orders-section .table-footer p strong {
    color: #e5edf7;
}

html.theme-dark .orders-section .customer small,
html.theme-dark .orders-section .order-message {
    color: #aab8ca !important;
}

html.theme-dark .orders-section .tab.active,
html.theme-dark .orders-section .tab.active span,
html.theme-dark .orders-section .action-btn {
    color: #5ee0cd;
}

html.theme-dark .orders-section .pagination button {
    border-color: #3a4b64;
    background-color: #101a2b;
    color: #c5d0df;
}

html.theme-dark .orders-section .pagination button.current {
    border-color: var(--turquoise);
    background-color: var(--turquoise);
    color: #fff;
}

html.theme-dark .modal {
    border: 1px solid #334258;
    background-color: #192638;
    color: #e5edf7;
}

html.theme-dark .modal-header,
html.theme-dark .detail-line {
    border-color: #334258;
}

html.theme-dark .modal-actions {
    background-color: #152135;
}

html.theme-dark .modal .detail-block p,
html.theme-dark .modal .detail-line strong,
html.theme-dark .modal .detail-block h3 {
    color: #e5edf7;
}

html.theme-dark .modal .detail-block small,
html.theme-dark .modal .detail-line span {
    color: #aab8ca;
}

html.theme-dark .modal .cancel-btn {
    background-color: #2a394f;
    color: #e5edf7;
}

html.theme-dark .modal .cancel-button {
    border-color: #3a4b64;
    background-color: #2a394f;
    color: #e5edf7;
}

html.theme-dark .modal select {
    border-color: #3a4b64;
    background-color: #101a2b;
    color: #e5edf7;
}

html.theme-dark .toast {
    background-color: #26364e;
    color: #f3f6fb;
}

html.theme-dark .main .upload-area,
html.theme-dark .main .quick-action,
html.theme-dark .main-content .quick-action,
html.theme-dark .main .product-item {
    border-color: #334258;
    background-color: #152135;
    color: #e5edf7;
}

html.theme-dark .main .upload-area p,
html.theme-dark .main .quick-action span,
html.theme-dark .main-content .quick-action span,
html.theme-dark .main .product-item span {
    color: #aab8ca;
}

html.theme-dark .hero-floating,
html.theme-dark .video-card,
html.theme-dark .final-cta,
html.theme-dark .text-block,
html.theme-dark .upload-area {
    border-color: #334258;
    background-color: #192638;
    color: #e5edf7;
}

html.theme-dark .hero-floating small,
html.theme-dark .video-card p,
html.theme-dark .text-block p,
html.theme-dark .upload-area p {
    color: #aab8ca;
}

html.theme-dark .publication .ad-badge {
    background-color: #f3f6fb;
    color: #172033;
}

html.theme-dark .promotion-badge {
    color: #172033;
}

html.theme-dark .image-counter {
    background-color: rgba(17, 29, 49, .88);
    color: #fff;
}

html.theme-dark .publish-btn,
html.theme-dark .hero-primary,
html.theme-dark .order-btn,
html.theme-dark .seller-card a,
html.theme-dark .wide-ad-content a,
html.theme-dark .cta-button,
html.theme-dark .video-audio-toggle {
    color: #172033;
}

html.theme-dark .video-product-actions a {
    background-color: #315cf5;
    color: #fff;
}

html.theme-dark .final-cta > a {
    background-color: #315cf5;
    color: #fff;
}

html.theme-dark .category {
    border-color: #334258;
    background-color: #192638;
    color: #e5edf7;
}

html.theme-dark .category strong {
    color: #aab8ca;
}

html.theme-dark .category:hover,
html.theme-dark .category.active {
    border-color: #315cf5;
    background-color: #315cf5;
    color: #fff;
}

html.theme-dark .category:hover strong,
html.theme-dark .category.active strong {
    color: #fff;
}

html.theme-dark .chip {
    border-color: #3a4b64;
    background-color: #1b2a40;
    color: #e5edf7;
}

html.theme-dark .chip.active {
    border-color: #315cf5;
    background-color: #315cf5;
    color: #fff;
}

html.theme-dark .export-btn {
    border-color: #3a4b64;
    background-color: #1b2a40;
    color: #e5edf7;
}

html.theme-dark .navigation a:not(.nav-link) {
    color: #c5d0df;
}

html.theme-dark .navigation a:not(.nav-link):hover,
html.theme-dark .navigation a:not(.nav-link).active {
    color: #a8bbff;
}

html.theme-dark .navigation a:not(.nav-link).active::after {
    background-color: #a8bbff;
}

html.theme-dark main .see-all,
html.theme-dark .video-card a:not(.video-media-link):not(.video-product-actions a) {
    color: #a8bbff;
}

html.theme-dark .tab {
    color: #c5d0df;
}

html.theme-dark .tab.active {
    color: #5ee0cd;
}

html.theme-dark .tab span {
    background-color: #26364e;
    color: #c5d0df;
}

html.theme-dark .publication-actions button {
    color: #c5d0df;
}

html.theme-dark .pagination button:disabled {
    border-color: #3a4b64;
    background-color: #152135;
    color: #aab8ca;
    opacity: 1;
}

html.theme-dark .publish-button,
html.theme-dark .primary-button,
html.theme-dark .add-button,
html.theme-dark .save-main,
html.theme-dark .btn-next,
html.theme-dark .btn-submit,
html.theme-dark .main .pagination button.current,
html.theme-dark .main-content .pagination button.current,
html.theme-dark .orders-section .pagination button.current {
    color: #071d27;
}

html.theme-dark .btn-next:hover,
html.theme-dark .btn-submit:hover {
    border-color: #16c9b5;
    background-color: #16c9b5;
}

html.theme-dark .submit-button {
    border-color: #315cf5;
    background-color: #315cf5;
    color: #fff;
}

html.theme-dark .submit-button:hover {
    border-color: #2447c5;
    background-color: #2447c5;
}

html.theme-dark .admin-main .section-link {
    color: #5ee0cd;
}

html.theme-dark .iti__selected-country {
    background-color: #1b2a40;
    color: #e5edf7;
}

html.theme-dark .outline-btn {
    border-color: #5ee0cd;
    background-color: #192638;
    color: #5ee0cd;
}

html.theme-dark .shop-info {
    background-color: #192638;
}

html.theme-dark .field input:focus,
html.theme-dark .field select:focus,
html.theme-dark .field textarea:focus {
    border-color: #5ee0cd;
    background-color: #101a2b;
    color: #e5edf7;
}

html.theme-dark .store-preview,
html.theme-dark .progress-area,
html.theme-dark .form-step,
html.theme-dark .image-box,
html.theme-dark .notice {
    border-color: #334258;
    background-color: #192638;
    color: #e5edf7;
}

html.theme-dark .preview-logo {
    border-color: #192638;
}

html.theme-dark .preview-line,
html.theme-dark .preview-footer {
    border-color: #334258;
    background-color: #334258;
}

html.theme-dark .progress-info,
html.theme-dark .steps-labels span,
html.theme-dark .field-control-icon,
html.theme-dark .field-label-icon,
html.theme-dark .preview-body > p,
html.theme-dark .preview-location,
html.theme-dark .upload-text p,
html.theme-dark .upload-text small,
html.theme-dark .image-box span,
html.theme-dark .terms {
    color: #aab8ca;
}

html.theme-dark .store-feedback.is-info {
    border-color: #365675;
    background: #13263c;
    color: #c0dcf5;
}

html.theme-dark .store-feedback.is-error {
    border-color: #70404b;
    background: #351d26;
    color: #fecaca;
}

html.theme-dark .store-feedback.is-success {
    border-color: #32624c;
    background: #173126;
    color: #bbf7d0;
}

html.theme-dark .progress-track,
html.theme-dark .upload-icon,
html.theme-dark .step-number {
    background-color: #26364e;
    color: #5ee0cd;
}

html.theme-dark .notice strong {
    color: #5ee0cd;
}

html.theme-dark .notice p {
    color: #c5d0df;
}

html.theme-dark .btn-back {
    border-color: #3a4b64;
    background-color: #1b2a40;
    color: #e5edf7;
}

html.theme-dark .btn-back:hover {
    background-color: #26364e;
}

html.theme-dark .metric-grid > div,
html.theme-dark .product-videos,
html.theme-dark .product-information,
html.theme-dark .details-main,
html.theme-dark .reviews,
html.theme-dark .wholesale-option,
html.theme-dark .thumbnail,
html.theme-dark .gallery-arrow,
html.theme-dark .zoom-button,
html.theme-dark .cart-item,
html.theme-dark .item-meta span,
html.theme-dark .qty-box,
html.theme-dark .item-edit-panel select,
html.theme-dark .cancel-edit-btn {
    border-color: #334258;
    background-color: #152135;
    color: #e5edf7;
}

html.theme-dark .shop-badge,
html.theme-dark .product-tag,
html.theme-dark .product-category,
html.theme-dark .quantity-control button,
html.theme-dark .size-table th,
html.theme-dark .qty-box button {
    background-color: #26364e;
    color: #c5d0df;
}

html.theme-dark .back-link,
html.theme-dark .shop-actions a,
html.theme-dark .all-reviews {
    color: #a8bbff;
}

html.theme-dark .wholesale-option strong,
html.theme-dark .size-option,
html.theme-dark .tab-content p,
html.theme-dark .tab-content li,
html.theme-dark .shop-profile p,
html.theme-dark .guarantees span,
html.theme-dark .review p,
html.theme-dark .review small,
html.theme-dark .similar-card span {
    color: #aab8ca;
}

html.theme-dark .wholesale-option.active,
html.theme-dark .size-option.selected {
    border-color: #315cf5;
    background-color: #20364d;
    color: #a8bbff;
}

html.theme-dark .continue-btn,
html.theme-dark .cancel-edit-btn {
    background-color: #26364e;
    color: #a8bbff;
}

html.theme-dark .order-message-field textarea,
html.theme-dark .order-payment-field select,
html.theme-dark .cart-message-input,
html.theme-dark .checkout-payment-field input,
html.theme-dark .checkout-payment-field select,
html.theme-dark .checkout-payment-field textarea,
html.theme-dark .item-edit-panel input,
html.theme-dark .item-edit-panel textarea {
    border-color: #3a4b64;
    background-color: #101a2b;
    color: #e5edf7;
}

html.theme-dark .cart-item-actions button {
    color: #a8bbff;
}

html.theme-dark .cart-item-actions .remove-item,
html.theme-dark .cart-unavailable,
html.theme-dark .checkout-status.is-error {
    color: #ff9696;
}

html.theme-dark .danger-btn {
    border-color: #a63d3d;
    background-color: #192638;
    color: #ff9696;
}

html.theme-dark .danger-btn.filled {
    border-color: #b42323;
    background-color: #b42323;
    color: #fff;
}

html.theme-dark button:focus-visible,
html.theme-dark [role="button"]:focus-visible {
    outline: 3px solid #7e9aff;
    outline-offset: 3px;
}

html.theme-dark {
    --iti-hover-color: rgba(229, 237, 247, .08);
    --iti-border-color: #334258;
    --iti-country-selector-bg: #192638;
    --iti-icon-color: #aab8ca;
}

html.theme-dark select,
html.theme-dark select option,
html.theme-dark select optgroup {
    border-color: #3a4b64;
    background-color: #101a2b;
    color: #e5edf7;
}

html.theme-dark .site-language-control select {
    background-color: #1b2a40;
}

html.theme-dark .country-picker-trigger,
html.theme-dark .filter-picker-trigger,
html.theme-dark .filter-picker-toggle,
html.theme-dark .country-picker-menu,
html.theme-dark .location-picker-menu,
html.theme-dark .filter-picker-menu,
html.theme-dark .iti__country-selector,
html.theme-dark .iti__country-list {
    border-color: #334258;
    background-color: #192638;
    color: #e5edf7;
}

html.theme-dark .country-picker-trigger:focus-visible,
html.theme-dark .country-picker-trigger[aria-expanded="true"],
html.theme-dark .country-picker-option:hover,
html.theme-dark .country-picker-option:focus-visible,
html.theme-dark .country-picker-option[aria-selected="true"],
html.theme-dark .location-picker-toggle:hover,
html.theme-dark .location-picker-toggle:focus-visible,
html.theme-dark .location-picker-toggle[aria-expanded="true"],
html.theme-dark .location-picker-option:hover,
html.theme-dark .location-picker-option:focus-visible,
html.theme-dark .filter-picker-trigger:focus-visible,
html.theme-dark .filter-picker-trigger[aria-expanded="true"],
html.theme-dark .filter-picker-toggle:focus-visible,
html.theme-dark .filter-picker-toggle[aria-expanded="true"],
html.theme-dark .filter-picker-option:hover,
html.theme-dark .filter-picker-option:focus-visible,
html.theme-dark .filter-picker-option[aria-selected="true"],
html.theme-dark .iti__country.iti__highlight {
    background-color: #26364e;
    color: #e5edf7;
}

html.theme-dark .country-picker-search,
html.theme-dark .filter-picker-search,
html.theme-dark .iti__search-input {
    border-color: #3a4b64;
    background-color: #101a2b;
    color: #e5edf7;
}

html.theme-dark .filter-picker-option,
html.theme-dark .filter-picker-country-code,
html.theme-dark .filter-picker-empty,
html.theme-dark .filter-picker-chevron,
html.theme-dark .location-picker-toggle {
    color: #aab8ca;
}

html.theme-dark .filter-picker-trigger:disabled,
html.theme-dark .filter-picker-toggle:disabled {
    color: #708097;
}

html.theme-dark .iti__country-name,
html.theme-dark .iti__dial-code,
html.theme-dark .iti__no-results {
    color: #e5edf7;
}

html.theme-dark main.page .form-side {
    background-color: #0e1726;
}

html.theme-dark main.page .form-wrap {
    border-color: #334258;
    background-color: #192638;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .22);
}

.site-theme-toggle {
    display: flex;
    width: 100%;
    min-height: 62px;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border: 1px solid #cbd6ff;
    border-radius: 10px;
    background: linear-gradient(110deg, #f1f5ff, #f2fbfa);
    color: #243552;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.site-theme-toggle:hover {
    box-shadow: 0 6px 16px rgba(49, 92, 245, .12);
    transform: translateY(-1px);
}

.site-theme-toggle:focus-visible {
    outline: 3px solid #315cf5;
    outline-offset: 3px;
}

.site-theme-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 9px;
    background: #fff0bf;
    color: #94620a;
    font-size: 19px;
}

.site-theme-copy {
    display: grid;
    flex: 1;
    gap: 3px;
}

.site-theme-copy strong {
    font-size: 12px;
    font-weight: 800;
}

.site-theme-label {
    color: #748198;
    font-size: 10px;
}

.site-theme-switch {
    display: flex;
    width: 40px;
    height: 23px;
    flex: 0 0 auto;
    align-items: center;
    padding: 3px;
    border-radius: 20px;
    background: #b7c1d0;
    transition: background-color .2s ease;
}

.site-theme-switch > span {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    transition: transform .2s ease;
}

.site-theme-toggle[aria-pressed="true"] .site-theme-switch {
    background: #315cf5;
}

.site-theme-toggle[aria-pressed="true"] .site-theme-switch > span {
    transform: translateX(17px);
}

html.theme-dark .site-theme-toggle {
    border-color: #405573;
    background: #1b2a40;
    color: #e5edf7;
}

html.theme-dark .site-theme-label {
    color: #aab8ca;
}

html.theme-dark .site-theme-toggle:focus-visible {
    outline-color: #7e9aff;
}

@media (prefers-reduced-motion: reduce) {
    .site-theme-toggle,
    .site-theme-switch,
    .site-theme-switch > span {
        transition: none;
    }
}
