/* Native notices remain accessible and use the same palette as the storefront. */
body.maghsoodi-site .woocommerce-notices-wrapper:not(:empty) {
  width:100%; max-width:1200px; margin:24px auto 0; padding:0 24px;
}
body.maghsoodi-site .mgs-commerce-body .woocommerce-notices-wrapper:not(:empty) { max-width:none; margin:0; padding:0; }
body.maghsoodi-site :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) {
  position:relative; box-sizing:border-box; margin:0 0 24px!important;
  padding:18px 48px 18px 20px!important; border:1px solid #e5e0d8!important;
  border-radius:0!important; background:#f8f6f2!important; color:#514d47!important;
  font:400 13px/1.95 IRANYekanX,Tahoma,sans-serif!important; text-align:right;
  outline:0!important; box-shadow:none!important; list-style:none;
}
body.maghsoodi-site :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::after { content:none!important; }
body.maghsoodi-site :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before {
  position:absolute; right:20px!important; left:auto!important; top:23px!important;
  color:#8b6f47!important; font-size:15px; line-height:1;
}
body.maghsoodi-site .woocommerce-message::before {
  content:""!important; display:block; width:7px; height:12px;
  border:solid #8b6f47; border-width:0 1.5px 1.5px 0; transform:rotate(45deg);
}
body.maghsoodi-site .woocommerce-error { background:#fbf7f5!important; border-color:#dfcfc7!important; }
body.maghsoodi-site .woocommerce-error::before { color:#925043!important; }
body.maghsoodi-site .woocommerce-error li { margin:0; padding:0; font:inherit; }
body.maghsoodi-site .mgs-cart-confirmation { display:flex; align-items:center; justify-content:space-between; gap:20px 32px; min-width:0; }
body.maghsoodi-site .mgs-notice-copy { min-width:0; overflow-wrap:anywhere; }
body.maghsoodi-site .woocommerce-message .mgs-cart-confirmation > a.button {
  display:inline-flex!important; flex:0 0 auto; float:none!important; align-items:center; justify-content:center;
  width:auto!important; min-height:40px; margin:0!important; padding:8px 18px!important;
  border:1px solid #292521!important; border-radius:0!important; background:transparent!important;
  color:#292521!important; font:400 12px/1.8 IRANYekanX,Tahoma,sans-serif!important;
  text-decoration:none!important; box-shadow:none!important; white-space:nowrap;
  transition:background .18s ease,color .18s ease;
}
body.maghsoodi-site .woocommerce-message .mgs-cart-confirmation > a.button:hover { background:#292521!important; color:#fff!important; }
body.maghsoodi-site .woocommerce-message a:focus-visible { outline:2px solid #b5965c!important; outline-offset:4px; }
/* Checkout coupon disclosure is an inline prompt rather than a notice card. */
body.maghsoodi-site .woocommerce-form-coupon-toggle .woocommerce-info {
  margin:0!important; padding:0!important; border:0!important; background:transparent!important;
}
body.maghsoodi-site .woocommerce-form-coupon-toggle .woocommerce-info::before { display:none!important; }
@media(max-width:767px) {
  body.maghsoodi-site .woocommerce-notices-wrapper:not(:empty) { margin-top:20px; padding:0 20px; }
  body.maghsoodi-site .mgs-commerce-body .woocommerce-notices-wrapper:not(:empty) { margin:0; padding:0; }
  body.maghsoodi-site :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) { padding:16px 40px 16px 16px!important; font-size:12px!important; }
  body.maghsoodi-site :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before { right:16px!important; top:22px!important; }
  body.maghsoodi-site .mgs-cart-confirmation { flex-direction:column; align-items:flex-start; gap:12px; }
  body.maghsoodi-site .woocommerce-message .mgs-cart-confirmation > a.button { min-height:40px; padding-inline:16px!important; }
}
@media(prefers-reduced-motion:reduce) { body.maghsoodi-site .mgs-cart-confirmation > a.button { transition:none!important; } }
