/**
 * Stafflancer customer-facing WooCommerce page polish.
 */

/* Cart page padding polish */
body.woocommerce-cart .site-main,
body.woocommerce-cart main,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .woocommerce {
  box-sizing: border-box;
}

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .woocommerce {
  padding-top: 80px;
}

body.woocommerce-cart .entry-content,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .woocommerce {
  padding-right: 50px;
  padding-left: 50px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart {
  padding-top: 0;
  padding-right: 0;
  padding-left: 0;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:visited,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-cart__submit-button:visited {
  color: #ffffff !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:focus,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:active,
body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:focus,
body.woocommerce-cart .wc-block-cart__submit-button:active {
  color: #ffffff !important;
}

body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text {
  color: #ffffff !important;
}

/* My Account portal shell */
body.spm-customer-account-page {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.13), transparent 30rem),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

body.spm-customer-account-page .entry-header .entry-title,
body.spm-customer-account-page .page-header .page-title,
body.spm-customer-account-page .woocommerce > h2,
body.spm-customer-account-page .woocommerce #customer_login > h2,
body.spm-customer-account-page .woocommerce #customer_login .u-column1 > h2,
body.spm-customer-account-page .woocommerce #customer_login .u-column2 > h2 {
  display: none;
}

body.spm-customer-account-page .entry-content,
body.spm-customer-account-page .site-main,
body.spm-customer-account-page main {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

body.spm-customer-account-page .spm-account-hero,
body.spm-customer-account-page .spm-account-portal-hero {
  width: min(1120px, calc(100% - 40px));
  max-width: 1120px;
  margin: 38px auto 26px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.32), transparent 22rem),
    linear-gradient(135deg, #081832 0%, #12337a 56%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
}

body.spm-customer-account-page .spm-account-portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: end;
}

body.spm-customer-account-page .spm-account-hero span,
body.spm-customer-account-page .spm-account-portal-hero span,
body.spm-customer-account-page .spm-account-dashboard-bridge span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.spm-customer-account-page .spm-account-hero h1,
body.spm-customer-account-page .spm-account-portal-hero h1 {
  max-width: 780px;
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

body.spm-customer-account-page .spm-account-hero p,
body.spm-customer-account-page .spm-account-portal-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.72;
}

body.spm-customer-account-page .spm-account-benefits,
body.spm-customer-account-page .spm-account-portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

body.spm-customer-account-page .spm-account-portal-actions {
  justify-content: flex-end;
  margin-top: 0;
}

body.spm-customer-account-page .spm-account-benefits strong,
body.spm-customer-account-page .spm-account-portal-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

body.spm-customer-account-page .woocommerce {
  width: min(1120px, calc(100% - 40px));
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

body.spm-customer-account-page .woocommerce #customer_login,
body.spm-customer-account-page .woocommerce form.login,
body.spm-customer-account-page .woocommerce form.register,
body.spm-customer-account-page .woocommerce form.lost_reset_password {
  width: min(100%, 700px);
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
}

body.spm-customer-account-page .woocommerce form.login,
body.spm-customer-account-page .woocommerce form.register,
body.spm-customer-account-page .woocommerce form.lost_reset_password,
body.spm-customer-account-page .woocommerce-MyAccount-content,
body.spm-customer-account-page .woocommerce-MyAccount-navigation {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
}

body.spm-customer-account-page .woocommerce form.login,
body.spm-customer-account-page .woocommerce form.register,
body.spm-customer-account-page .woocommerce form.lost_reset_password {
  margin-bottom: 48px;
  padding: clamp(24px, 4vw, 36px);
}

body.spm-customer-account-page .woocommerce form.login .form-row,
body.spm-customer-account-page .woocommerce form.register .form-row,
body.spm-customer-account-page .woocommerce form.lost_reset_password .form-row {
  margin-bottom: 18px;
}

body.spm-customer-account-page .woocommerce form.login label,
body.spm-customer-account-page .woocommerce form.register label,
body.spm-customer-account-page .woocommerce form.lost_reset_password label {
  display: block;
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 650;
}

body.spm-customer-account-page .woocommerce form.login input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),
body.spm-customer-account-page .woocommerce form.register input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),
body.spm-customer-account-page .woocommerce form.lost_reset_password input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),
body.spm-customer-account-page .woocommerce-MyAccount-content input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),
body.spm-customer-account-page .woocommerce-MyAccount-content select,
body.spm-customer-account-page .woocommerce-MyAccount-content textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 14px;
  background: #f8fafc;
  color: #0f172a;
}

body.spm-customer-account-page .woocommerce form.login input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):focus,
body.spm-customer-account-page .woocommerce form.register input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):focus,
body.spm-customer-account-page .woocommerce form.lost_reset_password input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):focus,
body.spm-customer-account-page .woocommerce-MyAccount-content input:focus,
body.spm-customer-account-page .woocommerce-MyAccount-content select:focus,
body.spm-customer-account-page .woocommerce-MyAccount-content textarea:focus {
  border-color: rgba(37, 99, 235, 0.46);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  outline: none;
}

body.spm-customer-account-page .woocommerce form.login .woocommerce-form-login__rememberme,
body.spm-customer-account-page .woocommerce form.login label.woocommerce-form__label-for-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: auto;
  min-height: 0;
  margin: 4px 0 18px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

body.spm-customer-account-page .woocommerce form.login input[type="checkbox"],
body.spm-customer-account-page .woocommerce form.register input[type="checkbox"],
body.spm-customer-account-page .woocommerce form.lost_reset_password input[type="checkbox"],
body.spm-customer-account-page .woocommerce-MyAccount-content input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  margin: 0;
  padding: 0;
  border-radius: 5px;
  box-shadow: none;
}

body.spm-customer-account-page .woocommerce button.button,
body.spm-customer-account-page .woocommerce a.button,
body.spm-customer-account-page .woocommerce form.login .woocommerce-form-login__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.24);
}

body.spm-customer-account-page .woocommerce-LostPassword a,
body.spm-customer-account-page .woocommerce form.login a {
  color: #2563eb;
  font-weight: 500;
}

body.spm-customer-account-page .woocommerce-MyAccount-navigation {
  float: none;
  width: 100%;
  margin: 0 0 22px;
  padding: 14px;
}

body.spm-customer-account-page .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.spm-customer-account-page .woocommerce-MyAccount-navigation li {
  margin: 0;
  padding: 0;
}

body.spm-customer-account-page .woocommerce-MyAccount-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

body.spm-customer-account-page .woocommerce-MyAccount-navigation .is-active a,
body.spm-customer-account-page .woocommerce-MyAccount-navigation a:hover,
body.spm-customer-account-page .woocommerce-MyAccount-navigation a:focus {
  background: #2563eb;
  color: #ffffff;
}

body.spm-customer-account-page .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
  min-height: 220px;
  padding: clamp(22px, 4vw, 36px);
  color: #334155;
  line-height: 1.7;
}

body.spm-customer-account-page .woocommerce-MyAccount-content table,
body.spm-customer-account-page .woocommerce-MyAccount-content .woocommerce-orders-table,
body.spm-customer-account-page .woocommerce-MyAccount-content .woocommerce-table {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  background: #ffffff;
}

body.spm-customer-account-page .woocommerce-MyAccount-content mark,
body.spm-customer-account-page .woocommerce-MyAccount-content .woocommerce-Price-amount {
  border-radius: 999px;
  background: #eef4ff;
  color: #12337a;
  font-weight: 800;
}

body.spm-customer-account-page .woocommerce-message,
body.spm-customer-account-page .woocommerce-info,
body.spm-customer-account-page .woocommerce-error {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

body.spm-customer-account-page .spm-account-dashboard-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 26px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 24px;
  background: linear-gradient(135deg, #eef4ff 0%, #ffffff 76%);
}

body.spm-customer-account-page .spm-account-dashboard-bridge span {
  margin-bottom: 8px;
  color: #2563eb;
}

body.spm-customer-account-page .spm-account-dashboard-bridge h2 {
  margin: 0 0 7px;
  color: #0f172a;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

body.spm-customer-account-page .spm-account-dashboard-bridge p {
  max-width: 660px;
  margin: 0;
  color: #64748b;
}

body.spm-customer-account-page .spm-account-dashboard-bridge a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #202832;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 860px) {
  body.spm-customer-account-page .spm-account-portal-hero,
  body.spm-customer-account-page .spm-account-dashboard-bridge {
    grid-template-columns: 1fr;
  }

  body.spm-customer-account-page .spm-account-portal-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body.woocommerce-cart .entry-content,
  body.woocommerce-cart .wp-block-woocommerce-cart,
  body.woocommerce-cart .wc-block-cart,
  body.woocommerce-cart .woocommerce {
    padding-right: 18px;
    padding-left: 18px;
  }

  body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart {
    padding-right: 0;
    padding-left: 0;
  }

  body.spm-customer-account-page .spm-account-hero,
  body.spm-customer-account-page .spm-account-portal-hero,
  body.spm-customer-account-page .woocommerce {
    width: min(100% - 28px, 1120px);
  }

  body.spm-customer-account-page .woocommerce form.login,
  body.spm-customer-account-page .woocommerce form.register,
  body.spm-customer-account-page .woocommerce form.lost_reset_password {
    width: 100%;
  }

  body.spm-customer-account-page .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.spm-customer-account-page .woocommerce-MyAccount-navigation a,
  body.spm-customer-account-page .spm-account-dashboard-bridge a {
    width: 100%;
  }
}

/* v2.4.5 Customer Portal Banner Width Polish */
body.spm-customer-account-page {
  --spm-customer-portal-edge-gap: clamp(28px, 4vw, 72px);
}

body.spm-customer-account-page .spm-account-hero,
body.spm-customer-account-page .spm-account-portal-hero {
  width: calc(100vw - (var(--spm-customer-portal-edge-gap) * 2));
  max-width: none;
  margin-right: calc(50% - 50vw + var(--spm-customer-portal-edge-gap));
  margin-left: calc(50% - 50vw + var(--spm-customer-portal-edge-gap));
}

@media (max-width: 760px) {
  body.spm-customer-account-page {
    --spm-customer-portal-edge-gap: 14px;
  }

  body.spm-customer-account-page .spm-account-hero,
  body.spm-customer-account-page .spm-account-portal-hero {
    width: min(100% - 28px, 1120px);
    margin-right: auto;
    margin-left: auto;
  }
}


/* ===== v2.5.83 empty cart block/page takeover hardening ===== */
body.woocommerce-cart.spm-empty-cart-body,
body.woocommerce-cart.spm-empty-cart-body #page,
body.woocommerce-cart.spm-empty-cart-body .site,
body.woocommerce-cart.spm-empty-cart-body .wp-site-blocks,
body.woocommerce-cart.spm-empty-cart-body main,
body.woocommerce-cart.spm-empty-cart-body .site-main,
body.woocommerce-cart.spm-empty-cart-body .entry-content,
body.woocommerce-cart.spm-empty-cart-body .woocommerce {
  background:
    radial-gradient(circle at 84% 8%, rgba(59, 130, 246, 0.18) 0%, transparent 42%),
    radial-gradient(circle at 7% 42%, rgba(16, 185, 129, 0.08) 0%, transparent 36%),
    radial-gradient(circle at 66% 96%, rgba(124, 58, 237, 0.13) 0%, transparent 42%),
    linear-gradient(135deg, #0f172a 0%, #1a2949 100%) !important;
  color: #f8fbff;
}

body.woocommerce-cart.spm-empty-cart-body {
  overflow-x: hidden !important;
}

body.woocommerce-cart.spm-empty-cart-body .entry-content,
body.woocommerce-cart.spm-empty-cart-body .woocommerce,
body.woocommerce-cart.spm-empty-cart-body .wc-block-components-main,
body.woocommerce-cart.spm-empty-cart-body .wc-block-cart {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

body.woocommerce-cart.spm-empty-cart-body .spm-empty-cart-page {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.woocommerce-cart.spm-empty-cart-body .wp-block-post-title,
body.woocommerce-cart.spm-empty-cart-body .entry-title {
  display: none !important;
}

/* ===== v2.5.82 empty cart approved design ===== */
body.woocommerce-cart {
  background:
    radial-gradient(circle at 84% 8%, rgba(59, 130, 246, 0.18) 0%, transparent 42%),
    radial-gradient(circle at 7% 42%, rgba(16, 185, 129, 0.08) 0%, transparent 36%),
    radial-gradient(circle at 66% 96%, rgba(124, 58, 237, 0.13) 0%, transparent 42%),
    linear-gradient(135deg, #0f172a 0%, #1a2949 100%) !important;
}

body.woocommerce-cart .entry-header,
body.woocommerce-cart .page-header,
body.woocommerce-cart .entry-title,
body.woocommerce-cart .page-title,
body.woocommerce-cart .woocommerce-cart-form__contents .actions .coupon,
body.woocommerce-cart .woocommerce-notices-wrapper:empty {
  display: none !important;
}

body.woocommerce-cart .site-main,
body.woocommerce-cart main,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .woocommerce {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #f8fbff;
}

body.woocommerce-cart .spm-empty-cart-page,
body.woocommerce-cart .spm-empty-cart-page * {
  box-sizing: border-box;
}

body.woocommerce-cart .spm-empty-cart-page {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: calc(100vh - 80px);
  padding: 70px 0 86px;
  color: #f8fbff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.16) 0%, rgba(15, 23, 42, 0.58) 100%),
    radial-gradient(ellipse 70% 45% at 50% -10%, rgba(96, 165, 250, 0.18), transparent 70%);
  -webkit-font-smoothing: antialiased;
}

body.woocommerce-cart .spm-empty-cart-page a {
  color: inherit;
  text-decoration: none;
}

body.woocommerce-cart .spm-empty-cart-shell {
  position: relative;
  width: min(1400px, calc(100% - 56px));
  margin: 0 auto;
}

body.woocommerce-cart .spm-empty-cart-state {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 64px;
}

body.woocommerce-cart .spm-empty-cart-card {
  width: min(1080px, 100%);
  margin-right: auto;
  margin-left: auto;
  padding: 54px 54px 48px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.72) 0%, rgba(51, 65, 85, 0.38) 100%);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.38);
  text-align: center;
}

body.woocommerce-cart .spm-empty-cart-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(135deg, #5b5fe8, #2563eb);
  box-shadow: 0 24px 55px rgba(37, 99, 235, 0.34);
}

body.woocommerce-cart .spm-empty-cart-icon svg {
  width: 34px;
  height: 34px;
}

body.woocommerce-cart .spm-empty-cart-eyebrow,
body.woocommerce-cart .spm-empty-cart-section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 18px;
  padding: 6px 12px;
  border: 1px solid rgba(59, 130, 246, 0.30);
  border-radius: 999px;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.10);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.woocommerce-cart .spm-empty-cart-section-label {
  display: block;
  width: fit-content;
  border: 0;
  background: transparent;
  padding: 0;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

body.woocommerce-cart .spm-empty-cart-card h1,
body.woocommerce-cart .spm-empty-cart-suggestions-head h2 {
  margin: 0;
  color: #ffffff !important;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400 !important;
  letter-spacing: -0.045em;
}

body.woocommerce-cart .spm-empty-cart-card h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.96;
}

body.woocommerce-cart .spm-empty-cart-card h1 em {
  color: #93c5fd;
  font-style: italic;
}

body.woocommerce-cart .spm-empty-cart-card p,
body.woocommerce-cart .spm-empty-cart-suggestions-head p {
  width: min(620px, 100%);
  margin: 0 auto 30px;
  color: #cbd5e1 !important;
  font-size: 17px;
  line-height: 1.7;
}

body.woocommerce-cart .spm-empty-cart-actions {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

body.woocommerce-cart .spm-empty-cart-btn,
body.woocommerce-cart a.spm-empty-cart-btn,
body.woocommerce-cart button.spm-empty-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 12px;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

body.woocommerce-cart .spm-empty-cart-btn-primary {
  border: 0;
  background: linear-gradient(135deg, #5b5fe8, #2563eb);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.26);
}

body.woocommerce-cart .spm-empty-cart-btn-primary:hover,
body.woocommerce-cart .spm-empty-cart-btn-primary:focus {
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 20px 46px rgba(37, 99, 235, 0.36);
}

body.woocommerce-cart .spm-empty-cart-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78) !important;
  background: rgba(255, 255, 255, 0.045);
}

body.woocommerce-cart .spm-empty-cart-btn-secondary:hover,
body.woocommerce-cart .spm-empty-cart-btn-secondary:focus {
  border-color: rgba(96, 165, 250, 0.42);
  color: #ffffff !important;
  background: rgba(96, 165, 250, 0.10);
  transform: translateY(-1px);
}

body.woocommerce-cart .spm-empty-cart-suggestions-head {
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

body.woocommerce-cart .spm-empty-cart-suggestions-head h2 {
  margin-bottom: 12px;
  font-size: clamp(38px, 4.5vw, 66px);
  line-height: 1.02;
}

body.woocommerce-cart .spm-empty-cart-suggestions-head p {
  margin-bottom: 0;
  font-size: 16px;
}

body.woocommerce-cart .spm-empty-cart-products {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body.woocommerce-cart .spm-empty-cart-product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.64) 0%, rgba(51, 65, 85, 0.34) 100%);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

body.woocommerce-cart .spm-empty-cart-product-media {
  position: relative;
  height: 206px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.76);
}

body.woocommerce-cart .spm-empty-cart-product-media svg {
  display: block;
  width: 100%;
  height: 100%;
}

body.woocommerce-cart .spm-empty-cart-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.94);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

body.woocommerce-cart .spm-empty-cart-badge-free {
  border-color: rgba(16, 185, 129, 0.28);
  color: #b7f7de;
  background: rgba(16, 185, 129, 0.18);
}

body.woocommerce-cart .spm-empty-cart-product-card h3 {
  margin: 0 0 8px;
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

body.woocommerce-cart .spm-empty-cart-product-card p {
  margin: 0 0 14px;
  color: rgba(203, 213, 225, 0.76) !important;
  font-size: 13px;
  line-height: 1.6;
}

body.woocommerce-cart .spm-empty-cart-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

body.woocommerce-cart .spm-empty-cart-price-row strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

body.woocommerce-cart .spm-empty-cart-price-row span {
  color: rgba(203, 213, 225, 0.68);
  font-size: 12px;
  font-weight: 700;
}

body.woocommerce-cart .spm-empty-cart-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

body.woocommerce-cart .spm-empty-cart-card-actions-single {
  grid-template-columns: 1fr;
}

body.woocommerce-cart .spm-empty-cart-card-actions .spm-empty-cart-btn {
  min-height: 44px;
  padding: 11px 12px;
  border-radius: 11px;
  font-size: 13px;
}

body.woocommerce-cart .spm-empty-cart-trust-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

body.woocommerce-cart .spm-empty-cart-trust-item {
  display: flex;
  align-items: center;
  min-height: 70px;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.42);
}

body.woocommerce-cart .spm-empty-cart-trust-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.10);
}

body.woocommerce-cart .spm-empty-cart-trust-item strong,
body.woocommerce-cart .spm-empty-cart-trust-item span {
  display: block;
}

body.woocommerce-cart .spm-empty-cart-trust-item strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.35;
}

body.woocommerce-cart .spm-empty-cart-trust-item span {
  margin-top: 2px;
  color: rgba(203, 213, 225, 0.66);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  body.woocommerce-cart .spm-empty-cart-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.woocommerce-cart .spm-empty-cart-product-media {
    height: 230px;
  }
}

@media (max-width: 760px) {
  body.woocommerce-cart .spm-empty-cart-page {
    padding: 46px 0 68px;
  }

  body.woocommerce-cart .spm-empty-cart-shell {
    width: calc(100% - 32px);
  }

  body.woocommerce-cart .spm-empty-cart-card {
    padding: 38px 22px 30px;
    border-radius: 24px;
  }

  body.woocommerce-cart .spm-empty-cart-icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
  }

  body.woocommerce-cart .spm-empty-cart-card h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  body.woocommerce-cart .spm-empty-cart-card p {
    font-size: 15px;
  }

  body.woocommerce-cart .spm-empty-cart-actions,
  body.woocommerce-cart .spm-empty-cart-card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.woocommerce-cart .spm-empty-cart-btn {
    width: 100%;
  }

  body.woocommerce-cart .spm-empty-cart-products,
  body.woocommerce-cart .spm-empty-cart-trust-strip {
    grid-template-columns: 1fr;
  }

  body.woocommerce-cart .spm-empty-cart-product-media {
    height: clamp(190px, 58vw, 270px);
  }

  body.woocommerce-cart .spm-empty-cart-trust-strip {
    margin-top: 24px;
  }
}


/* ===== v2.5.84 empty cart overflow and heading parity repair ===== */
body.woocommerce-cart.spm-empty-cart-body {
  overflow-x: hidden !important;
}

body.woocommerce-cart.spm-empty-cart-body .spm-empty-cart-page {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  overflow-x: hidden !important;
}

body.woocommerce-cart.spm-empty-cart-body .spm-empty-cart-shell,
body.woocommerce-cart.spm-empty-cart-body .spm-empty-cart-state,
body.woocommerce-cart.spm-empty-cart-body .spm-empty-cart-products,
body.woocommerce-cart.spm-empty-cart-body .spm-empty-cart-trust-strip {
  max-width: 100% !important;
  min-width: 0 !important;
}

body.woocommerce-cart.spm-empty-cart-body .spm-empty-cart-card {
  width: min(1080px, 100%);
}

body.woocommerce-cart.spm-empty-cart-body .spm-empty-cart-card h1,
body.woocommerce-cart.spm-empty-cart-body .spm-empty-cart-suggestions-head h2 {
  font-family: "Instrument Serif", Georgia, serif !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  letter-spacing: -0.045em;
}

body.woocommerce-cart.spm-empty-cart-body .spm-empty-cart-card h1 {
  font-size: clamp(48px, 6vw, 84px) !important;
  line-height: 0.96 !important;
}

body.woocommerce-cart.spm-empty-cart-body .spm-empty-cart-suggestions-head h2 {
  font-size: clamp(38px, 4.5vw, 66px) !important;
  line-height: 1.02 !important;
}

@media (min-width: 1200px) {
  body.woocommerce-cart.spm-empty-cart-body .spm-empty-cart-card h1 {
    white-space: nowrap;
  }
}

@media (max-width: 1199px) {
  body.woocommerce-cart.spm-empty-cart-body .spm-empty-cart-card h1 {
    white-space: normal;
  }
}

/* v2.5.90 thank-you page text-contrast and overview-row alignment polish */
body.woocommerce-order-received {
  background:
    radial-gradient(circle at 82% 8%, rgba(59, 130, 246, 0.16) 0%, transparent 42%),
    radial-gradient(circle at 8% 48%, rgba(16, 185, 129, 0.07) 0%, transparent 38%),
    radial-gradient(circle at 70% 92%, rgba(124, 58, 237, 0.10) 0%, transparent 42%),
    linear-gradient(135deg, #0F172A 0%, #1A2949 100%);
  color: #f8fbff;
}

body.woocommerce-order-received .site,
body.woocommerce-order-received .site-main,
body.woocommerce-order-received main,
body.woocommerce-order-received .entry-content,
body.woocommerce-order-received .wp-site-blocks,
body.woocommerce-order-received .wp-block-post-content {
  background: transparent !important;
}

body.woocommerce-order-received .entry-title,
body.woocommerce-order-received .page-title,
body.woocommerce-order-received header.entry-header {
  display: none !important;
}

body.woocommerce-order-received .woocommerce {
  width: min(1240px, calc(100% - 56px));
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 78px) 0 88px;
  color: #f8fbff;
}

body.woocommerce-order-received .woocommerce > p:first-child,
body.woocommerce-order-received .woocommerce-thankyou-order-received {
  position: relative;
  margin: 0 0 28px;
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.24), transparent 24rem),
    linear-gradient(135deg, rgba(30, 41, 59, 0.72) 0%, rgba(51, 65, 85, 0.38) 100%);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.26);
  color: #ffffff;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

body.woocommerce-order-received .woocommerce > p:not(.woocommerce-thankyou-order-received) {
  max-width: 840px;
  margin: 18px 0 24px;
  color: rgba(203, 213, 225, 0.84);
  font-size: 17px;
  line-height: 1.72;
}

body.woocommerce-order-received .woocommerce-order-overview,
body.woocommerce-order-received ul.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

body.woocommerce-order-received .woocommerce-order-overview li,
body.woocommerce-order-received ul.woocommerce-order-overview li {
  min-height: 94px;
  margin: 0;
  padding: 18px 18px 16px;
  border: 1px solid rgba(96, 165, 250, 0.20);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.54);
  color: rgba(203, 213, 225, 0.76);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-transform: uppercase;
}

body.woocommerce-order-received .woocommerce-order-overview li strong,
body.woocommerce-order-received ul.woocommerce-order-overview li strong {
  display: block;
  margin-top: 7px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: none;
  overflow-wrap: anywhere;
}

body.woocommerce-order-received .woocommerce-bacs-bank-details,
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
  margin: 28px 0 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.62) 0%, rgba(51, 65, 85, 0.34) 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  color: #f8fbff;
}

body.woocommerce-order-received .woocommerce-bacs-bank-details h2,
body.woocommerce-order-received .woocommerce-order-details h2,
body.woocommerce-order-received .woocommerce-customer-details h2,
body.woocommerce-order-received .woocommerce-column__title {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

body.woocommerce-order-received .woocommerce-bacs-bank-details h3 {
  display: block !important;
  float: none !important;
  clear: both;
  width: 100%;
  max-width: none;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

body.woocommerce-order-received .wc-bacs-bank-details,
body.woocommerce-order-received ul.wc-bacs-bank-details,
body.woocommerce-order-received .woocommerce-bacs-bank-details .order_details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 28px;
  padding: 0;
  list-style: none;
}

body.woocommerce-order-received .woocommerce-bacs-bank-details .wc-bacs-bank-details,
body.woocommerce-order-received .woocommerce-bacs-bank-details ul.wc-bacs-bank-details,
body.woocommerce-order-received .woocommerce-bacs-bank-details .order_details {
  clear: both;
  width: 100%;
  max-width: none;
}

body.woocommerce-order-received .wc-bacs-bank-details li,
body.woocommerce-order-received ul.wc-bacs-bank-details li,
body.woocommerce-order-received .woocommerce-bacs-bank-details .order_details li {
  min-height: 78px;
  margin: 0;
  padding: 15px 16px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.48);
  color: rgba(203, 213, 225, 0.74);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

body.woocommerce-order-received .wc-bacs-bank-details li strong,
body.woocommerce-order-received ul.wc-bacs-bank-details li strong,
body.woocommerce-order-received .woocommerce-bacs-bank-details .order_details li strong {
  display: block;
  margin-top: 6px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-transform: none;
}

body.woocommerce-order-received .woocommerce table.shop_table,
body.woocommerce-order-received .woocommerce-table--order-details,
body.woocommerce-order-received .woocommerce-order-details table,
body.woocommerce-order-received .woocommerce-customer-details address {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(96, 165, 250, 0.20);
  border-radius: 18px;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(15, 23, 42, 0.44);
  color: #f8fbff;
  overflow: hidden;
}

body.woocommerce-order-received .woocommerce table.shop_table th,
body.woocommerce-order-received .woocommerce table.shop_table td,
body.woocommerce-order-received .woocommerce-table--order-details th,
body.woocommerce-order-received .woocommerce-table--order-details td {
  padding: 16px 18px;
  border-color: rgba(96, 165, 250, 0.18);
  color: #f8fbff;
  font-size: 15px;
  line-height: 1.55;
}

body.woocommerce-order-received .woocommerce table.shop_table thead th,
body.woocommerce-order-received .woocommerce-table--order-details thead th {
  background: rgba(30, 41, 59, 0.66);
  color: #ffffff;
  font-weight: 700;
}

body.woocommerce-order-received .woocommerce table.shop_table tfoot th,
body.woocommerce-order-received .woocommerce table.shop_table tfoot td,
body.woocommerce-order-received .woocommerce-table--order-details tfoot th,
body.woocommerce-order-received .woocommerce-table--order-details tfoot td {
  color: #ffffff;
  font-weight: 700;
}

body.woocommerce-order-received .woocommerce table.shop_table tbody tr,
body.woocommerce-order-received .woocommerce table.shop_table tfoot tr,
body.woocommerce-order-received .woocommerce-table--order-details tbody tr,
body.woocommerce-order-received .woocommerce-table--order-details tfoot tr {
  background: rgba(15, 23, 42, 0.44);
}

body.woocommerce-order-received .woocommerce table.shop_table tbody th,
body.woocommerce-order-received .woocommerce table.shop_table tbody td,
body.woocommerce-order-received .woocommerce table.shop_table tfoot th,
body.woocommerce-order-received .woocommerce table.shop_table tfoot td,
body.woocommerce-order-received .woocommerce-table--order-details tbody th,
body.woocommerce-order-received .woocommerce-table--order-details tbody td,
body.woocommerce-order-received .woocommerce-table--order-details tfoot th,
body.woocommerce-order-received .woocommerce-table--order-details tfoot td {
  background: transparent !important;
  color: #f8fbff !important;
}

body.woocommerce-order-received .woocommerce table.shop_table tbody th,
body.woocommerce-order-received .woocommerce table.shop_table tfoot th,
body.woocommerce-order-received .woocommerce-table--order-details tbody th,
body.woocommerce-order-received .woocommerce-table--order-details tfoot th {
  font-weight: 700;
}

body.woocommerce-order-received .woocommerce-bacs-bank-details p,
body.woocommerce-order-received .woocommerce-order-details p,
body.woocommerce-order-received .woocommerce-customer-details p,
body.woocommerce-order-received .woocommerce-order-details strong,
body.woocommerce-order-received .woocommerce-customer-details strong,
body.woocommerce-order-received .woocommerce table.shop_table,
body.woocommerce-order-received .woocommerce table.shop_table * {
  color: #f8fbff;
}

body.woocommerce-order-received .woocommerce a,
body.woocommerce-order-received .woocommerce a:visited {
  color: #93c5fd;
  font-weight: 700;
  text-decoration: none;
}

body.woocommerce-order-received .woocommerce a:hover,
body.woocommerce-order-received .woocommerce a:focus {
  color: #ffffff;
}

body.woocommerce-order-received .woocommerce-customer-details address {
  padding: 20px;
  color: rgba(203, 213, 225, 0.86);
  font-style: normal;
  line-height: 1.72;
}

body.woocommerce-order-received .woocommerce-customer-details address br {
  display: block;
  content: "";
  margin-bottom: 3px;
}

body.woocommerce-order-received .woocommerce,
body.woocommerce-order-received .woocommerce p,
body.woocommerce-order-received .woocommerce span,
body.woocommerce-order-received .woocommerce strong,
body.woocommerce-order-received .woocommerce li,
body.woocommerce-order-received .woocommerce dt,
body.woocommerce-order-received .woocommerce dd,
body.woocommerce-order-received .woocommerce address {
  color: #f8fbff;
}

body.woocommerce-order-received .woocommerce > p:not(.woocommerce-thankyou-order-received),
body.woocommerce-order-received .woocommerce .woocommerce-notice,
body.woocommerce-order-received .woocommerce .woocommerce-order p {
  color: rgba(248, 251, 255, 0.88) !important;
}

body.woocommerce-order-received .woocommerce-order-overview,
body.woocommerce-order-received ul.woocommerce-order-overview,
body.woocommerce-order-received .wc-bacs-bank-details,
body.woocommerce-order-received ul.wc-bacs-bank-details,
body.woocommerce-order-received .woocommerce-bacs-bank-details .order_details {
  display: grid !important;
}

body.woocommerce-order-received .woocommerce-order-overview li,
body.woocommerce-order-received ul.woocommerce-order-overview li,
body.woocommerce-order-received .wc-bacs-bank-details li,
body.woocommerce-order-received ul.wc-bacs-bank-details li,
body.woocommerce-order-received .woocommerce-bacs-bank-details .order_details li {
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-width: 0;
  border-right: 0 !important;
}

body.woocommerce-order-received .wc-bacs-bank-details li.spm_payment_note,
body.woocommerce-order-received ul.wc-bacs-bank-details li.spm_payment_note,
body.woocommerce-order-received .woocommerce-bacs-bank-details .order_details li.spm_payment_note {
  grid-column: 1 / -1;
  min-height: 0;
  padding: 14px 16px;
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.28);
  color: rgba(248, 251, 255, 0.92) !important;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  line-height: 1.55;
}

body.woocommerce-order-received .wc-bacs-bank-details li.spm_payment_note strong,
body.woocommerce-order-received ul.wc-bacs-bank-details li.spm_payment_note strong,
body.woocommerce-order-received .woocommerce-bacs-bank-details .order_details li.spm_payment_note strong {
  display: inline;
  margin: 0 6px 0 0;
  color: #ffffff !important;
  font-size: 14px;
  line-height: 1.55;
}

body.woocommerce-order-received .woocommerce-order-overview,
body.woocommerce-order-received ul.woocommerce-order-overview {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

body.woocommerce-order-received .woocommerce-order-overview li.woocommerce-order-overview__payment-method,
body.woocommerce-order-received ul.woocommerce-order-overview li.woocommerce-order-overview__payment-method,
body.woocommerce-order-received .woocommerce-order-overview li.method,
body.woocommerce-order-received ul.woocommerce-order-overview li.method {
  grid-column: auto;
  grid-row: auto;
}

body.woocommerce-order-received .woocommerce p,
body.woocommerce-order-received .woocommerce p strong,
body.woocommerce-order-received .woocommerce .woocommerce-order p,
body.woocommerce-order-received .woocommerce .woocommerce-bacs-bank-details p,
body.woocommerce-order-received .woocommerce .woocommerce-bacs-bank-details p strong,
body.woocommerce-order-received .woocommerce .wc-bacs-bank-details,
body.woocommerce-order-received .woocommerce .wc-bacs-bank-details *:not(a),
body.woocommerce-order-received .woocommerce .woocommerce-order-overview,
body.woocommerce-order-received .woocommerce .woocommerce-order-overview *:not(a) {
  color: #f8fbff !important;
}

@media (max-width: 980px) {
  body.woocommerce-order-received .woocommerce-order-overview,
  body.woocommerce-order-received ul.woocommerce-order-overview,
  body.woocommerce-order-received .wc-bacs-bank-details,
  body.woocommerce-order-received ul.wc-bacs-bank-details,
  body.woocommerce-order-received .woocommerce-bacs-bank-details .order_details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.woocommerce-order-received .woocommerce {
    width: calc(100% - 32px);
    padding-top: 34px;
    padding-bottom: 62px;
  }

  body.woocommerce-order-received .woocommerce > p:first-child,
  body.woocommerce-order-received .woocommerce-thankyou-order-received,
  body.woocommerce-order-received .woocommerce-bacs-bank-details,
  body.woocommerce-order-received .woocommerce-order-details,
  body.woocommerce-order-received .woocommerce-customer-details {
    border-radius: 22px;
  }

  body.woocommerce-order-received .woocommerce-order-overview,
  body.woocommerce-order-received ul.woocommerce-order-overview,
  body.woocommerce-order-received .wc-bacs-bank-details,
  body.woocommerce-order-received ul.wc-bacs-bank-details,
  body.woocommerce-order-received .woocommerce-bacs-bank-details .order_details {
    grid-template-columns: 1fr;
  }

  body.woocommerce-order-received .woocommerce table.shop_table,
  body.woocommerce-order-received .woocommerce-table--order-details,
  body.woocommerce-order-received .woocommerce-order-details table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* v2.5.91 thank-you overview five-card lock */
body.woocommerce-order-received .woocommerce .woocommerce-order-overview,
body.woocommerce-order-received .woocommerce ul.woocommerce-order-overview,
body.woocommerce-order-received .woocommerce ul.order_details.woocommerce-order-overview,
body.woocommerce-order-received .woocommerce .woocommerce-order ul.order_details.woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

body.woocommerce-order-received .woocommerce .woocommerce-order-overview::before,
body.woocommerce-order-received .woocommerce .woocommerce-order-overview::after,
body.woocommerce-order-received .woocommerce ul.order_details.woocommerce-order-overview::before,
body.woocommerce-order-received .woocommerce ul.order_details.woocommerce-order-overview::after {
  content: none !important;
  display: none !important;
}

body.woocommerce-order-received .woocommerce .woocommerce-order-overview li,
body.woocommerce-order-received .woocommerce ul.woocommerce-order-overview li,
body.woocommerce-order-received .woocommerce ul.order_details.woocommerce-order-overview li,
body.woocommerce-order-received .woocommerce .woocommerce-order ul.order_details.woocommerce-order-overview li {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  grid-column: auto !important;
  grid-row: auto !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 0 1 auto !important;
  flex-basis: auto !important;
  box-sizing: border-box !important;
}

body.woocommerce-order-received .woocommerce .woocommerce-order-overview li.woocommerce-order-overview__payment-method,
body.woocommerce-order-received .woocommerce ul.woocommerce-order-overview li.woocommerce-order-overview__payment-method,
body.woocommerce-order-received .woocommerce ul.order_details.woocommerce-order-overview li.woocommerce-order-overview__payment-method,
body.woocommerce-order-received .woocommerce .woocommerce-order ul.order_details.woocommerce-order-overview li.woocommerce-order-overview__payment-method,
body.woocommerce-order-received .woocommerce .woocommerce-order-overview li.method,
body.woocommerce-order-received .woocommerce ul.woocommerce-order-overview li.method,
body.woocommerce-order-received .woocommerce ul.order_details.woocommerce-order-overview li.method,
body.woocommerce-order-received .woocommerce .woocommerce-order ul.order_details.woocommerce-order-overview li.method {
  grid-column: auto !important;
  grid-row: auto !important;
  order: initial !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  flex-basis: auto !important;
}

@media (max-width: 980px) {
  body.woocommerce-order-received .woocommerce .woocommerce-order-overview,
  body.woocommerce-order-received .woocommerce ul.woocommerce-order-overview,
  body.woocommerce-order-received .woocommerce ul.order_details.woocommerce-order-overview,
  body.woocommerce-order-received .woocommerce .woocommerce-order ul.order_details.woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body.woocommerce-order-received .woocommerce .woocommerce-order-overview,
  body.woocommerce-order-received .woocommerce ul.woocommerce-order-overview,
  body.woocommerce-order-received .woocommerce ul.order_details.woocommerce-order-overview,
  body.woocommerce-order-received .woocommerce .woocommerce-order ul.order_details.woocommerce-order-overview {
    grid-template-columns: 1fr !important;
  }
}
