/* ORYGN retail and member commerce. Loaded after the legacy theme rules. */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600&family=Poppins:wght@400;500;600&display=swap');

body.orygn-retail, body.orygn-backoffice {
  --orygn-orange: #fe5000;
  --orygn-orange-hover: #fe5000;
  --orygn-orange-active: #fe5000;
  --orygn-ink: #434344;
  --orygn-muted: #6b7280;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 400;
}
body.orygn-retail { color: var(--orygn-ink); }
body.orygn-retail :is(h1,h2,h3,h4,h5,h6,.title,.cr-title,.section-title,.swal2-title),
body.orygn-backoffice :is(h1,h2,h3,h4,h5,h6,.cr-banner h2,.swal2-title),
body.orygn-retail #productQuickViewModal :is(h2.heading,h4.heading),
body.orygn-backoffice #productQuickViewModal .heading {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.15;
}
body.orygn-retail :is(p,label,input,select,textarea,button,.small,.prod-desc,.fp-desc),
body.orygn-backoffice :is(p,label,input,select,textarea,button) {
  font-family: 'Poppins', sans-serif !important;
}
body.orygn-retail :is(p,.small,.prod-desc,.fp-desc) { font-weight: 400; }
body.orygn-retail :is(.prod-desc,.fp-desc,.shop-hero-body) { color: var(--orygn-muted); line-height: 1.8; }
body.orygn-retail :is(label,.form-label,strong,b) { font-weight: 600 !important; }
body.orygn-retail :is(.featured-heading,.shop-all-heading) { font-size: 38px; color: #333; }
body.orygn-retail :is(.fp-title,.prod-name) { font-size: 26px; color: #333; }
body.orygn-retail .shop-hero-heading { font-size: clamp(36px,5vw,64px); }
body.orygn-retail .site-header :is(button,a) { font-weight: 500; }

body.orygn-retail :is(.btn-success,.btn-primary,.cr-button,.prod-cart-btn,.swal2-confirm,.swal2-deny),
body.orygn-backoffice :is(.btn-success,.btn-primary,.btn-green,.cr-button,.swal2-confirm,.swal2-deny) {
  background: var(--orygn-orange) !important;
  border-color: var(--orygn-orange) !important;
  color: #fff !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
}
body.orygn-retail :is(.btn-success,.btn-primary,.cr-button,.prod-cart-btn,.swal2-confirm,.swal2-deny):hover,
body.orygn-backoffice :is(.btn-success,.btn-primary,.btn-green,.cr-button,.swal2-confirm,.swal2-deny):hover {
  background: var(--orygn-orange-hover) !important;
  border-color: var(--orygn-orange-hover) !important;
}
body.orygn-retail :is(.btn,.cr-button,.prod-cart-btn,.swal2-styled):focus-visible,
body.orygn-backoffice :is(.btn,.cr-button,.swal2-styled):focus-visible {
  outline: 3px solid var(--orygn-orange);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff !important;
}
body.orygn-retail :is(.btn-success,.btn-primary,.cr-button,.prod-cart-btn,.swal2-confirm,.swal2-deny):active,
body.orygn-backoffice :is(.btn-success,.btn-primary,.btn-green,.cr-button,.swal2-confirm,.swal2-deny):active {
  background: var(--orygn-orange-active) !important;
  border-color: var(--orygn-orange-active) !important;
}
body.orygn-retail :is(.btn,.cr-button,.prod-cart-btn):disabled,
body.orygn-backoffice :is(.btn,.cr-button):disabled { opacity: .5; cursor: not-allowed; }
body.orygn-retail :is(.swal2-cancel,.orygn-secondary-button),
body.orygn-backoffice :is(.swal2-cancel,.orygn-secondary-button) {
  background: #5b5b5c !important;
  border-color: #5b5b5c !important;
  color: #fff !important;
}
body.orygn-retail :is(.swal2-cancel,.orygn-secondary-button):hover,
body.orygn-backoffice :is(.swal2-cancel,.orygn-secondary-button):hover { background: #434344 !important; }
body.orygn-retail :is(.spinner-border,.spinner-grow,.text-success),
body.orygn-backoffice :is(.spinner-border,.spinner-grow,.text-success) { color: var(--orygn-orange) !important; }
body.orygn-retail #cr-overlay .loader,
body.orygn-backoffice #cr-overlay .loader,
body.orygn-backoffice #preloaderText { color: var(--orygn-orange) !important; }
body.orygn-retail :is(.cr-loader div,.cr-loader span,.status .spinner div),
body.orygn-backoffice :is(.status .spinner div,.sk-chase-dot:before) { background-color: var(--orygn-orange) !important; }
body.orygn-retail .swal2-loader, body.orygn-backoffice .swal2-loader { border-color: var(--orygn-orange) transparent !important; }
body.orygn-retail .swal2-popup, body.orygn-backoffice .swal2-popup {
  background: #fff;
  color: var(--orygn-ink) !important;
  font-family: 'Poppins', sans-serif !important;
}
body.orygn-retail .swal2-title, body.orygn-backoffice .swal2-title {
  color: #333 !important;
  font-size: 30px !important;
}
body.orygn-retail .swal2-html-container, body.orygn-backoffice .swal2-html-container {
  color: var(--orygn-ink) !important;
  font-size: 14px;
  font-weight: 400 !important;
  line-height: 1.65;
}
body.orygn-retail .swal2-html-container li, body.orygn-backoffice .swal2-html-container li { font-weight: 400 !important; }
body.orygn-retail .checkout-validation-popup .swal2-html-container { max-height: 45vh; overflow-y: auto; }
body.orygn-retail .swal2-icon, body.orygn-backoffice .swal2-icon { color: var(--orygn-orange) !important; border-color: var(--orygn-orange) !important; }
body.orygn-retail .swal2-success-ring, body.orygn-backoffice .swal2-success-ring { border-color: #fe500055 !important; }
body.orygn-retail [class^="swal2-success-line"], body.orygn-backoffice [class^="swal2-success-line"] { background: var(--orygn-orange) !important; }
body.orygn-retail .swal2-warning, body.orygn-backoffice .swal2-warning { width: 60px; height: 60px; border: 0 !important; border-radius: 0 !important; background: url('/content/orygn/images/warning.svg') center / contain no-repeat; }
body.orygn-retail .swal2-warning .swal2-icon-content, body.orygn-backoffice .swal2-warning .swal2-icon-content { display: none; }
.orygn-checkout-note { color: #434344 !important; }
.orygn-account-intro { margin-top: 8px; color: #6b7280; font-size: 13px; }
.orygn-checkout-badges { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; margin: 18px 0; }
.orygn-checkout-badges img { max-width: 180px; max-height: 65px; object-fit: contain; }
.orygn-checkout-badges #sysnetBadge { position: static !important; transform: none !important; }
body.orygn-retail #widget-preview.ac-widget { position: static !important; transform: none !important; margin: 0 !important; }
body.orygn-retail #checkoutButtonContainer { display: flex; justify-content: flex-end; }
body.orygn-retail #checkoutSubmit { float: none !important; }
body.orygn-retail #iagreetermsYesDescription a { color: #434344 !important; }
body.orygn-retail :is(.back-to-top,.back-to-top i,.back-to-top-wrap) { color: var(--orygn-orange) !important; }
body.orygn-retail .back-to-top-wrap:after { color: var(--orygn-orange) !important; }
body.orygn-retail .back-to-top-wrap svg path { stroke: var(--orygn-orange) !important; }

/* Member shop cards remain light; the detail dialog follows the dark member theme. */
body.orygn-backoffice .cr-banner :is(h2,p) { color: #f4f4f5; }
body.orygn-backoffice .cr-product-card { background: #fff; color: #434344; }
body.orygn-backoffice .cr-product-card .cr-product-details :is(a.title,p) { color: #434344 !important; }
body.orygn-backoffice .cr-product-card .cr-product-details a.title { font-weight: 500 !important; font-size: 14px; line-height: 1.5; }
body.orygn-backoffice .orygn-product-description { font-size: 12px; font-weight: 400; line-height: 1.6; margin-top: 10px; }
body.orygn-backoffice .cr-product-card .cr-shopping-bag { background: var(--orygn-orange) !important; border-color: var(--orygn-orange) !important; color: #fff !important; font-size: 12px !important; height: auto !important; min-height: 32px; padding: 6px 10px !important; }
body.orygn-backoffice .cr-product-card .cr-shopping-bag i { color: inherit !important; }
body.orygn-backoffice :is(.cr-product-price,.cr-product-details .cr-price) .new-price,
body.orygn-backoffice .cr-product-tabs li.active { color: var(--orygn-orange) !important; }
body.orygn-backoffice .cr-product-card .bg-success { background: var(--orygn-orange) !important; }
body.orygn-backoffice .bg-success { background-color: var(--orygn-orange) !important; }
body.orygn-backoffice #productQuickViewModal .modal-content { background: #262832; color: #f4f4f5; }
body.orygn-backoffice #productQuickViewModal :is(.heading,p,.cr-description,td,th,.tab-content,.nav-link) { color: #e4e4e7 !important; }
body.orygn-backoffice #productQuickViewModal .nav-link.active { color: var(--orygn-orange) !important; border-bottom-color: var(--orygn-orange) !important; }
body.orygn-backoffice #productQuickViewModal .nav-link { background: transparent; }
body.orygn-backoffice #productQuickViewModal .cr-size-and-weight-contain p { font-size: 14px; font-weight: 400; line-height: 1.7; }
body.orygn-backoffice #productQuickViewModal .cr-qty-main :is(input,button) { background: #fff; color: #434344; }
body.orygn-backoffice .footer { font-size: 12px; }
body.orygn-backoffice .orygn-footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
body.orygn-backoffice .orygn-footer-social { display: inline-flex; gap: 12px; margin-left: 14px; }
@media (max-width: 767px) {
  body.orygn-retail :is(.featured-heading,.shop-all-heading) { font-size: 32px; }
  body.orygn-retail #checkoutSubmit { white-space: normal; }
  body.orygn-backoffice .orygn-footer-links { justify-content: flex-start; margin-top: 10px; }
  body.orygn-backoffice .footer { position: static; }
  body.orygn-backoffice #page-topbar .topBarLink { padding: 0 8px; font-size: 13px; }
}
