/*
 * SoldDolls UX/UI accent palette — R2C41.16.6.5.3
 * Visual-color layer only: no dimensions, positioning, display, typography or grid rules.
 * Policy: blue = interactive/selected/focus; red remains reserved for semantic
 * discounts, errors, destructive actions and attention/status badges.
 */
:root{
  --sd-ux-blue:#3665f3;
  --sd-ux-blue-dark:#2f55d4;
  --sd-ux-blue-on-dark:#7fa7ff;
  --sd-ux-blue-on-dark-hover:#9bb9ff;
  --sd-ux-blue-soft:rgba(127,167,255,.12);
  --sd-ux-blue-soft-strong:rgba(127,167,255,.18);
  --sd-ux-blue-border:rgba(127,167,255,.62);
}

/* 1. Breadcrumbs: white copy + blue interaction cue, never red. */
body .breadcrumb-bar a:hover,
body .breadcrumb a:hover,
body .sd-breadcrumbs a:hover,
body .sd-breadcrumb-wrap a:hover,
body .woocommerce-breadcrumb a:hover,
body .sdmn3-breadcrumb__link:hover,
body.single-product .prod-breadcrumb-desktop a:hover,
body .breadcrumb-bar a:focus-visible,
body .breadcrumb a:focus-visible,
body .sd-breadcrumbs a:focus-visible,
body .sd-breadcrumb-wrap a:focus-visible,
body .woocommerce-breadcrumb a:focus-visible,
body .sdmn3-breadcrumb__link:focus-visible,
body.single-product .prod-breadcrumb-desktop a:focus-visible{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-decoration-color:var(--sd-ux-blue-on-dark)!important;
  border-bottom-color:var(--sd-ux-blue-on-dark)!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}
body .breadcrumb-bar a:hover::after,
body .breadcrumb a:hover::after,
body .sd-breadcrumbs a:hover::after,
body .sd-breadcrumb-wrap a:hover::after,
body .woocommerce-breadcrumb a:hover::after,
body .sdmn3-breadcrumb__link:hover::after{
  background:var(--sd-ux-blue-on-dark)!important;
  border-color:var(--sd-ux-blue-on-dark)!important;
}

/* 2. Pagination: one interaction color on all catalogue/archive views. */
body .woocommerce-pagination ul li span.current,
body .woocommerce nav.woocommerce-pagination ul li span.current,
body .page-numbers.current,
body .sd-pagination .current,
body .sd-pagination span.current{
  background:var(--sd-ux-blue)!important;
  border-color:var(--sd-ux-blue)!important;
  color:#fff!important;
}
body .woocommerce-pagination ul li a:hover,
body .woocommerce nav.woocommerce-pagination ul li a:hover,
body .page-numbers:hover,
body .sd-pagination a:hover,
body .page-numbers:focus-visible,
body .sd-pagination a:focus-visible{
  background:var(--sd-ux-blue-on-dark)!important;
  border-color:var(--sd-ux-blue-on-dark)!important;
  color:#0a0a0d!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}

/* 3. Category toolbar: Filter, sort cue and category-chip feedback. */
body.tax-product_cat .sd-filter-toggle,
body.tax-product_cat .sd-filter-toggle::before,
body.tax-product_cat .sd-filter-toggle::after{
  color:var(--sd-ux-blue-on-dark)!important;
  -webkit-text-fill-color:var(--sd-ux-blue-on-dark)!important;
  border-color:var(--sd-ux-blue-border)!important;
}
body.tax-product_cat .sd-filter-toggle:hover,
body.tax-product_cat .sd-filter-toggle:focus-visible{
  color:var(--sd-ux-blue-on-dark-hover)!important;
  -webkit-text-fill-color:var(--sd-ux-blue-on-dark-hover)!important;
  background:var(--sd-ux-blue-soft)!important;
  border-color:var(--sd-ux-blue-on-dark-hover)!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}
body.tax-product_cat .sd-sort-control::after{
  color:var(--sd-ux-blue-on-dark)!important;
}
body.tax-product_cat .sd-sort-control:focus-within{
  border-color:var(--sd-ux-blue-border)!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}

body.sd-category-level-sub .sd-desktop-category-nav--sub .sd-desktop-category-nav__link:hover,
body.sd-category-level-sub .sd-desktop-category-nav--sub .sd-desktop-category-nav__link:focus-visible,
body.sd-category-level-sub .sd-desktop-category-nav--sub .sd-desktop-category-nav__link.is-active{
  color:#fff!important;
  background:var(--sd-ux-blue-soft)!important;
  border-color:var(--sd-ux-blue-border)!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}
body.sd-category-level-sub .sd-desktop-category-nav--sub .sd-desktop-category-nav__thumb{
  color:var(--sd-ux-blue-on-dark)!important;
}
body.sd-category-level-sub .sd-desktop-category-nav--sub .sd-desktop-category-nav__all-grid i{
  background:var(--sd-ux-blue-on-dark)!important;
}

/* Mobile subcategory rail uses the same token without altering its geometry. */
#sdmn3-mobile-nav,
.sdmn3-archive-category-nav{
  --sdmn3-accent:var(--sd-ux-blue-on-dark)!important;
  --sdmn3-active-text:var(--sd-ux-blue)!important;
}
body.sdmn3-mode-subcategory .sdmn3-card.is-active,
body.sdmn3-mode-subcategory .sdmn3-card:hover,
body.sdmn3-mode-subcategory .sdmn3-card:focus-visible{
  border-color:var(--sd-ux-blue-border)!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}

/* Mobile sort sheet selection/focus was still pink/red. */
.sd-sort-sheet-option.is-selected{
  color:var(--sd-ux-blue-on-dark)!important;
}
.sd-sort-sheet-option.is-selected .sd-sort-sheet-radio{
  border-color:var(--sd-ux-blue-on-dark)!important;
  background:var(--sd-ux-blue)!important;
}
.sd-sort-sheet-close:focus-visible,
.sd-sort-sheet-option:focus-visible{
  outline-color:var(--sd-ux-blue-on-dark)!important;
}

/* Category/product-structure tabs: replace only the red interaction family. */
html body.sd-category-level-main .sd-main-cat-sections .sd-product-structure-tabs a:focus-visible,
html body.sd-category-level-main .sd-main-cat-sections .sd-product-structure-tabs a:hover{
  color:#fff!important;
  border-color:var(--sd-ux-blue-border)!important;
  background:var(--sd-ux-blue-soft)!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}
html body.sd-category-level-main .sd-main-cat-sections .sd-product-structure-tabs a:nth-child(6n+2),
body.home .sd-home-v3 .sd-v3-products .sd-v3-section-tags a:nth-child(6n + 2){
  background:var(--sd-ux-blue)!important;
  border-color:var(--sd-ux-blue)!important;
  color:#fff!important;
}

/* 4. Product page: blue interaction states, unchanged structure. */
body.single-product .sd-buy-now-unified{
  background:var(--sd-ux-blue)!important;
  background-image:none!important;
  border-color:var(--sd-ux-blue)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:none!important;
}
body.single-product .sd-buy-now-unified:hover,
body.single-product .sd-buy-now-unified:focus-visible{
  background:#4f7ef7!important;
  border-color:#4f7ef7!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}
body.single-product .atc-btn-main,
body.single-product button.single_add_to_cart_button.atc-btn-main{
  color:var(--sd-ux-blue)!important;
  -webkit-text-fill-color:var(--sd-ux-blue)!important;
  background:#fff!important;
  background-image:none!important;
  border-color:var(--sd-ux-blue)!important;
}
body.single-product .atc-btn-main:hover,
body.single-product button.single_add_to_cart_button.atc-btn-main:hover,
body.single-product .atc-btn-main:focus-visible,
body.single-product button.single_add_to_cart_button.atc-btn-main:focus-visible{
  color:var(--sd-ux-blue-dark)!important;
  -webkit-text-fill-color:var(--sd-ux-blue-dark)!important;
  background:#f8faff!important;
  border-color:var(--sd-ux-blue-dark)!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}
body.single-product .share-btn:hover,
body.single-product .share-btn:focus-visible{
  color:var(--sd-ux-blue-on-dark)!important;
  -webkit-text-fill-color:var(--sd-ux-blue-on-dark)!important;
  border-color:var(--sd-ux-blue-border)!important;
  background:var(--sd-ux-blue-soft)!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}
body.single-product .tab-btn.active,
body.single-product .tab-btn:hover,
body.single-product .tab-btn:focus-visible{
  color:var(--sd-ux-blue-on-dark)!important;
  -webkit-text-fill-color:var(--sd-ux-blue-on-dark)!important;
  border-bottom-color:var(--sd-ux-blue-on-dark)!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}
body.single-product .gallery-thumbs img.active,
body.single-product .gallery-thumbs button:focus-visible img{
  border-color:var(--sd-ux-blue-on-dark)!important;
  box-shadow:0 0 0 1px var(--sd-ux-blue-on-dark)!important;
}
body.single-product .swatch:hover,
body.single-product .swatch.active,
body.single-product .swatch[aria-pressed="true"]{
  border-color:var(--sd-ux-blue-on-dark)!important;
  box-shadow:inset 0 0 0 1px var(--sd-ux-blue-on-dark)!important;
}
body.single-product .qty-btn:hover,
body.single-product .qty-btn:focus-visible,
body.single-product .prod-rating .sd-rating-favorite.pcard-wish.is-active,
body.single-product .prod-rating .sd-rating-favorite.pcard-wish:hover,
body.single-product .prod-rating .sd-rating-favorite.pcard-wish[aria-pressed="true"]{
  color:var(--sd-ux-blue-on-dark)!important;
  -webkit-text-fill-color:var(--sd-ux-blue-on-dark)!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}
body.single-product .sd-ship-cards-desktop-strip .sd-ship-card.sd-ship-featured,
body.single-product .delivery-opt.featured{
  border-color:var(--sd-ux-blue-border)!important;
  box-shadow:inset 0 0 0 1px var(--sd-ux-blue-soft-strong)!important;
}
body.single-product .sd-side-tag-primary,
body.single-product .sd-side-tag:hover,
body.single-product .sd-side-tag:focus-visible{
  border-color:var(--sd-ux-blue-border)!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}
/* Related-product price is informational, not an alert: keep it neutral. */
body.single-product .sd-side-product-price,
body.single-product .sd-side-product-price .amount,
body.single-product .sd-side-product-price ins{
  color:#f5f3ee!important;
  -webkit-text-fill-color:#f5f3ee!important;
}

/* 5. Footer/social interactions: Facebook/Pinterest/social controls. */
body .soc-link:hover,
body .soc-link:focus-visible,
body #sd-footer .sd-footer-social:hover,
body #sd-footer .sd-footer-social:focus-visible{
  color:#fff!important;
  background:var(--sd-ux-blue)!important;
  border-color:var(--sd-ux-blue-on-dark)!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}
body #sd-footer .f-contact a:hover,
body #sd-footer .f-contact a:focus-visible{
  color:#fff!important;
  border-bottom-color:var(--sd-ux-blue-on-dark)!important;
  text-decoration-color:var(--sd-ux-blue-on-dark)!important;
}

/* 6. Header/menu interaction colors only. No menu dimensions/positioning. */
body #sd-nav-bar{
  border-top-color:rgba(127,167,255,.22)!important;
}
body .sub-menu{
  border-color:rgba(127,167,255,.22)!important;
  border-top-color:var(--sd-ux-blue-border)!important;
}
body .sub-menu li a:hover,
body .sub-menu li a:focus-visible{
  color:var(--sd-ux-blue-on-dark)!important;
  background:var(--sd-ux-blue-soft)!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}
body .main-menu>li.mega-menu>.sub-menu{
  border-top-color:rgba(127,167,255,.28)!important;
}
body .main-menu>li.mega-menu>.sub-menu>li>a{
  color:var(--sd-ux-blue-on-dark)!important;
  border-bottom-color:rgba(127,167,255,.28)!important;
}
body .nav-cta-btn{
  background:var(--sd-ux-blue)!important;
  box-shadow:none!important;
}
body .nav-cta-btn:hover,
body .nav-cta-btn:focus-visible{
  background:#4f7ef7!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}

/* 7. Account on white background: no decorative red text/prices. */
html body.sdsh-profile-page .sdsh-suggestions h2{
  color:#222!important;
  -webkit-text-fill-color:#222!important;
}
html body.sdsh-profile-page .sdsh-product-price,
html body.sdsh-profile-page .sdsh-product-price ins,
html body.sdsh-profile-page .sdsh-product-price .amount{
  color:#222!important;
  -webkit-text-fill-color:#222!important;
}

/* 8. Search, boutique and best-sellers controls. */
body.search .sd-empty-copy .sd-empty-kicker,
body.search .sd-search-head .sd-empty-kicker,
body.search .sd-empty-guide span strong{
  color:var(--sd-ux-blue)!important;
}
body.search .sd-empty-icon{
  border-color:rgba(54,101,243,.34)!important;
  background:rgba(54,101,243,.09)!important;
  color:var(--sd-ux-blue)!important;
}
body.search .sd-empty-search-row button,
body.search .sd-empty-btn-primary{
  background:var(--sd-ux-blue)!important;
  border-color:var(--sd-ux-blue)!important;
  color:#fff!important;
}
body.search .sd-empty-search-row button:hover,
body.search .sd-empty-search-row button:focus-visible,
body.search .sd-empty-btn-primary:hover,
body.search .sd-empty-btn-primary:focus-visible{
  background:#4f7ef7!important;
  border-color:#4f7ef7!important;
  outline-color:var(--sd-ux-blue)!important;
}
body.sd-shop-landing-page .sd-shop-kicker,
body.sd-shop-landing-page .sd-shop-pill{
  background:rgba(127,167,255,.12)!important;
  border-color:var(--sd-ux-blue-border)!important;
}
body.sd-shop-landing-page .sd-shop-btn-secondary,
body.sd-shop-landing-page .sd-shop-link{
  border-color:rgba(127,167,255,.40)!important;
}
body.sd-shop-landing-page .sd-shop-btn-secondary:hover,
body.sd-shop-landing-page .sd-shop-link:hover,
body.sd-shop-landing-page .sd-shop-btn-secondary:focus-visible,
body.sd-shop-landing-page .sd-shop-link:focus-visible{
  background:var(--sd-ux-blue-soft)!important;
  border-color:var(--sd-ux-blue-on-dark)!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}
body .sd-best-tabs a.is-active,
body .sd-best-tabs a:hover,
body .sd-best-tabs a:focus-visible{
  background:var(--sd-ux-blue)!important;
  border-color:var(--sd-ux-blue)!important;
  color:#fff!important;
  outline-color:var(--sd-ux-blue-on-dark)!important;
}

/* 9. Checkout/info states: blue for action/info, red remains only for errors. */
body.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout .form-row textarea:focus,
body.woocommerce-checkout .form-row select:focus{
  border-color:var(--sd-ux-blue)!important;
  box-shadow:0 0 0 3px rgba(54,101,243,.12)!important;
}
body.woocommerce-checkout #place_order,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body .wc-proceed-to-checkout .checkout-button{
  background:var(--sd-ux-blue)!important;
  background-image:none!important;
  border-color:var(--sd-ux-blue)!important;
  color:#fff!important;
  box-shadow:none!important;
}
body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body .wc-proceed-to-checkout .checkout-button:hover{
  background:#4f7ef7!important;
  border-color:#4f7ef7!important;
  box-shadow:none!important;
}
body .woocommerce-notices-wrapper .woocommerce-info{
  background:rgba(54,101,243,.09)!important;
  border-left-color:var(--sd-ux-blue)!important;
}

/* 10. Mini-cart primary action. Destructive Remove remains red by design. */
body #sd-mini-cart .mc-shop-btn,
body #sd-mini-cart .mc-btn-primary,
body #sd-mini-cart a.mc-btn.mc-btn-primary[href*="checkout"]{
  background:var(--sd-ux-blue)!important;
  background-image:none!important;
  border-color:var(--sd-ux-blue)!important;
  color:#fff!important;
  box-shadow:none!important;
}
body #sd-mini-cart .mc-shop-btn:hover,
body #sd-mini-cart .mc-btn-primary:hover,
body #sd-mini-cart a.mc-btn.mc-btn-primary[href*="checkout"]:hover{
  background:#4f7ef7!important;
  border-color:#4f7ef7!important;
  color:#fff!important;
  box-shadow:none!important;
}
body #sd-mini-cart .mc-name a:hover,
body #sd-mini-cart .mc-name a:focus-visible{
  color:var(--sd-ux-blue-on-dark)!important;
}
body #sd-mini-cart .mc-price,
body #sd-mini-cart .mc-price .amount{
  color:#f5f3ee!important;
}

/* Semantic red intentionally retained: sale/discount badges, error notices,
 * destructive remove actions, stock/urgency alerts and cart-count badges. */
