/* Keep the original dark storefront intact; light mode is a full-page alternative. */
.theme-toggle {
  flex: 0 0 auto;
  font-size: 25px;
  line-height: 1;
}
.theme-toggle > svg { display: block; width: 22px; height: 22px; }
.theme-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (max-width: 520px) {
  .header-actions .round-btn.theme-toggle:first-child { display: flex; }
  .header-actions .round-btn[data-notify]:not(.account-btn) { display: none; }
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f8fc;
  --panel: #fff;
  --panel2: #f0f5fb;
  --line: #dbe5ef;
  --text: #172a40;
  --muted: #576c83;
  --cyan: #087da6;
  --cyan2: #0b96bc;
  --red: #c23a52;
  --green: #087f58;
}
html[data-theme="light"] body { background: var(--bg); color: var(--text); }
html[data-theme="light"] .site-header { background: rgba(255,255,255,.97); box-shadow: 0 5px 22px #192f4b0d; }
html[data-theme="light"] .brand,
html[data-theme="light"] .brand-copy strong { color: #172a40; }
html[data-theme="light"] .main-nav { border-color: var(--line); }
html[data-theme="light"] .main-nav a,
html[data-theme="light"] .nav-direct { color: #34495e !important; }
html[data-theme="light"] .nav-direct:hover,
html[data-theme="light"] .nav-direct.active,
html[data-theme="light"] .nav-trigger:hover,
html[data-theme="light"] .nav-item.is-open .nav-trigger {
  background: #eef7fa;
  color: var(--cyan) !important;
}
html[data-theme="light"] .nav-trigger { color: #34495e; }
html[data-theme="light"] .mega-menu { border-color: var(--line); background: #fff; box-shadow: 0 24px 55px #17345224; }
html[data-theme="light"] .mega-links a { border-color: var(--line); color: #34495e; }
html[data-theme="light"] .mega-links a:hover { color: var(--cyan); }
html[data-theme="light"] .search,
html[data-theme="light"] .mobile-search { border-color: var(--line); background: #f4f8fc; }
html[data-theme="light"] .search input,
html[data-theme="light"] .mobile-search input { color: var(--text); }
html[data-theme="light"] .round-btn { background: #f3f8fc; color: #233950; }
html[data-theme="light"] .round-btn:hover { border-color: #90c6d8; background: #e8f6fa; }
html[data-theme="light"] .round-btn [data-cart-count].is-empty { color: #657890; background: #e1e9f1; }
html[data-theme="light"] .mobile-toggle { color: var(--text); }
html[data-theme="light"] .mobile-drawer { background: #f7fafe; }
html[data-theme="light"] .mobile-drawer-title span { color: #647991; }
html[data-theme="light"] .mobile-search { box-shadow: 0 9px 26px #17345214; }
html[data-theme="light"] .mobile-links a { border-color: var(--line); background: #fff; color: var(--text); }
html[data-theme="light"] .mobile-links a:hover { background: #eff8fc; border-color: #92c5d7; }
html[data-theme="light"] .mobile-links a small { color: #60748a; }
html[data-theme="light"] .mobile-links .mobile-secondary { background: #ebf6fa; }

html[data-theme="light"] .hero {
  background: radial-gradient(circle at 73% 20%,#d9f4fc 0,transparent 36%),linear-gradient(180deg,#f9fcff,#f2f8fd);
}
html[data-theme="light"] .hero-copy>p { color: #516980; }
html[data-theme="light"] .stats>div { border-color: var(--line); background: #fff; box-shadow: 0 8px 25px #1535520a; }
html[data-theme="light"] .stats span { color: #586d83; }
html[data-theme="light"] .hero-media { box-shadow: 0 24px 55px #17345220; }
html[data-theme="light"] .hero-overlay,
html[data-theme="light"] .hero-overlay span { color: #f5fbff; }
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .search button,
html[data-theme="light"] .cart-btn,
html[data-theme="light"] .detail-add-cart,
html[data-theme="light"] .order-summary>button,
html[data-theme="light"] .review-form button { color: #062437; }
html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .view-all { border-color: #cbdbe9; background: #fff; color: #21384f; }
html[data-theme="light"] .btn-secondary:hover,
html[data-theme="light"] .view-all:hover { border-color: var(--cyan); color: var(--cyan); }
html[data-theme="light"] .category-card {
  border-color: var(--line);
  background: linear-gradient(180deg,#fff,#f7fbff);
  color: var(--text);
  box-shadow: 0 8px 25px #1535520a;
}
html[data-theme="light"] .category-card>span,
html[data-theme="light"] .service-grid>div>span,
html[data-theme="light"] .contact-card>span { border-color: #a5d5e2; background: #e8f7fb; }
html[data-theme="light"] .category-card small { color: #5f748a; }
html[data-theme="light"] .sale-panel { border-color: #f2c5ce; background: #fffafa; }
html[data-theme="light"] .sale-icon { border-color: #e9b7c2; background: #fff0f3; color: #af3650; }
html[data-theme="light"] .sale-kicker,
html[data-theme="light"] .sale-heading strong { color: #b53651; }
html[data-theme="light"] .product-card,
html[data-theme="light"] .editor-card,
html[data-theme="light"] .news-card,
html[data-theme="light"] .service-grid>div { border-color: var(--line); background: #fff; color: var(--text); }
html[data-theme="light"] .product-card:hover { box-shadow: 0 18px 40px #1734521c; }
html[data-theme="light"] .product-pic,
html[data-theme="light"] .cart-line>a { background: #f4f7fa; }
html[data-theme="light"] .product-brand,
html[data-theme="light"] .product-spec,
html[data-theme="light"] .rating,
html[data-theme="light"] .editor-card p,
html[data-theme="light"] .news-card p,
html[data-theme="light"] .service-grid small { color: #5e7187; }
html[data-theme="light"] .product-price del { color: #68798b; }
html[data-theme="light"] .tag { border-color: #f0afbb; background: #fff1f4; color: #a82c48; }
html[data-theme="light"] .tag.discount { border-color: #a2d5e3; background: #eaf9fc; color: #087397; }
html[data-theme="light"] .tag.new { border-color: #abdbca; background: #ebf9f3; color: #087452; }
html[data-theme="light"] .brand-list span { color: #687d91; }
html[data-theme="light"] footer { background: #eef4fa; }
html[data-theme="light"] .footer-brand p,
html[data-theme="light"] .footer-bottom { color: #596d82; }
html[data-theme="light"] .footer-grid>div>a:not(.brand) { color: #34495e; }
html[data-theme="light"] .footer-subscribe input { border-color: #cbd9e6; background: #fff; color: var(--text); }
html[data-theme="light"] .toast { border-color: #add3e0; background: #163b52; color: #fff; }

html[data-theme="light"] .contact-card { color: var(--text); }
html[data-theme="light"] .contact-card small,
html[data-theme="light"] .contact-note { color: #5b7086; }
html[data-theme="light"] .contact-note { background: #eaf4f9; }
html[data-theme="light"] .catalog-message,
html[data-theme="light"] .catalog-empty { border-color: #bdcedd; background: #fff; color: #53697f; }
html[data-theme="light"] .breadcrumbs,
html[data-theme="light"] .breadcrumbs a,
html[data-theme="light"] .catalog-heading p,
html[data-theme="light"] .cart-heading p { color: #536980; }
html[data-theme="light"] .breadcrumbs strong { color: #21384f; }
html[data-theme="light"] .filter-panel,
html[data-theme="light"] .buy-panel,
html[data-theme="light"] .review-form,
html[data-theme="light"] .review-summary,
html[data-theme="light"] .cart-line,
html[data-theme="light"] .order-summary,
html[data-theme="light"] .checkout-form {
  border-color: var(--line);
  background: #fff;
}
html[data-theme="light"] .brand-filters label,
html[data-theme="light"] .checkout-form label { color: #294158; }
html[data-theme="light"] .price-range label span,
html[data-theme="light"] .catalog-toolbar,
html[data-theme="light"] .detail-meta,
html[data-theme="light"] .tab-panel>div span,
html[data-theme="light"] .cart-line-info>span { color: #5b7289; }
html[data-theme="light"] .price-range input,
html[data-theme="light"] .catalog-toolbar select,
html[data-theme="light"] .review-form input,
html[data-theme="light"] .review-form textarea,
html[data-theme="light"] .checkout-form input,
html[data-theme="light"] .checkout-form textarea {
  border-color: #c7d7e5;
  background: #f9fbfe;
  color: #172a40;
}
html[data-theme="light"] .rating-filters button,
html[data-theme="light"] .reset-filters,
html[data-theme="light"] .filter-toggle,
html[data-theme="light"] .filter-panel-head button,
html[data-theme="light"] .quantity-stepper,
html[data-theme="light"] .icon-action {
  border-color: #cbd9e6;
  background: #f6f9fc;
  color: #243b52;
}
html[data-theme="light"] .rating-filters button.active { border-color: var(--cyan); background: #e5f5fa; color: var(--cyan); }
html[data-theme="light"] .product-main-image,
html[data-theme="light"] .product-thumbnails button { border-color: var(--line); background: #f5f8fb; }
html[data-theme="light"] .detail-summary,
html[data-theme="light"] .prose-panel,
html[data-theme="light"] .buy-panel>p,
html[data-theme="light"] .buy-benefits span,
html[data-theme="light"] .review-form label,
html[data-theme="light"] .review-summary p { color: #536980; }
html[data-theme="light"] .stock-status { color: #087c57; }
html[data-theme="light"] .detail-price del,
html[data-theme="light"] .product-tabs button { color: #61768b; }
html[data-theme="light"] .detail-price span { border-color: #efb4bf; background: #fff0f2; color: #a32e47; }
html[data-theme="light"] .quantity-stepper button,
html[data-theme="light"] .quantity-stepper output { color: #243b52; }
html[data-theme="light"] .tab-panel>div { border-color: var(--line); }
html[data-theme="light"] .cart-line-info>a,
html[data-theme="light"] .order-summary .order-total { color: var(--text); }
html[data-theme="light"] .cart-line-info small,
html[data-theme="light"] .order-summary>div,
html[data-theme="light"] .order-summary>p,
html[data-theme="light"] .empty-cart p { color: #5d7186; }
html[data-theme="light"] .order-summary .order-total,
html[data-theme="light"] .checkout-form fieldset { border-color: var(--line); }
html[data-theme="light"] .empty-cart-icon { border-color: var(--line); background: #eaf3f9; color: #4b7890; }
html[data-theme="light"] .form-error { color: #bd2f4a; }
html[data-theme="light"] .order-success strong { color: #087f58; }

@media (max-width: 980px) {
  html[data-theme="light"] .site-header { background: #fff; }
  html[data-theme="light"] .round-btn { background: transparent; }
  html[data-theme="light"] .mobile-drawer { background: #f6fafe; }
}

