/* Soft Heart 6.8.162 — For Him product controls and loader: cool-blue palette.
 * Only .kdt-for-him-context is affected. For Her, mixed-gender home,
 * unrelated pages, purchase events, and checkout logic stay untouched.
 */
html body.kdt-for-him-context {
  --shav-bg: #f9fcff;
  --shav-bg-strong: #f1f8ff;
  --shav-pink: #d9ebff;       /* old widget variable name, blue value in Him context */
  --shav-blue: #c4e2fc;
  --shav-pink-soft: #f0f8ff;
  --shav-blue-soft: #e7f4ff;
  --shav-border: #a9cdeb;
  --shav-border-soft: #c8e0f6;
  --shav-accent: #78abdb;
  --shav-accent-blue: #7eb7e7;
  --shav-selected: #ddebfd;
  --shav-selected-soft: #eef8ff;
  --shav-text: #3c719f;
  --shav-muted: #6a87a3;
  --shav-normal-text: #405971;
}

/* Variation cards (native/theme and any Aesthetic Variations markup). */
html body.kdt-for-him-context.single-product .shav-wrapper,
html body.kdt-for-him-context.single-product .kdt-variation-live-card {
  background: linear-gradient(140deg, #f2f9ff 0%, #ffffff 53%, #eaf5ff 100%) !important;
  border-color: #bedaf2 !important;
  box-shadow: 0 12px 30px rgba(82,146,201,.11) !important;
}
html body.kdt-for-him-context.single-product .shav-label,
html body.kdt-for-him-context.single-product .shav-title,
html body.kdt-for-him-context.single-product .shav-heading,
html body.kdt-for-him-context.single-product .kdt-variation-title {
  color: #5c93c0 !important;
}
html body.kdt-for-him-context.single-product .shav-current { color: #6b86a3 !important; }
html body.kdt-for-him-context.single-product .shav-card,
html body.kdt-for-him-context.single-product .kdt-variation-choice {
  border-color: #d1e1f1 !important;
  box-shadow: 0 5px 16px rgba(85,148,204,.08) !important;
}
html body.kdt-for-him-context.single-product .shav-card:hover,
html body.kdt-for-him-context.single-product .shav-card:focus-visible,
html body.kdt-for-him-context.single-product .kdt-variation-choice:hover,
html body.kdt-for-him-context.single-product .kdt-variation-choice:focus-visible {
  border-color: #85b7e4 !important;
  box-shadow: 0 8px 21px rgba(81,142,199,.14) !important;
}
html body.kdt-for-him-context.single-product .shav-card.is-selected,
html body.kdt-for-him-context.single-product .shav-size-card.is-selected,
html body.kdt-for-him-context.single-product .shav-kind-heel.is-selected,
html body.kdt-for-him-context.single-product .kdt-variation-choice.is-selected,
html body.kdt-for-him-context.single-product .kdt-variation-choice.selected {
  background: linear-gradient(140deg,#d7edff 0%,#f4faff 57%,#dceeff 100%) !important;
  border-color: #75a9d8 !important;
  color: #3f729e !important;
  box-shadow: 0 8px 22px rgba(88,151,211,.19) !important;
}
html body.kdt-for-him-context.single-product .shav-card.is-selected::after,
html body.kdt-for-him-context.single-product .kdt-variation-choice.is-selected::after {
  background: linear-gradient(145deg,#76b2e4,#528ec4) !important;
  color: #fff !important;
  box-shadow: 0 4px 11px rgba(75,138,192,.22) !important;
}
html body.kdt-for-him-context.single-product .shav-image-wrap,
html body.kdt-for-him-context.single-product .kdt-variation-thumb {
  border-color: #c4ddf2 !important;
  background: linear-gradient(145deg,#f1f9ff,#e2f0fc) !important;
}
html body.kdt-for-him-context.single-product .shav-card.is-selected .shav-image-wrap {
  border-color: #79acd8 !important;
  box-shadow: 0 0 0 2px rgba(121,172,216,.20) !important;
}
html body.kdt-for-him-context.single-product .shav-image-placeholder,
html body.kdt-for-him-context.single-product .shav-big-color-dot,
html body.kdt-for-him-context.single-product .shav-color-dot {
  background: linear-gradient(145deg,#e7f4ff,#c8e4fa) !important;
  border-color: #aacdec !important;
}

/* Combination purchase cards and related option labels, including hard-coded rose colors. */
html body.kdt-for-him-context.single-product form.cart > #kdtChooseCombination,
html body.kdt-for-him-context.single-product #kdtChooseCombination.kdt-combo-box {
  background: linear-gradient(135deg,#f1f8ff 0%,#ffffff 50%,#eaf5ff 100%) !important;
  border-color: #bfdcf4 !important;
  box-shadow: 0 12px 28px rgba(85,144,195,.11) !important;
}
html body.kdt-for-him-context.single-product #kdtChooseCombination .kdt-combo-label,
html body.kdt-for-him-context.single-product #kdtChooseCombination .kdt-combo-attr-label,
html body.kdt-for-him-context.single-product #kdtChooseCombination .kdt-combo-card-price,
html body.kdt-for-him-context.single-product #kdtChooseCombination .kdt-combo-card-price .amount {
  color: #5b95c6 !important;
}
html body.kdt-for-him-context.single-product #kdtChooseCombination .kdt-combo-card.is-selected,
html body.kdt-for-him-context.single-product #kdtChooseCombination .kdt-combo-attr-card.is-selected {
  border-color: #75a9d8 !important;
  background: linear-gradient(140deg,#d7edff,#f5fbff,#dfefff) !important;
}

/* Purchase panel, preorder information and quantity controls. */
html body.kdt-for-him-context.single-product .woocommerce div.product form.cart,
html body.kdt-for-him-context.single-product .woocommerce div.product form.variations_form {
  border-color: #c7e0f5 !important;
}
html body.kdt-for-him-context.single-product .kdt-preorder-badge {
  background: linear-gradient(140deg,#f8fcff,#eef7ff) !important;
  border-color: #c6e1f5 !important;
  box-shadow: 0 8px 20px rgba(97,154,202,.09) !important;
}
html body.kdt-for-him-context.single-product .kdt-preorder-badge strong { color:#5a91c1 !important; }
html body.kdt-for-him-context.single-product .kdt-preorder-badge span { color:#6886a4 !important; }
html body.kdt-for-him-context.single-product .kdt-qty-control,
html body.kdt-for-him-context.single-product .kdt-qty-control .quantity,
html body.kdt-for-him-context.single-product .kdt-qty-control .kdt-qty-btn {
  border-color: #c4ddf1 !important;
}
html body.kdt-for-him-context.single-product .kdt-qty-control .kdt-qty-btn,
html body.kdt-for-him-context.single-product .kdt-qty-control .kdt-qty-btn::before,
html body.kdt-for-him-context.single-product .kdt-qty-control .kdt-qty-btn::after {
  color:#6199c9 !important;
}
html body.kdt-for-him-context.single-product .kdt-v6822-option-note {
  border-color:#bfdcf3 !important;
  background:#f2f9ff !important;
  color:#4a7ca8 !important;
}
/* Preserve the existing disabled/ready behaviour: colors only. */
html body.kdt-for-him-context.single-product .woocommerce div.product form.cart button.single_add_to_cart_button {
  background: linear-gradient(120deg,#5a9ed7,#8cc5ed) !important;
  border-color: #8fc0e6 !important;
}

/* For Him gets its own blue loader, including decorations, icon and activity dots.
 * Existing show/hide scripts and reduced-motion settings are left unchanged.
 */
html body.kdt-for-him-context #kdt-loader.kdt-loader {
  background:
    radial-gradient(circle at 18% 18%,rgba(197,224,252,.52) 0 44px,transparent 46px),
    radial-gradient(circle at 82% 78%,rgba(216,239,255,.72) 0 54px,transparent 56px),
    linear-gradient(140deg,#edf7ff 0%,#e0f0ff 52%,#f5fbff 100%) !important;
  color:#315d84 !important;
}
html body.kdt-for-him-context #kdt-loader .kdt-loader-card {
  background:rgba(255,255,255,.87) !important;
  border-color:#bcdaf2 !important;
  box-shadow:0 22px 60px rgba(77,141,201,.17) !important;
}
html body.kdt-for-him-context #kdt-loader .kdt-loader-card::before {
  content:'✧ ✦ ✧ ✦ ✧' !important;
  color:rgba(99,154,208,.48) !important;
}
html body.kdt-for-him-context #kdt-loader .kdt-loader-kitty {
  background:linear-gradient(140deg,#ffffff,#e7f4ff,#cce7fc) !important;
  border-color:#b9dcf5 !important;
  color:#467fae !important;
  box-shadow:0 10px 27px rgba(83,147,201,.15) !important;
}
html body.kdt-for-him-context #kdt-loader .kdt-loader-title { color:#3a6b93 !important; }
html body.kdt-for-him-context #kdt-loader .kdt-loader-text { color:#6a8aab !important; }
html body.kdt-for-him-context #kdt-loader .kdt-loader-dots span:first-child { background:#5c9cd2 !important; }
html body.kdt-for-him-context #kdt-loader .kdt-loader-dots span:nth-child(2) { background:#88bde9 !important; }
html body.kdt-for-him-context #kdt-loader .kdt-loader-dots span:nth-child(3) { background:#bfdff9 !important; }


/* v6.8.163 — Final For Him inner product panel correction.
 * The legacy theme v6.8.62/63 rules have *more specific* form.variations_form
 * selectors and use `!important` to force a pink background + rose border.
 * v6.8.162 styled the generic .shav-wrapper only, and therefore lost this
 * cascade. Match the actual form-qualified selectors while retaining the
 * existing panel geometry, spacing and all WooCommerce form behaviour.
 */
html body.kdt-for-him-context.single-product .woocommerce div.product form.cart,
html body.kdt-for-him-context.single-product .woocommerce div.product form.cart.variations_form,
html body.kdt-for-him-context.single-product .woocommerce div.product .summary form.cart,
html body.kdt-for-him-context.single-product .summary.entry-summary form.cart {
  background: linear-gradient(148deg,#ffffff 0%,#fbfdff 55%,#f1f8ff 100%) !important;
  border-color: #c8dff3 !important;
  box-shadow: 0 12px 30px rgba(83,145,202,.09) !important;
}
/* Override ALL legacy form-qualified selectors, not just the bare wrapper. */
html body.kdt-for-him-context.single-product form.variations_form .shav-wrapper,
html body.kdt-for-him-context.single-product form.variations_form .kdt-variation-live-card,
html body.kdt-for-him-context.single-product form.variations_form table.variations,
html body.kdt-for-him-context.single-product .woocommerce div.product form.cart .shav-wrapper,
html body.kdt-for-him-context.single-product .woocommerce div.product form.cart .kdt-variation-live-card,
html body.kdt-for-him-context.single-product .shav-wrapper,
html body.kdt-for-him-context.single-product .kdt-variation-live-card {
  background: linear-gradient(130deg,#f5faff 0%,#ffffff 55%,#edf6ff 100%) !important;
  border: 1px solid #b9d9f1 !important;
  box-shadow: 0 10px 24px rgba(83,145,202,.085) !important;
}
/* Old outer dashed outline was still salmon pink on men's purchase forms. */
html body.kdt-for-him-context.single-product form.variations_form::before,
html body.kdt-for-him-context.single-product .summary.entry-summary form.cart:not(.variations_form)::before,
html body.kdt-for-him-context.single-product .woocommerce div.product .summary form.cart:not(.variations_form)::before {
  border-color: rgba(163,202,231,.65) !important;
}
/* Blue controls remain visible with both first and last row layouts. */
html body.kdt-for-him-context.single-product .shav-card,
html body.kdt-for-him-context.single-product .kdt-variation-choice {
  background-color: #ffffff !important;
  border-color: #d0e2f2 !important;
}
html body.kdt-for-him-context.single-product .shav-card.is-selected,
html body.kdt-for-him-context.single-product .kdt-variation-choice.is-selected,
html body.kdt-for-him-context.single-product .kdt-variation-choice.selected {
  background: linear-gradient(135deg,#dcefff,#f8fcff 55%,#e5f3ff) !important;
  border-color: #7cb1df !important;
}

/* Soft Heart v6.8.164 — Finish the For Him single-product palette.
 * The thumbnail strip and the product title/price were left in rose/plum
 * by legacy global rules. Scope fixes to actual single-product Him context.
 * Keep all gallery interactions and WooCommerce price/variation logic intact.
 */
html body.kdt-for-him-context.single-product {
  --sh126-product-name: #375772;
  --sh126-product-price: #5d9dce;
}
/* Gallery thumbnail frames: idle, active, hover and keyboard focus. */
html body.kdt-for-him-context.single-product .kdt-v6819-single-gallery .kdt-v6819-thumb-row .kdt-v6819-thumb,
html body.kdt-for-him-context.single-product .woocommerce-product-gallery .kdt-v6819-thumb-row .kdt-v6819-thumb {
  border-color: #bad7ed !important;
  background: #f9fcff !important;
  box-shadow: 0 6px 14px rgba(88, 151, 204, .10) !important;
}
html body.kdt-for-him-context.single-product .kdt-v6819-single-gallery .kdt-v6819-thumb-row .kdt-v6819-thumb.is-active,
html body.kdt-for-him-context.single-product .kdt-v6819-single-gallery .kdt-v6819-thumb-row .kdt-v6819-thumb:hover,
html body.kdt-for-him-context.single-product .kdt-v6819-single-gallery .kdt-v6819-thumb-row .kdt-v6819-thumb:focus-visible,
html body.kdt-for-him-context.single-product .woocommerce-product-gallery .kdt-v6819-thumb-row .kdt-v6819-thumb.is-active,
html body.kdt-for-him-context.single-product .woocommerce-product-gallery .kdt-v6819-thumb-row .kdt-v6819-thumb:hover,
html body.kdt-for-him-context.single-product .woocommerce-product-gallery .kdt-v6819-thumb-row .kdt-v6819-thumb:focus-visible {
  border-color: #6ea9db !important;
  box-shadow: 0 6px 18px rgba(74, 145, 207, .24) !important;
}
/* Product name: deep blue instead of dark-plum on men only. */
html body.kdt-for-him-context.single-product .woocommerce div.product h1.product_title,
html body.kdt-for-him-context.single-product .woocommerce div.product .product_title,
html body.kdt-for-him-context.single-product .woocommerce .summary h1.product_title,
html body.kdt-for-him-context.single-product .product_title.entry-title {
  color: #375772 !important;
}
/* Price (including nested WooCommerce bdi/amount nodes): readable baby blue. */
html body.kdt-for-him-context.single-product .woocommerce div.product .summary p.price,
html body.kdt-for-him-context.single-product .woocommerce div.product .summary span.price,
html body.kdt-for-him-context.single-product .woocommerce div.product .summary .price,
html body.kdt-for-him-context.single-product .woocommerce div.product .summary .price .amount,
html body.kdt-for-him-context.single-product .woocommerce div.product .summary .price .woocommerce-Price-amount,
html body.kdt-for-him-context.single-product .woocommerce div.product .summary .price bdi,
html body.kdt-for-him-context.single-product .woocommerce-variation-price .price,
html body.kdt-for-him-context.single-product .woocommerce-variation-price .price .woocommerce-Price-amount,
html body.kdt-for-him-context.single-product .woocommerce-variation-price .price bdi {
  color: #5d9dce !important;
}
/* Do not make crossed-out original prices look active. */
html body.kdt-for-him-context.single-product .woocommerce div.product .summary .price del,
html body.kdt-for-him-context.single-product .woocommerce div.product .summary .price del .woocommerce-Price-amount,
html body.kdt-for-him-context.single-product .woocommerce div.product .summary .price del bdi {
  color: #92a4b3 !important;
}


/* v6.8.165 — For Him actual single-product price fallback.
 * Prior overrides targeted `.summary .price`, but the live product price can be
 * moved outside `.summary` by the WooCommerce/legacy layout. Cover the main
 * price wrappers (and their amount/bdi descendants) wherever they occur within
 * the single-product main information, without styling related-product prices.
 * Do not change any amounts or WooCommerce product/variation calculations.
 */
html body.kdt-for-him-context.single-product {
  --sh126-product-price: #5d9dce;
}
html body.kdt-for-him-context.single-product .woocommerce div.product > p.price,
html body.kdt-for-him-context.single-product .woocommerce div.product > span.price,
html body.kdt-for-him-context.single-product .woocommerce div.product > .price,
html body.kdt-for-him-context.single-product .woocommerce div.product .summary p.price,
html body.kdt-for-him-context.single-product .woocommerce div.product .summary span.price,
html body.kdt-for-him-context.single-product .woocommerce div.product .summary .price,
html body.kdt-for-him-context.single-product .summary.entry-summary > p.price,
html body.kdt-for-him-context.single-product .summary.entry-summary > span.price,
html body.kdt-for-him-context.single-product .summary.entry-summary > .price,
html body.kdt-for-him-context.single-product .softheart-price-single,
html body.kdt-for-him-context.single-product .softheart-price-current,
html body.kdt-for-him-context.single-product .woocommerce-variation-price .price,
html body.kdt-for-him-context.single-product .single_variation .price {
  color: #5d9dce !important;
}
html body.kdt-for-him-context.single-product .woocommerce div.product > p.price :not(del):not(del *),
html body.kdt-for-him-context.single-product .woocommerce div.product > span.price :not(del):not(del *),
html body.kdt-for-him-context.single-product .woocommerce div.product .summary p.price :not(del):not(del *),
html body.kdt-for-him-context.single-product .woocommerce div.product .summary span.price :not(del):not(del *),
html body.kdt-for-him-context.single-product .summary.entry-summary > .price :not(del):not(del *),
html body.kdt-for-him-context.single-product .softheart-price-single :not(del):not(del *),
html body.kdt-for-him-context.single-product .softheart-price-current :not(del):not(del *),
html body.kdt-for-him-context.single-product .woocommerce-variation-price .price :not(del):not(del *),
html body.kdt-for-him-context.single-product .single_variation .price :not(del):not(del *) {
  color: #5d9dce !important;
}
/* Original struck-through price stays visually secondary. */
html body.kdt-for-him-context.single-product .woocommerce div.product > .price del,
html body.kdt-for-him-context.single-product .woocommerce div.product > .price del *,
html body.kdt-for-him-context.single-product .summary.entry-summary .price del,
html body.kdt-for-him-context.single-product .summary.entry-summary .price del *,
html body.kdt-for-him-context.single-product .woocommerce-variation-price .price del,
html body.kdt-for-him-context.single-product .woocommerce-variation-price .price del * {
  color: #92a4b3 !important;
}
