/* --------------------------------------------------------------------------
 * CraftArt WooCommerce Notices v1.5.3
 * -------------------------------------------------------------------------- */
body.craftart-storefront-child .woocommerce-notices-wrapper:not(:empty),
body.craftart-storefront-child .woocommerce-NoticeGroup,
body.craftart-storefront-child .woocommerce-form-login-toggle,
body.craftart-storefront-child .woocommerce-form-coupon-toggle {
  width: min(1200px, calc(100vw - 48px));
  max-width: 100%;
  margin: 0 auto 16px !important;
  clear: both;
}

body.casf-cart-page .woocommerce-notices-wrapper:not(:empty),
body.casf-cart-page .woocommerce-NoticeGroup,
body.casf-checkout-page .woocommerce-notices-wrapper:not(:empty),
body.casf-checkout-page .woocommerce-NoticeGroup,
body.casf-order-received-page .woocommerce-notices-wrapper:not(:empty),
body.casf-order-received-page .woocommerce-NoticeGroup {
  width: 100% !important;
  max-width: 100% !important;
}

body.craftart-storefront-child .woocommerce-notices-wrapper:empty {
  display: none !important;
}

body.craftart-storefront-child .woocommerce-message,
body.craftart-storefront-child .woocommerce-info,
body.craftart-storefront-child .woocommerce-error,
body.craftart-storefront-child .woocommerce-noreviews,
body.craftart-storefront-child p.no-comments {
  position: relative !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 62px !important;
  margin: 0 0 14px !important;
  padding: 15px 18px 15px 58px !important;
  border: 1px solid rgba(229, 231, 235, .95) !important;
  border-left: 5px solid var(--casf-primary) !important;
  border-radius: var(--casf-radius) !important;
  background: linear-gradient(135deg, rgba(27, 156, 133, .09), rgba(255, 255, 255, .98) 46%, #fff) !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .07) !important;
  color: var(--casf-text) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
  text-align: left !important;
  list-style: none !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
  clear: both !important;
}

body.craftart-storefront-child .woocommerce-message::before,
body.craftart-storefront-child .woocommerce-info::before,
body.craftart-storefront-child .woocommerce-error::before,
body.craftart-storefront-child .woocommerce-noreviews::before,
body.craftart-storefront-child p.no-comments::before {
  content: "✓" !important;
  position: absolute !important;
  top: 15px !important;
  left: 18px !important;
  width: 26px !important;
  height: 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(27, 156, 133, .22) !important;
  border-radius: 999px !important;
  background: rgba(27, 156, 133, .12) !important;
  color: var(--casf-primary-dark) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  speak: never;
}

body.craftart-storefront-child .woocommerce-info {
  border-left-color: var(--casf-primary) !important;
  background: linear-gradient(135deg, rgba(27, 156, 133, .07), rgba(255, 255, 255, .98) 48%, #fff) !important;
}

body.craftart-storefront-child .woocommerce-info::before {
  content: "i" !important;
}

body.craftart-storefront-child .woocommerce-error {
  border-left-color: var(--casf-error) !important;
  background: linear-gradient(135deg, rgba(220, 38, 38, .08), rgba(255, 255, 255, .98) 48%, #fff) !important;
  color: #7f1d1d !important;
}

body.craftart-storefront-child .woocommerce-error::before {
  content: "!" !important;
  border-color: rgba(220, 38, 38, .18) !important;
  background: rgba(220, 38, 38, .10) !important;
  color: var(--casf-error) !important;
}

body.craftart-storefront-child .woocommerce-error li,
body.craftart-storefront-child .woocommerce-message li,
body.craftart-storefront-child .woocommerce-info li {
  margin: 0 0 6px !important;
  padding: 0 !important;
  list-style: none !important;
  color: inherit !important;
  font: inherit !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  writing-mode: horizontal-tb !important;
}

body.craftart-storefront-child .woocommerce-error li:last-child,
body.craftart-storefront-child .woocommerce-message li:last-child,
body.craftart-storefront-child .woocommerce-info li:last-child {
  margin-bottom: 0 !important;
}

body.craftart-storefront-child .woocommerce-message a:not(.button),
body.craftart-storefront-child .woocommerce-info a:not(.button),
body.craftart-storefront-child .woocommerce-error a:not(.button),
body.craftart-storefront-child .woocommerce-notices-wrapper a:not(.button) {
  color: var(--casf-primary-deep) !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(27, 156, 133, .28) !important;
}

body.craftart-storefront-child .woocommerce-message a:not(.button):hover,
body.craftart-storefront-child .woocommerce-info a:not(.button):hover,
body.craftart-storefront-child .woocommerce-error a:not(.button):hover,
body.craftart-storefront-child .woocommerce-notices-wrapper a:not(.button):hover {
  color: var(--casf-primary-dark) !important;
  border-bottom-color: var(--casf-primary-dark) !important;
}

body.craftart-storefront-child .woocommerce-message .button,
body.craftart-storefront-child .woocommerce-info .button,
body.craftart-storefront-child .woocommerce-error .button,
body.craftart-storefront-child .woocommerce-notices-wrapper .button,
body.craftart-storefront-child .woocommerce-NoticeGroup .button,
body.craftart-storefront-child .wc-forward {
  float: right !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  margin: -4px 0 0 14px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: var(--casf-pill) !important;
  background: linear-gradient(135deg, var(--casf-primary), var(--casf-primary-dark)) !important;
  box-shadow: 0 10px 22px rgba(27, 156, 133, .20) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body.craftart-storefront-child .woocommerce-message .button:hover,
body.craftart-storefront-child .woocommerce-info .button:hover,
body.craftart-storefront-child .woocommerce-error .button:hover,
body.craftart-storefront-child .woocommerce-notices-wrapper .button:hover,
body.craftart-storefront-child .woocommerce-NoticeGroup .button:hover,
body.craftart-storefront-child .wc-forward:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--casf-primary-dark), var(--casf-primary-deep)) !important;
  color: #fff !important;
}

body.craftart-storefront-child .woocommerce-store-notice,
body.craftart-storefront-child p.demo_store {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 18px !important;
  top: auto !important;
  z-index: 99998 !important;
  width: min(760px, calc(100vw - 28px)) !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  padding: 13px 18px !important;
  border: 1px solid rgba(245, 158, 11, .25) !important;
  border-radius: var(--casf-pill) !important;
  background: rgba(255, 251, 235, .96) !important;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .14) !important;
  color: #78350f !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

body.craftart-storefront-child .woocommerce-store-notice a,
body.craftart-storefront-child p.demo_store a {
  color: #92400e !important;
  font-weight: 900 !important;
  text-decoration: underline !important;
}

body.craftart-storefront-child .wc-block-components-notice-banner {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 14px !important;
  padding: 15px 18px !important;
  border: 1px solid rgba(229, 231, 235, .95) !important;
  border-left: 5px solid var(--casf-primary) !important;
  border-radius: var(--casf-radius) !important;
  background: #fff !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .07) !important;
  color: var(--casf-text) !important;
}

body.craftart-storefront-child .wc-block-components-notice-banner.is-error {
  border-left-color: var(--casf-error) !important;
}

body.craftart-storefront-child .wc-block-components-notice-banner.is-warning {
  border-left-color: var(--casf-warning) !important;
}

body.craftart-storefront-child .woocommerce-password-strength,
body.craftart-storefront-child .woocommerce-password-hint {
  margin-top: 8px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--casf-border) !important;
  border-radius: 14px !important;
  background: var(--casf-card-soft) !important;
  color: var(--casf-muted) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}

body.craftart-storefront-child .woocommerce-password-strength.good,
body.craftart-storefront-child .woocommerce-password-strength.strong {
  border-color: rgba(27, 156, 133, .22) !important;
  background: rgba(27, 156, 133, .08) !important;
  color: var(--casf-primary-deep) !important;
}

body.craftart-storefront-child .woocommerce-password-strength.bad,
body.craftart-storefront-child .woocommerce-password-strength.short {
  border-color: rgba(220, 38, 38, .18) !important;
  background: rgba(220, 38, 38, .07) !important;
  color: #7f1d1d !important;
}

@media (max-width: 640px) {
  body.craftart-storefront-child .woocommerce-notices-wrapper:not(:empty),
  body.craftart-storefront-child .woocommerce-NoticeGroup,
  body.craftart-storefront-child .woocommerce-form-login-toggle,
  body.craftart-storefront-child .woocommerce-form-coupon-toggle {
    width: calc(100vw - 24px) !important;
    margin-bottom: 12px !important;
  }

  body.craftart-storefront-child .woocommerce-message,
  body.craftart-storefront-child .woocommerce-info,
  body.craftart-storefront-child .woocommerce-error,
  body.craftart-storefront-child .woocommerce-noreviews,
  body.craftart-storefront-child p.no-comments {
    min-height: 0 !important;
    margin-bottom: 12px !important;
    padding: 14px 14px 14px 52px !important;
    border-radius: 16px !important;
    font-size: 13px !important;
  }

  body.craftart-storefront-child .woocommerce-message::before,
  body.craftart-storefront-child .woocommerce-info::before,
  body.craftart-storefront-child .woocommerce-error::before,
  body.craftart-storefront-child .woocommerce-noreviews::before,
  body.craftart-storefront-child p.no-comments::before {
    top: 13px !important;
    left: 14px !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 13px !important;
  }

  body.craftart-storefront-child .woocommerce-message .button,
  body.craftart-storefront-child .woocommerce-info .button,
  body.craftart-storefront-child .woocommerce-error .button,
  body.craftart-storefront-child .woocommerce-notices-wrapper .button,
  body.craftart-storefront-child .woocommerce-NoticeGroup .button,
  body.craftart-storefront-child .wc-forward {
    float: none !important;
    width: 100% !important;
    min-height: 42px !important;
    margin: 10px 0 0 !important;
  }

  body.craftart-storefront-child .woocommerce-store-notice,
  body.craftart-storefront-child p.demo_store {
    bottom: 82px !important;
    width: calc(100vw - 24px) !important;
    border-radius: 18px !important;
    padding: 12px 14px !important;
  }
}
