/* Mesuke Surukai system states — v089 */
body#pagenotfound #wrapper,
body#order-confirmation #wrapper,
.ms-error-layout {
  background: #f5f0e6;
}

body#pagenotfound #wrapper { padding: clamp(2rem, 6vw, 5rem) 0; }

.ms-system-state,
.ms-empty-cart {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid rgba(92,55,53,.12);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(63,41,40,.07);
  color: #6b5551;
  text-align: center;
}

.ms-system-state__icon {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #f7e5e4;
  color: #ef3340;
}
.ms-system-state__icon .material-icons { font-size: 2.15rem; }
.ms-system-state__eyebrow {
  margin: 0 0 .6rem;
  color: #ef3340;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.ms-system-state h4,
.ms-empty-cart h2 {
  margin-bottom: .75rem;
  color: #3f2928;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 500;
  text-transform: none;
}
.ms-system-state .btn,
.ms-empty-cart .btn { margin-top: 1rem; }
.ms-system-state #search_widget { max-width: 500px; margin: 1.5rem auto 0; }

.ms-empty-cart { box-shadow: none; }
.ms-empty-cart + * { margin-top: 1.5rem; }
.ms-cart-grid-empty .cart-grid-body { width: 100%; max-width: 900px; margin: 0 auto; float: none; }
.ms-cart-grid-empty .cart-grid-right { display: none; }
.ms-cart-grid-empty .cart-container { border: 0; background: transparent; box-shadow: none; }
.ms-cart-grid-empty .cart-container > .card-block,
.ms-cart-grid-empty .cart-container > .separator { display: none; }
.ms-cart-grid-empty > .cart-grid-body > .label { display: none; }

#notifications { position: relative; z-index: 20; }
#notifications .notifications-container { padding-top: .75rem; }
#notifications .alert,
.help-block .alert {
  margin-bottom: .75rem;
  border: 0;
  border-left: 4px solid currentColor;
  border-radius: 2px;
  box-shadow: 0 8px 22px rgba(63,41,40,.08);
}
#notifications .alert ul,
.help-block ul { margin: 0; padding-left: 1.15rem; }

body#order-confirmation #wrapper { padding-bottom: 4rem; }
#order-confirmation .ms-order-success {
  border: 1px solid rgba(46,125,76,.22);
  border-top: 4px solid #2e7d4c;
  background: #fff;
  box-shadow: 0 14px 38px rgba(46,125,76,.08);
}
#order-confirmation .ms-order-success .done { color: #2e7d4c; }
#order-confirmation .page-order-confirmation,
#order-confirmation #content-hook_payment_return,
#order-confirmation .card { border-color: rgba(92,55,53,.12); border-radius: 3px; }
#order-confirmation #order-details ul { padding-left: 0; list-style: none; }
#order-confirmation #order-details li { padding: .45rem 0; border-bottom: 1px solid #eee4df; }

.ms-error-layout { min-height: 100vh; margin: 0; padding: clamp(1.5rem, 6vw, 5rem); }
.ms-error-layout #layout-error { max-width: 760px; margin: 0 auto; text-align: center; }
.ms-error-layout .page-header .logo img { width: auto; max-width: 230px; max-height: 100px; }
.ms-error-layout .page-header h1 { margin: 1.2rem 0 .75rem; color: #3f2928; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 500; }
.ms-error-layout .page-maintenance,
.ms-error-layout .page-restricted { margin-top: 1.5rem; padding: clamp(1.5rem, 5vw, 3rem); background: #fff; box-shadow: 0 14px 40px rgba(63,41,40,.07); }

.page-restricted.ms-system-state { margin: 2rem auto; }
.page-restricted.ms-system-state h2 { color: #3f2928; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 500; }

@media (max-width: 767px) {
  .ms-system-state,
  .ms-empty-cart { padding: 2rem 1.1rem; }
  #order-confirmation .order-line { padding: 1rem 0; }
}
