/* IranCCD dark mode site audit, 2026-11-03. Presentation only, dark mode only. */
html[data-icc-theme="dark"] body {
  --icc-audit-bg: #0e1a29;
  --icc-audit-surface: #182e43;
  --icc-audit-raised: #203a52;
  --icc-audit-border: #3d5b73;
  --icc-audit-ink: #eaf4ff;
  --icc-audit-muted: #b9cde0;
  --icc-audit-link: #92d6ff;
  --icc-audit-button: #086fae;
  --icc-audit-focus: #86cffe;
}

/* Make search, archive filters, and standard catalog action buttons legible. */
html[data-icc-theme="dark"] .header-search button,
html[data-icc-theme="dark"] .icc-filters .icc-filter-actions button,
html[data-icc-theme="dark"] .icc-mobile-search button,
html[data-icc-theme="dark"] .woocommerce ul.products li.product a.button:not(.added_to_cart) {
  background: var(--icc-audit-button) !important;
  color: #fff !important;
  border-color: #1683bd !important;
}
html[data-icc-theme="dark"] .header-search button:hover,
html[data-icc-theme="dark"] .icc-filters .icc-filter-actions button:hover,
html[data-icc-theme="dark"] .icc-mobile-search button:hover,
html[data-icc-theme="dark"] .woocommerce ul.products li.product a.button:not(.added_to_cart):hover {
  background: #075887 !important;
}
html[data-icc-theme="dark"] .icc-filters .icc-filter-actions a,
html[data-icc-theme="dark"] .icc-filters a { color: var(--icc-audit-link) !important; }

/* Shop special-offer cards: previously white surfaces with inherited almost-white text. */
html[data-icc-theme="dark"] .icc-offers-card,
html[data-icc-theme="dark"] .icc-special-products .icc-offers-card {
  background: var(--icc-audit-surface) !important;
  color: var(--icc-audit-ink) !important;
  border-color: var(--icc-audit-border) !important;
}
html[data-icc-theme="dark"] .icc-offers-card h3,
html[data-icc-theme="dark"] .icc-offers-card h3 a,
html[data-icc-theme="dark"] .icc-offers-card .icc-offers-price,
html[data-icc-theme="dark"] .icc-offers-card .icc-offer-bottom,
html[data-icc-theme="dark"] .icc-offers-card .icc-special-buy label,
html[data-icc-theme="dark"] .icc-offers-card .icc-special-buy,
html[data-icc-theme="dark"] .icc-offers-card .icc-offers-price .amount,
html[data-icc-theme="dark"] .icc-offers-card .icc-offers-price del .amount {
  color: var(--icc-audit-ink) !important;
}
html[data-icc-theme="dark"] .icc-offers-card .icc-offers-price del,
html[data-icc-theme="dark"] .icc-offers-card .icc-offers-price del .amount {
  color: #b9c9d7 !important;
}
html[data-icc-theme="dark"] .icc-offers-card .icc-offers-price ins,
html[data-icc-theme="dark"] .icc-offers-card .icc-offers-price ins .amount,
html[data-icc-theme="dark"] .icc-offers-card .icc-offers-price ins .woocommerce-Price-currencySymbol {
  color: #ff9faf !important;
}
html[data-icc-theme="dark"] .icc-offers-card .icc-cny-age,
html[data-icc-theme="dark"] .icc-offers-card .icc-cny-age time {
  color: var(--icc-audit-muted) !important;
}
html[data-icc-theme="dark"] .icc-offers-card .icc-offer-timer,
html[data-icc-theme="dark"] .icc-offers-card .icc-offer-bottom strong {
  color: #ffb7c2 !important;
}
html[data-icc-theme="dark"] .icc-offers-card .icc-qty-control,
html[data-icc-theme="dark"] .icc-offers-card .icc-special-qty-control {
  background: var(--icc-audit-raised) !important;
  border: 1px solid var(--icc-audit-border) !important;
  color: var(--icc-audit-ink) !important;
}
html[data-icc-theme="dark"] .icc-offers-card .icc-qty-control :is(button, input) {
  color: var(--icc-audit-ink) !important;
  background: transparent !important;
}
html[data-icc-theme="dark"] .icc-offers-card .icc-qty-control button:hover {
  background: #2c4e69 !important;
}
html[data-icc-theme="dark"] .icc-offers-card :is(.icc-offers-view,.icc-special-buy > button) {
  color: #fff !important;
}

/* Login & registration: original background/card/tabs used white gradients. */
html[data-icc-theme="dark"] body .icc-login-page.site-main {
  background: radial-gradient(circle at 80% 10%,#193c56 0%,transparent 42%),linear-gradient(145deg,#102235,#0c1b2b) !important;
  color: var(--icc-audit-ink) !important;
}
html[data-icc-theme="dark"] .icc-login-page:before,
html[data-icc-theme="dark"] .icc-login-page:after {
  border-color: var(--icc-audit-border) !important;
}
html[data-icc-theme="dark"] .icc-login-card,
html[data-icc-theme="dark"] .icc-auth-card {
  background: var(--icc-audit-surface) !important;
  color: var(--icc-audit-ink) !important;
  border-color: var(--icc-audit-border) !important;
}
html[data-icc-theme="dark"] .icc-login-heading h1,
html[data-icc-theme="dark"] .icc-login-form :is(h1,h2,h3),
html[data-icc-theme="dark"] .icc-login-step > strong {
  color: var(--icc-audit-ink) !important;
}
html[data-icc-theme="dark"] .icc-login-heading p,
html[data-icc-theme="dark"] .icc-login-brand > span,
html[data-icc-theme="dark"] .icc-login-form .iranccd-otp > p,
html[data-icc-theme="dark"] .icc-login-form :is(label, small),
html[data-icc-theme="dark"] .icc-login-security,
html[data-icc-theme="dark"] .icc-login-note,
html[data-icc-theme="dark"] .icc-mobile-help {
  color: var(--icc-audit-muted) !important;
}
html[data-icc-theme="dark"] .icc-login-security,
html[data-icc-theme="dark"] .icc-login-step-line {
  border-color: var(--icc-audit-border) !important;
}
html[data-icc-theme="dark"] .icc-login-step-line,
html[data-icc-theme="dark"] .icc-login-step > span {
  background: var(--icc-audit-raised) !important;
  color: var(--icc-audit-muted) !important;
}
html[data-icc-theme="dark"] .icc-login-step.is-active > span,
html[data-icc-theme="dark"] .icc-login-step.is-complete > span {
  background: var(--icc-audit-button) !important;
  color: #fff !important;
}
html[data-icc-theme="dark"] .icc-login-step.is-active > strong,
html[data-icc-theme="dark"] .icc-login-step.is-complete > strong {
  color: var(--icc-audit-link) !important;
}
html[data-icc-theme="dark"] .icc-auth-tabs,
html[data-icc-theme="dark"] .icc-login-methods,
html[data-icc-theme="dark"] .icc-mobile-input-wrap {
  background: var(--icc-audit-raised) !important;
  color: var(--icc-audit-ink) !important;
  border-color: var(--icc-audit-border) !important;
}
html[data-icc-theme="dark"] .icc-auth-tabs a,
html[data-icc-theme="dark"] .icc-login-methods a {
  color: var(--icc-audit-muted) !important;
}
html[data-icc-theme="dark"] .icc-auth-tabs a.is-current,
html[data-icc-theme="dark"] .icc-login-methods .is-active,
html[data-icc-theme="dark"] .icc-login-methods a.is-current {
  background: #315b76 !important;
  color: #fff !important;
}
html[data-icc-theme="dark"] .icc-login-form :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
  background: var(--icc-audit-raised) !important;
  color: var(--icc-audit-ink) !important;
  border-color: var(--icc-audit-border) !important;
}
html[data-icc-theme="dark"] .icc-login-form [role="status"] {
  background: #1a3b50 !important;
  color: var(--icc-audit-ink) !important;
  border-color: var(--icc-audit-border) !important;
}
html[data-icc-theme="dark"] .icc-login-form [role="status"].icc-is-error {
  background: #462b35 !important;
  border-color: #ae6572 !important;
  color: #ffd6dc !important;
}
html[data-icc-theme="dark"] .icc-login-back a,
html[data-icc-theme="dark"] .icc-login-form a {
  color: var(--icc-audit-link) !important;
}
html[data-icc-theme="dark"] .icc-login-form button:disabled {opacity:.6}

/* Dedicated information pages: about, contact, policies, complaints, tracking, news. */
html[data-icc-theme="dark"] body main.icc-info-page {
  background: linear-gradient(180deg,#12283b,#0e1a29 270px) !important;
  color: var(--icc-audit-ink) !important;
}
html[data-icc-theme="dark"] .icc-info-heading,
html[data-icc-theme="dark"] .icc-info-body .icc-info-card,
html[data-icc-theme="dark"] .icc-info-contact-card,
html[data-icc-theme="dark"] .icc-info-news-card,
html[data-icc-theme="dark"] .icc-info-body .icc-info-empty,
html[data-icc-theme="dark"] .icc-info-complaint-form,
html[data-icc-theme="dark"] .icc-info-body .woocommerce form.track_order {
  background: var(--icc-audit-surface) !important;
  color: var(--icc-audit-ink) !important;
  border-color: var(--icc-audit-border) !important;
  box-shadow: 0 7px 22px rgba(0,0,0,.12) !important;
}
html[data-icc-theme="dark"] .icc-info-body,
html[data-icc-theme="dark"] .icc-info-body p,
html[data-icc-theme="dark"] .icc-info-body li,
html[data-icc-theme="dark"] .icc-info-body strong,
html[data-icc-theme="dark"] .icc-info-body :is(h2,h3,h4),
html[data-icc-theme="dark"] .icc-info-heading h1,
html[data-icc-theme="dark"] .icc-info-contact-card h3,
html[data-icc-theme="dark"] .icc-info-contact-card > div,
html[data-icc-theme="dark"] .icc-info-news-content h2,
html[data-icc-theme="dark"] .icc-info-body .icc-info-empty strong {
  color: var(--icc-audit-ink) !important;
}
html[data-icc-theme="dark"] .icc-info-heading p,
html[data-icc-theme="dark"] .icc-info-breadcrumb,
html[data-icc-theme="dark"] .icc-info-complaint-form .icc-info-privacy-note,
html[data-icc-theme="dark"] .icc-info-news-content time,
html[data-icc-theme="dark"] .icc-info-news-content p {
  color: var(--icc-audit-muted) !important;
}
html[data-icc-theme="dark"] .icc-info-heading .icc-info-overline,
html[data-icc-theme="dark"] .icc-info-breadcrumb a,
html[data-icc-theme="dark"] .icc-info-body a:not(.icc-info-submit),
html[data-icc-theme="dark"] .icc-info-news-card a,
html[data-icc-theme="dark"] .icc-info-contact-card a {
  color: var(--icc-audit-link) !important;
}
html[data-icc-theme="dark"] .icc-info-body .icc-info-alert,
html[data-icc-theme="dark"] .icc-info-body .icc-info-empty {
  background: var(--icc-audit-raised) !important;
  color: var(--icc-audit-ink) !important;
  border-color: var(--icc-audit-border) !important;
}
html[data-icc-theme="dark"] .icc-info-body .icc-info-alert.success {
  background: #183b35 !important;
  color: #c2f1d7 !important;
  border-color: #407a63 !important;
}
html[data-icc-theme="dark"] .icc-info-body .icc-info-alert.error {
  background: #482a36 !important;
  color: #ffd9de !important;
  border-color: #9a596e !important;
}
html[data-icc-theme="dark"] .icc-info-complaint-form label,
html[data-icc-theme="dark"] .icc-info-body .woocommerce form.track_order label {
  color: var(--icc-audit-ink) !important;
}
html[data-icc-theme="dark"] .icc-info-complaint-form :is(input,textarea),
html[data-icc-theme="dark"] .icc-info-body .woocommerce form.track_order input.input-text {
  background: var(--icc-audit-raised) !important;
  color: var(--icc-audit-ink) !important;
  border-color: var(--icc-audit-border) !important;
}
html[data-icc-theme="dark"] .icc-info-complaint-form :is(input,textarea)::placeholder {
  color: var(--icc-audit-muted) !important;
}
html[data-icc-theme="dark"] .icc-info-complaint-form .icc-info-submit,
html[data-icc-theme="dark"] .icc-info-body .woocommerce form.track_order button {
  background: var(--icc-audit-button) !important;
  color: #fff !important;
}
html[data-icc-theme="dark"] .icc-info-body .icc-info-pagination .page-numbers {
  background: var(--icc-audit-raised) !important;
  border-color: var(--icc-audit-border) !important;
  color: var(--icc-audit-link) !important;
}
html[data-icc-theme="dark"] .icc-info-body .icc-info-pagination .current {
  background: var(--icc-audit-button) !important;
  color: #fff !important;
}

/* High-specificity desktop homepage offer card (rail layout has its own styling). */
html[data-icc-theme="dark"] body.home .icc-home .icc-offers-showcase .icc-offers-grid .icc-offers-card,
html[data-icc-theme="dark"] body.home .icc-home .icc-offers-showcase .icc-offers-rail-wrap .icc-offers-card {
  background: #182e43 !important;
  color: #eaf4ff !important;
  border-color: #3d5b73 !important;
}
html[data-icc-theme="dark"] .shop-content .icc-shop-offer-meta .icc-offer-timer,
html[data-icc-theme="dark"] .icc-latest-products .icc-shop-offer-meta .icc-offer-timer {
  color: #ffb7c2 !important;
}
html[data-icc-theme="dark"] .shop-content .icc-shop-offer-meta strong,
html[data-icc-theme="dark"] .icc-latest-products .icc-shop-offer-meta strong {
  color: #ffb7c2 !important;
}
/* Sale price and struck-through amounts need to remain distinct on dark store cards. */
html[data-icc-theme="dark"] .shop-content ul.products li.product .icc-offer-price ins,
html[data-icc-theme="dark"] .icc-latest-products ul.products li.product .icc-offer-price ins {
  color: #ffadbc !important;
}
html[data-icc-theme="dark"] .shop-content ul.products li.product .icc-offer-price del,
html[data-icc-theme="dark"] .icc-latest-products ul.products li.product .icc-offer-price del {
  color: #bdcbd9 !important;
}
