/* ICTech global buttons — match homepage primary / ghost pills */
:root {
  --ictech-btn-radius: 999px;
  --ictech-btn-pad-y: 12px;
  --ictech-btn-pad-x: 22px;
  --ictech-btn-font: 14px;
  --ictech-btn-weight: 700;
  --ictech-primary: #2937E9;
  --ictech-navy: #0B1F3A;
}

/* —— Shared primitives —— */
.ictech-slider__cta,
.ictech-section__more-btn,
.ictech-page__btn,
.ictech-card__cart,
.ictech-about__toggle,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
button.single_add_to_cart_button,
.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.woocommerce-Button,
.woocommerce button.woocommerce-button,
.checkout-button,
.wc-block-components-button,
.wp-element-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--ictech-btn-radius) !important;
  font-size: var(--ictech-btn-font) !important;
  font-weight: var(--ictech-btn-weight) !important;
  line-height: 1.2 !important;
  letter-spacing: .02em;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s, filter .15s;
  box-shadow: none !important;
  min-height: 44px;
  padding: var(--ictech-btn-pad-y) var(--ictech-btn-pad-x) !important;
}

/* Header account/cart: shared look without the wide CTA padding */
.ictech-header__account-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--ictech-btn-radius) !important;
  font-size: var(--ictech-btn-font) !important;
  font-weight: var(--ictech-btn-weight) !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s, filter .15s;
  box-shadow: none !important;
  min-height: 44px;
  padding: 10px 16px !important;
}

/* Primary filled */
.ictech-slider__cta,
.ictech-page__btn--primary,
.ictech-header__account-btn--primary,
.ictech-card__cart:not(.ictech-card__cart--view),
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
button.single_add_to_cart_button,
.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.woocommerce-Button,
.woocommerce button.woocommerce-button,
.checkout-button,
.wc-block-components-button:not(.is-link),
.wc-block-components-checkout-place-order-button,
.wp-element-button {
  background: var(--ictech-primary) !important;
  background-color: var(--ictech-primary) !important;
  border: 1.5px solid var(--ictech-primary) !important;
  color: #fff !important;
}
.ictech-slider__cta:hover,
.ictech-page__btn--primary:hover,
.ictech-header__account-btn--primary:hover,
.ictech-card__cart:not(.ictech-card__cart--view):hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover,
button.single_add_to_cart_button:hover,
.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover,
.checkout-button:hover,
.wc-block-components-button:not(.is-link):hover,
.wp-element-button:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

/* Ghost / outline (See more, secondary) */
.ictech-section__more-btn,
.ictech-page__btn--ghost,
.ictech-header__account-btn:not(.ictech-header__account-btn--primary) {
  background: #fff !important;
  background-color: #fff !important;
  border: 1.5px solid var(--ictech-primary) !important;
  color: var(--ictech-primary) !important;
}
.ictech-section__more-btn:hover,
.ictech-page__btn--ghost:hover,
.ictech-header__account-btn:not(.ictech-header__account-btn--primary):hover {
  background: var(--ictech-primary) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(41, 55, 233, .22);
}

/* Disabled */
.woocommerce a.button.disabled,
.woocommerce button.button.disabled,
.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.wc-block-components-button:disabled {
  opacity: .55 !important;
  filter: none !important;
  cursor: not-allowed !important;
}

/* Form fields subtle cohesion on account/cart */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-Input,
.wc-block-components-text-input input,
.wc-block-components-textarea textarea {
  border-radius: 10px !important;
  border-color: #e5e7eb !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce-Input:focus,
.wc-block-components-text-input input:focus {
  border-color: var(--ictech-primary) !important;
  box-shadow: 0 0 0 3px rgba(41, 55, 233, .14) !important;
  outline: none;
}

/* Notices */
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--ictech-primary) !important;
}
.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--ictech-primary) !important;
}

/* Quantity + small shop controls */
.woocommerce .quantity .qty {
  border-radius: 10px !important;
  border: 1px solid #e5e7eb !important;
  min-height: 44px;
}

/* Keep search header button on-brand */
.ictech-header__search button {
  background: var(--ictech-navy) !important;
  color: #fff !important;
  border-radius: 0 999px 999px 0 !important;
  font-weight: 700 !important;
}
.ictech-header__search button:hover {
  background: #16325a !important;
}

/* Card "View cart" — outlined (overrides shared .ictech-card__cart fill) */
.ictech-card__cart.ictech-card__cart--view,
a.ictech-card__cart.ictech-card__cart--view {
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  border: 1.5px solid var(--ictech-primary, #2937E9) !important;
  color: var(--ictech-primary, #2937E9) !important;
  box-shadow: none !important;
  filter: none;
}
.ictech-card__cart.ictech-card__cart--view:hover,
a.ictech-card__cart.ictech-card__cart--view:hover {
  background: var(--ictech-primary, #2937E9) !important;
  background-color: var(--ictech-primary, #2937E9) !important;
  border-color: var(--ictech-primary, #2937E9) !important;
  color: #fff !important;
  filter: none;
}

/* Hide Woo injected View cart next to card ATC */
.ictech-card a.added_to_cart,
.ictech-card__price-row a.added_to_cart,
li.ictech-product-card a.added_to_cart,
li.product a.added_to_cart.wc-forward {
  display: none !important;
}
