/* MyWPTheme Storefront Light-Only Contrast Contract v16.12.28 */
html{color-scheme:light!important}
body.theme-light{
  color-scheme:light;
  --ui-bg:#ffffff;--ui-surface:#ffffff;--ui-surface-2:#f7fafb;--ui-surface-3:#edf3f4;
  --ui-text:#102a33;--ui-text-soft:#314b56;--ui-muted:#4f6670;--ui-subtle:#5d7179;
  --ui-line:#d9e4e7;--ui-line-strong:#b9cbd0;--ui-primary:#0d5367;--ui-primary-strong:#073f50;
  --ui-accent:#6f900d;--ui-success:#166a36;--ui-warning:#875600;--ui-danger:#a91f32;
  --bs-body-bg:var(--ui-bg);--bs-body-color:var(--ui-text-soft);--bs-border-color:var(--ui-line);--bs-secondary-color:var(--ui-muted);
  background:var(--ui-bg)!important;color:var(--ui-text-soft)!important;
}
body.theme-light :where(.text-muted,.form-text,.text-secondary,.text-body-secondary,.small-muted,.helper-text,.field-help,.field-hint,.meta-text){color:var(--ui-muted)!important;opacity:1!important}
body.theme-light :where(input,select,textarea,.form-control,.form-select){background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-line-strong)!important;box-shadow:none}
body.theme-light :where(input,textarea,.form-control)::placeholder{color:var(--ui-subtle)!important;opacity:1!important}
body.theme-light :where(.card,.modal-content,.offcanvas,.dropdown-menu,.accordion-item,.list-group-item){background:var(--ui-surface)!important;border-color:var(--ui-line)!important;color:var(--ui-text-soft)!important}
body.theme-light :where(.modal-header,.modal-footer,.accordion-button,.card-header,.card-footer){background:var(--ui-surface-2)!important;border-color:var(--ui-line)!important;color:var(--ui-text)!important}
body.theme-light .pagination-wrap .page-link{background:var(--ui-surface)!important;border-color:var(--ui-line)!important;color:var(--ui-primary)!important}
body.theme-light .pagination-wrap .active .page-link{background:var(--ui-primary)!important;border-color:var(--ui-primary)!important;color:#fff!important}
body.theme-light :where(button,.btn,[role="button"],.badge,.pill,.chip,.market-icon-btn,.cart-btn,.market-header__catalog,.market-mega-panel__cta) :where(span,b,strong,small,i){color:inherit!important}
body.theme-light :where(.btn-primary,.btn-success,.btn-danger,.btn-dark,.market-mega-panel__cta){color:#fff!important}
@media(prefers-contrast:more){body.theme-light{--ui-muted:#405963;--ui-line-strong:#94aab0}}

/* Customer/account shell follows the exact same light palette. */
body.woocommerce-account.theme-light{
  --dm-account-surface:var(--ui-surface)!important;
  --dm-account-soft:var(--ui-surface-2)!important;
  --dm-account-line:var(--ui-line)!important;
  --dm-account-ink:var(--ui-text)!important;
  --dm-account-muted:var(--ui-muted)!important;
  background:var(--ui-bg)!important;color:var(--ui-text-soft)!important;
}
body.woocommerce-account.theme-light :where(.dm-user-panel-sidebar,.dm-user-panel-header,.dm-user-avatar-card,.customer-pro-card,.customer-summary-card,.customer-order-card,.customer-empty,.customer-product-row a,.customer-product-grid-pro a,.wallet-summary-grid .customer-pro-card,.cnc-header-dropdown,.nhu-workspace,.nhu-stat,.nhu-item,.nhu-detail-page){background:var(--ui-surface)!important;border-color:var(--ui-line)!important;color:var(--ui-text-soft)!important}
body.woocommerce-account.theme-light :where(.dm-user-panel-main,.dm-user-panel-content,.customer-order-mini,.customer-row,.order-items-pro article,.size-editor-grid article,.loyalty-levels-pro article,.coupon-grid-pro article,.order-detail-grid-pro div,.wallet-box,.customer-wallet-box,.customer-loyalty-mini,.timeline-pro article,.cnc-header-item,.cnc-header-dropdown__foot,.nhu-sidebar,.nhu-bulk-bar,.nhu-detail__info){background:var(--ui-surface-2)!important;border-color:var(--ui-line)!important;color:var(--ui-text-soft)!important}
body.woocommerce-account.theme-light :where(.dm-user-panel-title h1,.dm-user-panel-user strong,.dm-user-panel-logo strong,.customer-page-title h1,.customer-pro-head h2,.customer-card-head h2,.customer-card-head h3,.customer-summary-card strong,.customer-pro-table td,.nhu-item__body>strong,.nhu-detail__message,.cnc-header-item strong){color:var(--ui-text)!important}
body.woocommerce-account.theme-light :where(.dm-user-panel-title p,.dm-user-panel-user small,.dm-user-panel-logo small,.customer-page-title p,.customer-pro-head p,.customer-card-head p,.customer-pro-head span,.customer-card-head span,.customer-summary-card span,.customer-summary-card small,.customer-row span,.customer-order-mini span,.order-items-pro span,.order-meta,.customer-empty,.customer-pro-table th,.cnc-header-dropdown__head small,.cnc-header-item p,.cnc-header-item time,.nhu-item__meta,.nhu-item__body p,.nhu-detail__hero p){color:var(--ui-muted)!important;opacity:1!important}
body.woocommerce-account.theme-light :where(.customer-pro-form input,.customer-pro-form select,.customer-pro-form textarea,.customer-filter-form input,.customer-filter-form select,.nhu-search input,.nhu-search-form select){background:var(--ui-surface)!important;border-color:var(--ui-line-strong)!important;color:var(--ui-text)!important}

/* Customer chat shares the single account palette. */
body.woocommerce-account.theme-light :where(.customer-chat-head,.chat-list-panel,.chat-conversation-panel,.chat-profile-panel,.chat-profile-card,.chat-side-box){background:var(--ui-surface)!important;border-color:var(--ui-line)!important;color:var(--ui-text-soft)!important}
body.woocommerce-account.theme-light :where(.chat-panel-head,.chat-conversation-head,.chat-compose){background:var(--ui-surface-2)!important;border-color:var(--ui-line)!important}
body.woocommerce-account.theme-light .chat-message-stream{background:linear-gradient(180deg,var(--ui-surface),var(--ui-surface-2))!important}
body.woocommerce-account.theme-light :where(.chat-search input,.chat-compose textarea,.chat-head-actions select){background:var(--ui-surface)!important;border-color:var(--ui-line-strong)!important;color:var(--ui-text)!important}
body.woocommerce-account.theme-light :where(.chat-panel-head h2,.chat-conversation-head h2,.customer-chat-head h2,.chat-thread-copy strong,.chat-profile-card h3,.chat-side-box h4){color:var(--ui-text)!important}
body.woocommerce-account.theme-light :where(.chat-panel-head span,.customer-chat-head span,.chat-thread-copy span,.chat-thread-meta small,.chat-user-title span,.chat-note-check,.chat-profile-card p,.chat-side-box dt,.chat-empty-state,.chat-empty-small){color:var(--ui-muted)!important;opacity:1!important}
body.woocommerce-account.theme-light .chat-filter-tabs a{color:var(--ui-muted)!important;border-color:var(--ui-line)!important}
body.woocommerce-account.theme-light .chat-filter-tabs a.active{color:var(--ui-primary-strong)!important;background:color-mix(in srgb,var(--ui-primary) 12%,var(--ui-surface))!important}
body.woocommerce-account.theme-light :where(.chat-thread-item:hover,.chat-thread-item.active){background:var(--ui-surface-2)!important}
body.woocommerce-account.theme-light .chat-thread-item.active{box-shadow:inset 3px 0 0 var(--ui-primary)!important}
body.woocommerce-account.theme-light .chat-bubble{background:var(--ui-surface-3)!important;color:var(--ui-text)!important}
body.woocommerce-account.theme-light .chat-message-row.mine .chat-bubble{background:var(--ui-primary)!important;color:#fff!important}
body.woocommerce-account.theme-light :where(.chat-attach,.chat-file-row){background:var(--ui-surface-2)!important;color:var(--ui-text-soft)!important;border-color:var(--ui-line)!important}
body.woocommerce-account.theme-light .chat-compose button{background:var(--ui-primary)!important;color:#fff!important}


/* v16.12.28 — brand foreground white contract */
/* #0d5367 remains a brand surface/border color. Foregrounds on saturated brand surfaces are pure white. */
body.theme-light .hp-home-page .hp-service-card__icon,
body.theme-light.hp-home-page .hp-service-card__icon,
body.hp-home-page .hp-service-card__icon,
body.theme-light .hp-home-page .hp-service-card__icon *,
body.theme-light.hp-home-page .hp-service-card__icon *,
body.hp-home-page .hp-service-card__icon *,
body.theme-light .hp-home-page .hp-service-card__icon i::before,
body.theme-light.hp-home-page .hp-service-card__icon i::before,
body.hp-home-page .hp-service-card__icon i::before,
body.theme-light .search-box button,
body.theme-light .search-box button *,
body.theme-light .icon-btn:hover,
body.theme-light .icon-btn:hover *,
body.theme-light .btn-accent:hover,
body.theme-light .btn-accent:hover *,
body.theme-light .add-cart:hover,
body.theme-light .add-cart:hover *,
body.theme-light .coupon-box button:hover,
body.theme-light .coupon-box button:hover *,
body.theme-light .blog-archive-search>button:hover,
body.theme-light .blog-archive-search>button:hover *,
body.theme-light .btn-fast:hover,
body.theme-light .btn-fast:hover *,
body.theme-light .top-strip,
body.theme-light .top-strip *,
body.theme-light [style*="background:#0d5367"],
body.theme-light [style*="background: #0d5367"],
body.theme-light [style*="background-color:#0d5367"],
body.theme-light [style*="background-color: #0d5367"]{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
